]> gcc.gnu.org Git - gcc.git/blob - libstdc++-v3/configure
re PR libstdc++/33203 (libstdc++-v3 build broken on i386-pc-mingw32)
[gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43 do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97 fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
153 ;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
248 case X$lt_ECHO in
249 X*--fallback-echo)
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252 ;;
253 esac
254
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
258 shift
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
261 :
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
264 :
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 cat <<_LT_EOF
274 $*
275 _LT_EOF
276 exit 0
277 fi
278
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290 then
291 break
292 fi
293 done
294 fi
295
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
299 :
300 else
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
304 #
305 # So, first we look for a working echo in the user's PATH.
306
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
309 IFS="$lt_save_ifs"
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
314 ECHO="$dir/echo"
315 break
316 fi
317 done
318 IFS="$lt_save_ifs"
319
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
326 ECHO='print -r'
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
333 export CONFIG_SHELL
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335 else
336 # Try using printf.
337 ECHO='printf %s\n'
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
341 # Cool, printf works
342 :
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348 export CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
350 export SHELL
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
357 else
358 # maybe with a smaller string...
359 prev=:
360
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363 then
364 break
365 fi
366 prev="$cmd"
367 done
368
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373 else
374 # Oops. We lost completely, so just stick with echo.
375 ECHO=echo
376 fi
377 fi
378 fi
379 fi
380 fi
381 fi
382
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388 fi
389
390
391
392
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
397
398 exec 6>&1
399
400 #
401 # Initializations.
402 #
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
410
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
415
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
422
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 # include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 # include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 # include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
460
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
463
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
483
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
501
502 ac_prev=
503 for ac_option
504 do
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
508 ac_prev=
509 continue
510 fi
511
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
513
514 # Accept the important Cygnus configure options, so we can diagnose typos.
515
516 case $ac_option in
517
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
519 ac_prev=bindir ;;
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521 bindir=$ac_optarg ;;
522
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
527
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
534
535 --config-cache | -C)
536 cache_file=config.cache ;;
537
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539 ac_prev=datadir ;;
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541 | --da=*)
542 datadir=$ac_optarg ;;
543
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
552
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 case $ac_option in
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 *) ac_optarg=yes ;;
563 esac
564 eval "enable_$ac_feature='$ac_optarg'" ;;
565
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
574
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
577 with_gas=yes ;;
578
579 -help | --help | --hel | --he | -h)
580 ac_init_help=long ;;
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
585
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
590
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
597
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
599 ac_prev=infodir ;;
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
602
603 -libdir | --libdir | --libdi | --libd)
604 ac_prev=libdir ;;
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
606 libdir=$ac_optarg ;;
607
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
614
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
623
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625 ac_prev=mandir ;;
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627 mandir=$ac_optarg ;;
628
629 -nfp | --nfp | --nf)
630 # Obsolete; use --without-fp.
631 with_fp=no ;;
632
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
635 no_create=yes ;;
636
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639 no_recursion=yes ;;
640
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
649
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651 ac_prev=prefix ;;
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653 prefix=$ac_optarg ;;
654
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
661
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
668
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
685
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
688 silent=yes ;;
689
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691 ac_prev=sbindir ;;
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693 | --sbi=* | --sb=*)
694 sbindir=$ac_optarg ;;
695
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
699 | --sha | --sh)
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704 | --sha=* | --sh=*)
705 sharedstatedir=$ac_optarg ;;
706
707 -site | --site | --sit)
708 ac_prev=site ;;
709 -site=* | --site=* | --sit=*)
710 site=$ac_optarg ;;
711
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713 ac_prev=srcdir ;;
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715 srcdir=$ac_optarg ;;
716
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
723
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
728
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
730 verbose=yes ;;
731
732 -version | --version | --versio | --versi | --vers | -V)
733 ac_init_version=: ;;
734
735 -with-* | --with-*)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
742 case $ac_option in
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744 *) ac_optarg=yes ;;
745 esac
746 eval "with_$ac_package='$ac_optarg'" ;;
747
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
756
757 --x)
758 # Obsolete; use --with-x.
759 with_x=yes ;;
760
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
767
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
774
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
778 ;;
779
780 *=*)
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
788 export $ac_envvar ;;
789
790 *)
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
796 ;;
797
798 esac
799 done
800
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
805 fi
806
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
809 do
810 eval ac_val=$`echo $ac_var`
811 case $ac_val in
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
815 esac
816 done
817
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
821 do
822 eval ac_val=$`echo $ac_var`
823 case $ac_val in
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
827 esac
828 done
829
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
836
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
844 cross_compiling=yes
845 fi
846 fi
847
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
850
851 test "$silent" = yes && exec 6>/dev/null
852
853
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
869 s/.*/./; q'`
870 srcdir=$ac_confdir
871 if test ! -r $srcdir/$ac_unique_file; then
872 srcdir=..
873 fi
874 else
875 ac_srcdir_defaulted=no
876 fi
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
881 else
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
884 fi
885 fi
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CXXCPP_set=${CXXCPP+set}
923 ac_env_CXXCPP_value=$CXXCPP
924 ac_cv_env_CXXCPP_set=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value=$CXXCPP
926
927 #
928 # Report the --help message.
929 #
930 if test "$ac_init_help" = "long"; then
931 # Omit some internal or obsolete options to make the list less imposing.
932 # This message is too long to be a string in the A/UX 3.1 sh.
933 cat <<_ACEOF
934 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
935
936 Usage: $0 [OPTION]... [VAR=VALUE]...
937
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE. See below for descriptions of some of the useful variables.
940
941 Defaults for the options are specified in brackets.
942
943 Configuration:
944 -h, --help display this help and exit
945 --help=short display options specific to this package
946 --help=recursive display the short help of all the included packages
947 -V, --version display version information and exit
948 -q, --quiet, --silent do not print \`checking...' messages
949 --cache-file=FILE cache test results in FILE [disabled]
950 -C, --config-cache alias for \`--cache-file=config.cache'
951 -n, --no-create do not create output files
952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
953
954 _ACEOF
955
956 cat <<_ACEOF
957 Installation directories:
958 --prefix=PREFIX install architecture-independent files in PREFIX
959 [$ac_default_prefix]
960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
961 [PREFIX]
962
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
967
968 For better control, use the options below.
969
970 Fine tuning of the installation directories:
971 --bindir=DIR user executables [EPREFIX/bin]
972 --sbindir=DIR system admin executables [EPREFIX/sbin]
973 --libexecdir=DIR program executables [EPREFIX/libexec]
974 --datadir=DIR read-only architecture-independent data [PREFIX/share]
975 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
976 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
977 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
978 --libdir=DIR object code libraries [EPREFIX/lib]
979 --includedir=DIR C header files [PREFIX/include]
980 --oldincludedir=DIR C header files for non-gcc [/usr/include]
981 --infodir=DIR info documentation [PREFIX/info]
982 --mandir=DIR man documentation [PREFIX/man]
983 _ACEOF
984
985 cat <<\_ACEOF
986
987 Program names:
988 --program-prefix=PREFIX prepend PREFIX to installed program names
989 --program-suffix=SUFFIX append SUFFIX to installed program names
990 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
991
992 System types:
993 --build=BUILD configure for building on BUILD [guessed]
994 --host=HOST cross-compile to build programs to run on HOST [BUILD]
995 --target=TARGET configure for building compilers for TARGET [HOST]
996 _ACEOF
997 fi
998
999 if test -n "$ac_init_help"; then
1000 case $ac_init_help in
1001 short | recursive ) echo "Configuration of package-unused version-unused:";;
1002 esac
1003 cat <<\_ACEOF
1004
1005 Optional Features:
1006 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1007 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1008 --enable-multilib build many library versions (default)
1009 --enable-maintainer-mode enable make rules and dependencies not useful
1010 (and sometimes confusing) to the casual installer
1011 --enable-shared[=PKGS]
1012 build shared libraries [default=yes]
1013 --enable-static[=PKGS]
1014 build static libraries [default=yes]
1015 --enable-fast-install[=PKGS]
1016 optimize for fast installation [default=yes]
1017 --disable-libtool-lock avoid locking (might break parallel builds)
1018 --disable-hosted-libstdcxx
1019 only build freestanding C++ runtime support
1020 --enable-sjlj-exceptions
1021 force use of builtin_setjmp for exceptions
1022 [default=auto]
1023 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1024 [default=$is_hosted]
1025 --enable-cstdio=PACKAGE use target-specific I/O package
1026 [default=stdio]
1027 --enable-clocale[=MODEL]
1028 use MODEL for target locale package
1029 [default=auto]
1030 --enable-nls use Native Language Support (default)
1031 --enable-libstdcxx-allocator=KIND
1032 use KIND for target std::allocator base
1033 [default=auto]
1034 --enable-cheaders=KIND construct "C" headers for g++
1035 [default=$c_model]
1036 --enable-long-long enable template specializations for 'long long'
1037 [default=yes]
1038 --enable-wchar_t enable template specializations for 'wchar_t'
1039 [default=yes]
1040 --enable-c99 turns on ISO/IEC 9899:1999 support
1041 [default=yes]
1042 --enable-concept-checks use Boost-derived template checks [default=no]
1043 --enable-libstdcxx-debug-flags=FLAGS
1044 pass compiler FLAGS when building debug library
1045 [default="-g3 -O0"]
1046 --enable-libstdcxx-debug
1047 build extra debug library [default=no]
1048 --enable-cxx-flags=FLAGS
1049 pass compiler FLAGS when building library
1050 [default=]
1051 --enable-fully-dynamic-string
1052 do not put empty strings in per-process static
1053 memory [default=no]
1054 --enable-tls Use thread-local storage [default=yes]
1055 --disable-rpath do not hardcode runtime library paths
1056 --enable-symvers=STYLE enables symbol versioning of the shared library
1057 [default=yes]
1058 --enable-visibility enables visibility safe usage [default=yes]
1059 --enable-version-specific-runtime-libs
1060 Specify that runtime libraries should be installed
1061 in a compiler-specific directory
1062
1063 Optional Packages:
1064 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1065 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1066 --with-target-subdir=SUBDIR
1067 configuring in a subdirectory
1068 --with-cross-host=HOST configuring with a cross compiler
1069 --with-newlib assume newlib as a system C library
1070 --with-pic try to use only PIC/non-PIC objects [default=use
1071 both]
1072 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1073 --with-gnu-ld assume the C compiler uses GNU ld default=no
1074 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1075 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1076 --with-gxx-include-dir=DIR
1077 installation directory for include files
1078
1079 Some influential environment variables:
1080 CC C compiler command
1081 CFLAGS C compiler flags
1082 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1083 nonstandard directory <lib dir>
1084 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1085 headers in a nonstandard directory <include dir>
1086 CXX C++ compiler command
1087 CXXFLAGS C++ compiler flags
1088 CPP C preprocessor
1089 CXXCPP C++ preprocessor
1090
1091 Use these variables to override the choices made by `configure' or to help
1092 it to find libraries and programs with nonstandard names/locations.
1093
1094 _ACEOF
1095 fi
1096
1097 if test "$ac_init_help" = "recursive"; then
1098 # If there are subdirs, report their specific --help.
1099 ac_popdir=`pwd`
1100 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1101 test -d $ac_dir || continue
1102 ac_builddir=.
1103
1104 if test "$ac_dir" != .; then
1105 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1106 # A "../" for each directory in $ac_dir_suffix.
1107 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1108 else
1109 ac_dir_suffix= ac_top_builddir=
1110 fi
1111
1112 case $srcdir in
1113 .) # No --srcdir option. We are building in place.
1114 ac_srcdir=.
1115 if test -z "$ac_top_builddir"; then
1116 ac_top_srcdir=.
1117 else
1118 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1119 fi ;;
1120 [\\/]* | ?:[\\/]* ) # Absolute path.
1121 ac_srcdir=$srcdir$ac_dir_suffix;
1122 ac_top_srcdir=$srcdir ;;
1123 *) # Relative path.
1124 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1125 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1126 esac
1127
1128 # Do not use `cd foo && pwd` to compute absolute paths, because
1129 # the directories may not exist.
1130 case `pwd` in
1131 .) ac_abs_builddir="$ac_dir";;
1132 *)
1133 case "$ac_dir" in
1134 .) ac_abs_builddir=`pwd`;;
1135 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1136 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1137 esac;;
1138 esac
1139 case $ac_abs_builddir in
1140 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1141 *)
1142 case ${ac_top_builddir}. in
1143 .) ac_abs_top_builddir=$ac_abs_builddir;;
1144 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1145 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1146 esac;;
1147 esac
1148 case $ac_abs_builddir in
1149 .) ac_abs_srcdir=$ac_srcdir;;
1150 *)
1151 case $ac_srcdir in
1152 .) ac_abs_srcdir=$ac_abs_builddir;;
1153 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1154 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1155 esac;;
1156 esac
1157 case $ac_abs_builddir in
1158 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1159 *)
1160 case $ac_top_srcdir in
1161 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1162 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1163 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1164 esac;;
1165 esac
1166
1167 cd $ac_dir
1168 # Check for guested configure; otherwise get Cygnus style configure.
1169 if test -f $ac_srcdir/configure.gnu; then
1170 echo
1171 $SHELL $ac_srcdir/configure.gnu --help=recursive
1172 elif test -f $ac_srcdir/configure; then
1173 echo
1174 $SHELL $ac_srcdir/configure --help=recursive
1175 elif test -f $ac_srcdir/configure.ac ||
1176 test -f $ac_srcdir/configure.in; then
1177 echo
1178 $ac_configure --help
1179 else
1180 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1181 fi
1182 cd $ac_popdir
1183 done
1184 fi
1185
1186 test -n "$ac_init_help" && exit 0
1187 if $ac_init_version; then
1188 cat <<\_ACEOF
1189 package-unused configure version-unused
1190 generated by GNU Autoconf 2.59
1191
1192 Copyright (C) 2003 Free Software Foundation, Inc.
1193 This configure script is free software; the Free Software Foundation
1194 gives unlimited permission to copy, distribute and modify it.
1195 _ACEOF
1196 exit 0
1197 fi
1198 exec 5>config.log
1199 cat >&5 <<_ACEOF
1200 This file contains any messages produced by compilers while
1201 running configure, to aid debugging if configure makes a mistake.
1202
1203 It was created by package-unused $as_me version-unused, which was
1204 generated by GNU Autoconf 2.59. Invocation command line was
1205
1206 $ $0 $@
1207
1208 _ACEOF
1209 {
1210 cat <<_ASUNAME
1211 ## --------- ##
1212 ## Platform. ##
1213 ## --------- ##
1214
1215 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1216 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1217 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1218 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1219 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1220
1221 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1222 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1223
1224 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1225 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1226 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1227 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1228 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1229 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1230 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1231
1232 _ASUNAME
1233
1234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1235 for as_dir in $PATH
1236 do
1237 IFS=$as_save_IFS
1238 test -z "$as_dir" && as_dir=.
1239 echo "PATH: $as_dir"
1240 done
1241
1242 } >&5
1243
1244 cat >&5 <<_ACEOF
1245
1246
1247 ## ----------- ##
1248 ## Core tests. ##
1249 ## ----------- ##
1250
1251 _ACEOF
1252
1253
1254 # Keep a trace of the command line.
1255 # Strip out --no-create and --no-recursion so they do not pile up.
1256 # Strip out --silent because we don't want to record it for future runs.
1257 # Also quote any args containing shell meta-characters.
1258 # Make two passes to allow for proper duplicate-argument suppression.
1259 ac_configure_args=
1260 ac_configure_args0=
1261 ac_configure_args1=
1262 ac_sep=
1263 ac_must_keep_next=false
1264 for ac_pass in 1 2
1265 do
1266 for ac_arg
1267 do
1268 case $ac_arg in
1269 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1270 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1271 | -silent | --silent | --silen | --sile | --sil)
1272 continue ;;
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1275 esac
1276 case $ac_pass in
1277 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1278 2)
1279 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1280 if test $ac_must_keep_next = true; then
1281 ac_must_keep_next=false # Got value, back to normal.
1282 else
1283 case $ac_arg in
1284 *=* | --config-cache | -C | -disable-* | --disable-* \
1285 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1286 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1287 | -with-* | --with-* | -without-* | --without-* | --x)
1288 case "$ac_configure_args0 " in
1289 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1290 esac
1291 ;;
1292 -* ) ac_must_keep_next=true ;;
1293 esac
1294 fi
1295 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1296 # Get rid of the leading space.
1297 ac_sep=" "
1298 ;;
1299 esac
1300 done
1301 done
1302 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1303 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1304
1305 # When interrupted or exit'd, cleanup temporary files, and complete
1306 # config.log. We remove comments because anyway the quotes in there
1307 # would cause problems or look ugly.
1308 # WARNING: Be sure not to use single quotes in there, as some shells,
1309 # such as our DU 5.0 friend, will then `close' the trap.
1310 trap 'exit_status=$?
1311 # Save into config.log some information that might help in debugging.
1312 {
1313 echo
1314
1315 cat <<\_ASBOX
1316 ## ---------------- ##
1317 ## Cache variables. ##
1318 ## ---------------- ##
1319 _ASBOX
1320 echo
1321 # The following way of writing the cache mishandles newlines in values,
1322 {
1323 (set) 2>&1 |
1324 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1325 *ac_space=\ *)
1326 sed -n \
1327 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1329 ;;
1330 *)
1331 sed -n \
1332 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1333 ;;
1334 esac;
1335 }
1336 echo
1337
1338 cat <<\_ASBOX
1339 ## ----------------- ##
1340 ## Output variables. ##
1341 ## ----------------- ##
1342 _ASBOX
1343 echo
1344 for ac_var in $ac_subst_vars
1345 do
1346 eval ac_val=$`echo $ac_var`
1347 echo "$ac_var='"'"'$ac_val'"'"'"
1348 done | sort
1349 echo
1350
1351 if test -n "$ac_subst_files"; then
1352 cat <<\_ASBOX
1353 ## ------------- ##
1354 ## Output files. ##
1355 ## ------------- ##
1356 _ASBOX
1357 echo
1358 for ac_var in $ac_subst_files
1359 do
1360 eval ac_val=$`echo $ac_var`
1361 echo "$ac_var='"'"'$ac_val'"'"'"
1362 done | sort
1363 echo
1364 fi
1365
1366 if test -s confdefs.h; then
1367 cat <<\_ASBOX
1368 ## ----------- ##
1369 ## confdefs.h. ##
1370 ## ----------- ##
1371 _ASBOX
1372 echo
1373 sed "/^$/d" confdefs.h | sort
1374 echo
1375 fi
1376 test "$ac_signal" != 0 &&
1377 echo "$as_me: caught signal $ac_signal"
1378 echo "$as_me: exit $exit_status"
1379 } >&5
1380 rm -f core *.core &&
1381 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1382 exit $exit_status
1383 ' 0
1384 for ac_signal in 1 2 13 15; do
1385 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1386 done
1387 ac_signal=0
1388
1389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1390 rm -rf conftest* confdefs.h
1391 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1392 echo >confdefs.h
1393
1394 # Predefined preprocessor variables.
1395
1396 cat >>confdefs.h <<_ACEOF
1397 #define PACKAGE_NAME "$PACKAGE_NAME"
1398 _ACEOF
1399
1400
1401 cat >>confdefs.h <<_ACEOF
1402 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1403 _ACEOF
1404
1405
1406 cat >>confdefs.h <<_ACEOF
1407 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1408 _ACEOF
1409
1410
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_STRING "$PACKAGE_STRING"
1413 _ACEOF
1414
1415
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1418 _ACEOF
1419
1420
1421 # Let the site file select an alternate cache file if it wants to.
1422 # Prefer explicitly selected file to automatically selected ones.
1423 if test -z "$CONFIG_SITE"; then
1424 if test "x$prefix" != xNONE; then
1425 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1426 else
1427 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1428 fi
1429 fi
1430 for ac_site_file in $CONFIG_SITE; do
1431 if test -r "$ac_site_file"; then
1432 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1433 echo "$as_me: loading site script $ac_site_file" >&6;}
1434 sed 's/^/| /' "$ac_site_file" >&5
1435 . "$ac_site_file"
1436 fi
1437 done
1438
1439 if test -r "$cache_file"; then
1440 # Some versions of bash will fail to source /dev/null (special
1441 # files actually), so we avoid doing that.
1442 if test -f "$cache_file"; then
1443 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1444 echo "$as_me: loading cache $cache_file" >&6;}
1445 case $cache_file in
1446 [\\/]* | ?:[\\/]* ) . $cache_file;;
1447 *) . ./$cache_file;;
1448 esac
1449 fi
1450 else
1451 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1452 echo "$as_me: creating cache $cache_file" >&6;}
1453 >$cache_file
1454 fi
1455
1456 # Check that the precious variables saved in the cache have kept the same
1457 # value.
1458 ac_cache_corrupted=false
1459 for ac_var in `(set) 2>&1 |
1460 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1461 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1462 eval ac_new_set=\$ac_env_${ac_var}_set
1463 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1464 eval ac_new_val="\$ac_env_${ac_var}_value"
1465 case $ac_old_set,$ac_new_set in
1466 set,)
1467 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1468 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1469 ac_cache_corrupted=: ;;
1470 ,set)
1471 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1472 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1473 ac_cache_corrupted=: ;;
1474 ,);;
1475 *)
1476 if test "x$ac_old_val" != "x$ac_new_val"; then
1477 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1478 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1479 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1480 echo "$as_me: former value: $ac_old_val" >&2;}
1481 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1482 echo "$as_me: current value: $ac_new_val" >&2;}
1483 ac_cache_corrupted=:
1484 fi;;
1485 esac
1486 # Pass precious variables to config.status.
1487 if test "$ac_new_set" = set; then
1488 case $ac_new_val in
1489 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1490 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1491 *) ac_arg=$ac_var=$ac_new_val ;;
1492 esac
1493 case " $ac_configure_args " in
1494 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1495 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1496 esac
1497 fi
1498 done
1499 if $ac_cache_corrupted; then
1500 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1501 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1502 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1503 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1504 { (exit 1); exit 1; }; }
1505 fi
1506
1507 ac_ext=c
1508 ac_cpp='$CPP $CPPFLAGS'
1509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540 ac_config_headers="$ac_config_headers config.h"
1541
1542
1543 # This works around the fact that libtool configuration may change LD
1544 # for this particular configuration, but some shells, instead of
1545 # keeping the changes in LD private, export them just because LD is
1546 # exported. Only used at the end of this file.
1547 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1548
1549 # For libtool versioning info, format is CURRENT:REVISION:AGE
1550 libtool_VERSION=6:10:0
1551
1552
1553 # Find the rest of the source tree framework.
1554 # Default to --enable-multilib
1555 # Check whether --enable-multilib or --disable-multilib was given.
1556 if test "${enable_multilib+set}" = set; then
1557 enableval="$enable_multilib"
1558 case "$enableval" in
1559 yes) multilib=yes ;;
1560 no) multilib=no ;;
1561 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1562 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1563 { (exit 1); exit 1; }; } ;;
1564 esac
1565 else
1566 multilib=yes
1567 fi;
1568
1569 # We may get other options which we leave undocumented:
1570 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1571 # See config-ml.in if you want the gory details.
1572
1573 if test "$srcdir" = "."; then
1574 if test "$with_target_subdir" != "."; then
1575 multi_basedir="$srcdir/$with_multisrctop../.."
1576 else
1577 multi_basedir="$srcdir/$with_multisrctop.."
1578 fi
1579 else
1580 multi_basedir="$srcdir/.."
1581 fi
1582
1583
1584 # Even if the default multilib is not a cross compilation,
1585 # it may be that some of the other multilibs are.
1586 if test $cross_compiling = no && test $multilib = yes \
1587 && test "x${with_multisubdir}" != x ; then
1588 cross_compiling=maybe
1589 fi
1590
1591 ac_config_commands="$ac_config_commands default-1"
1592
1593
1594 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1595 #
1596 # You will slowly go insane if you do not grok the following fact: when
1597 # building v3 as part of the compiler, the top-level /target/ becomes the
1598 # library's /host/. configure then causes --target to default to --host,
1599 # exactly like any other package using autoconf. Therefore, 'target' and
1600 # 'host' will always be the same. This makes sense both for native and
1601 # cross compilers, just think about it for a little while. :-)
1602 #
1603 # Also, if v3 is being configured as part of a cross compiler, the top-level
1604 # configure script will pass the "real" host as $with_cross_host.
1605 #
1606 # Do not delete or change the following two lines. For why, see
1607 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1608 ac_aux_dir=
1609 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1610 if test -f $ac_dir/install-sh; then
1611 ac_aux_dir=$ac_dir
1612 ac_install_sh="$ac_aux_dir/install-sh -c"
1613 break
1614 elif test -f $ac_dir/install.sh; then
1615 ac_aux_dir=$ac_dir
1616 ac_install_sh="$ac_aux_dir/install.sh -c"
1617 break
1618 elif test -f $ac_dir/shtool; then
1619 ac_aux_dir=$ac_dir
1620 ac_install_sh="$ac_aux_dir/shtool install -c"
1621 break
1622 fi
1623 done
1624 if test -z "$ac_aux_dir"; then
1625 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1626 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1627 { (exit 1); exit 1; }; }
1628 fi
1629 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1630 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1631 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1632
1633 # Make sure we can run config.sub.
1634 $ac_config_sub sun4 >/dev/null 2>&1 ||
1635 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1636 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1637 { (exit 1); exit 1; }; }
1638
1639 echo "$as_me:$LINENO: checking build system type" >&5
1640 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1641 if test "${ac_cv_build+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 else
1644 ac_cv_build_alias=$build_alias
1645 test -z "$ac_cv_build_alias" &&
1646 ac_cv_build_alias=`$ac_config_guess`
1647 test -z "$ac_cv_build_alias" &&
1648 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1649 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1650 { (exit 1); exit 1; }; }
1651 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1652 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1653 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1654 { (exit 1); exit 1; }; }
1655
1656 fi
1657 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1658 echo "${ECHO_T}$ac_cv_build" >&6
1659 build=$ac_cv_build
1660 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1661 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1662 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1663
1664
1665 echo "$as_me:$LINENO: checking host system type" >&5
1666 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1667 if test "${ac_cv_host+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1669 else
1670 ac_cv_host_alias=$host_alias
1671 test -z "$ac_cv_host_alias" &&
1672 ac_cv_host_alias=$ac_cv_build_alias
1673 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1674 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1675 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1676 { (exit 1); exit 1; }; }
1677
1678 fi
1679 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1680 echo "${ECHO_T}$ac_cv_host" >&6
1681 host=$ac_cv_host
1682 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1683 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1684 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1685
1686
1687 echo "$as_me:$LINENO: checking target system type" >&5
1688 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1689 if test "${ac_cv_target+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1691 else
1692 ac_cv_target_alias=$target_alias
1693 test "x$ac_cv_target_alias" = "x" &&
1694 ac_cv_target_alias=$ac_cv_host_alias
1695 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1696 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1697 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1698 { (exit 1); exit 1; }; }
1699
1700 fi
1701 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1702 echo "${ECHO_T}$ac_cv_target" >&6
1703 target=$ac_cv_target
1704 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1705 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1706 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1707
1708
1709 # The aliases save the names the user supplied, while $host etc.
1710 # will get canonicalized.
1711 test -n "$target_alias" &&
1712 test "$program_prefix$program_suffix$program_transform_name" = \
1713 NONENONEs,x,x, &&
1714 program_prefix=${target_alias}-
1715 target_alias=${target_alias-$host_alias}
1716
1717 # Handy for debugging:
1718 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1719
1720 if test "$build" != "$host"; then
1721 # We are being configured with some form of cross compiler.
1722 GLIBCXX_IS_NATIVE=false
1723 case "$host","$target" in
1724 # Darwin crosses can use the host system's libraries and headers,
1725 # because of the fat library support. Of course, it must be the
1726 # same version of Darwin on both sides. Allow the user to
1727 # just say --target=foo-darwin without a version number to mean
1728 # "the version on this system".
1729 *-*-darwin*,*-*-darwin*)
1730 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1731 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1732 if test $hostos = $targetos -o $targetos = darwin ; then
1733 GLIBCXX_IS_NATIVE=true
1734 fi
1735 ;;
1736
1737 *)
1738
1739 ;;
1740 esac
1741 else
1742 GLIBCXX_IS_NATIVE=true
1743 fi
1744
1745 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1746 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1747 # 1.x: minimum required version
1748 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1749 # of other PACKAGE_* variables will, however, and there's nothing
1750 # we can do about that; they come from AC_INIT).
1751 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1752 # file in the top srcdir, etc, etc), so stop complaining.
1753 # no-dependencies: turns off auto dependency generation (just for now)
1754 # -Wall: turns on all automake warnings...
1755 # -Wno-portability: ...except this one, since GNU make is now required.
1756 am__api_version="1.9"
1757 # Find a good install program. We prefer a C program (faster),
1758 # so one script is as good as another. But avoid the broken or
1759 # incompatible versions:
1760 # SysV /etc/install, /usr/sbin/install
1761 # SunOS /usr/etc/install
1762 # IRIX /sbin/install
1763 # AIX /bin/install
1764 # AmigaOS /C/install, which installs bootblocks on floppy discs
1765 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1766 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1767 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1768 # OS/2's system install, which has a completely different semantic
1769 # ./install, which can be erroneously created by make from ./install.sh.
1770 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1771 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1772 if test -z "$INSTALL"; then
1773 if test "${ac_cv_path_install+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1778 do
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 # Account for people who put trailing slashes in PATH elements.
1782 case $as_dir/ in
1783 ./ | .// | /cC/* | \
1784 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1785 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1786 /usr/ucb/* ) ;;
1787 *)
1788 # OSF1 and SCO ODT 3.0 have their own names for install.
1789 # Don't use installbsd from OSF since it installs stuff as root
1790 # by default.
1791 for ac_prog in ginstall scoinst install; do
1792 for ac_exec_ext in '' $ac_executable_extensions; do
1793 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1794 if test $ac_prog = install &&
1795 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1796 # AIX install. It has an incompatible calling convention.
1797 :
1798 elif test $ac_prog = install &&
1799 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1800 # program-specific install script used by HP pwplus--don't use.
1801 :
1802 else
1803 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1804 break 3
1805 fi
1806 fi
1807 done
1808 done
1809 ;;
1810 esac
1811 done
1812
1813
1814 fi
1815 if test "${ac_cv_path_install+set}" = set; then
1816 INSTALL=$ac_cv_path_install
1817 else
1818 # As a last resort, use the slow shell script. We don't cache a
1819 # path for INSTALL within a source directory, because that will
1820 # break other packages using the cache if that directory is
1821 # removed, or if the path is relative.
1822 INSTALL=$ac_install_sh
1823 fi
1824 fi
1825 echo "$as_me:$LINENO: result: $INSTALL" >&5
1826 echo "${ECHO_T}$INSTALL" >&6
1827
1828 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1829 # It thinks the first close brace ends the variable substitution.
1830 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1831
1832 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1833
1834 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1835
1836 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1837 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1838 # Just in case
1839 sleep 1
1840 echo timestamp > conftest.file
1841 # Do `set' in a subshell so we don't clobber the current shell's
1842 # arguments. Must try -L first in case configure is actually a
1843 # symlink; some systems play weird games with the mod time of symlinks
1844 # (eg FreeBSD returns the mod time of the symlink's containing
1845 # directory).
1846 if (
1847 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1848 if test "$*" = "X"; then
1849 # -L didn't work.
1850 set X `ls -t $srcdir/configure conftest.file`
1851 fi
1852 rm -f conftest.file
1853 if test "$*" != "X $srcdir/configure conftest.file" \
1854 && test "$*" != "X conftest.file $srcdir/configure"; then
1855
1856 # If neither matched, then we have a broken ls. This can happen
1857 # if, for instance, CONFIG_SHELL is bash and it inherits a
1858 # broken ls alias from the environment. This has actually
1859 # happened. Such a system could not be considered "sane".
1860 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1861 alias in your environment" >&5
1862 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1863 alias in your environment" >&2;}
1864 { (exit 1); exit 1; }; }
1865 fi
1866
1867 test "$2" = conftest.file
1868 )
1869 then
1870 # Ok.
1871 :
1872 else
1873 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1874 Check your system clock" >&5
1875 echo "$as_me: error: newly created file is older than distributed files!
1876 Check your system clock" >&2;}
1877 { (exit 1); exit 1; }; }
1878 fi
1879 echo "$as_me:$LINENO: result: yes" >&5
1880 echo "${ECHO_T}yes" >&6
1881 test "$program_prefix" != NONE &&
1882 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1883 # Use a double $ so make ignores it.
1884 test "$program_suffix" != NONE &&
1885 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1886 # Double any \ or $. echo might interpret backslashes.
1887 # By default was `s,x,x', remove it if useless.
1888 cat <<\_ACEOF >conftest.sed
1889 s/[\\$]/&&/g;s/;s,x,x,$//
1890 _ACEOF
1891 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1892 rm conftest.sed
1893
1894 # expand $ac_aux_dir to an absolute path
1895 am_aux_dir=`cd $ac_aux_dir && pwd`
1896
1897 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1898 # Use eval to expand $SHELL
1899 if eval "$MISSING --run true"; then
1900 am_missing_run="$MISSING --run "
1901 else
1902 am_missing_run=
1903 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1904 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1905 fi
1906
1907 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1908 # We used to keeping the `.' as first argument, in order to
1909 # allow $(mkdir_p) to be used without argument. As in
1910 # $(mkdir_p) $(somedir)
1911 # where $(somedir) is conditionally defined. However this is wrong
1912 # for two reasons:
1913 # 1. if the package is installed by a user who cannot write `.'
1914 # make install will fail,
1915 # 2. the above comment should most certainly read
1916 # $(mkdir_p) $(DESTDIR)$(somedir)
1917 # so it does not work when $(somedir) is undefined and
1918 # $(DESTDIR) is not.
1919 # To support the latter case, we have to write
1920 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1921 # so the `.' trick is pointless.
1922 mkdir_p='mkdir -p --'
1923 else
1924 # On NextStep and OpenStep, the `mkdir' command does not
1925 # recognize any option. It will interpret all options as
1926 # directories to create, and then abort because `.' already
1927 # exists.
1928 for d in ./-p ./--version;
1929 do
1930 test -d $d && rmdir $d
1931 done
1932 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1933 if test -f "$ac_aux_dir/mkinstalldirs"; then
1934 mkdir_p='$(mkinstalldirs)'
1935 else
1936 mkdir_p='$(install_sh) -d'
1937 fi
1938 fi
1939
1940 for ac_prog in gawk mawk nawk awk
1941 do
1942 # Extract the first word of "$ac_prog", so it can be a program name with args.
1943 set dummy $ac_prog; ac_word=$2
1944 echo "$as_me:$LINENO: checking for $ac_word" >&5
1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1946 if test "${ac_cv_prog_AWK+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 else
1949 if test -n "$AWK"; then
1950 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1951 else
1952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953 for as_dir in $PATH
1954 do
1955 IFS=$as_save_IFS
1956 test -z "$as_dir" && as_dir=.
1957 for ac_exec_ext in '' $ac_executable_extensions; do
1958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1959 ac_cv_prog_AWK="$ac_prog"
1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1961 break 2
1962 fi
1963 done
1964 done
1965
1966 fi
1967 fi
1968 AWK=$ac_cv_prog_AWK
1969 if test -n "$AWK"; then
1970 echo "$as_me:$LINENO: result: $AWK" >&5
1971 echo "${ECHO_T}$AWK" >&6
1972 else
1973 echo "$as_me:$LINENO: result: no" >&5
1974 echo "${ECHO_T}no" >&6
1975 fi
1976
1977 test -n "$AWK" && break
1978 done
1979
1980 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1981 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1982 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1983 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 else
1986 cat >conftest.make <<\_ACEOF
1987 all:
1988 @echo 'ac_maketemp="$(MAKE)"'
1989 _ACEOF
1990 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1991 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1992 if test -n "$ac_maketemp"; then
1993 eval ac_cv_prog_make_${ac_make}_set=yes
1994 else
1995 eval ac_cv_prog_make_${ac_make}_set=no
1996 fi
1997 rm -f conftest.make
1998 fi
1999 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2000 echo "$as_me:$LINENO: result: yes" >&5
2001 echo "${ECHO_T}yes" >&6
2002 SET_MAKE=
2003 else
2004 echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6
2006 SET_MAKE="MAKE=${MAKE-make}"
2007 fi
2008
2009 rm -rf .tst 2>/dev/null
2010 mkdir .tst 2>/dev/null
2011 if test -d .tst; then
2012 am__leading_dot=.
2013 else
2014 am__leading_dot=_
2015 fi
2016 rmdir .tst 2>/dev/null
2017
2018 # test to see if srcdir already configured
2019 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2020 test -f $srcdir/config.status; then
2021 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2022 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2023 { (exit 1); exit 1; }; }
2024 fi
2025
2026 # test whether we have cygpath
2027 if test -z "$CYGPATH_W"; then
2028 if (cygpath --version) >/dev/null 2>/dev/null; then
2029 CYGPATH_W='cygpath -w'
2030 else
2031 CYGPATH_W=echo
2032 fi
2033 fi
2034
2035
2036 # Define the identity of the package.
2037 PACKAGE='libstdc++'
2038 VERSION='version-unused'
2039
2040
2041 # Some tools Automake needs.
2042
2043 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2044
2045
2046 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2047
2048
2049 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2050
2051
2052 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2053
2054
2055 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2056
2057 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2058
2059 # Installed binaries are usually stripped using `strip' when the user
2060 # run `make install-strip'. However `strip' might not be the right
2061 # tool to use in cross-compilation environments, therefore Automake
2062 # will honor the `STRIP' environment variable to overrule this program.
2063 if test "$cross_compiling" != no; then
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2066 set dummy ${ac_tool_prefix}strip; ac_word=$2
2067 echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2069 if test "${ac_cv_prog_STRIP+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 else
2072 if test -n "$STRIP"; then
2073 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2074 else
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2077 do
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2082 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2085 fi
2086 done
2087 done
2088
2089 fi
2090 fi
2091 STRIP=$ac_cv_prog_STRIP
2092 if test -n "$STRIP"; then
2093 echo "$as_me:$LINENO: result: $STRIP" >&5
2094 echo "${ECHO_T}$STRIP" >&6
2095 else
2096 echo "$as_me:$LINENO: result: no" >&5
2097 echo "${ECHO_T}no" >&6
2098 fi
2099
2100 fi
2101 if test -z "$ac_cv_prog_STRIP"; then
2102 ac_ct_STRIP=$STRIP
2103 # Extract the first word of "strip", so it can be a program name with args.
2104 set dummy strip; ac_word=$2
2105 echo "$as_me:$LINENO: checking for $ac_word" >&5
2106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2107 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2108 echo $ECHO_N "(cached) $ECHO_C" >&6
2109 else
2110 if test -n "$ac_ct_STRIP"; then
2111 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2112 else
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2115 do
2116 IFS=$as_save_IFS
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2120 ac_cv_prog_ac_ct_STRIP="strip"
2121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 break 2
2123 fi
2124 done
2125 done
2126
2127 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2128 fi
2129 fi
2130 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2131 if test -n "$ac_ct_STRIP"; then
2132 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2133 echo "${ECHO_T}$ac_ct_STRIP" >&6
2134 else
2135 echo "$as_me:$LINENO: result: no" >&5
2136 echo "${ECHO_T}no" >&6
2137 fi
2138
2139 STRIP=$ac_ct_STRIP
2140 else
2141 STRIP="$ac_cv_prog_STRIP"
2142 fi
2143
2144 fi
2145 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2146
2147 # We need awk for the "check" target. The system "awk" is bad on
2148 # some platforms.
2149 # Always define AMTAR for backward compatibility.
2150
2151 AMTAR=${AMTAR-"${am_missing_run}tar"}
2152
2153 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2165 # up critical shell variables.
2166
2167 ac_ext=c
2168 ac_cpp='$CPP $CPPFLAGS'
2169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2172 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2173 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2174 # On Suns, sometimes $CPP names a directory.
2175 if test -n "$CPP" && test -d "$CPP"; then
2176 CPP=
2177 fi
2178 if test -z "$CPP"; then
2179 if test "${ac_cv_prog_CPP+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 else
2182 # Double quotes because CPP needs to be expanded
2183 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2184 do
2185 ac_preproc_ok=false
2186 for ac_c_preproc_warn_flag in '' yes
2187 do
2188 # Use a header file that comes with gcc, so configuring glibc
2189 # with a fresh cross-compiler works.
2190 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2191 # <limits.h> exists even on freestanding compilers.
2192 # On the NeXT, cc -E runs the code through the compiler's parser,
2193 # not just through cpp. "Syntax error" is here to catch this case.
2194 cat >conftest.$ac_ext <<_ACEOF
2195 /* confdefs.h. */
2196 _ACEOF
2197 cat confdefs.h >>conftest.$ac_ext
2198 cat >>conftest.$ac_ext <<_ACEOF
2199 /* end confdefs.h. */
2200 #ifdef __STDC__
2201 # include <limits.h>
2202 #else
2203 # include <assert.h>
2204 #endif
2205 Syntax error
2206 _ACEOF
2207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2208 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2209 ac_status=$?
2210 grep -v '^ *+' conftest.er1 >conftest.err
2211 rm -f conftest.er1
2212 cat conftest.err >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); } >/dev/null; then
2215 if test -s conftest.err; then
2216 ac_cpp_err=$ac_c_preproc_warn_flag
2217 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2218 else
2219 ac_cpp_err=
2220 fi
2221 else
2222 ac_cpp_err=yes
2223 fi
2224 if test -z "$ac_cpp_err"; then
2225 :
2226 else
2227 echo "$as_me: failed program was:" >&5
2228 sed 's/^/| /' conftest.$ac_ext >&5
2229
2230 # Broken: fails on valid input.
2231 continue
2232 fi
2233 rm -f conftest.err conftest.$ac_ext
2234
2235 # OK, works on sane cases. Now check whether non-existent headers
2236 # can be detected and how.
2237 cat >conftest.$ac_ext <<_ACEOF
2238 /* confdefs.h. */
2239 _ACEOF
2240 cat confdefs.h >>conftest.$ac_ext
2241 cat >>conftest.$ac_ext <<_ACEOF
2242 /* end confdefs.h. */
2243 #include <ac_nonexistent.h>
2244 _ACEOF
2245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2247 ac_status=$?
2248 grep -v '^ *+' conftest.er1 >conftest.err
2249 rm -f conftest.er1
2250 cat conftest.err >&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); } >/dev/null; then
2253 if test -s conftest.err; then
2254 ac_cpp_err=$ac_c_preproc_warn_flag
2255 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2256 else
2257 ac_cpp_err=
2258 fi
2259 else
2260 ac_cpp_err=yes
2261 fi
2262 if test -z "$ac_cpp_err"; then
2263 # Broken: success on invalid input.
2264 continue
2265 else
2266 echo "$as_me: failed program was:" >&5
2267 sed 's/^/| /' conftest.$ac_ext >&5
2268
2269 # Passes both tests.
2270 ac_preproc_ok=:
2271 break
2272 fi
2273 rm -f conftest.err conftest.$ac_ext
2274
2275 done
2276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2277 rm -f conftest.err conftest.$ac_ext
2278 if $ac_preproc_ok; then
2279 break
2280 fi
2281
2282 done
2283 ac_cv_prog_CPP=$CPP
2284
2285 fi
2286 CPP=$ac_cv_prog_CPP
2287 else
2288 ac_cv_prog_CPP=$CPP
2289 fi
2290 echo "$as_me:$LINENO: result: $CPP" >&5
2291 echo "${ECHO_T}$CPP" >&6
2292 ac_preproc_ok=false
2293 for ac_c_preproc_warn_flag in '' yes
2294 do
2295 # Use a header file that comes with gcc, so configuring glibc
2296 # with a fresh cross-compiler works.
2297 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2298 # <limits.h> exists even on freestanding compilers.
2299 # On the NeXT, cc -E runs the code through the compiler's parser,
2300 # not just through cpp. "Syntax error" is here to catch this case.
2301 cat >conftest.$ac_ext <<_ACEOF
2302 /* confdefs.h. */
2303 _ACEOF
2304 cat confdefs.h >>conftest.$ac_ext
2305 cat >>conftest.$ac_ext <<_ACEOF
2306 /* end confdefs.h. */
2307 #ifdef __STDC__
2308 # include <limits.h>
2309 #else
2310 # include <assert.h>
2311 #endif
2312 Syntax error
2313 _ACEOF
2314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2316 ac_status=$?
2317 grep -v '^ *+' conftest.er1 >conftest.err
2318 rm -f conftest.er1
2319 cat conftest.err >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } >/dev/null; then
2322 if test -s conftest.err; then
2323 ac_cpp_err=$ac_c_preproc_warn_flag
2324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2325 else
2326 ac_cpp_err=
2327 fi
2328 else
2329 ac_cpp_err=yes
2330 fi
2331 if test -z "$ac_cpp_err"; then
2332 :
2333 else
2334 echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.$ac_ext >&5
2336
2337 # Broken: fails on valid input.
2338 continue
2339 fi
2340 rm -f conftest.err conftest.$ac_ext
2341
2342 # OK, works on sane cases. Now check whether non-existent headers
2343 # can be detected and how.
2344 cat >conftest.$ac_ext <<_ACEOF
2345 /* confdefs.h. */
2346 _ACEOF
2347 cat confdefs.h >>conftest.$ac_ext
2348 cat >>conftest.$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2350 #include <ac_nonexistent.h>
2351 _ACEOF
2352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2354 ac_status=$?
2355 grep -v '^ *+' conftest.er1 >conftest.err
2356 rm -f conftest.er1
2357 cat conftest.err >&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); } >/dev/null; then
2360 if test -s conftest.err; then
2361 ac_cpp_err=$ac_c_preproc_warn_flag
2362 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2363 else
2364 ac_cpp_err=
2365 fi
2366 else
2367 ac_cpp_err=yes
2368 fi
2369 if test -z "$ac_cpp_err"; then
2370 # Broken: success on invalid input.
2371 continue
2372 else
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.$ac_ext >&5
2375
2376 # Passes both tests.
2377 ac_preproc_ok=:
2378 break
2379 fi
2380 rm -f conftest.err conftest.$ac_ext
2381
2382 done
2383 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2384 rm -f conftest.err conftest.$ac_ext
2385 if $ac_preproc_ok; then
2386 :
2387 else
2388 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2389 See \`config.log' for more details." >&5
2390 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2391 See \`config.log' for more details." >&2;}
2392 { (exit 1); exit 1; }; }
2393 fi
2394
2395 ac_ext=c
2396 ac_cpp='$CPP $CPPFLAGS'
2397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2400
2401
2402 echo "$as_me:$LINENO: checking for egrep" >&5
2403 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2404 if test "${ac_cv_prog_egrep+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 else
2407 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2408 then ac_cv_prog_egrep='grep -E'
2409 else ac_cv_prog_egrep='egrep'
2410 fi
2411 fi
2412 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2413 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2414 EGREP=$ac_cv_prog_egrep
2415
2416
2417
2418 # Keep these sync'd with the list in Makefile.am. The first provides an
2419 # expandable list at autoconf time; the second provides an expandable list
2420 # (i.e., shell variable) at configure time.
2421
2422 SUBDIRS='include libmath libsupc++ src po testsuite'
2423
2424 # These need to be absolute paths, yet at the same time need to
2425 # canonicalize only relative paths, because then amd will not unmount
2426 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2427 glibcxx_builddir=`${PWDCMD-pwd}`
2428 case $srcdir in
2429 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2430 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2431 esac
2432 toplevel_srcdir=${glibcxx_srcdir}/..
2433
2434
2435
2436
2437 # We use these options to decide which functions to include. They are
2438 # set from the top level.
2439
2440 # Check whether --with-target-subdir or --without-target-subdir was given.
2441 if test "${with_target_subdir+set}" = set; then
2442 withval="$with_target_subdir"
2443
2444 fi;
2445
2446
2447 # Check whether --with-cross-host or --without-cross-host was given.
2448 if test "${with_cross_host+set}" = set; then
2449 withval="$with_cross_host"
2450
2451 fi;
2452
2453
2454 # Check whether --with-newlib or --without-newlib was given.
2455 if test "${with_newlib+set}" = set; then
2456 withval="$with_newlib"
2457
2458 fi;
2459
2460 # We're almost certainly being configured before anything else which uses
2461 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2462 # we not cache the value of CXX that we "discover" here, because it's set
2463 # to something unique for us and libjava. Other target libraries need to
2464 # find CXX for themselves. We yank the rug out from under the normal AC_*
2465 # process by sneakily renaming the cache variable. This also lets us debug
2466 # the value of "our" CXX in postmortems.
2467 #
2468 # We must also force CXX to /not/ be a precious variable, otherwise the
2469 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2470 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2471 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2472 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2473 #
2474 # -fno-builtin must be present here so that a non-conflicting form of
2475 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2476
2477
2478
2479
2480 save_CXXFLAGS="$CXXFLAGS"
2481 CXXFLAGS="$CXXFLAGS -fno-builtin"
2482 ac_ext=c
2483 ac_cpp='$CPP $CPPFLAGS'
2484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487 if test -n "$ac_tool_prefix"; then
2488 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2489 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2490 echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 else
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC="$CC" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2500 do
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2508 fi
2509 done
2510 done
2511
2512 fi
2513 fi
2514 CC=$ac_cv_prog_CC
2515 if test -n "$CC"; then
2516 echo "$as_me:$LINENO: result: $CC" >&5
2517 echo "${ECHO_T}$CC" >&6
2518 else
2519 echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6
2521 fi
2522
2523 fi
2524 if test -z "$ac_cv_prog_CC"; then
2525 ac_ct_CC=$CC
2526 # Extract the first word of "gcc", so it can be a program name with args.
2527 set dummy gcc; ac_word=$2
2528 echo "$as_me:$LINENO: checking for $ac_word" >&5
2529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2530 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 else
2533 if test -n "$ac_ct_CC"; then
2534 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2535 else
2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 for as_dir in $PATH
2538 do
2539 IFS=$as_save_IFS
2540 test -z "$as_dir" && as_dir=.
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2543 ac_cv_prog_ac_ct_CC="gcc"
2544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 break 2
2546 fi
2547 done
2548 done
2549
2550 fi
2551 fi
2552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2555 echo "${ECHO_T}$ac_ct_CC" >&6
2556 else
2557 echo "$as_me:$LINENO: result: no" >&5
2558 echo "${ECHO_T}no" >&6
2559 fi
2560
2561 CC=$ac_ct_CC
2562 else
2563 CC="$ac_cv_prog_CC"
2564 fi
2565
2566 if test -z "$CC"; then
2567 if test -n "$ac_tool_prefix"; then
2568 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2569 set dummy ${ac_tool_prefix}cc; ac_word=$2
2570 echo "$as_me:$LINENO: checking for $ac_word" >&5
2571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2572 if test "${ac_cv_prog_CC+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 else
2575 if test -n "$CC"; then
2576 ac_cv_prog_CC="$CC" # Let the user override the test.
2577 else
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 for as_dir in $PATH
2580 do
2581 IFS=$as_save_IFS
2582 test -z "$as_dir" && as_dir=.
2583 for ac_exec_ext in '' $ac_executable_extensions; do
2584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2585 ac_cv_prog_CC="${ac_tool_prefix}cc"
2586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 break 2
2588 fi
2589 done
2590 done
2591
2592 fi
2593 fi
2594 CC=$ac_cv_prog_CC
2595 if test -n "$CC"; then
2596 echo "$as_me:$LINENO: result: $CC" >&5
2597 echo "${ECHO_T}$CC" >&6
2598 else
2599 echo "$as_me:$LINENO: result: no" >&5
2600 echo "${ECHO_T}no" >&6
2601 fi
2602
2603 fi
2604 if test -z "$ac_cv_prog_CC"; then
2605 ac_ct_CC=$CC
2606 # Extract the first word of "cc", so it can be a program name with args.
2607 set dummy cc; ac_word=$2
2608 echo "$as_me:$LINENO: checking for $ac_word" >&5
2609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2610 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 else
2613 if test -n "$ac_ct_CC"; then
2614 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2615 else
2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 for as_dir in $PATH
2618 do
2619 IFS=$as_save_IFS
2620 test -z "$as_dir" && as_dir=.
2621 for ac_exec_ext in '' $ac_executable_extensions; do
2622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2623 ac_cv_prog_ac_ct_CC="cc"
2624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 break 2
2626 fi
2627 done
2628 done
2629
2630 fi
2631 fi
2632 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2633 if test -n "$ac_ct_CC"; then
2634 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2635 echo "${ECHO_T}$ac_ct_CC" >&6
2636 else
2637 echo "$as_me:$LINENO: result: no" >&5
2638 echo "${ECHO_T}no" >&6
2639 fi
2640
2641 CC=$ac_ct_CC
2642 else
2643 CC="$ac_cv_prog_CC"
2644 fi
2645
2646 fi
2647 if test -z "$CC"; then
2648 # Extract the first word of "cc", so it can be a program name with args.
2649 set dummy cc; ac_word=$2
2650 echo "$as_me:$LINENO: checking for $ac_word" >&5
2651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2652 if test "${ac_cv_prog_CC+set}" = set; then
2653 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 else
2655 if test -n "$CC"; then
2656 ac_cv_prog_CC="$CC" # Let the user override the test.
2657 else
2658 ac_prog_rejected=no
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 for as_dir in $PATH
2661 do
2662 IFS=$as_save_IFS
2663 test -z "$as_dir" && as_dir=.
2664 for ac_exec_ext in '' $ac_executable_extensions; do
2665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2666 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2667 ac_prog_rejected=yes
2668 continue
2669 fi
2670 ac_cv_prog_CC="cc"
2671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 break 2
2673 fi
2674 done
2675 done
2676
2677 if test $ac_prog_rejected = yes; then
2678 # We found a bogon in the path, so make sure we never use it.
2679 set dummy $ac_cv_prog_CC
2680 shift
2681 if test $# != 0; then
2682 # We chose a different compiler from the bogus one.
2683 # However, it has the same basename, so the bogon will be chosen
2684 # first if we set CC to just the basename; use the full file name.
2685 shift
2686 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2687 fi
2688 fi
2689 fi
2690 fi
2691 CC=$ac_cv_prog_CC
2692 if test -n "$CC"; then
2693 echo "$as_me:$LINENO: result: $CC" >&5
2694 echo "${ECHO_T}$CC" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2698 fi
2699
2700 fi
2701 if test -z "$CC"; then
2702 if test -n "$ac_tool_prefix"; then
2703 for ac_prog in cl
2704 do
2705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2706 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2707 echo "$as_me:$LINENO: checking for $ac_word" >&5
2708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2709 if test "${ac_cv_prog_CC+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 else
2712 if test -n "$CC"; then
2713 ac_cv_prog_CC="$CC" # Let the user override the test.
2714 else
2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716 for as_dir in $PATH
2717 do
2718 IFS=$as_save_IFS
2719 test -z "$as_dir" && as_dir=.
2720 for ac_exec_ext in '' $ac_executable_extensions; do
2721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2722 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 break 2
2725 fi
2726 done
2727 done
2728
2729 fi
2730 fi
2731 CC=$ac_cv_prog_CC
2732 if test -n "$CC"; then
2733 echo "$as_me:$LINENO: result: $CC" >&5
2734 echo "${ECHO_T}$CC" >&6
2735 else
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2738 fi
2739
2740 test -n "$CC" && break
2741 done
2742 fi
2743 if test -z "$CC"; then
2744 ac_ct_CC=$CC
2745 for ac_prog in cl
2746 do
2747 # Extract the first word of "$ac_prog", so it can be a program name with args.
2748 set dummy $ac_prog; ac_word=$2
2749 echo "$as_me:$LINENO: checking for $ac_word" >&5
2750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2751 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2752 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 else
2754 if test -n "$ac_ct_CC"; then
2755 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2756 else
2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 for as_dir in $PATH
2759 do
2760 IFS=$as_save_IFS
2761 test -z "$as_dir" && as_dir=.
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2764 ac_cv_prog_ac_ct_CC="$ac_prog"
2765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 break 2
2767 fi
2768 done
2769 done
2770
2771 fi
2772 fi
2773 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2774 if test -n "$ac_ct_CC"; then
2775 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2776 echo "${ECHO_T}$ac_ct_CC" >&6
2777 else
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2780 fi
2781
2782 test -n "$ac_ct_CC" && break
2783 done
2784
2785 CC=$ac_ct_CC
2786 fi
2787
2788 fi
2789
2790
2791 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2792 See \`config.log' for more details." >&5
2793 echo "$as_me: error: no acceptable C compiler found in \$PATH
2794 See \`config.log' for more details." >&2;}
2795 { (exit 1); exit 1; }; }
2796
2797 # Provide some information about the compiler.
2798 echo "$as_me:$LINENO:" \
2799 "checking for C compiler version" >&5
2800 ac_compiler=`set X $ac_compile; echo $2`
2801 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2802 (eval $ac_compiler --version </dev/null >&5) 2>&5
2803 ac_status=$?
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }
2806 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2807 (eval $ac_compiler -v </dev/null >&5) 2>&5
2808 ac_status=$?
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }
2811 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2812 (eval $ac_compiler -V </dev/null >&5) 2>&5
2813 ac_status=$?
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); }
2816
2817 cat >conftest.$ac_ext <<_ACEOF
2818 /* confdefs.h. */
2819 _ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2823
2824 int
2825 main ()
2826 {
2827
2828 ;
2829 return 0;
2830 }
2831 _ACEOF
2832 # FIXME: Cleanup?
2833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2834 (eval $ac_link) 2>&5
2835 ac_status=$?
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; then
2838 gcc_no_link=no
2839 else
2840 gcc_no_link=yes
2841 fi
2842
2843 if test x$gcc_no_link = xyes; then
2844 # Setting cross_compile will disable run tests; it will
2845 # also disable AC_CHECK_FILE but that's generally
2846 # correct if we can't link.
2847 cross_compiling=yes
2848 EXEEXT=
2849 else
2850 cat >conftest.$ac_ext <<_ACEOF
2851 /* confdefs.h. */
2852 _ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2856
2857 int
2858 main ()
2859 {
2860
2861 ;
2862 return 0;
2863 }
2864 _ACEOF
2865 ac_clean_files_save=$ac_clean_files
2866 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2867 # Try to create an executable without -o first, disregard a.out.
2868 # It will help us diagnose broken compilers, and finding out an intuition
2869 # of exeext.
2870 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2871 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2872 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2873 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2874 (eval $ac_link_default) 2>&5
2875 ac_status=$?
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; then
2878 # Find the output, starting from the most likely. This scheme is
2879 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2880 # resort.
2881
2882 # Be careful to initialize this variable, since it used to be cached.
2883 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2884 ac_cv_exeext=
2885 # b.out is created by i960 compilers.
2886 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2887 do
2888 test -f "$ac_file" || continue
2889 case $ac_file in
2890 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2891 ;;
2892 conftest.$ac_ext )
2893 # This is the source file.
2894 ;;
2895 [ab].out )
2896 # We found the default executable, but exeext='' is most
2897 # certainly right.
2898 break;;
2899 *.* )
2900 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2901 # FIXME: I believe we export ac_cv_exeext for Libtool,
2902 # but it would be cool to find out if it's true. Does anybody
2903 # maintain Libtool? --akim.
2904 export ac_cv_exeext
2905 break;;
2906 * )
2907 break;;
2908 esac
2909 done
2910 else
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2913
2914 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2915 See \`config.log' for more details." >&5
2916 echo "$as_me: error: C compiler cannot create executables
2917 See \`config.log' for more details." >&2;}
2918 { (exit 77); exit 77; }; }
2919 fi
2920
2921 ac_exeext=$ac_cv_exeext
2922 echo "$as_me:$LINENO: result: $ac_file" >&5
2923 echo "${ECHO_T}$ac_file" >&6
2924
2925 # Check the compiler produces executables we can run. If not, either
2926 # the compiler is broken, or we cross compile.
2927 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2928 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2929 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2930 # If not cross compiling, check that we can run a simple program.
2931 if test "$cross_compiling" != yes; then
2932 if { ac_try='./$ac_file'
2933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 (eval $ac_try) 2>&5
2935 ac_status=$?
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }; }; then
2938 cross_compiling=no
2939 else
2940 if test "$cross_compiling" = maybe; then
2941 cross_compiling=yes
2942 else
2943 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2944 If you meant to cross compile, use \`--host'.
2945 See \`config.log' for more details." >&5
2946 echo "$as_me: error: cannot run C compiled programs.
2947 If you meant to cross compile, use \`--host'.
2948 See \`config.log' for more details." >&2;}
2949 { (exit 1); exit 1; }; }
2950 fi
2951 fi
2952 fi
2953 echo "$as_me:$LINENO: result: yes" >&5
2954 echo "${ECHO_T}yes" >&6
2955
2956 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2957 ac_clean_files=$ac_clean_files_save
2958 # Check the compiler produces executables we can run. If not, either
2959 # the compiler is broken, or we cross compile.
2960 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2961 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2962 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2963 echo "${ECHO_T}$cross_compiling" >&6
2964
2965 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2966 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2968 (eval $ac_link) 2>&5
2969 ac_status=$?
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }; then
2972 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2973 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2974 # work properly (i.e., refer to `conftest.exe'), while it won't with
2975 # `rm'.
2976 for ac_file in conftest.exe conftest conftest.*; do
2977 test -f "$ac_file" || continue
2978 case $ac_file in
2979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2980 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2981 export ac_cv_exeext
2982 break;;
2983 * ) break;;
2984 esac
2985 done
2986 else
2987 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2988 See \`config.log' for more details." >&5
2989 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2990 See \`config.log' for more details." >&2;}
2991 { (exit 1); exit 1; }; }
2992 fi
2993
2994 rm -f conftest$ac_cv_exeext
2995 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2996 echo "${ECHO_T}$ac_cv_exeext" >&6
2997
2998 rm -f conftest.$ac_ext
2999 EXEEXT=$ac_cv_exeext
3000 ac_exeext=$EXEEXT
3001 fi
3002 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3003 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3004 if test "${ac_cv_objext+set}" = set; then
3005 echo $ECHO_N "(cached) $ECHO_C" >&6
3006 else
3007 cat >conftest.$ac_ext <<_ACEOF
3008 /* confdefs.h. */
3009 _ACEOF
3010 cat confdefs.h >>conftest.$ac_ext
3011 cat >>conftest.$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3013
3014 int
3015 main ()
3016 {
3017
3018 ;
3019 return 0;
3020 }
3021 _ACEOF
3022 rm -f conftest.o conftest.obj
3023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3024 (eval $ac_compile) 2>&5
3025 ac_status=$?
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; then
3028 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3029 case $ac_file in
3030 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3031 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3032 break;;
3033 esac
3034 done
3035 else
3036 echo "$as_me: failed program was:" >&5
3037 sed 's/^/| /' conftest.$ac_ext >&5
3038
3039 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3040 See \`config.log' for more details." >&5
3041 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3042 See \`config.log' for more details." >&2;}
3043 { (exit 1); exit 1; }; }
3044 fi
3045
3046 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3047 fi
3048 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3049 echo "${ECHO_T}$ac_cv_objext" >&6
3050 OBJEXT=$ac_cv_objext
3051 ac_objext=$OBJEXT
3052 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3053 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3054 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 else
3057 cat >conftest.$ac_ext <<_ACEOF
3058 /* confdefs.h. */
3059 _ACEOF
3060 cat confdefs.h >>conftest.$ac_ext
3061 cat >>conftest.$ac_ext <<_ACEOF
3062 /* end confdefs.h. */
3063
3064 int
3065 main ()
3066 {
3067 #ifndef __GNUC__
3068 choke me
3069 #endif
3070
3071 ;
3072 return 0;
3073 }
3074 _ACEOF
3075 rm -f conftest.$ac_objext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3077 (eval $ac_compile) 2>conftest.er1
3078 ac_status=$?
3079 grep -v '^ *+' conftest.er1 >conftest.err
3080 rm -f conftest.er1
3081 cat conftest.err >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } &&
3084 { ac_try='test -z "$ac_c_werror_flag"
3085 || test ! -s conftest.err'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 (eval $ac_try) 2>&5
3088 ac_status=$?
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; } &&
3091 { ac_try='test -s conftest.$ac_objext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 (eval $ac_try) 2>&5
3094 ac_status=$?
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_compiler_gnu=yes
3098 else
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3101
3102 ac_compiler_gnu=no
3103 fi
3104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3105 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3106
3107 fi
3108 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3109 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3110 GCC=`test $ac_compiler_gnu = yes && echo yes`
3111 ac_test_CFLAGS=${CFLAGS+set}
3112 ac_save_CFLAGS=$CFLAGS
3113 CFLAGS="-g"
3114 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3115 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3116 if test "${ac_cv_prog_cc_g+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3118 else
3119 cat >conftest.$ac_ext <<_ACEOF
3120 /* confdefs.h. */
3121 _ACEOF
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h. */
3125
3126 int
3127 main ()
3128 {
3129
3130 ;
3131 return 0;
3132 }
3133 _ACEOF
3134 rm -f conftest.$ac_objext
3135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3136 (eval $ac_compile) 2>conftest.er1
3137 ac_status=$?
3138 grep -v '^ *+' conftest.er1 >conftest.err
3139 rm -f conftest.er1
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } &&
3143 { ac_try='test -z "$ac_c_werror_flag"
3144 || test ! -s conftest.err'
3145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3146 (eval $ac_try) 2>&5
3147 ac_status=$?
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }; } &&
3150 { ac_try='test -s conftest.$ac_objext'
3151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152 (eval $ac_try) 2>&5
3153 ac_status=$?
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }; }; then
3156 ac_cv_prog_cc_g=yes
3157 else
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3160
3161 ac_cv_prog_cc_g=no
3162 fi
3163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3164 fi
3165 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3166 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3167 if test "$ac_test_CFLAGS" = set; then
3168 CFLAGS=$ac_save_CFLAGS
3169 elif test $ac_cv_prog_cc_g = yes; then
3170 if test "$GCC" = yes; then
3171 CFLAGS="-g -O2"
3172 else
3173 CFLAGS="-g"
3174 fi
3175 else
3176 if test "$GCC" = yes; then
3177 CFLAGS="-O2"
3178 else
3179 CFLAGS=
3180 fi
3181 fi
3182 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3183 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3184 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3186 else
3187 ac_cv_prog_cc_stdc=no
3188 ac_save_CC=$CC
3189 cat >conftest.$ac_ext <<_ACEOF
3190 /* confdefs.h. */
3191 _ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3195 #include <stdarg.h>
3196 #include <stdio.h>
3197 #include <sys/types.h>
3198 #include <sys/stat.h>
3199 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3200 struct buf { int x; };
3201 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3202 static char *e (p, i)
3203 char **p;
3204 int i;
3205 {
3206 return p[i];
3207 }
3208 static char *f (char * (*g) (char **, int), char **p, ...)
3209 {
3210 char *s;
3211 va_list v;
3212 va_start (v,p);
3213 s = g (p, va_arg (v,int));
3214 va_end (v);
3215 return s;
3216 }
3217
3218 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3219 function prototypes and stuff, but not '\xHH' hex character constants.
3220 These don't provoke an error unfortunately, instead are silently treated
3221 as 'x'. The following induces an error, until -std1 is added to get
3222 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3223 array size at least. It's necessary to write '\x00'==0 to get something
3224 that's true only with -std1. */
3225 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3226
3227 int test (int i, double x);
3228 struct s1 {int (*f) (int a);};
3229 struct s2 {int (*f) (double a);};
3230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3231 int argc;
3232 char **argv;
3233 int
3234 main ()
3235 {
3236 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3237 ;
3238 return 0;
3239 }
3240 _ACEOF
3241 # Don't try gcc -ansi; that turns off useful extensions and
3242 # breaks some systems' header files.
3243 # AIX -qlanglvl=ansi
3244 # Ultrix and OSF/1 -std1
3245 # HP-UX 10.20 and later -Ae
3246 # HP-UX older versions -Aa -D_HPUX_SOURCE
3247 # SVR4 -Xc -D__EXTENSIONS__
3248 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3249 do
3250 CC="$ac_save_CC $ac_arg"
3251 rm -f conftest.$ac_objext
3252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3253 (eval $ac_compile) 2>conftest.er1
3254 ac_status=$?
3255 grep -v '^ *+' conftest.er1 >conftest.err
3256 rm -f conftest.er1
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } &&
3260 { ac_try='test -z "$ac_c_werror_flag"
3261 || test ! -s conftest.err'
3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263 (eval $ac_try) 2>&5
3264 ac_status=$?
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); }; } &&
3267 { ac_try='test -s conftest.$ac_objext'
3268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 (eval $ac_try) 2>&5
3270 ac_status=$?
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }; }; then
3273 ac_cv_prog_cc_stdc=$ac_arg
3274 break
3275 else
3276 echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.$ac_ext >&5
3278
3279 fi
3280 rm -f conftest.err conftest.$ac_objext
3281 done
3282 rm -f conftest.$ac_ext conftest.$ac_objext
3283 CC=$ac_save_CC
3284
3285 fi
3286
3287 case "x$ac_cv_prog_cc_stdc" in
3288 x|xno)
3289 echo "$as_me:$LINENO: result: none needed" >&5
3290 echo "${ECHO_T}none needed" >&6 ;;
3291 *)
3292 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3293 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3294 CC="$CC $ac_cv_prog_cc_stdc" ;;
3295 esac
3296
3297 # Some people use a C++ compiler to compile C. Since we use `exit',
3298 # in C++ we need to declare it. In case someone uses the same compiler
3299 # for both compiling C and C++ we need to have the C++ compiler decide
3300 # the declaration of exit, since it's the most demanding environment.
3301 cat >conftest.$ac_ext <<_ACEOF
3302 #ifndef __cplusplus
3303 choke me
3304 #endif
3305 _ACEOF
3306 rm -f conftest.$ac_objext
3307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3308 (eval $ac_compile) 2>conftest.er1
3309 ac_status=$?
3310 grep -v '^ *+' conftest.er1 >conftest.err
3311 rm -f conftest.er1
3312 cat conftest.err >&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); } &&
3315 { ac_try='test -z "$ac_c_werror_flag"
3316 || test ! -s conftest.err'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3318 (eval $ac_try) 2>&5
3319 ac_status=$?
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; } &&
3322 { ac_try='test -s conftest.$ac_objext'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324 (eval $ac_try) 2>&5
3325 ac_status=$?
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; }; then
3328 for ac_declaration in \
3329 '' \
3330 'extern "C" void std::exit (int) throw (); using std::exit;' \
3331 'extern "C" void std::exit (int); using std::exit;' \
3332 'extern "C" void exit (int) throw ();' \
3333 'extern "C" void exit (int);' \
3334 'void exit (int);'
3335 do
3336 cat >conftest.$ac_ext <<_ACEOF
3337 /* confdefs.h. */
3338 _ACEOF
3339 cat confdefs.h >>conftest.$ac_ext
3340 cat >>conftest.$ac_ext <<_ACEOF
3341 /* end confdefs.h. */
3342 $ac_declaration
3343 #include <stdlib.h>
3344 int
3345 main ()
3346 {
3347 exit (42);
3348 ;
3349 return 0;
3350 }
3351 _ACEOF
3352 rm -f conftest.$ac_objext
3353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3354 (eval $ac_compile) 2>conftest.er1
3355 ac_status=$?
3356 grep -v '^ *+' conftest.er1 >conftest.err
3357 rm -f conftest.er1
3358 cat conftest.err >&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); } &&
3361 { ac_try='test -z "$ac_c_werror_flag"
3362 || test ! -s conftest.err'
3363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3364 (eval $ac_try) 2>&5
3365 ac_status=$?
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; } &&
3368 { ac_try='test -s conftest.$ac_objext'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370 (eval $ac_try) 2>&5
3371 ac_status=$?
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; }; then
3374 :
3375 else
3376 echo "$as_me: failed program was:" >&5
3377 sed 's/^/| /' conftest.$ac_ext >&5
3378
3379 continue
3380 fi
3381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3382 cat >conftest.$ac_ext <<_ACEOF
3383 /* confdefs.h. */
3384 _ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3388 $ac_declaration
3389 int
3390 main ()
3391 {
3392 exit (42);
3393 ;
3394 return 0;
3395 }
3396 _ACEOF
3397 rm -f conftest.$ac_objext
3398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3399 (eval $ac_compile) 2>conftest.er1
3400 ac_status=$?
3401 grep -v '^ *+' conftest.er1 >conftest.err
3402 rm -f conftest.er1
3403 cat conftest.err >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } &&
3406 { ac_try='test -z "$ac_c_werror_flag"
3407 || test ! -s conftest.err'
3408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 (eval $ac_try) 2>&5
3410 ac_status=$?
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; } &&
3413 { ac_try='test -s conftest.$ac_objext'
3414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 (eval $ac_try) 2>&5
3416 ac_status=$?
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; }; then
3419 break
3420 else
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3423
3424 fi
3425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3426 done
3427 rm -f conftest*
3428 if test -n "$ac_declaration"; then
3429 echo '#ifdef __cplusplus' >>confdefs.h
3430 echo $ac_declaration >>confdefs.h
3431 echo '#endif' >>confdefs.h
3432 fi
3433
3434 else
3435 echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.$ac_ext >&5
3437
3438 fi
3439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3440 ac_ext=c
3441 ac_cpp='$CPP $CPPFLAGS'
3442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3445
3446 ac_ext=cc
3447 ac_cpp='$CXXCPP $CPPFLAGS'
3448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3451 if test -n "$ac_tool_prefix"; then
3452 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3453 do
3454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3455 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3456 echo "$as_me:$LINENO: checking for $ac_word" >&5
3457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3458 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 else
3461 if test -n "$CXX"; then
3462 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3463 else
3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 for as_dir in $PATH
3466 do
3467 IFS=$as_save_IFS
3468 test -z "$as_dir" && as_dir=.
3469 for ac_exec_ext in '' $ac_executable_extensions; do
3470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3471 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3473 break 2
3474 fi
3475 done
3476 done
3477
3478 fi
3479 fi
3480 CXX=$glibcxx_cv_prog_CXX
3481 if test -n "$CXX"; then
3482 echo "$as_me:$LINENO: result: $CXX" >&5
3483 echo "${ECHO_T}$CXX" >&6
3484 else
3485 echo "$as_me:$LINENO: result: no" >&5
3486 echo "${ECHO_T}no" >&6
3487 fi
3488
3489 test -n "$CXX" && break
3490 done
3491 fi
3492 if test -z "$CXX"; then
3493 ac_ct_CXX=$CXX
3494 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3495 do
3496 # Extract the first word of "$ac_prog", so it can be a program name with args.
3497 set dummy $ac_prog; ac_word=$2
3498 echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 else
3503 if test -n "$ac_ct_CXX"; then
3504 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3508 do
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_ac_ct_CXX="$ac_prog"
3514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 break 2
3516 fi
3517 done
3518 done
3519
3520 fi
3521 fi
3522 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3523 if test -n "$ac_ct_CXX"; then
3524 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3525 echo "${ECHO_T}$ac_ct_CXX" >&6
3526 else
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3529 fi
3530
3531 test -n "$ac_ct_CXX" && break
3532 done
3533 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3534
3535 CXX=$ac_ct_CXX
3536 fi
3537
3538
3539 # Provide some information about the compiler.
3540 echo "$as_me:$LINENO:" \
3541 "checking for C++ compiler version" >&5
3542 ac_compiler=`set X $ac_compile; echo $2`
3543 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3544 (eval $ac_compiler --version </dev/null >&5) 2>&5
3545 ac_status=$?
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }
3548 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3549 (eval $ac_compiler -v </dev/null >&5) 2>&5
3550 ac_status=$?
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }
3553 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3554 (eval $ac_compiler -V </dev/null >&5) 2>&5
3555 ac_status=$?
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }
3558
3559 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3560 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3561 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 else
3564 cat >conftest.$ac_ext <<_ACEOF
3565 /* confdefs.h. */
3566 _ACEOF
3567 cat confdefs.h >>conftest.$ac_ext
3568 cat >>conftest.$ac_ext <<_ACEOF
3569 /* end confdefs.h. */
3570
3571 int
3572 main ()
3573 {
3574 #ifndef __GNUC__
3575 choke me
3576 #endif
3577
3578 ;
3579 return 0;
3580 }
3581 _ACEOF
3582 rm -f conftest.$ac_objext
3583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3584 (eval $ac_compile) 2>conftest.er1
3585 ac_status=$?
3586 grep -v '^ *+' conftest.er1 >conftest.err
3587 rm -f conftest.er1
3588 cat conftest.err >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); } &&
3591 { ac_try='test -z "$ac_cxx_werror_flag"
3592 || test ! -s conftest.err'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 (eval $ac_try) 2>&5
3595 ac_status=$?
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; } &&
3598 { ac_try='test -s conftest.$ac_objext'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 (eval $ac_try) 2>&5
3601 ac_status=$?
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; }; then
3604 ac_compiler_gnu=yes
3605 else
3606 echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3608
3609 ac_compiler_gnu=no
3610 fi
3611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3612 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3613
3614 fi
3615 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3616 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3617 GXX=`test $ac_compiler_gnu = yes && echo yes`
3618 ac_test_CXXFLAGS=${CXXFLAGS+set}
3619 ac_save_CXXFLAGS=$CXXFLAGS
3620 CXXFLAGS="-g"
3621 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3622 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3623 if test "${ac_cv_prog_cxx_g+set}" = set; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 else
3626 cat >conftest.$ac_ext <<_ACEOF
3627 /* confdefs.h. */
3628 _ACEOF
3629 cat confdefs.h >>conftest.$ac_ext
3630 cat >>conftest.$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3632
3633 int
3634 main ()
3635 {
3636
3637 ;
3638 return 0;
3639 }
3640 _ACEOF
3641 rm -f conftest.$ac_objext
3642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3643 (eval $ac_compile) 2>conftest.er1
3644 ac_status=$?
3645 grep -v '^ *+' conftest.er1 >conftest.err
3646 rm -f conftest.er1
3647 cat conftest.err >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } &&
3650 { ac_try='test -z "$ac_cxx_werror_flag"
3651 || test ! -s conftest.err'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3653 (eval $ac_try) 2>&5
3654 ac_status=$?
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; } &&
3657 { ac_try='test -s conftest.$ac_objext'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3659 (eval $ac_try) 2>&5
3660 ac_status=$?
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3663 ac_cv_prog_cxx_g=yes
3664 else
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3667
3668 ac_cv_prog_cxx_g=no
3669 fi
3670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3671 fi
3672 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3673 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3674 if test "$ac_test_CXXFLAGS" = set; then
3675 CXXFLAGS=$ac_save_CXXFLAGS
3676 elif test $ac_cv_prog_cxx_g = yes; then
3677 if test "$GXX" = yes; then
3678 CXXFLAGS="-g -O2"
3679 else
3680 CXXFLAGS="-g"
3681 fi
3682 else
3683 if test "$GXX" = yes; then
3684 CXXFLAGS="-O2"
3685 else
3686 CXXFLAGS=
3687 fi
3688 fi
3689 for ac_declaration in \
3690 '' \
3691 'extern "C" void std::exit (int) throw (); using std::exit;' \
3692 'extern "C" void std::exit (int); using std::exit;' \
3693 'extern "C" void exit (int) throw ();' \
3694 'extern "C" void exit (int);' \
3695 'void exit (int);'
3696 do
3697 cat >conftest.$ac_ext <<_ACEOF
3698 /* confdefs.h. */
3699 _ACEOF
3700 cat confdefs.h >>conftest.$ac_ext
3701 cat >>conftest.$ac_ext <<_ACEOF
3702 /* end confdefs.h. */
3703 $ac_declaration
3704 #include <stdlib.h>
3705 int
3706 main ()
3707 {
3708 exit (42);
3709 ;
3710 return 0;
3711 }
3712 _ACEOF
3713 rm -f conftest.$ac_objext
3714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3715 (eval $ac_compile) 2>conftest.er1
3716 ac_status=$?
3717 grep -v '^ *+' conftest.er1 >conftest.err
3718 rm -f conftest.er1
3719 cat conftest.err >&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } &&
3722 { ac_try='test -z "$ac_cxx_werror_flag"
3723 || test ! -s conftest.err'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3725 (eval $ac_try) 2>&5
3726 ac_status=$?
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; } &&
3729 { ac_try='test -s conftest.$ac_objext'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 (eval $ac_try) 2>&5
3732 ac_status=$?
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3735 :
3736 else
3737 echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.$ac_ext >&5
3739
3740 continue
3741 fi
3742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3743 cat >conftest.$ac_ext <<_ACEOF
3744 /* confdefs.h. */
3745 _ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3749 $ac_declaration
3750 int
3751 main ()
3752 {
3753 exit (42);
3754 ;
3755 return 0;
3756 }
3757 _ACEOF
3758 rm -f conftest.$ac_objext
3759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3760 (eval $ac_compile) 2>conftest.er1
3761 ac_status=$?
3762 grep -v '^ *+' conftest.er1 >conftest.err
3763 rm -f conftest.er1
3764 cat conftest.err >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } &&
3767 { ac_try='test -z "$ac_cxx_werror_flag"
3768 || test ! -s conftest.err'
3769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3770 (eval $ac_try) 2>&5
3771 ac_status=$?
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); }; } &&
3774 { ac_try='test -s conftest.$ac_objext'
3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776 (eval $ac_try) 2>&5
3777 ac_status=$?
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); }; }; then
3780 break
3781 else
3782 echo "$as_me: failed program was:" >&5
3783 sed 's/^/| /' conftest.$ac_ext >&5
3784
3785 fi
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787 done
3788 rm -f conftest*
3789 if test -n "$ac_declaration"; then
3790 echo '#ifdef __cplusplus' >>confdefs.h
3791 echo $ac_declaration >>confdefs.h
3792 echo '#endif' >>confdefs.h
3793 fi
3794
3795 ac_ext=c
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3800
3801 CXXFLAGS="$save_CXXFLAGS"
3802
3803
3804
3805
3806 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3807 # available). Uncomment the next line to force a particular method.
3808 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3809 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3810 LN_S=$as_ln_s
3811 if test "$LN_S" = "ln -s"; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3814 else
3815 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3816 echo "${ECHO_T}no, using $LN_S" >&6
3817 fi
3818
3819 #LN_S='cp -p'
3820
3821 if test -n "$ac_tool_prefix"; then
3822 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3823 set dummy ${ac_tool_prefix}as; ac_word=$2
3824 echo "$as_me:$LINENO: checking for $ac_word" >&5
3825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3826 if test "${ac_cv_prog_AS+set}" = set; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 else
3829 if test -n "$AS"; then
3830 ac_cv_prog_AS="$AS" # Let the user override the test.
3831 else
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 for as_dir in $PATH
3834 do
3835 IFS=$as_save_IFS
3836 test -z "$as_dir" && as_dir=.
3837 for ac_exec_ext in '' $ac_executable_extensions; do
3838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_AS="${ac_tool_prefix}as"
3840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 break 2
3842 fi
3843 done
3844 done
3845
3846 fi
3847 fi
3848 AS=$ac_cv_prog_AS
3849 if test -n "$AS"; then
3850 echo "$as_me:$LINENO: result: $AS" >&5
3851 echo "${ECHO_T}$AS" >&6
3852 else
3853 echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6
3855 fi
3856
3857 fi
3858 if test -z "$ac_cv_prog_AS"; then
3859 ac_ct_AS=$AS
3860 # Extract the first word of "as", so it can be a program name with args.
3861 set dummy as; ac_word=$2
3862 echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3864 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 else
3867 if test -n "$ac_ct_AS"; then
3868 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3869 else
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871 for as_dir in $PATH
3872 do
3873 IFS=$as_save_IFS
3874 test -z "$as_dir" && as_dir=.
3875 for ac_exec_ext in '' $ac_executable_extensions; do
3876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3877 ac_cv_prog_ac_ct_AS="as"
3878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 break 2
3880 fi
3881 done
3882 done
3883
3884 fi
3885 fi
3886 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3887 if test -n "$ac_ct_AS"; then
3888 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3889 echo "${ECHO_T}$ac_ct_AS" >&6
3890 else
3891 echo "$as_me:$LINENO: result: no" >&5
3892 echo "${ECHO_T}no" >&6
3893 fi
3894
3895 AS=$ac_ct_AS
3896 else
3897 AS="$ac_cv_prog_AS"
3898 fi
3899
3900 if test -n "$ac_tool_prefix"; then
3901 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3902 set dummy ${ac_tool_prefix}ar; ac_word=$2
3903 echo "$as_me:$LINENO: checking for $ac_word" >&5
3904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3905 if test "${ac_cv_prog_AR+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 else
3908 if test -n "$AR"; then
3909 ac_cv_prog_AR="$AR" # Let the user override the test.
3910 else
3911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 for as_dir in $PATH
3913 do
3914 IFS=$as_save_IFS
3915 test -z "$as_dir" && as_dir=.
3916 for ac_exec_ext in '' $ac_executable_extensions; do
3917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3918 ac_cv_prog_AR="${ac_tool_prefix}ar"
3919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 break 2
3921 fi
3922 done
3923 done
3924
3925 fi
3926 fi
3927 AR=$ac_cv_prog_AR
3928 if test -n "$AR"; then
3929 echo "$as_me:$LINENO: result: $AR" >&5
3930 echo "${ECHO_T}$AR" >&6
3931 else
3932 echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6
3934 fi
3935
3936 fi
3937 if test -z "$ac_cv_prog_AR"; then
3938 ac_ct_AR=$AR
3939 # Extract the first word of "ar", so it can be a program name with args.
3940 set dummy ar; ac_word=$2
3941 echo "$as_me:$LINENO: checking for $ac_word" >&5
3942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3943 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 else
3946 if test -n "$ac_ct_AR"; then
3947 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3948 else
3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 for as_dir in $PATH
3951 do
3952 IFS=$as_save_IFS
3953 test -z "$as_dir" && as_dir=.
3954 for ac_exec_ext in '' $ac_executable_extensions; do
3955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3956 ac_cv_prog_ac_ct_AR="ar"
3957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 break 2
3959 fi
3960 done
3961 done
3962
3963 fi
3964 fi
3965 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3966 if test -n "$ac_ct_AR"; then
3967 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3968 echo "${ECHO_T}$ac_ct_AR" >&6
3969 else
3970 echo "$as_me:$LINENO: result: no" >&5
3971 echo "${ECHO_T}no" >&6
3972 fi
3973
3974 AR=$ac_ct_AR
3975 else
3976 AR="$ac_cv_prog_AR"
3977 fi
3978
3979 if test -n "$ac_tool_prefix"; then
3980 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3981 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3982 echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3984 if test "${ac_cv_prog_RANLIB+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 else
3987 if test -n "$RANLIB"; then
3988 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3989 else
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH
3992 do
3993 IFS=$as_save_IFS
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 break 2
4000 fi
4001 done
4002 done
4003
4004 fi
4005 fi
4006 RANLIB=$ac_cv_prog_RANLIB
4007 if test -n "$RANLIB"; then
4008 echo "$as_me:$LINENO: result: $RANLIB" >&5
4009 echo "${ECHO_T}$RANLIB" >&6
4010 else
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4013 fi
4014
4015 fi
4016 if test -z "$ac_cv_prog_RANLIB"; then
4017 ac_ct_RANLIB=$RANLIB
4018 # Extract the first word of "ranlib", so it can be a program name with args.
4019 set dummy ranlib; ac_word=$2
4020 echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4022 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4024 else
4025 if test -n "$ac_ct_RANLIB"; then
4026 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4027 else
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4030 do
4031 IFS=$as_save_IFS
4032 test -z "$as_dir" && as_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_ac_ct_RANLIB="ranlib"
4036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4037 break 2
4038 fi
4039 done
4040 done
4041
4042 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4043 fi
4044 fi
4045 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4046 if test -n "$ac_ct_RANLIB"; then
4047 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4048 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4049 else
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4052 fi
4053
4054 RANLIB=$ac_ct_RANLIB
4055 else
4056 RANLIB="$ac_cv_prog_RANLIB"
4057 fi
4058
4059
4060 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4061 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4062 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4063 if test "${enable_maintainer_mode+set}" = set; then
4064 enableval="$enable_maintainer_mode"
4065 USE_MAINTAINER_MODE=$enableval
4066 else
4067 USE_MAINTAINER_MODE=no
4068 fi;
4069 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4070 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4071
4072
4073 if test $USE_MAINTAINER_MODE = yes; then
4074 MAINTAINER_MODE_TRUE=
4075 MAINTAINER_MODE_FALSE='#'
4076 else
4077 MAINTAINER_MODE_TRUE='#'
4078 MAINTAINER_MODE_FALSE=
4079 fi
4080
4081 MAINT=$MAINTAINER_MODE_TRUE
4082
4083
4084
4085 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4086 # which are themselves conditionally expanded.
4087 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4088 ## other macros from doing the same. This should be automated.) -pme
4089 need_libmath=no
4090
4091 # Check for uClibc since Linux platforms use different configuration
4092 # directories depending on the C library in use.
4093 cat >conftest.$ac_ext <<_ACEOF
4094 /* confdefs.h. */
4095 _ACEOF
4096 cat confdefs.h >>conftest.$ac_ext
4097 cat >>conftest.$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4099
4100 #include <stdio.h>
4101 #if __UCLIBC__
4102 _using_uclibc
4103 #endif
4104
4105 _ACEOF
4106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4107 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4108 uclibc=yes
4109 else
4110 uclibc=no
4111 fi
4112 rm -f conftest*
4113
4114
4115 # Find platform-specific directories containing configuration info.
4116 # Also possibly modify flags used elsewhere, as needed by the platform.
4117
4118 . $glibcxx_srcdir/configure.host
4119 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4120 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4121 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4122 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4123
4124
4125
4126 enable_dlopen=yes
4127
4128
4129
4130
4131
4132 macro_version='2.1a'
4133 macro_revision='1.2435'
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146 ltmain="$ac_aux_dir/ltmain.sh"
4147
4148 # Set options
4149
4150
4151 enable_win32_dll=no
4152
4153
4154 # Check whether --enable-shared or --disable-shared was given.
4155 if test "${enable_shared+set}" = set; then
4156 enableval="$enable_shared"
4157 p=${PACKAGE-default}
4158 case $enableval in
4159 yes) enable_shared=yes ;;
4160 no) enable_shared=no ;;
4161 *)
4162 enable_shared=no
4163 # Look at the argument we got. We use all the common list separators.
4164 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4165 for pkg in $enableval; do
4166 IFS="$lt_save_ifs"
4167 if test "X$pkg" = "X$p"; then
4168 enable_shared=yes
4169 fi
4170 done
4171 IFS="$lt_save_ifs"
4172 ;;
4173 esac
4174 else
4175 enable_shared=yes
4176 fi;
4177
4178
4179
4180
4181
4182
4183
4184
4185 # Check whether --enable-static or --disable-static was given.
4186 if test "${enable_static+set}" = set; then
4187 enableval="$enable_static"
4188 p=${PACKAGE-default}
4189 case $enableval in
4190 yes) enable_static=yes ;;
4191 no) enable_static=no ;;
4192 *)
4193 enable_static=no
4194 # Look at the argument we got. We use all the common list separators.
4195 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4196 for pkg in $enableval; do
4197 IFS="$lt_save_ifs"
4198 if test "X$pkg" = "X$p"; then
4199 enable_static=yes
4200 fi
4201 done
4202 IFS="$lt_save_ifs"
4203 ;;
4204 esac
4205 else
4206 enable_static=yes
4207 fi;
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217 # Check whether --with-pic or --without-pic was given.
4218 if test "${with_pic+set}" = set; then
4219 withval="$with_pic"
4220 pic_mode="$withval"
4221 else
4222 pic_mode=default
4223 fi;
4224
4225 test -z "$pic_mode" && pic_mode=default
4226
4227
4228
4229
4230
4231
4232
4233 # Check whether --enable-fast-install or --disable-fast-install was given.
4234 if test "${enable_fast_install+set}" = set; then
4235 enableval="$enable_fast_install"
4236 p=${PACKAGE-default}
4237 case $enableval in
4238 yes) enable_fast_install=yes ;;
4239 no) enable_fast_install=no ;;
4240 *)
4241 enable_fast_install=no
4242 # Look at the argument we got. We use all the common list separators.
4243 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4244 for pkg in $enableval; do
4245 IFS="$lt_save_ifs"
4246 if test "X$pkg" = "X$p"; then
4247 enable_fast_install=yes
4248 fi
4249 done
4250 IFS="$lt_save_ifs"
4251 ;;
4252 esac
4253 else
4254 enable_fast_install=yes
4255 fi;
4256
4257
4258
4259
4260
4261
4262
4263
4264 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4265 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4266 if test "${lt_cv_path_SED+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 else
4269 # Loop through the user's path and test for sed and gsed.
4270 # Then use that list of sed's as ones to test for truncation.
4271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 for as_dir in $PATH
4273 do
4274 IFS=$as_save_IFS
4275 test -z "$as_dir" && as_dir=.
4276 for lt_ac_prog in sed gsed; do
4277 for ac_exec_ext in '' $ac_executable_extensions; do
4278 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4279 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4280 fi
4281 done
4282 done
4283 done
4284 IFS=$as_save_IFS
4285 lt_ac_max=0
4286 lt_ac_count=0
4287 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4288 # along with /bin/sed that truncates output.
4289 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4290 test ! -f $lt_ac_sed && continue
4291 cat /dev/null > conftest.in
4292 lt_ac_count=0
4293 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4294 # Check for GNU sed and select it if it is found.
4295 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4296 lt_cv_path_SED=$lt_ac_sed
4297 break
4298 fi
4299 while true; do
4300 cat conftest.in conftest.in >conftest.tmp
4301 mv conftest.tmp conftest.in
4302 cp conftest.in conftest.nl
4303 echo >>conftest.nl
4304 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4305 cmp -s conftest.out conftest.nl || break
4306 # 10000 chars as input seems more than enough
4307 test $lt_ac_count -gt 10 && break
4308 lt_ac_count=`expr $lt_ac_count + 1`
4309 if test $lt_ac_count -gt $lt_ac_max; then
4310 lt_ac_max=$lt_ac_count
4311 lt_cv_path_SED=$lt_ac_sed
4312 fi
4313 done
4314 done
4315
4316 fi
4317
4318 SED=$lt_cv_path_SED
4319
4320 echo "$as_me:$LINENO: result: $SED" >&5
4321 echo "${ECHO_T}$SED" >&6
4322
4323 test -z "$SED" && SED=sed
4324 Xsed="$SED -e 1s/^X//"
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336 echo "$as_me:$LINENO: checking for fgrep" >&5
4337 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4338 if test "${ac_cv_prog_fgrep+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 else
4341 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4342 then ac_cv_prog_fgrep='grep -F'
4343 else ac_cv_prog_fgrep='fgrep'
4344 fi
4345 fi
4346 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4347 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4348 FGREP=$ac_cv_prog_fgrep
4349
4350
4351 test -z "$GREP" && GREP=grep
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4372 if test "${with_gnu_ld+set}" = set; then
4373 withval="$with_gnu_ld"
4374 test "$withval" = no || with_gnu_ld=yes
4375 else
4376 with_gnu_ld=no
4377 fi;
4378 ac_prog=ld
4379 if test "$GCC" = yes; then
4380 # Check if gcc -print-prog-name=ld gives a path.
4381 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4382 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4383 case $host in
4384 *-*-mingw*)
4385 # gcc leaves a trailing carriage return which upsets mingw
4386 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4387 *)
4388 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4389 esac
4390 case $ac_prog in
4391 # Accept absolute paths.
4392 [\\/]* | ?:[\\/]*)
4393 re_direlt='/[^/][^/]*/\.\./'
4394 # Canonicalize the pathname of ld
4395 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4396 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4397 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4398 done
4399 test -z "$LD" && LD="$ac_prog"
4400 ;;
4401 "")
4402 # If it fails, then pretend we aren't using GCC.
4403 ac_prog=ld
4404 ;;
4405 *)
4406 # If it is relative, then search for the first ld in PATH.
4407 with_gnu_ld=unknown
4408 ;;
4409 esac
4410 elif test "$with_gnu_ld" = yes; then
4411 echo "$as_me:$LINENO: checking for GNU ld" >&5
4412 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4413 else
4414 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4415 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4416 fi
4417 if test "${lt_cv_path_LD+set}" = set; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 else
4420 if test -z "$LD"; then
4421 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4422 for ac_dir in $PATH; do
4423 IFS="$lt_save_ifs"
4424 test -z "$ac_dir" && ac_dir=.
4425 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4426 lt_cv_path_LD="$ac_dir/$ac_prog"
4427 # Check to see if the program is GNU ld. I'd rather use --version,
4428 # but apparently some variants of GNU ld only accept -v.
4429 # Break only if it was the GNU/non-GNU ld that we prefer.
4430 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4431 *GNU* | *'with BFD'*)
4432 test "$with_gnu_ld" != no && break
4433 ;;
4434 *)
4435 test "$with_gnu_ld" != yes && break
4436 ;;
4437 esac
4438 fi
4439 done
4440 IFS="$lt_save_ifs"
4441 else
4442 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4443 fi
4444 fi
4445
4446 LD="$lt_cv_path_LD"
4447 if test -n "$LD"; then
4448 echo "$as_me:$LINENO: result: $LD" >&5
4449 echo "${ECHO_T}$LD" >&6
4450 else
4451 echo "$as_me:$LINENO: result: no" >&5
4452 echo "${ECHO_T}no" >&6
4453 fi
4454 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4455 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4456 { (exit 1); exit 1; }; }
4457 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4458 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4459 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 else
4462 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4463 case `$LD -v 2>&1 </dev/null` in
4464 *GNU* | *'with BFD'*)
4465 lt_cv_prog_gnu_ld=yes
4466 ;;
4467 *)
4468 lt_cv_prog_gnu_ld=no
4469 ;;
4470 esac
4471 fi
4472 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4473 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4474 with_gnu_ld=$lt_cv_prog_gnu_ld
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4486 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4487 if test "${lt_cv_path_NM+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 else
4490 if test -n "$NM"; then
4491 # Let the user override the test.
4492 lt_cv_path_NM="$NM"
4493 else
4494 lt_nm_to_check="${ac_tool_prefix}nm"
4495 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4496 lt_nm_to_check="$lt_nm_to_check nm"
4497 fi
4498 for lt_tmp_nm in $lt_nm_to_check; do
4499 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4500 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4501 IFS="$lt_save_ifs"
4502 test -z "$ac_dir" && ac_dir=.
4503 tmp_nm="$ac_dir/$lt_tmp_nm"
4504 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4505 # Check to see if the nm accepts a BSD-compat flag.
4506 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4507 # nm: unknown option "B" ignored
4508 # Tru64's nm complains that /dev/null is an invalid object file
4509 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4510 */dev/null* | *'Invalid file or object type'*)
4511 lt_cv_path_NM="$tmp_nm -B"
4512 break
4513 ;;
4514 *)
4515 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4516 */dev/null*)
4517 lt_cv_path_NM="$tmp_nm -p"
4518 break
4519 ;;
4520 *)
4521 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4522 continue # so that we can try to find one that supports BSD flags
4523 ;;
4524 esac
4525 ;;
4526 esac
4527 fi
4528 done
4529 IFS="$lt_save_ifs"
4530 done
4531 : ${lt_cv_path_NM=no}
4532 fi
4533 fi
4534 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4535 echo "${ECHO_T}$lt_cv_path_NM" >&6
4536 if test "$lt_cv_path_NM" != "no"; then
4537 NM="$lt_cv_path_NM"
4538 else
4539 # Didn't find any BSD compatible name lister, look for dumpbin.
4540 if test -n "$ac_tool_prefix"; then
4541 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4542 do
4543 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4544 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4545 echo "$as_me:$LINENO: checking for $ac_word" >&5
4546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4547 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 else
4550 if test -n "$DUMPBIN"; then
4551 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4552 else
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 for as_dir in $PATH
4555 do
4556 IFS=$as_save_IFS
4557 test -z "$as_dir" && as_dir=.
4558 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4560 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 break 2
4563 fi
4564 done
4565 done
4566
4567 fi
4568 fi
4569 DUMPBIN=$ac_cv_prog_DUMPBIN
4570 if test -n "$DUMPBIN"; then
4571 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4572 echo "${ECHO_T}$DUMPBIN" >&6
4573 else
4574 echo "$as_me:$LINENO: result: no" >&5
4575 echo "${ECHO_T}no" >&6
4576 fi
4577
4578 test -n "$DUMPBIN" && break
4579 done
4580 fi
4581 if test -z "$DUMPBIN"; then
4582 ac_ct_DUMPBIN=$DUMPBIN
4583 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4584 do
4585 # Extract the first word of "$ac_prog", so it can be a program name with args.
4586 set dummy $ac_prog; ac_word=$2
4587 echo "$as_me:$LINENO: checking for $ac_word" >&5
4588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4589 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 else
4592 if test -n "$ac_ct_DUMPBIN"; then
4593 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4594 else
4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 for as_dir in $PATH
4597 do
4598 IFS=$as_save_IFS
4599 test -z "$as_dir" && as_dir=.
4600 for ac_exec_ext in '' $ac_executable_extensions; do
4601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 break 2
4605 fi
4606 done
4607 done
4608
4609 fi
4610 fi
4611 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4612 if test -n "$ac_ct_DUMPBIN"; then
4613 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4614 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4615 else
4616 echo "$as_me:$LINENO: result: no" >&5
4617 echo "${ECHO_T}no" >&6
4618 fi
4619
4620 test -n "$ac_ct_DUMPBIN" && break
4621 done
4622 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4623
4624 DUMPBIN=$ac_ct_DUMPBIN
4625 fi
4626
4627
4628 if test "$DUMPBIN" != ":"; then
4629 NM="$DUMPBIN"
4630 fi
4631 fi
4632 test -z "$NM" && NM=nm
4633
4634
4635
4636
4637
4638
4639 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4640 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4641 if test "${lt_cv_nm_interface+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 else
4644 lt_cv_nm_interface="BSD nm"
4645 echo "int some_variable = 0;" > conftest.$ac_ext
4646 (eval echo "\"\$as_me:4646: $ac_compile\"" >&5)
4647 (eval "$ac_compile" 2>conftest.err)
4648 cat conftest.err >&5
4649 (eval echo "\"\$as_me:4649: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4650 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4651 cat conftest.err >&5
4652 (eval echo "\"\$as_me:4652: output\"" >&5)
4653 cat conftest.out >&5
4654 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4655 lt_cv_nm_interface="MS dumpbin"
4656 fi
4657 rm -f conftest*
4658 fi
4659 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4660 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4661
4662 # find the maximum length of command line arguments
4663 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4664 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4665 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 else
4668 i=0
4669 teststring="ABCD"
4670
4671 case $build_os in
4672 msdosdjgpp*)
4673 # On DJGPP, this test can blow up pretty badly due to problems in libc
4674 # (any single argument exceeding 2000 bytes causes a buffer overrun
4675 # during glob expansion). Even if it were fixed, the result of this
4676 # check would be larger than it should be.
4677 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4678 ;;
4679
4680 gnu*)
4681 # Under GNU Hurd, this test is not required because there is
4682 # no limit to the length of command line arguments.
4683 # Libtool will interpret -1 as no limit whatsoever
4684 lt_cv_sys_max_cmd_len=-1;
4685 ;;
4686
4687 cygwin* | mingw*)
4688 # On Win9x/ME, this test blows up -- it succeeds, but takes
4689 # about 5 minutes as the teststring grows exponentially.
4690 # Worse, since 9x/ME are not pre-emptively multitasking,
4691 # you end up with a "frozen" computer, even though with patience
4692 # the test eventually succeeds (with a max line length of 256k).
4693 # Instead, let's just punt: use the minimum linelength reported by
4694 # all of the supported platforms: 8192 (on NT/2K/XP).
4695 lt_cv_sys_max_cmd_len=8192;
4696 ;;
4697
4698 amigaos*)
4699 # On AmigaOS with pdksh, this test takes hours, literally.
4700 # So we just punt and use a minimum line length of 8192.
4701 lt_cv_sys_max_cmd_len=8192;
4702 ;;
4703
4704 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4705 # This has been around since 386BSD, at least. Likely further.
4706 if test -x /sbin/sysctl; then
4707 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4708 elif test -x /usr/sbin/sysctl; then
4709 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4710 else
4711 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4712 fi
4713 # And add a safety zone
4714 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4715 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4716 ;;
4717
4718 interix*)
4719 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4720 lt_cv_sys_max_cmd_len=196608
4721 ;;
4722
4723 osf*)
4724 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4725 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4726 # nice to cause kernel panics so lets avoid the loop below.
4727 # First set a reasonable default.
4728 lt_cv_sys_max_cmd_len=16384
4729 #
4730 if test -x /sbin/sysconfig; then
4731 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4732 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4733 esac
4734 fi
4735 ;;
4736 sco3.2v5*)
4737 lt_cv_sys_max_cmd_len=102400
4738 ;;
4739 sysv5* | sco5v6* | sysv4.2uw2*)
4740 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4741 if test -n "$kargmax"; then
4742 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4743 else
4744 lt_cv_sys_max_cmd_len=32768
4745 fi
4746 ;;
4747 *)
4748 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4749 if test -n $lt_cv_sys_max_cmd_len; then
4750 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4751 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4752 else
4753 # Make teststring a little bigger before we do anything with it.
4754 # a 1K string should be a reasonable start.
4755 for i in 1 2 3 4 5 6 7 8 ; do
4756 teststring=$teststring$teststring
4757 done
4758 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4759 # If test is not a shell built-in, we'll probably end up computing a
4760 # maximum length that is only half of the actual maximum length, but
4761 # we can't tell.
4762 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4763 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4764 test $i != 17 # 1/2 MB should be enough
4765 do
4766 i=`expr $i + 1`
4767 teststring=$teststring$teststring
4768 done
4769 # Only check the string length outside the loop.
4770 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4771 teststring=
4772 # Add a significant safety factor because C++ compilers can tack on
4773 # massive amounts of additional arguments before passing them to the
4774 # linker. It appears as though 1/2 is a usable value.
4775 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4776 fi
4777 ;;
4778 esac
4779
4780 fi
4781
4782 if test -n $lt_cv_sys_max_cmd_len ; then
4783 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4784 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4785 else
4786 echo "$as_me:$LINENO: result: none" >&5
4787 echo "${ECHO_T}none" >&6
4788 fi
4789 max_cmd_len=$lt_cv_sys_max_cmd_len
4790
4791
4792
4793
4794
4795
4796
4797 : ${CP="cp -f"}
4798 : ${MV="mv -f"}
4799 : ${RM="rm -f"}
4800
4801 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4802 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4803 # Try some XSI features
4804 xsi_shell=no
4805 ( _lt_dummy="a/b/c"
4806 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4807 = c,a/b,, ) >/dev/null 2>&1 \
4808 && xsi_shell=yes
4809 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4810 echo "${ECHO_T}$xsi_shell" >&6
4811
4812
4813 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4814 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4815 lt_shell_append=no
4816 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4817 >/dev/null 2>&1 \
4818 && lt_shell_append=yes
4819 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4820 echo "${ECHO_T}$lt_shell_append" >&6
4821
4822
4823 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4824 lt_unset=unset
4825 else
4826 lt_unset=false
4827 fi
4828
4829
4830
4831
4832
4833 # test EBCDIC or ASCII
4834 case `echo X|tr X '\101'` in
4835 A) # ASCII based system
4836 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4837 lt_SP2NL='tr \040 \012'
4838 lt_NL2SP='tr \015\012 \040\040'
4839 ;;
4840 *) # EBCDIC based system
4841 lt_SP2NL='tr \100 \n'
4842 lt_NL2SP='tr \r\n \100\100'
4843 ;;
4844 esac
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4855 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4856 if test "${lt_cv_ld_reload_flag+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 else
4859 lt_cv_ld_reload_flag='-r'
4860 fi
4861 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4862 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4863 reload_flag=$lt_cv_ld_reload_flag
4864 case $reload_flag in
4865 "" | " "*) ;;
4866 *) reload_flag=" $reload_flag" ;;
4867 esac
4868 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4869 case $host_os in
4870 darwin*)
4871 if test "$GCC" = yes; then
4872 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4873 else
4874 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4875 fi
4876 ;;
4877 esac
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4889 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4890 if test "${lt_cv_deplibs_check_method+set}" = set; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 else
4893 lt_cv_file_magic_cmd='$MAGIC_CMD'
4894 lt_cv_file_magic_test_file=
4895 lt_cv_deplibs_check_method='unknown'
4896 # Need to set the preceding variable on all platforms that support
4897 # interlibrary dependencies.
4898 # 'none' -- dependencies not supported.
4899 # `unknown' -- same as none, but documents that we really don't know.
4900 # 'pass_all' -- all dependencies passed with no checks.
4901 # 'test_compile' -- check by making test program.
4902 # 'file_magic [[regex]]' -- check by looking for files in library path
4903 # which responds to the $file_magic_cmd with a given extended regex.
4904 # If you have `file' or equivalent on your system and you're not sure
4905 # whether `pass_all' will *always* work, you probably want this one.
4906
4907 case $host_os in
4908 aix4* | aix5*)
4909 lt_cv_deplibs_check_method=pass_all
4910 ;;
4911
4912 beos*)
4913 lt_cv_deplibs_check_method=pass_all
4914 ;;
4915
4916 bsdi[45]*)
4917 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4918 lt_cv_file_magic_cmd='/usr/bin/file -L'
4919 lt_cv_file_magic_test_file=/shlib/libc.so
4920 ;;
4921
4922 cygwin*)
4923 # func_win32_libid is a shell function defined in ltmain.sh
4924 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4925 lt_cv_file_magic_cmd='func_win32_libid'
4926 ;;
4927
4928 mingw* | pw32*)
4929 # Base MSYS/MinGW do not provide the 'file' command needed by
4930 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4931 # unless we find 'file', for example because we are cross-compiling.
4932 if ( file / ) >/dev/null 2>&1; then
4933 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4934 lt_cv_file_magic_cmd='func_win32_libid'
4935 else
4936 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4937 lt_cv_file_magic_cmd='$OBJDUMP -f'
4938 fi
4939 ;;
4940
4941 darwin* | rhapsody*)
4942 lt_cv_deplibs_check_method=pass_all
4943 ;;
4944
4945 freebsd* | dragonfly*)
4946 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4947 case $host_cpu in
4948 i*86 )
4949 # Not sure whether the presence of OpenBSD here was a mistake.
4950 # Let's accept both of them until this is cleared up.
4951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4952 lt_cv_file_magic_cmd=/usr/bin/file
4953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4954 ;;
4955 esac
4956 else
4957 lt_cv_deplibs_check_method=pass_all
4958 fi
4959 ;;
4960
4961 gnu*)
4962 lt_cv_deplibs_check_method=pass_all
4963 ;;
4964
4965 hpux10.20* | hpux11*)
4966 lt_cv_file_magic_cmd=/usr/bin/file
4967 case $host_cpu in
4968 ia64*)
4969 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4970 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4971 ;;
4972 hppa*64*)
4973 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4974 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4975 ;;
4976 *)
4977 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4978 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4979 ;;
4980 esac
4981 ;;
4982
4983 interix[3-9]*)
4984 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4985 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4986 ;;
4987
4988 irix5* | irix6* | nonstopux*)
4989 case $LD in
4990 *-32|*"-32 ") libmagic=32-bit;;
4991 *-n32|*"-n32 ") libmagic=N32;;
4992 *-64|*"-64 ") libmagic=64-bit;;
4993 *) libmagic=never-match;;
4994 esac
4995 lt_cv_deplibs_check_method=pass_all
4996 ;;
4997
4998 # This must be Linux ELF.
4999 linux* | k*bsd*-gnu)
5000 lt_cv_deplibs_check_method=pass_all
5001 ;;
5002
5003 netbsd*)
5004 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5005 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5006 else
5007 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5008 fi
5009 ;;
5010
5011 newos6*)
5012 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5013 lt_cv_file_magic_cmd=/usr/bin/file
5014 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5015 ;;
5016
5017 *nto* | *qnx*)
5018 lt_cv_deplibs_check_method=pass_all
5019 ;;
5020
5021 openbsd*)
5022 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5023 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5024 else
5025 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5026 fi
5027 ;;
5028
5029 osf3* | osf4* | osf5*)
5030 lt_cv_deplibs_check_method=pass_all
5031 ;;
5032
5033 rdos*)
5034 lt_cv_deplibs_check_method=pass_all
5035 ;;
5036
5037 solaris*)
5038 lt_cv_deplibs_check_method=pass_all
5039 ;;
5040
5041 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5042 lt_cv_deplibs_check_method=pass_all
5043 ;;
5044
5045 sysv4 | sysv4.3*)
5046 case $host_vendor in
5047 motorola)
5048 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5050 ;;
5051 ncr)
5052 lt_cv_deplibs_check_method=pass_all
5053 ;;
5054 sequent)
5055 lt_cv_file_magic_cmd='/bin/file'
5056 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5057 ;;
5058 sni)
5059 lt_cv_file_magic_cmd='/bin/file'
5060 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5061 lt_cv_file_magic_test_file=/lib/libc.so
5062 ;;
5063 siemens)
5064 lt_cv_deplibs_check_method=pass_all
5065 ;;
5066 pc)
5067 lt_cv_deplibs_check_method=pass_all
5068 ;;
5069 esac
5070 ;;
5071
5072 tpf*)
5073 lt_cv_deplibs_check_method=pass_all
5074 ;;
5075 esac
5076
5077 fi
5078 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5079 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5080 file_magic_cmd=$lt_cv_file_magic_cmd
5081 deplibs_check_method=$lt_cv_deplibs_check_method
5082 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095 if test -n "$ac_tool_prefix"; then
5096 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5097 set dummy ${ac_tool_prefix}ar; ac_word=$2
5098 echo "$as_me:$LINENO: checking for $ac_word" >&5
5099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5100 if test "${ac_cv_prog_AR+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103 if test -n "$AR"; then
5104 ac_cv_prog_AR="$AR" # Let the user override the test.
5105 else
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 for as_dir in $PATH
5108 do
5109 IFS=$as_save_IFS
5110 test -z "$as_dir" && as_dir=.
5111 for ac_exec_ext in '' $ac_executable_extensions; do
5112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5113 ac_cv_prog_AR="${ac_tool_prefix}ar"
5114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 break 2
5116 fi
5117 done
5118 done
5119
5120 fi
5121 fi
5122 AR=$ac_cv_prog_AR
5123 if test -n "$AR"; then
5124 echo "$as_me:$LINENO: result: $AR" >&5
5125 echo "${ECHO_T}$AR" >&6
5126 else
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5129 fi
5130
5131 fi
5132 if test -z "$ac_cv_prog_AR"; then
5133 ac_ct_AR=$AR
5134 # Extract the first word of "ar", so it can be a program name with args.
5135 set dummy ar; ac_word=$2
5136 echo "$as_me:$LINENO: checking for $ac_word" >&5
5137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5138 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5139 echo $ECHO_N "(cached) $ECHO_C" >&6
5140 else
5141 if test -n "$ac_ct_AR"; then
5142 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5143 else
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 for as_dir in $PATH
5146 do
5147 IFS=$as_save_IFS
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_ac_ct_AR="ar"
5152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 break 2
5154 fi
5155 done
5156 done
5157
5158 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5159 fi
5160 fi
5161 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5162 if test -n "$ac_ct_AR"; then
5163 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5164 echo "${ECHO_T}$ac_ct_AR" >&6
5165 else
5166 echo "$as_me:$LINENO: result: no" >&5
5167 echo "${ECHO_T}no" >&6
5168 fi
5169
5170 AR=$ac_ct_AR
5171 else
5172 AR="$ac_cv_prog_AR"
5173 fi
5174
5175 test -z "$AR" && AR=ar
5176 test -z "$AR_FLAGS" && AR_FLAGS=cru
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188 if test -n "$ac_tool_prefix"; then
5189 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5190 set dummy ${ac_tool_prefix}strip; ac_word=$2
5191 echo "$as_me:$LINENO: checking for $ac_word" >&5
5192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5193 if test "${ac_cv_prog_STRIP+set}" = set; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 else
5196 if test -n "$STRIP"; then
5197 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5198 else
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 for as_dir in $PATH
5201 do
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 break 2
5209 fi
5210 done
5211 done
5212
5213 fi
5214 fi
5215 STRIP=$ac_cv_prog_STRIP
5216 if test -n "$STRIP"; then
5217 echo "$as_me:$LINENO: result: $STRIP" >&5
5218 echo "${ECHO_T}$STRIP" >&6
5219 else
5220 echo "$as_me:$LINENO: result: no" >&5
5221 echo "${ECHO_T}no" >&6
5222 fi
5223
5224 fi
5225 if test -z "$ac_cv_prog_STRIP"; then
5226 ac_ct_STRIP=$STRIP
5227 # Extract the first word of "strip", so it can be a program name with args.
5228 set dummy strip; ac_word=$2
5229 echo "$as_me:$LINENO: checking for $ac_word" >&5
5230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5231 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 else
5234 if test -n "$ac_ct_STRIP"; then
5235 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5239 do
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_ac_ct_STRIP="strip"
5245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5247 fi
5248 done
5249 done
5250
5251 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5252 fi
5253 fi
5254 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5255 if test -n "$ac_ct_STRIP"; then
5256 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5257 echo "${ECHO_T}$ac_ct_STRIP" >&6
5258 else
5259 echo "$as_me:$LINENO: result: no" >&5
5260 echo "${ECHO_T}no" >&6
5261 fi
5262
5263 STRIP=$ac_ct_STRIP
5264 else
5265 STRIP="$ac_cv_prog_STRIP"
5266 fi
5267
5268 test -z "$STRIP" && STRIP=:
5269
5270
5271
5272
5273
5274
5275 if test -n "$ac_tool_prefix"; then
5276 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5277 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5278 echo "$as_me:$LINENO: checking for $ac_word" >&5
5279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5280 if test "${ac_cv_prog_RANLIB+set}" = set; then
5281 echo $ECHO_N "(cached) $ECHO_C" >&6
5282 else
5283 if test -n "$RANLIB"; then
5284 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5285 else
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH
5288 do
5289 IFS=$as_save_IFS
5290 test -z "$as_dir" && as_dir=.
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5293 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 break 2
5296 fi
5297 done
5298 done
5299
5300 fi
5301 fi
5302 RANLIB=$ac_cv_prog_RANLIB
5303 if test -n "$RANLIB"; then
5304 echo "$as_me:$LINENO: result: $RANLIB" >&5
5305 echo "${ECHO_T}$RANLIB" >&6
5306 else
5307 echo "$as_me:$LINENO: result: no" >&5
5308 echo "${ECHO_T}no" >&6
5309 fi
5310
5311 fi
5312 if test -z "$ac_cv_prog_RANLIB"; then
5313 ac_ct_RANLIB=$RANLIB
5314 # Extract the first word of "ranlib", so it can be a program name with args.
5315 set dummy ranlib; ac_word=$2
5316 echo "$as_me:$LINENO: checking for $ac_word" >&5
5317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5318 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 else
5321 if test -n "$ac_ct_RANLIB"; then
5322 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5323 else
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 for as_dir in $PATH
5326 do
5327 IFS=$as_save_IFS
5328 test -z "$as_dir" && as_dir=.
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5331 ac_cv_prog_ac_ct_RANLIB="ranlib"
5332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 break 2
5334 fi
5335 done
5336 done
5337
5338 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5339 fi
5340 fi
5341 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5342 if test -n "$ac_ct_RANLIB"; then
5343 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5344 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5345 else
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5348 fi
5349
5350 RANLIB=$ac_ct_RANLIB
5351 else
5352 RANLIB="$ac_cv_prog_RANLIB"
5353 fi
5354
5355 test -z "$RANLIB" && RANLIB=:
5356
5357
5358
5359
5360
5361
5362 # Determine commands to create old-style static archives.
5363 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5364 old_postinstall_cmds='chmod 644 $oldlib'
5365 old_postuninstall_cmds=
5366
5367 if test -n "$RANLIB"; then
5368 case $host_os in
5369 openbsd*)
5370 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5371 ;;
5372 *)
5373 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5374 ;;
5375 esac
5376 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5377 fi
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412 # If no C compiler was specified, use CC.
5413 LTCC=${LTCC-"$CC"}
5414
5415 # If no C compiler flags were specified, use CFLAGS.
5416 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5417
5418 # Allow CC to be a program name with arguments.
5419 compiler=$CC
5420
5421
5422 # Check for command to grab the raw symbol name followed by C symbol from nm.
5423 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5424 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5425 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 else
5428
5429 # These are sane defaults that work on at least a few old systems.
5430 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5431
5432 # Character class describing NM global symbol codes.
5433 symcode='[BCDEGRST]'
5434
5435 # Regexp to match symbols that can be accessed directly from C.
5436 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5437
5438 # Define system-specific variables.
5439 case $host_os in
5440 aix*)
5441 symcode='[BCDT]'
5442 ;;
5443 cygwin* | mingw* | pw32*)
5444 symcode='[ABCDGISTW]'
5445 ;;
5446 hpux*)
5447 if test "$host_cpu" = ia64; then
5448 symcode='[ABCDEGRST]'
5449 fi
5450 ;;
5451 irix* | nonstopux*)
5452 symcode='[BCDEGRST]'
5453 ;;
5454 osf*)
5455 symcode='[BCDEGQRST]'
5456 ;;
5457 solaris*)
5458 symcode='[BDRT]'
5459 ;;
5460 sco3.2v5*)
5461 symcode='[DT]'
5462 ;;
5463 sysv4.2uw2*)
5464 symcode='[DT]'
5465 ;;
5466 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5467 symcode='[ABDT]'
5468 ;;
5469 sysv4)
5470 symcode='[DFNSTU]'
5471 ;;
5472 esac
5473
5474 # If we're using GNU nm, then use its standard symbol codes.
5475 case `$NM -V 2>&1` in
5476 *GNU* | *'with BFD'*)
5477 symcode='[ABCDGIRSTW]' ;;
5478 esac
5479
5480 # Transform an extracted symbol line into a proper C declaration.
5481 # Some systems (esp. on ia64) link data and code symbols differently,
5482 # so use this general approach.
5483 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5484
5485 # Transform an extracted symbol line into symbol name and symbol address
5486 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5487
5488 # Handle CRLF in mingw tool chain
5489 opt_cr=
5490 case $build_os in
5491 mingw*)
5492 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5493 ;;
5494 esac
5495
5496 # Try without a prefix underscore, then with it.
5497 for ac_symprfx in "" "_"; do
5498
5499 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5500 symxfrm="\\1 $ac_symprfx\\2 \\2"
5501
5502 # Write the raw and C identifiers.
5503 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5504 # Fake it for dumpbin and say T for any non-static function
5505 # and D for any global variable.
5506 # Also find C++ and __fastcall symbols from MSVC++,
5507 # which start with @ or ?.
5508 lt_cv_sys_global_symbol_pipe="$AWK '"\
5509 " {last_section=section; section=\$ 3};"\
5510 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5511 " \$ 0!~/External *\|/{next};"\
5512 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5513 " {if(hide[section]) next};"\
5514 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5515 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5516 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5517 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5518 " ' prfx=^$ac_symprfx"
5519 else
5520 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5521 fi
5522
5523 # Check to see that the pipe works correctly.
5524 pipe_works=no
5525
5526 rm -f conftest*
5527 cat > conftest.$ac_ext <<_LT_EOF
5528 #ifdef __cplusplus
5529 extern "C" {
5530 #endif
5531 char nm_test_var;
5532 void nm_test_func(void);
5533 void nm_test_func(void){}
5534 #ifdef __cplusplus
5535 }
5536 #endif
5537 int main(){nm_test_var='a';nm_test_func();return(0);}
5538 _LT_EOF
5539
5540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5541 (eval $ac_compile) 2>&5
5542 ac_status=$?
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; then
5545 # Now try to grab the symbols.
5546 nlist=conftest.nm
5547 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5548 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5549 ac_status=$?
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } && test -s "$nlist"; then
5552 # Try sorting and uniquifying the output.
5553 if sort "$nlist" | uniq > "$nlist"T; then
5554 mv -f "$nlist"T "$nlist"
5555 else
5556 rm -f "$nlist"T
5557 fi
5558
5559 # Make sure that we snagged all the symbols we need.
5560 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5561 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5562 cat <<_LT_EOF > conftest.$ac_ext
5563 #ifdef __cplusplus
5564 extern "C" {
5565 #endif
5566
5567 _LT_EOF
5568 # Now generate the symbol file.
5569 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5570
5571 cat <<_LT_EOF >> conftest.$ac_ext
5572
5573 /* The mapping between symbol names and symbols. */
5574 const struct {
5575 const char *name;
5576 void *address;
5577 }
5578 lt__PROGRAM__LTX_preloaded_symbols[] =
5579 {
5580 { "@PROGRAM@", (void *) 0 },
5581 _LT_EOF
5582 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5583 cat <<\_LT_EOF >> conftest.$ac_ext
5584 {0, (void *) 0}
5585 };
5586
5587 /* This works around a problem in FreeBSD linker */
5588 #ifdef FREEBSD_WORKAROUND
5589 static const void *lt_preloaded_setup() {
5590 return lt__PROGRAM__LTX_preloaded_symbols;
5591 }
5592 #endif
5593
5594 #ifdef __cplusplus
5595 }
5596 #endif
5597 _LT_EOF
5598 # Now try linking the two files.
5599 mv conftest.$ac_objext conftstm.$ac_objext
5600 lt_save_LIBS="$LIBS"
5601 lt_save_CFLAGS="$CFLAGS"
5602 LIBS="conftstm.$ac_objext"
5603 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5605 (eval $ac_link) 2>&5
5606 ac_status=$?
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5609 pipe_works=yes
5610 fi
5611 LIBS="$lt_save_LIBS"
5612 CFLAGS="$lt_save_CFLAGS"
5613 else
5614 echo "cannot find nm_test_func in $nlist" >&5
5615 fi
5616 else
5617 echo "cannot find nm_test_var in $nlist" >&5
5618 fi
5619 else
5620 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5621 fi
5622 else
5623 echo "$progname: failed program was:" >&5
5624 cat conftest.$ac_ext >&5
5625 fi
5626 rm -f conftest* conftst*
5627
5628 # Do not use the global_symbol_pipe unless it works.
5629 if test "$pipe_works" = yes; then
5630 break
5631 else
5632 lt_cv_sys_global_symbol_pipe=
5633 fi
5634 done
5635
5636 fi
5637
5638 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5639 lt_cv_sys_global_symbol_to_cdecl=
5640 fi
5641 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5642 echo "$as_me:$LINENO: result: failed" >&5
5643 echo "${ECHO_T}failed" >&6
5644 else
5645 echo "$as_me:$LINENO: result: ok" >&5
5646 echo "${ECHO_T}ok" >&6
5647 fi
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5666 if test "${enable_libtool_lock+set}" = set; then
5667 enableval="$enable_libtool_lock"
5668
5669 fi;
5670 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5671
5672 # Some flags need to be propagated to the compiler or linker for good
5673 # libtool support.
5674 case $host in
5675 ia64-*-hpux*)
5676 # Find out which ABI we are using.
5677 echo 'int i;' > conftest.$ac_ext
5678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5679 (eval $ac_compile) 2>&5
5680 ac_status=$?
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); }; then
5683 case `/usr/bin/file conftest.$ac_objext` in
5684 *ELF-32*)
5685 HPUX_IA64_MODE="32"
5686 ;;
5687 *ELF-64*)
5688 HPUX_IA64_MODE="64"
5689 ;;
5690 esac
5691 fi
5692 rm -rf conftest*
5693 ;;
5694 *-*-irix6*)
5695 # Find out which ABI we are using.
5696 echo '#line 5696 "configure"' > conftest.$ac_ext
5697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5698 (eval $ac_compile) 2>&5
5699 ac_status=$?
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; then
5702 if test "$lt_cv_prog_gnu_ld" = yes; then
5703 case `/usr/bin/file conftest.$ac_objext` in
5704 *32-bit*)
5705 LD="${LD-ld} -melf32bsmip"
5706 ;;
5707 *N32*)
5708 LD="${LD-ld} -melf32bmipn32"
5709 ;;
5710 *64-bit*)
5711 LD="${LD-ld} -melf64bmip"
5712 ;;
5713 esac
5714 else
5715 case `/usr/bin/file conftest.$ac_objext` in
5716 *32-bit*)
5717 LD="${LD-ld} -32"
5718 ;;
5719 *N32*)
5720 LD="${LD-ld} -n32"
5721 ;;
5722 *64-bit*)
5723 LD="${LD-ld} -64"
5724 ;;
5725 esac
5726 fi
5727 fi
5728 rm -rf conftest*
5729 ;;
5730
5731 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5732 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5733 # Find out which ABI we are using.
5734 echo 'int i;' > conftest.$ac_ext
5735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5736 (eval $ac_compile) 2>&5
5737 ac_status=$?
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); }; then
5740 case `/usr/bin/file conftest.o` in
5741 *32-bit*)
5742 case $host in
5743 x86_64-*kfreebsd*-gnu)
5744 LD="${LD-ld} -m elf_i386_fbsd"
5745 ;;
5746 x86_64-*linux*)
5747 LD="${LD-ld} -m elf_i386"
5748 ;;
5749 ppc64-*linux*|powerpc64-*linux*)
5750 LD="${LD-ld} -m elf32ppclinux"
5751 ;;
5752 s390x-*linux*)
5753 LD="${LD-ld} -m elf_s390"
5754 ;;
5755 sparc64-*linux*)
5756 LD="${LD-ld} -m elf32_sparc"
5757 ;;
5758 esac
5759 ;;
5760 *64-bit*)
5761 case $host in
5762 x86_64-*kfreebsd*-gnu)
5763 LD="${LD-ld} -m elf_x86_64_fbsd"
5764 ;;
5765 x86_64-*linux*)
5766 LD="${LD-ld} -m elf_x86_64"
5767 ;;
5768 ppc*-*linux*|powerpc*-*linux*)
5769 LD="${LD-ld} -m elf64ppc"
5770 ;;
5771 s390*-*linux*|s390*-*tpf*)
5772 LD="${LD-ld} -m elf64_s390"
5773 ;;
5774 sparc*-*linux*)
5775 LD="${LD-ld} -m elf64_sparc"
5776 ;;
5777 esac
5778 ;;
5779 esac
5780 fi
5781 rm -rf conftest*
5782 ;;
5783
5784 *-*-sco3.2v5*)
5785 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5786 SAVE_CFLAGS="$CFLAGS"
5787 CFLAGS="$CFLAGS -belf"
5788 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5789 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5790 if test "${lt_cv_cc_needs_belf+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 else
5793 ac_ext=c
5794 ac_cpp='$CPP $CPPFLAGS'
5795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5798
5799 if test x$gcc_no_link = xyes; then
5800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5802 { (exit 1); exit 1; }; }
5803 fi
5804 cat >conftest.$ac_ext <<_ACEOF
5805 /* confdefs.h. */
5806 _ACEOF
5807 cat confdefs.h >>conftest.$ac_ext
5808 cat >>conftest.$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5810
5811 int
5812 main ()
5813 {
5814
5815 ;
5816 return 0;
5817 }
5818 _ACEOF
5819 rm -f conftest.$ac_objext conftest$ac_exeext
5820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5821 (eval $ac_link) 2>conftest.er1
5822 ac_status=$?
5823 grep -v '^ *+' conftest.er1 >conftest.err
5824 rm -f conftest.er1
5825 cat conftest.err >&5
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); } &&
5828 { ac_try='test -z "$ac_c_werror_flag"
5829 || test ! -s conftest.err'
5830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 (eval $ac_try) 2>&5
5832 ac_status=$?
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); }; } &&
5835 { ac_try='test -s conftest$ac_exeext'
5836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5837 (eval $ac_try) 2>&5
5838 ac_status=$?
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); }; }; then
5841 lt_cv_cc_needs_belf=yes
5842 else
5843 echo "$as_me: failed program was:" >&5
5844 sed 's/^/| /' conftest.$ac_ext >&5
5845
5846 lt_cv_cc_needs_belf=no
5847 fi
5848 rm -f conftest.err conftest.$ac_objext \
5849 conftest$ac_exeext conftest.$ac_ext
5850 ac_ext=c
5851 ac_cpp='$CPP $CPPFLAGS'
5852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5855
5856 fi
5857 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5858 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5859 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5860 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5861 CFLAGS="$SAVE_CFLAGS"
5862 fi
5863 ;;
5864 sparc*-*solaris*)
5865 # Find out which ABI we are using.
5866 echo 'int i;' > conftest.$ac_ext
5867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5868 (eval $ac_compile) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; then
5872 case `/usr/bin/file conftest.o` in
5873 *64-bit*)
5874 case $lt_cv_prog_gnu_ld in
5875 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5876 *) LD="${LD-ld} -64" ;;
5877 esac
5878 ;;
5879 esac
5880 fi
5881 rm -rf conftest*
5882 ;;
5883 esac
5884
5885 need_locks="$enable_libtool_lock"
5886
5887 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5888 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5889 if test "${ac_cv_header_stdc+set}" = set; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5891 else
5892 cat >conftest.$ac_ext <<_ACEOF
5893 /* confdefs.h. */
5894 _ACEOF
5895 cat confdefs.h >>conftest.$ac_ext
5896 cat >>conftest.$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5898 #include <stdlib.h>
5899 #include <stdarg.h>
5900 #include <string.h>
5901 #include <float.h>
5902
5903 int
5904 main ()
5905 {
5906
5907 ;
5908 return 0;
5909 }
5910 _ACEOF
5911 rm -f conftest.$ac_objext
5912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5913 (eval $ac_compile) 2>conftest.er1
5914 ac_status=$?
5915 grep -v '^ *+' conftest.er1 >conftest.err
5916 rm -f conftest.er1
5917 cat conftest.err >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } &&
5920 { ac_try='test -z "$ac_c_werror_flag"
5921 || test ! -s conftest.err'
5922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5923 (eval $ac_try) 2>&5
5924 ac_status=$?
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); }; } &&
5927 { ac_try='test -s conftest.$ac_objext'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929 (eval $ac_try) 2>&5
5930 ac_status=$?
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then
5933 ac_cv_header_stdc=yes
5934 else
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.$ac_ext >&5
5937
5938 ac_cv_header_stdc=no
5939 fi
5940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5941
5942 if test $ac_cv_header_stdc = yes; then
5943 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5944 cat >conftest.$ac_ext <<_ACEOF
5945 /* confdefs.h. */
5946 _ACEOF
5947 cat confdefs.h >>conftest.$ac_ext
5948 cat >>conftest.$ac_ext <<_ACEOF
5949 /* end confdefs.h. */
5950 #include <string.h>
5951
5952 _ACEOF
5953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5954 $EGREP "memchr" >/dev/null 2>&1; then
5955 :
5956 else
5957 ac_cv_header_stdc=no
5958 fi
5959 rm -f conftest*
5960
5961 fi
5962
5963 if test $ac_cv_header_stdc = yes; then
5964 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5965 cat >conftest.$ac_ext <<_ACEOF
5966 /* confdefs.h. */
5967 _ACEOF
5968 cat confdefs.h >>conftest.$ac_ext
5969 cat >>conftest.$ac_ext <<_ACEOF
5970 /* end confdefs.h. */
5971 #include <stdlib.h>
5972
5973 _ACEOF
5974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5975 $EGREP "free" >/dev/null 2>&1; then
5976 :
5977 else
5978 ac_cv_header_stdc=no
5979 fi
5980 rm -f conftest*
5981
5982 fi
5983
5984 if test $ac_cv_header_stdc = yes; then
5985 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5986 if test "$cross_compiling" = yes; then
5987 :
5988 else
5989 cat >conftest.$ac_ext <<_ACEOF
5990 /* confdefs.h. */
5991 _ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 #include <ctype.h>
5996 #if ((' ' & 0x0FF) == 0x020)
5997 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5998 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5999 #else
6000 # define ISLOWER(c) \
6001 (('a' <= (c) && (c) <= 'i') \
6002 || ('j' <= (c) && (c) <= 'r') \
6003 || ('s' <= (c) && (c) <= 'z'))
6004 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6005 #endif
6006
6007 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6008 int
6009 main ()
6010 {
6011 int i;
6012 for (i = 0; i < 256; i++)
6013 if (XOR (islower (i), ISLOWER (i))
6014 || toupper (i) != TOUPPER (i))
6015 exit(2);
6016 exit (0);
6017 }
6018 _ACEOF
6019 rm -f conftest$ac_exeext
6020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6021 (eval $ac_link) 2>&5
6022 ac_status=$?
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6026 (eval $ac_try) 2>&5
6027 ac_status=$?
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); }; }; then
6030 :
6031 else
6032 echo "$as_me: program exited with status $ac_status" >&5
6033 echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.$ac_ext >&5
6035
6036 ( exit $ac_status )
6037 ac_cv_header_stdc=no
6038 fi
6039 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6040 fi
6041 fi
6042 fi
6043 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6044 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6045 if test $ac_cv_header_stdc = yes; then
6046
6047 cat >>confdefs.h <<\_ACEOF
6048 #define STDC_HEADERS 1
6049 _ACEOF
6050
6051 fi
6052
6053 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6064 inttypes.h stdint.h unistd.h
6065 do
6066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6067 echo "$as_me:$LINENO: checking for $ac_header" >&5
6068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 else
6072 cat >conftest.$ac_ext <<_ACEOF
6073 /* confdefs.h. */
6074 _ACEOF
6075 cat confdefs.h >>conftest.$ac_ext
6076 cat >>conftest.$ac_ext <<_ACEOF
6077 /* end confdefs.h. */
6078 $ac_includes_default
6079
6080 #include <$ac_header>
6081 _ACEOF
6082 rm -f conftest.$ac_objext
6083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6084 (eval $ac_compile) 2>conftest.er1
6085 ac_status=$?
6086 grep -v '^ *+' conftest.er1 >conftest.err
6087 rm -f conftest.er1
6088 cat conftest.err >&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); } &&
6091 { ac_try='test -z "$ac_c_werror_flag"
6092 || test ! -s conftest.err'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6094 (eval $ac_try) 2>&5
6095 ac_status=$?
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; } &&
6098 { ac_try='test -s conftest.$ac_objext'
6099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6100 (eval $ac_try) 2>&5
6101 ac_status=$?
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); }; }; then
6104 eval "$as_ac_Header=yes"
6105 else
6106 echo "$as_me: failed program was:" >&5
6107 sed 's/^/| /' conftest.$ac_ext >&5
6108
6109 eval "$as_ac_Header=no"
6110 fi
6111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6112 fi
6113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6116 cat >>confdefs.h <<_ACEOF
6117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6118 _ACEOF
6119
6120 fi
6121
6122 done
6123
6124
6125
6126 for ac_header in dlfcn.h
6127 do
6128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6129 echo "$as_me:$LINENO: checking for $ac_header" >&5
6130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6132 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 else
6134 cat >conftest.$ac_ext <<_ACEOF
6135 /* confdefs.h. */
6136 _ACEOF
6137 cat confdefs.h >>conftest.$ac_ext
6138 cat >>conftest.$ac_ext <<_ACEOF
6139 /* end confdefs.h. */
6140 $ac_includes_default
6141
6142 #include <$ac_header>
6143 _ACEOF
6144 rm -f conftest.$ac_objext
6145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6146 (eval $ac_compile) 2>conftest.er1
6147 ac_status=$?
6148 grep -v '^ *+' conftest.er1 >conftest.err
6149 rm -f conftest.er1
6150 cat conftest.err >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); } &&
6153 { ac_try='test -z "$ac_c_werror_flag"
6154 || test ! -s conftest.err'
6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156 (eval $ac_try) 2>&5
6157 ac_status=$?
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; } &&
6160 { ac_try='test -s conftest.$ac_objext'
6161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6162 (eval $ac_try) 2>&5
6163 ac_status=$?
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); }; }; then
6166 eval "$as_ac_Header=yes"
6167 else
6168 echo "$as_me: failed program was:" >&5
6169 sed 's/^/| /' conftest.$ac_ext >&5
6170
6171 eval "$as_ac_Header=no"
6172 fi
6173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6174 fi
6175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6178 cat >>confdefs.h <<_ACEOF
6179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6180 _ACEOF
6181
6182 fi
6183
6184 done
6185
6186
6187
6188 ac_ext=cc
6189 ac_cpp='$CXXCPP $CPPFLAGS'
6190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6193 if test -n "$ac_tool_prefix"; then
6194 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6195 do
6196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6198 echo "$as_me:$LINENO: checking for $ac_word" >&5
6199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6200 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 else
6203 if test -n "$CXX"; then
6204 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6205 else
6206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6207 for as_dir in $PATH
6208 do
6209 IFS=$as_save_IFS
6210 test -z "$as_dir" && as_dir=.
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6213 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6215 break 2
6216 fi
6217 done
6218 done
6219
6220 fi
6221 fi
6222 CXX=$glibcxx_cv_prog_CXX
6223 if test -n "$CXX"; then
6224 echo "$as_me:$LINENO: result: $CXX" >&5
6225 echo "${ECHO_T}$CXX" >&6
6226 else
6227 echo "$as_me:$LINENO: result: no" >&5
6228 echo "${ECHO_T}no" >&6
6229 fi
6230
6231 test -n "$CXX" && break
6232 done
6233 fi
6234 if test -z "$CXX"; then
6235 ac_ct_CXX=$CXX
6236 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6237 do
6238 # Extract the first word of "$ac_prog", so it can be a program name with args.
6239 set dummy $ac_prog; ac_word=$2
6240 echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 else
6245 if test -n "$ac_ct_CXX"; then
6246 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6247 else
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6250 do
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255 ac_cv_prog_ac_ct_CXX="$ac_prog"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6258 fi
6259 done
6260 done
6261
6262 fi
6263 fi
6264 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6265 if test -n "$ac_ct_CXX"; then
6266 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6267 echo "${ECHO_T}$ac_ct_CXX" >&6
6268 else
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6271 fi
6272
6273 test -n "$ac_ct_CXX" && break
6274 done
6275 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6276
6277 CXX=$ac_ct_CXX
6278 fi
6279
6280
6281 # Provide some information about the compiler.
6282 echo "$as_me:$LINENO:" \
6283 "checking for C++ compiler version" >&5
6284 ac_compiler=`set X $ac_compile; echo $2`
6285 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6286 (eval $ac_compiler --version </dev/null >&5) 2>&5
6287 ac_status=$?
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }
6290 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6291 (eval $ac_compiler -v </dev/null >&5) 2>&5
6292 ac_status=$?
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); }
6295 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6296 (eval $ac_compiler -V </dev/null >&5) 2>&5
6297 ac_status=$?
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }
6300
6301 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6302 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6303 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 else
6306 cat >conftest.$ac_ext <<_ACEOF
6307 /* confdefs.h. */
6308 _ACEOF
6309 cat confdefs.h >>conftest.$ac_ext
6310 cat >>conftest.$ac_ext <<_ACEOF
6311 /* end confdefs.h. */
6312
6313 int
6314 main ()
6315 {
6316 #ifndef __GNUC__
6317 choke me
6318 #endif
6319
6320 ;
6321 return 0;
6322 }
6323 _ACEOF
6324 rm -f conftest.$ac_objext
6325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6326 (eval $ac_compile) 2>conftest.er1
6327 ac_status=$?
6328 grep -v '^ *+' conftest.er1 >conftest.err
6329 rm -f conftest.er1
6330 cat conftest.err >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
6333 { ac_try='test -z "$ac_cxx_werror_flag"
6334 || test ! -s conftest.err'
6335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6336 (eval $ac_try) 2>&5
6337 ac_status=$?
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; } &&
6340 { ac_try='test -s conftest.$ac_objext'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 (eval $ac_try) 2>&5
6343 ac_status=$?
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; }; then
6346 ac_compiler_gnu=yes
6347 else
6348 echo "$as_me: failed program was:" >&5
6349 sed 's/^/| /' conftest.$ac_ext >&5
6350
6351 ac_compiler_gnu=no
6352 fi
6353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6354 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6355
6356 fi
6357 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6358 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6359 GXX=`test $ac_compiler_gnu = yes && echo yes`
6360 ac_test_CXXFLAGS=${CXXFLAGS+set}
6361 ac_save_CXXFLAGS=$CXXFLAGS
6362 CXXFLAGS="-g"
6363 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6364 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6365 if test "${ac_cv_prog_cxx_g+set}" = set; then
6366 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 else
6368 cat >conftest.$ac_ext <<_ACEOF
6369 /* confdefs.h. */
6370 _ACEOF
6371 cat confdefs.h >>conftest.$ac_ext
6372 cat >>conftest.$ac_ext <<_ACEOF
6373 /* end confdefs.h. */
6374
6375 int
6376 main ()
6377 {
6378
6379 ;
6380 return 0;
6381 }
6382 _ACEOF
6383 rm -f conftest.$ac_objext
6384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6385 (eval $ac_compile) 2>conftest.er1
6386 ac_status=$?
6387 grep -v '^ *+' conftest.er1 >conftest.err
6388 rm -f conftest.er1
6389 cat conftest.err >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try='test -z "$ac_cxx_werror_flag"
6393 || test ! -s conftest.err'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 (eval $ac_try) 2>&5
6396 ac_status=$?
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try='test -s conftest.$ac_objext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 (eval $ac_try) 2>&5
6402 ac_status=$?
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6405 ac_cv_prog_cxx_g=yes
6406 else
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.$ac_ext >&5
6409
6410 ac_cv_prog_cxx_g=no
6411 fi
6412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6413 fi
6414 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6415 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6416 if test "$ac_test_CXXFLAGS" = set; then
6417 CXXFLAGS=$ac_save_CXXFLAGS
6418 elif test $ac_cv_prog_cxx_g = yes; then
6419 if test "$GXX" = yes; then
6420 CXXFLAGS="-g -O2"
6421 else
6422 CXXFLAGS="-g"
6423 fi
6424 else
6425 if test "$GXX" = yes; then
6426 CXXFLAGS="-O2"
6427 else
6428 CXXFLAGS=
6429 fi
6430 fi
6431 for ac_declaration in \
6432 '' \
6433 'extern "C" void std::exit (int) throw (); using std::exit;' \
6434 'extern "C" void std::exit (int); using std::exit;' \
6435 'extern "C" void exit (int) throw ();' \
6436 'extern "C" void exit (int);' \
6437 'void exit (int);'
6438 do
6439 cat >conftest.$ac_ext <<_ACEOF
6440 /* confdefs.h. */
6441 _ACEOF
6442 cat confdefs.h >>conftest.$ac_ext
6443 cat >>conftest.$ac_ext <<_ACEOF
6444 /* end confdefs.h. */
6445 $ac_declaration
6446 #include <stdlib.h>
6447 int
6448 main ()
6449 {
6450 exit (42);
6451 ;
6452 return 0;
6453 }
6454 _ACEOF
6455 rm -f conftest.$ac_objext
6456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6457 (eval $ac_compile) 2>conftest.er1
6458 ac_status=$?
6459 grep -v '^ *+' conftest.er1 >conftest.err
6460 rm -f conftest.er1
6461 cat conftest.err >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); } &&
6464 { ac_try='test -z "$ac_cxx_werror_flag"
6465 || test ! -s conftest.err'
6466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6467 (eval $ac_try) 2>&5
6468 ac_status=$?
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); }; } &&
6471 { ac_try='test -s conftest.$ac_objext'
6472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 (eval $ac_try) 2>&5
6474 ac_status=$?
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; }; then
6477 :
6478 else
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.$ac_ext >&5
6481
6482 continue
6483 fi
6484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6485 cat >conftest.$ac_ext <<_ACEOF
6486 /* confdefs.h. */
6487 _ACEOF
6488 cat confdefs.h >>conftest.$ac_ext
6489 cat >>conftest.$ac_ext <<_ACEOF
6490 /* end confdefs.h. */
6491 $ac_declaration
6492 int
6493 main ()
6494 {
6495 exit (42);
6496 ;
6497 return 0;
6498 }
6499 _ACEOF
6500 rm -f conftest.$ac_objext
6501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6502 (eval $ac_compile) 2>conftest.er1
6503 ac_status=$?
6504 grep -v '^ *+' conftest.er1 >conftest.err
6505 rm -f conftest.er1
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } &&
6509 { ac_try='test -z "$ac_cxx_werror_flag"
6510 || test ! -s conftest.err'
6511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6512 (eval $ac_try) 2>&5
6513 ac_status=$?
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); }; } &&
6516 { ac_try='test -s conftest.$ac_objext'
6517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518 (eval $ac_try) 2>&5
6519 ac_status=$?
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); }; }; then
6522 break
6523 else
6524 echo "$as_me: failed program was:" >&5
6525 sed 's/^/| /' conftest.$ac_ext >&5
6526
6527 fi
6528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6529 done
6530 rm -f conftest*
6531 if test -n "$ac_declaration"; then
6532 echo '#ifdef __cplusplus' >>confdefs.h
6533 echo $ac_declaration >>confdefs.h
6534 echo '#endif' >>confdefs.h
6535 fi
6536
6537 ac_ext=c
6538 ac_cpp='$CPP $CPPFLAGS'
6539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6542
6543 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6544 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6545 (test "X$CXX" != "Xg++"))) ; then
6546 ac_ext=cc
6547 ac_cpp='$CXXCPP $CPPFLAGS'
6548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6551 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6552 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6553 if test -z "$CXXCPP"; then
6554 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6556 else
6557 # Double quotes because CXXCPP needs to be expanded
6558 for CXXCPP in "$CXX -E" "/lib/cpp"
6559 do
6560 ac_preproc_ok=false
6561 for ac_cxx_preproc_warn_flag in '' yes
6562 do
6563 # Use a header file that comes with gcc, so configuring glibc
6564 # with a fresh cross-compiler works.
6565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6566 # <limits.h> exists even on freestanding compilers.
6567 # On the NeXT, cc -E runs the code through the compiler's parser,
6568 # not just through cpp. "Syntax error" is here to catch this case.
6569 cat >conftest.$ac_ext <<_ACEOF
6570 /* confdefs.h. */
6571 _ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6575 #ifdef __STDC__
6576 # include <limits.h>
6577 #else
6578 # include <assert.h>
6579 #endif
6580 Syntax error
6581 _ACEOF
6582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6584 ac_status=$?
6585 grep -v '^ *+' conftest.er1 >conftest.err
6586 rm -f conftest.er1
6587 cat conftest.err >&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); } >/dev/null; then
6590 if test -s conftest.err; then
6591 ac_cpp_err=$ac_cxx_preproc_warn_flag
6592 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6593 else
6594 ac_cpp_err=
6595 fi
6596 else
6597 ac_cpp_err=yes
6598 fi
6599 if test -z "$ac_cpp_err"; then
6600 :
6601 else
6602 echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.$ac_ext >&5
6604
6605 # Broken: fails on valid input.
6606 continue
6607 fi
6608 rm -f conftest.err conftest.$ac_ext
6609
6610 # OK, works on sane cases. Now check whether non-existent headers
6611 # can be detected and how.
6612 cat >conftest.$ac_ext <<_ACEOF
6613 /* confdefs.h. */
6614 _ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6618 #include <ac_nonexistent.h>
6619 _ACEOF
6620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6622 ac_status=$?
6623 grep -v '^ *+' conftest.er1 >conftest.err
6624 rm -f conftest.er1
6625 cat conftest.err >&5
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); } >/dev/null; then
6628 if test -s conftest.err; then
6629 ac_cpp_err=$ac_cxx_preproc_warn_flag
6630 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6631 else
6632 ac_cpp_err=
6633 fi
6634 else
6635 ac_cpp_err=yes
6636 fi
6637 if test -z "$ac_cpp_err"; then
6638 # Broken: success on invalid input.
6639 continue
6640 else
6641 echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.$ac_ext >&5
6643
6644 # Passes both tests.
6645 ac_preproc_ok=:
6646 break
6647 fi
6648 rm -f conftest.err conftest.$ac_ext
6649
6650 done
6651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6652 rm -f conftest.err conftest.$ac_ext
6653 if $ac_preproc_ok; then
6654 break
6655 fi
6656
6657 done
6658 ac_cv_prog_CXXCPP=$CXXCPP
6659
6660 fi
6661 CXXCPP=$ac_cv_prog_CXXCPP
6662 else
6663 ac_cv_prog_CXXCPP=$CXXCPP
6664 fi
6665 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6666 echo "${ECHO_T}$CXXCPP" >&6
6667 ac_preproc_ok=false
6668 for ac_cxx_preproc_warn_flag in '' yes
6669 do
6670 # Use a header file that comes with gcc, so configuring glibc
6671 # with a fresh cross-compiler works.
6672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6673 # <limits.h> exists even on freestanding compilers.
6674 # On the NeXT, cc -E runs the code through the compiler's parser,
6675 # not just through cpp. "Syntax error" is here to catch this case.
6676 cat >conftest.$ac_ext <<_ACEOF
6677 /* confdefs.h. */
6678 _ACEOF
6679 cat confdefs.h >>conftest.$ac_ext
6680 cat >>conftest.$ac_ext <<_ACEOF
6681 /* end confdefs.h. */
6682 #ifdef __STDC__
6683 # include <limits.h>
6684 #else
6685 # include <assert.h>
6686 #endif
6687 Syntax error
6688 _ACEOF
6689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6691 ac_status=$?
6692 grep -v '^ *+' conftest.er1 >conftest.err
6693 rm -f conftest.er1
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } >/dev/null; then
6697 if test -s conftest.err; then
6698 ac_cpp_err=$ac_cxx_preproc_warn_flag
6699 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6700 else
6701 ac_cpp_err=
6702 fi
6703 else
6704 ac_cpp_err=yes
6705 fi
6706 if test -z "$ac_cpp_err"; then
6707 :
6708 else
6709 echo "$as_me: failed program was:" >&5
6710 sed 's/^/| /' conftest.$ac_ext >&5
6711
6712 # Broken: fails on valid input.
6713 continue
6714 fi
6715 rm -f conftest.err conftest.$ac_ext
6716
6717 # OK, works on sane cases. Now check whether non-existent headers
6718 # can be detected and how.
6719 cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h. */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 #include <ac_nonexistent.h>
6726 _ACEOF
6727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6729 ac_status=$?
6730 grep -v '^ *+' conftest.er1 >conftest.err
6731 rm -f conftest.er1
6732 cat conftest.err >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } >/dev/null; then
6735 if test -s conftest.err; then
6736 ac_cpp_err=$ac_cxx_preproc_warn_flag
6737 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6738 else
6739 ac_cpp_err=
6740 fi
6741 else
6742 ac_cpp_err=yes
6743 fi
6744 if test -z "$ac_cpp_err"; then
6745 # Broken: success on invalid input.
6746 continue
6747 else
6748 echo "$as_me: failed program was:" >&5
6749 sed 's/^/| /' conftest.$ac_ext >&5
6750
6751 # Passes both tests.
6752 ac_preproc_ok=:
6753 break
6754 fi
6755 rm -f conftest.err conftest.$ac_ext
6756
6757 done
6758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6759 rm -f conftest.err conftest.$ac_ext
6760 if $ac_preproc_ok; then
6761 :
6762 else
6763 _lt_caught_CXX_error=yes
6764 fi
6765
6766 ac_ext=c
6767 ac_cpp='$CPP $CPPFLAGS'
6768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6771
6772 else
6773 _lt_caught_CXX_error=yes
6774 fi
6775
6776
6777
6778
6779
6780 # This can be used to rebuild libtool when needed
6781 LIBTOOL_DEPS="$ltmain"
6782
6783 # Always use our own libtool.
6784 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810 test -z "$LN_S" && LN_S="ln -s"
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825 if test -n "${ZSH_VERSION+set}" ; then
6826 setopt NO_GLOB_SUBST
6827 fi
6828
6829 echo "$as_me:$LINENO: checking for objdir" >&5
6830 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6831 if test "${lt_cv_objdir+set}" = set; then
6832 echo $ECHO_N "(cached) $ECHO_C" >&6
6833 else
6834 rm -f .libs 2>/dev/null
6835 mkdir .libs 2>/dev/null
6836 if test -d .libs; then
6837 lt_cv_objdir=.libs
6838 else
6839 # MS-DOS does not allow filenames that begin with a dot.
6840 lt_cv_objdir=_libs
6841 fi
6842 rmdir .libs 2>/dev/null
6843 fi
6844 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6845 echo "${ECHO_T}$lt_cv_objdir" >&6
6846 objdir=$lt_cv_objdir
6847
6848
6849
6850
6851
6852 cat >>confdefs.h <<_ACEOF
6853 #define LT_OBJDIR "$lt_cv_objdir/"
6854 _ACEOF
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872 case $host_os in
6873 aix3*)
6874 # AIX sometimes has problems with the GCC collect2 program. For some
6875 # reason, if we set the COLLECT_NAMES environment variable, the problems
6876 # vanish in a puff of smoke.
6877 if test "X${COLLECT_NAMES+set}" != Xset; then
6878 COLLECT_NAMES=
6879 export COLLECT_NAMES
6880 fi
6881 ;;
6882 esac
6883
6884 # Sed substitution that helps us do robust quoting. It backslashifies
6885 # metacharacters that are still active within double-quoted strings.
6886 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6887
6888 # Same as above, but do not quote variable references.
6889 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6890
6891 # Sed substitution to delay expansion of an escaped shell variable in a
6892 # double_quote_subst'ed string.
6893 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6894
6895 # Sed substitution to delay expansion of an escaped single quote.
6896 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6897
6898 # Sed substitution to avoid accidental globbing in evaled expressions
6899 no_glob_subst='s/\*/\\\*/g'
6900
6901 # Global variables:
6902 ofile=libtool
6903 can_build_shared=yes
6904
6905 # All known linkers require a `.a' archive for static linking (except MSVC,
6906 # which needs '.lib').
6907 libext=a
6908
6909 with_gnu_ld="$lt_cv_prog_gnu_ld"
6910
6911 old_CC="$CC"
6912 old_CFLAGS="$CFLAGS"
6913
6914 # Set sane defaults for various variables
6915 test -z "$CC" && CC=cc
6916 test -z "$LTCC" && LTCC=$CC
6917 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6918 test -z "$LD" && LD=ld
6919 test -z "$ac_objext" && ac_objext=o
6920
6921 for cc_temp in $compiler""; do
6922 case $cc_temp in
6923 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6924 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6925 \-*) ;;
6926 *) break;;
6927 esac
6928 done
6929 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6930
6931
6932 # Only perform the check for file, if the check method requires it
6933 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6934 case $deplibs_check_method in
6935 file_magic*)
6936 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6937 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6938 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6939 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 else
6942 case $MAGIC_CMD in
6943 [\\/*] | ?:[\\/]*)
6944 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6945 ;;
6946 *)
6947 lt_save_MAGIC_CMD="$MAGIC_CMD"
6948 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6949 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6950 for ac_dir in $ac_dummy; do
6951 IFS="$lt_save_ifs"
6952 test -z "$ac_dir" && ac_dir=.
6953 if test -f $ac_dir/${ac_tool_prefix}file; then
6954 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6955 if test -n "$file_magic_test_file"; then
6956 case $deplibs_check_method in
6957 "file_magic "*)
6958 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6959 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6960 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6961 $EGREP "$file_magic_regex" > /dev/null; then
6962 :
6963 else
6964 cat <<_LT_EOF 1>&2
6965
6966 *** Warning: the command libtool uses to detect shared libraries,
6967 *** $file_magic_cmd, produces output that libtool cannot recognize.
6968 *** The result is that libtool may fail to recognize shared libraries
6969 *** as such. This will affect the creation of libtool libraries that
6970 *** depend on shared libraries, but programs linked with such libtool
6971 *** libraries will work regardless of this problem. Nevertheless, you
6972 *** may want to report the problem to your system manager and/or to
6973 *** bug-libtool@gnu.org
6974
6975 _LT_EOF
6976 fi ;;
6977 esac
6978 fi
6979 break
6980 fi
6981 done
6982 IFS="$lt_save_ifs"
6983 MAGIC_CMD="$lt_save_MAGIC_CMD"
6984 ;;
6985 esac
6986 fi
6987
6988 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6989 if test -n "$MAGIC_CMD"; then
6990 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6991 echo "${ECHO_T}$MAGIC_CMD" >&6
6992 else
6993 echo "$as_me:$LINENO: result: no" >&5
6994 echo "${ECHO_T}no" >&6
6995 fi
6996
6997
6998
6999
7000
7001 if test -z "$lt_cv_path_MAGIC_CMD"; then
7002 if test -n "$ac_tool_prefix"; then
7003 echo "$as_me:$LINENO: checking for file" >&5
7004 echo $ECHO_N "checking for file... $ECHO_C" >&6
7005 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6
7007 else
7008 case $MAGIC_CMD in
7009 [\\/*] | ?:[\\/]*)
7010 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7011 ;;
7012 *)
7013 lt_save_MAGIC_CMD="$MAGIC_CMD"
7014 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7015 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7016 for ac_dir in $ac_dummy; do
7017 IFS="$lt_save_ifs"
7018 test -z "$ac_dir" && ac_dir=.
7019 if test -f $ac_dir/file; then
7020 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7021 if test -n "$file_magic_test_file"; then
7022 case $deplibs_check_method in
7023 "file_magic "*)
7024 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7025 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7026 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7027 $EGREP "$file_magic_regex" > /dev/null; then
7028 :
7029 else
7030 cat <<_LT_EOF 1>&2
7031
7032 *** Warning: the command libtool uses to detect shared libraries,
7033 *** $file_magic_cmd, produces output that libtool cannot recognize.
7034 *** The result is that libtool may fail to recognize shared libraries
7035 *** as such. This will affect the creation of libtool libraries that
7036 *** depend on shared libraries, but programs linked with such libtool
7037 *** libraries will work regardless of this problem. Nevertheless, you
7038 *** may want to report the problem to your system manager and/or to
7039 *** bug-libtool@gnu.org
7040
7041 _LT_EOF
7042 fi ;;
7043 esac
7044 fi
7045 break
7046 fi
7047 done
7048 IFS="$lt_save_ifs"
7049 MAGIC_CMD="$lt_save_MAGIC_CMD"
7050 ;;
7051 esac
7052 fi
7053
7054 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7055 if test -n "$MAGIC_CMD"; then
7056 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7057 echo "${ECHO_T}$MAGIC_CMD" >&6
7058 else
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7061 fi
7062
7063
7064 else
7065 MAGIC_CMD=:
7066 fi
7067 fi
7068
7069 fi
7070 ;;
7071 esac
7072
7073 # Use C for the default configuration in the libtool script
7074
7075 lt_save_CC="$CC"
7076 ac_ext=c
7077 ac_cpp='$CPP $CPPFLAGS'
7078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7081
7082
7083 # Source file extension for C test sources.
7084 ac_ext=c
7085
7086 # Object file extension for compiled C test sources.
7087 objext=o
7088 objext=$objext
7089
7090 # Code to be used in simple compile tests
7091 lt_simple_compile_test_code="int some_variable = 0;"
7092
7093 # Code to be used in simple link tests
7094 lt_simple_link_test_code='int main(){return(0);}'
7095
7096
7097
7098
7099
7100
7101
7102 # If no C compiler was specified, use CC.
7103 LTCC=${LTCC-"$CC"}
7104
7105 # If no C compiler flags were specified, use CFLAGS.
7106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7107
7108 # Allow CC to be a program name with arguments.
7109 compiler=$CC
7110
7111 # Save the default compiler, since it gets overwritten when the other
7112 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7113 compiler_DEFAULT=$CC
7114
7115 # save warnings/boilerplate of simple test code
7116 ac_outfile=conftest.$ac_objext
7117 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7118 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7119 _lt_compiler_boilerplate=`cat conftest.err`
7120 $RM conftest*
7121
7122 ac_outfile=conftest.$ac_objext
7123 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7124 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7125 _lt_linker_boilerplate=`cat conftest.err`
7126 $RM conftest*
7127
7128
7129 ## CAVEAT EMPTOR:
7130 ## There is no encapsulation within the following macros, do not change
7131 ## the running order or otherwise move them around unless you know exactly
7132 ## what you are doing...
7133 if test -n "$compiler"; then
7134
7135 lt_prog_compiler_no_builtin_flag=
7136
7137 if test "$GCC" = yes; then
7138 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7139
7140 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7141 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7142 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6
7144 else
7145 lt_cv_prog_compiler_rtti_exceptions=no
7146 ac_outfile=conftest.$ac_objext
7147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7148 lt_compiler_flag="-fno-rtti -fno-exceptions"
7149 # Insert the option either (1) after the last *FLAGS variable, or
7150 # (2) before a word containing "conftest.", or (3) at the end.
7151 # Note that $ac_compile itself does not contain backslashes and begins
7152 # with a dollar sign (not a hyphen), so the echo should work correctly.
7153 # The option is referenced via a variable to avoid confusing sed.
7154 lt_compile=`echo "$ac_compile" | $SED \
7155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7157 -e 's:$: $lt_compiler_flag:'`
7158 (eval echo "\"\$as_me:7158: $lt_compile\"" >&5)
7159 (eval "$lt_compile" 2>conftest.err)
7160 ac_status=$?
7161 cat conftest.err >&5
7162 echo "$as_me:7162: \$? = $ac_status" >&5
7163 if (exit $ac_status) && test -s "$ac_outfile"; then
7164 # The compiler can only warn and ignore the option if not recognized
7165 # So say no if there are warnings other than the usual output.
7166 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7167 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7168 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7169 lt_cv_prog_compiler_rtti_exceptions=yes
7170 fi
7171 fi
7172 $RM conftest*
7173
7174 fi
7175 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7176 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7177
7178 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7179 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7180 else
7181 :
7182 fi
7183
7184 fi
7185
7186
7187
7188
7189
7190
7191 lt_prog_compiler_wl=
7192 lt_prog_compiler_pic=
7193 lt_prog_compiler_static=
7194
7195 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7196 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7197
7198 if test "$GCC" = yes; then
7199 lt_prog_compiler_wl='-Wl,'
7200 lt_prog_compiler_static='-static'
7201
7202 case $host_os in
7203 aix*)
7204 # All AIX code is PIC.
7205 if test "$host_cpu" = ia64; then
7206 # AIX 5 now supports IA64 processor
7207 lt_prog_compiler_static='-Bstatic'
7208 fi
7209 ;;
7210
7211 amigaos*)
7212 if test "$host_cpu" = m68k; then
7213 # FIXME: we need at least 68020 code to build shared libraries, but
7214 # adding the `-m68020' flag to GCC prevents building anything better,
7215 # like `-m68040'.
7216 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7217 fi
7218 ;;
7219
7220 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7221 # PIC is the default for these OSes.
7222 ;;
7223
7224 mingw* | cygwin* | pw32* | os2*)
7225 # This hack is so that the source file can tell whether it is being
7226 # built for inclusion in a dll (and should export symbols for example).
7227 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7228 # (--disable-auto-import) libraries
7229 lt_prog_compiler_pic='-DDLL_EXPORT'
7230 ;;
7231
7232 darwin* | rhapsody*)
7233 # PIC is the default on this platform
7234 # Common symbols not allowed in MH_DYLIB files
7235 lt_prog_compiler_pic='-fno-common'
7236 ;;
7237
7238 hpux*)
7239 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7240 # not for PA HP-UX.
7241 case $host_cpu in
7242 hppa*64*|ia64*)
7243 # +Z the default
7244 ;;
7245 *)
7246 lt_prog_compiler_pic='-fPIC'
7247 ;;
7248 esac
7249 ;;
7250
7251 interix[3-9]*)
7252 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7253 # Instead, we relocate shared libraries at runtime.
7254 ;;
7255
7256 msdosdjgpp*)
7257 # Just because we use GCC doesn't mean we suddenly get shared libraries
7258 # on systems that don't support them.
7259 lt_prog_compiler_can_build_shared=no
7260 enable_shared=no
7261 ;;
7262
7263 *nto* | *qnx*)
7264 # QNX uses GNU C++, but need to define -shared option too, otherwise
7265 # it will coredump.
7266 lt_prog_compiler_pic='-fPIC -shared'
7267 ;;
7268
7269 sysv4*MP*)
7270 if test -d /usr/nec; then
7271 lt_prog_compiler_pic=-Kconform_pic
7272 fi
7273 ;;
7274
7275 *)
7276 lt_prog_compiler_pic='-fPIC'
7277 ;;
7278 esac
7279 else
7280 # PORTME Check for flag to pass linker flags through the system compiler.
7281 case $host_os in
7282 aix*)
7283 lt_prog_compiler_wl='-Wl,'
7284 if test "$host_cpu" = ia64; then
7285 # AIX 5 now supports IA64 processor
7286 lt_prog_compiler_static='-Bstatic'
7287 else
7288 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7289 fi
7290 ;;
7291 darwin*)
7292 # PIC is the default on this platform
7293 # Common symbols not allowed in MH_DYLIB files
7294 case $cc_basename in
7295 xlc*)
7296 lt_prog_compiler_pic='-qnocommon'
7297 lt_prog_compiler_wl='-Wl,'
7298 ;;
7299 esac
7300 ;;
7301
7302 mingw* | cygwin* | pw32* | os2*)
7303 # This hack is so that the source file can tell whether it is being
7304 # built for inclusion in a dll (and should export symbols for example).
7305 lt_prog_compiler_pic='-DDLL_EXPORT'
7306 ;;
7307
7308 hpux9* | hpux10* | hpux11*)
7309 lt_prog_compiler_wl='-Wl,'
7310 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7311 # not for PA HP-UX.
7312 case $host_cpu in
7313 hppa*64*|ia64*)
7314 # +Z the default
7315 ;;
7316 *)
7317 lt_prog_compiler_pic='+Z'
7318 ;;
7319 esac
7320 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7321 lt_prog_compiler_static='${wl}-a ${wl}archive'
7322 ;;
7323
7324 irix5* | irix6* | nonstopux*)
7325 lt_prog_compiler_wl='-Wl,'
7326 # PIC (with -KPIC) is the default.
7327 lt_prog_compiler_static='-non_shared'
7328 ;;
7329
7330 linux* | k*bsd*-gnu)
7331 case $cc_basename in
7332 icc* | ecc*)
7333 lt_prog_compiler_wl='-Wl,'
7334 lt_prog_compiler_pic='-KPIC'
7335 lt_prog_compiler_static='-static'
7336 ;;
7337 pgcc* | pgf77* | pgf90* | pgf95*)
7338 # Portland Group compilers (*not* the Pentium gcc compiler,
7339 # which looks to be a dead project)
7340 lt_prog_compiler_wl='-Wl,'
7341 lt_prog_compiler_pic='-fpic'
7342 lt_prog_compiler_static='-Bstatic'
7343 ;;
7344 ccc*)
7345 lt_prog_compiler_wl='-Wl,'
7346 # All Alpha code is PIC.
7347 lt_prog_compiler_static='-non_shared'
7348 ;;
7349 *)
7350 case `$CC -V 2>&1 | sed 5q` in
7351 *Sun\ C*)
7352 # Sun C 5.9
7353 lt_prog_compiler_pic='-KPIC'
7354 lt_prog_compiler_static='-Bstatic'
7355 lt_prog_compiler_wl='-Wl,'
7356 ;;
7357 *Sun\ F*)
7358 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7359 lt_prog_compiler_pic='-KPIC'
7360 lt_prog_compiler_static='-Bstatic'
7361 lt_prog_compiler_wl=''
7362 ;;
7363 esac
7364 ;;
7365 esac
7366 ;;
7367
7368 newsos6)
7369 lt_prog_compiler_pic='-KPIC'
7370 lt_prog_compiler_static='-Bstatic'
7371 ;;
7372
7373 *nto* | *qnx*)
7374 # QNX uses GNU C++, but need to define -shared option too, otherwise
7375 # it will coredump.
7376 lt_prog_compiler_pic='-fPIC -shared'
7377 ;;
7378
7379 osf3* | osf4* | osf5*)
7380 lt_prog_compiler_wl='-Wl,'
7381 # All OSF/1 code is PIC.
7382 lt_prog_compiler_static='-non_shared'
7383 ;;
7384
7385 rdos*)
7386 lt_prog_compiler_static='-non_shared'
7387 ;;
7388
7389 solaris*)
7390 lt_prog_compiler_pic='-KPIC'
7391 lt_prog_compiler_static='-Bstatic'
7392 case $cc_basename in
7393 f77* | f90* | f95*)
7394 lt_prog_compiler_wl='-Qoption ld ';;
7395 *)
7396 lt_prog_compiler_wl='-Wl,';;
7397 esac
7398 ;;
7399
7400 sunos4*)
7401 lt_prog_compiler_wl='-Qoption ld '
7402 lt_prog_compiler_pic='-PIC'
7403 lt_prog_compiler_static='-Bstatic'
7404 ;;
7405
7406 sysv4 | sysv4.2uw2* | sysv4.3*)
7407 lt_prog_compiler_wl='-Wl,'
7408 lt_prog_compiler_pic='-KPIC'
7409 lt_prog_compiler_static='-Bstatic'
7410 ;;
7411
7412 sysv4*MP*)
7413 if test -d /usr/nec ;then
7414 lt_prog_compiler_pic='-Kconform_pic'
7415 lt_prog_compiler_static='-Bstatic'
7416 fi
7417 ;;
7418
7419 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7420 lt_prog_compiler_wl='-Wl,'
7421 lt_prog_compiler_pic='-KPIC'
7422 lt_prog_compiler_static='-Bstatic'
7423 ;;
7424
7425 unicos*)
7426 lt_prog_compiler_wl='-Wl,'
7427 lt_prog_compiler_can_build_shared=no
7428 ;;
7429
7430 uts4*)
7431 lt_prog_compiler_pic='-pic'
7432 lt_prog_compiler_static='-Bstatic'
7433 ;;
7434
7435 *)
7436 lt_prog_compiler_can_build_shared=no
7437 ;;
7438 esac
7439 fi
7440
7441 case $host_os in
7442 # For platforms which do not support PIC, -DPIC is meaningless:
7443 *djgpp*)
7444 lt_prog_compiler_pic=
7445 ;;
7446 *)
7447 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7448 ;;
7449 esac
7450 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7451 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7452
7453
7454
7455
7456
7457
7458 #
7459 # Check to make sure the PIC flag actually works.
7460 #
7461 if test -n "$lt_prog_compiler_pic"; then
7462 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7463 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7464 if test "${lt_prog_compiler_pic_works+set}" = set; then
7465 echo $ECHO_N "(cached) $ECHO_C" >&6
7466 else
7467 lt_prog_compiler_pic_works=no
7468 ac_outfile=conftest.$ac_objext
7469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7470 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7471 # Insert the option either (1) after the last *FLAGS variable, or
7472 # (2) before a word containing "conftest.", or (3) at the end.
7473 # Note that $ac_compile itself does not contain backslashes and begins
7474 # with a dollar sign (not a hyphen), so the echo should work correctly.
7475 # The option is referenced via a variable to avoid confusing sed.
7476 lt_compile=`echo "$ac_compile" | $SED \
7477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7479 -e 's:$: $lt_compiler_flag:'`
7480 (eval echo "\"\$as_me:7480: $lt_compile\"" >&5)
7481 (eval "$lt_compile" 2>conftest.err)
7482 ac_status=$?
7483 cat conftest.err >&5
7484 echo "$as_me:7484: \$? = $ac_status" >&5
7485 if (exit $ac_status) && test -s "$ac_outfile"; then
7486 # The compiler can only warn and ignore the option if not recognized
7487 # So say no if there are warnings other than the usual output.
7488 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7490 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7491 lt_prog_compiler_pic_works=yes
7492 fi
7493 fi
7494 $RM conftest*
7495
7496 fi
7497 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7498 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7499
7500 if test x"$lt_prog_compiler_pic_works" = xyes; then
7501 case $lt_prog_compiler_pic in
7502 "" | " "*) ;;
7503 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7504 esac
7505 else
7506 lt_prog_compiler_pic=
7507 lt_prog_compiler_can_build_shared=no
7508 fi
7509
7510 fi
7511
7512
7513
7514
7515
7516
7517 #
7518 # Check to make sure the static flag actually works.
7519 #
7520 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7521 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7522 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7523 if test "${lt_prog_compiler_static_works+set}" = set; then
7524 echo $ECHO_N "(cached) $ECHO_C" >&6
7525 else
7526 lt_prog_compiler_static_works=no
7527 save_LDFLAGS="$LDFLAGS"
7528 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7529 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7530 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7531 # The linker can only warn and ignore the option if not recognized
7532 # So say no if there are warnings
7533 if test -s conftest.err; then
7534 # Append any errors to the config.log.
7535 cat conftest.err 1>&5
7536 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7537 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7538 if diff conftest.exp conftest.er2 >/dev/null; then
7539 lt_prog_compiler_static_works=yes
7540 fi
7541 else
7542 lt_prog_compiler_static_works=yes
7543 fi
7544 fi
7545 $RM conftest*
7546 LDFLAGS="$save_LDFLAGS"
7547
7548 fi
7549 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7550 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7551
7552 if test x"$lt_prog_compiler_static_works" = xyes; then
7553 :
7554 else
7555 lt_prog_compiler_static=
7556 fi
7557
7558
7559
7560
7561
7562
7563
7564 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7565 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7566 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 else
7569 lt_cv_prog_compiler_c_o=no
7570 $RM -r conftest 2>/dev/null
7571 mkdir conftest
7572 cd conftest
7573 mkdir out
7574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7575
7576 lt_compiler_flag="-o out/conftest2.$ac_objext"
7577 # Insert the option either (1) after the last *FLAGS variable, or
7578 # (2) before a word containing "conftest.", or (3) at the end.
7579 # Note that $ac_compile itself does not contain backslashes and begins
7580 # with a dollar sign (not a hyphen), so the echo should work correctly.
7581 lt_compile=`echo "$ac_compile" | $SED \
7582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7584 -e 's:$: $lt_compiler_flag:'`
7585 (eval echo "\"\$as_me:7585: $lt_compile\"" >&5)
7586 (eval "$lt_compile" 2>out/conftest.err)
7587 ac_status=$?
7588 cat out/conftest.err >&5
7589 echo "$as_me:7589: \$? = $ac_status" >&5
7590 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7591 then
7592 # The compiler can only warn and ignore the option if not recognized
7593 # So say no if there are warnings
7594 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7595 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7596 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7597 lt_cv_prog_compiler_c_o=yes
7598 fi
7599 fi
7600 chmod u+w . 2>&5
7601 $RM conftest*
7602 # SGI C++ compiler will create directory out/ii_files/ for
7603 # template instantiation
7604 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7605 $RM out/* && rmdir out
7606 cd ..
7607 $RM -r conftest
7608 $RM conftest*
7609
7610 fi
7611 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7612 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7613
7614
7615
7616
7617
7618
7619 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7620 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7621 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7622 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 else
7624 lt_cv_prog_compiler_c_o=no
7625 $RM -r conftest 2>/dev/null
7626 mkdir conftest
7627 cd conftest
7628 mkdir out
7629 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7630
7631 lt_compiler_flag="-o out/conftest2.$ac_objext"
7632 # Insert the option either (1) after the last *FLAGS variable, or
7633 # (2) before a word containing "conftest.", or (3) at the end.
7634 # Note that $ac_compile itself does not contain backslashes and begins
7635 # with a dollar sign (not a hyphen), so the echo should work correctly.
7636 lt_compile=`echo "$ac_compile" | $SED \
7637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7639 -e 's:$: $lt_compiler_flag:'`
7640 (eval echo "\"\$as_me:7640: $lt_compile\"" >&5)
7641 (eval "$lt_compile" 2>out/conftest.err)
7642 ac_status=$?
7643 cat out/conftest.err >&5
7644 echo "$as_me:7644: \$? = $ac_status" >&5
7645 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7646 then
7647 # The compiler can only warn and ignore the option if not recognized
7648 # So say no if there are warnings
7649 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7650 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7651 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7652 lt_cv_prog_compiler_c_o=yes
7653 fi
7654 fi
7655 chmod u+w . 2>&5
7656 $RM conftest*
7657 # SGI C++ compiler will create directory out/ii_files/ for
7658 # template instantiation
7659 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7660 $RM out/* && rmdir out
7661 cd ..
7662 $RM -r conftest
7663 $RM conftest*
7664
7665 fi
7666 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7667 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7668
7669
7670
7671
7672 hard_links="nottested"
7673 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7674 # do not overwrite the value of need_locks provided by the user
7675 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7676 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7677 hard_links=yes
7678 $RM conftest*
7679 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7680 touch conftest.a
7681 ln conftest.a conftest.b 2>&5 || hard_links=no
7682 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7683 echo "$as_me:$LINENO: result: $hard_links" >&5
7684 echo "${ECHO_T}$hard_links" >&6
7685 if test "$hard_links" = no; then
7686 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7687 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7688 need_locks=warn
7689 fi
7690 else
7691 need_locks=no
7692 fi
7693
7694
7695
7696
7697
7698
7699 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7700 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7701
7702 runpath_var=
7703 allow_undefined_flag=
7704 always_export_symbols=no
7705 archive_cmds=
7706 archive_expsym_cmds=
7707 compiler_needs_object=no
7708 enable_shared_with_static_runtimes=no
7709 export_dynamic_flag_spec=
7710 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7711 hardcode_automatic=no
7712 hardcode_direct=no
7713 hardcode_direct_absolute=no
7714 hardcode_libdir_flag_spec=
7715 hardcode_libdir_flag_spec_ld=
7716 hardcode_libdir_separator=
7717 hardcode_minus_L=no
7718 hardcode_shlibpath_var=unsupported
7719 inherit_rpath=no
7720 link_all_deplibs=unknown
7721 module_cmds=
7722 module_expsym_cmds=
7723 old_archive_from_new_cmds=
7724 old_archive_from_expsyms_cmds=
7725 thread_safe_flag_spec=
7726 whole_archive_flag_spec=
7727 # include_expsyms should be a list of space-separated symbols to be *always*
7728 # included in the symbol list
7729 include_expsyms=
7730 # exclude_expsyms can be an extended regexp of symbols to exclude
7731 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7732 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7733 # as well as any symbol that contains `d'.
7734 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7735 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7736 # platforms (ab)use it in PIC code, but their linkers get confused if
7737 # the symbol is explicitly referenced. Since portable code cannot
7738 # rely on this symbol name, it's probably fine to never include it in
7739 # preloaded symbol tables.
7740 extract_expsyms_cmds=
7741
7742 case $host_os in
7743 cygwin* | mingw* | pw32*)
7744 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7745 # When not using gcc, we currently assume that we are using
7746 # Microsoft Visual C++.
7747 if test "$GCC" != yes; then
7748 with_gnu_ld=no
7749 fi
7750 ;;
7751 interix*)
7752 # we just hope/assume this is gcc and not c89 (= MSVC++)
7753 with_gnu_ld=yes
7754 ;;
7755 openbsd*)
7756 with_gnu_ld=no
7757 ;;
7758 esac
7759
7760 ld_shlibs=yes
7761 if test "$with_gnu_ld" = yes; then
7762 # If archive_cmds runs LD, not CC, wlarc should be empty
7763 wlarc='${wl}'
7764
7765 # Set some defaults for GNU ld with shared library support. These
7766 # are reset later if shared libraries are not supported. Putting them
7767 # here allows them to be overridden if necessary.
7768 runpath_var=LD_RUN_PATH
7769 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7770 export_dynamic_flag_spec='${wl}--export-dynamic'
7771 # ancient GNU ld didn't support --whole-archive et. al.
7772 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7773 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7774 else
7775 whole_archive_flag_spec=
7776 fi
7777 supports_anon_versioning=no
7778 case `$LD -v 2>&1` in
7779 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7780 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7781 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7782 *\ 2.11.*) ;; # other 2.11 versions
7783 *) supports_anon_versioning=yes ;;
7784 esac
7785
7786 # See if GNU ld supports shared libraries.
7787 case $host_os in
7788 aix3* | aix4* | aix5*)
7789 # On AIX/PPC, the GNU linker is very broken
7790 if test "$host_cpu" != ia64; then
7791 ld_shlibs=no
7792 cat <<_LT_EOF 1>&2
7793
7794 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7795 *** to be unable to reliably create shared libraries on AIX.
7796 *** Therefore, libtool is disabling shared libraries support. If you
7797 *** really care for shared libraries, you may want to modify your PATH
7798 *** so that a non-GNU linker is found, and then restart.
7799
7800 _LT_EOF
7801 fi
7802 ;;
7803
7804 amigaos*)
7805 if test "$host_cpu" = m68k; then
7806 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7807 hardcode_libdir_flag_spec='-L$libdir'
7808 hardcode_minus_L=yes
7809 fi
7810
7811 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7812 # that the semantics of dynamic libraries on AmigaOS, at least up
7813 # to version 4, is to share data among multiple programs linked
7814 # with the same dynamic library. Since this doesn't match the
7815 # behavior of shared libraries on other platforms, we can't use
7816 # them.
7817 ld_shlibs=no
7818 ;;
7819
7820 beos*)
7821 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7822 allow_undefined_flag=unsupported
7823 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7824 # support --undefined. This deserves some investigation. FIXME
7825 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7826 else
7827 ld_shlibs=no
7828 fi
7829 ;;
7830
7831 cygwin* | mingw* | pw32*)
7832 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7833 # as there is no search path for DLLs.
7834 hardcode_libdir_flag_spec='-L$libdir'
7835 allow_undefined_flag=unsupported
7836 always_export_symbols=no
7837 enable_shared_with_static_runtimes=yes
7838 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7839
7840 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7841 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7842 # If the export-symbols file already is a .def file (1st line
7843 # is EXPORTS), use it as is; otherwise, prepend...
7844 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7845 cp $export_symbols $output_objdir/$soname.def;
7846 else
7847 echo EXPORTS > $output_objdir/$soname.def;
7848 cat $export_symbols >> $output_objdir/$soname.def;
7849 fi~
7850 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7851 else
7852 ld_shlibs=no
7853 fi
7854 ;;
7855
7856 interix[3-9]*)
7857 hardcode_direct=no
7858 hardcode_shlibpath_var=no
7859 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7860 export_dynamic_flag_spec='${wl}-E'
7861 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7862 # Instead, shared libraries are loaded at an image base (0x10000000 by
7863 # default) and relocated if they conflict, which is a slow very memory
7864 # consuming and fragmenting process. To avoid this, we pick a random,
7865 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7866 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7867 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7868 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7869 ;;
7870
7871 gnu* | linux* | tpf* | k*bsd*-gnu)
7872 tmp_diet=no
7873 if test "$host_os" = linux-dietlibc; then
7874 case $cc_basename in
7875 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7876 esac
7877 fi
7878 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7879 && test "$tmp_diet" = no
7880 then
7881 tmp_addflag=
7882 case $cc_basename,$host_cpu in
7883 pgcc*) # Portland Group C compiler
7884 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7885 tmp_addflag=' $pic_flag'
7886 ;;
7887 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7888 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7889 tmp_addflag=' $pic_flag -Mnomain' ;;
7890 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7891 tmp_addflag=' -i_dynamic' ;;
7892 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7893 tmp_addflag=' -i_dynamic -nofor_main' ;;
7894 ifc* | ifort*) # Intel Fortran compiler
7895 tmp_addflag=' -nofor_main' ;;
7896 esac
7897 case `$CC -V 2>&1 | sed 5q` in
7898 *Sun\ C*) # Sun C 5.9
7899 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7900 compiler_needs_object=yes
7901 tmp_sharedflag='-G' ;;
7902 *Sun\ F*) # Sun Fortran 8.3
7903 tmp_sharedflag='-G' ;;
7904 *)
7905 tmp_sharedflag='-shared' ;;
7906 esac
7907 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7908
7909 if test "x$supports_anon_versioning" = xyes; then
7910 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7911 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7912 echo "local: *; };" >> $output_objdir/$libname.ver~
7913 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7914 fi
7915 else
7916 ld_shlibs=no
7917 fi
7918 ;;
7919
7920 netbsd*)
7921 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7922 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7923 wlarc=
7924 else
7925 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7926 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7927 fi
7928 ;;
7929
7930 solaris*)
7931 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7932 ld_shlibs=no
7933 cat <<_LT_EOF 1>&2
7934
7935 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7936 *** create shared libraries on Solaris systems. Therefore, libtool
7937 *** is disabling shared libraries support. We urge you to upgrade GNU
7938 *** binutils to release 2.9.1 or newer. Another option is to modify
7939 *** your PATH or compiler configuration so that the native linker is
7940 *** used, and then restart.
7941
7942 _LT_EOF
7943 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7944 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7945 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7946 else
7947 ld_shlibs=no
7948 fi
7949 ;;
7950
7951 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7952 case `$LD -v 2>&1` in
7953 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7954 ld_shlibs=no
7955 cat <<_LT_EOF 1>&2
7956
7957 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7958 *** reliably create shared libraries on SCO systems. Therefore, libtool
7959 *** is disabling shared libraries support. We urge you to upgrade GNU
7960 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7961 *** your PATH or compiler configuration so that the native linker is
7962 *** used, and then restart.
7963
7964 _LT_EOF
7965 ;;
7966 *)
7967 # For security reasons, it is highly recommended that you always
7968 # use absolute paths for naming shared libraries, and exclude the
7969 # DT_RUNPATH tag from executables and libraries. But doing so
7970 # requires that you compile everything twice, which is a pain.
7971 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7972 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7973 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7974 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7975 else
7976 ld_shlibs=no
7977 fi
7978 ;;
7979 esac
7980 ;;
7981
7982 sunos4*)
7983 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7984 wlarc=
7985 hardcode_direct=yes
7986 hardcode_shlibpath_var=no
7987 ;;
7988
7989 *)
7990 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7991 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7992 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7993 else
7994 ld_shlibs=no
7995 fi
7996 ;;
7997 esac
7998
7999 if test "$ld_shlibs" = no; then
8000 runpath_var=
8001 hardcode_libdir_flag_spec=
8002 export_dynamic_flag_spec=
8003 whole_archive_flag_spec=
8004 fi
8005 else
8006 # PORTME fill in a description of your system's linker (not GNU ld)
8007 case $host_os in
8008 aix3*)
8009 allow_undefined_flag=unsupported
8010 always_export_symbols=yes
8011 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8012 # Note: this linker hardcodes the directories in LIBPATH if there
8013 # are no directories specified by -L.
8014 hardcode_minus_L=yes
8015 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8016 # Neither direct hardcoding nor static linking is supported with a
8017 # broken collect2.
8018 hardcode_direct=unsupported
8019 fi
8020 ;;
8021
8022 aix4* | aix5*)
8023 if test "$host_cpu" = ia64; then
8024 # On IA64, the linker does run time linking by default, so we don't
8025 # have to do anything special.
8026 aix_use_runtimelinking=no
8027 exp_sym_flag='-Bexport'
8028 no_entry_flag=""
8029 else
8030 # If we're using GNU nm, then we don't want the "-C" option.
8031 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8032 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8033 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8034 else
8035 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8036 fi
8037 aix_use_runtimelinking=no
8038
8039 # Test if we are trying to use run time linking or normal
8040 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8041 # need to do runtime linking.
8042 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8043 for ld_flag in $LDFLAGS; do
8044 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8045 aix_use_runtimelinking=yes
8046 break
8047 fi
8048 done
8049 ;;
8050 esac
8051
8052 exp_sym_flag='-bexport'
8053 no_entry_flag='-bnoentry'
8054 fi
8055
8056 # When large executables or shared objects are built, AIX ld can
8057 # have problems creating the table of contents. If linking a library
8058 # or program results in "error TOC overflow" add -mminimal-toc to
8059 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8060 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8061
8062 archive_cmds=''
8063 hardcode_direct=yes
8064 hardcode_direct_absolute=yes
8065 hardcode_libdir_separator=':'
8066 link_all_deplibs=yes
8067 file_list_spec='${wl}-f,'
8068
8069 if test "$GCC" = yes; then
8070 case $host_os in aix4.[012]|aix4.[012].*)
8071 # We only want to do this on AIX 4.2 and lower, the check
8072 # below for broken collect2 doesn't work under 4.3+
8073 collect2name=`${CC} -print-prog-name=collect2`
8074 if test -f "$collect2name" &&
8075 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8076 then
8077 # We have reworked collect2
8078 :
8079 else
8080 # We have old collect2
8081 hardcode_direct=unsupported
8082 # It fails to find uninstalled libraries when the uninstalled
8083 # path is not listed in the libpath. Setting hardcode_minus_L
8084 # to unsupported forces relinking
8085 hardcode_minus_L=yes
8086 hardcode_libdir_flag_spec='-L$libdir'
8087 hardcode_libdir_separator=
8088 fi
8089 ;;
8090 esac
8091 shared_flag='-shared'
8092 if test "$aix_use_runtimelinking" = yes; then
8093 shared_flag="$shared_flag "'${wl}-G'
8094 fi
8095 else
8096 # not using gcc
8097 if test "$host_cpu" = ia64; then
8098 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8099 # chokes on -Wl,-G. The following line is correct:
8100 shared_flag='-G'
8101 else
8102 if test "$aix_use_runtimelinking" = yes; then
8103 shared_flag='${wl}-G'
8104 else
8105 shared_flag='${wl}-bM:SRE'
8106 fi
8107 fi
8108 fi
8109
8110 # It seems that -bexpall does not export symbols beginning with
8111 # underscore (_), so it is better to generate a list of symbols to export.
8112 always_export_symbols=yes
8113 if test "$aix_use_runtimelinking" = yes; then
8114 # Warning - without using the other runtime loading flags (-brtl),
8115 # -berok will link without error, but may produce a broken library.
8116 allow_undefined_flag='-berok'
8117 # Determine the default libpath from the value encoded in an
8118 # empty executable.
8119 if test x$gcc_no_link = xyes; then
8120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8122 { (exit 1); exit 1; }; }
8123 fi
8124 cat >conftest.$ac_ext <<_ACEOF
8125 /* confdefs.h. */
8126 _ACEOF
8127 cat confdefs.h >>conftest.$ac_ext
8128 cat >>conftest.$ac_ext <<_ACEOF
8129 /* end confdefs.h. */
8130
8131 int
8132 main ()
8133 {
8134
8135 ;
8136 return 0;
8137 }
8138 _ACEOF
8139 rm -f conftest.$ac_objext conftest$ac_exeext
8140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8141 (eval $ac_link) 2>conftest.er1
8142 ac_status=$?
8143 grep -v '^ *+' conftest.er1 >conftest.err
8144 rm -f conftest.er1
8145 cat conftest.err >&5
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); } &&
8148 { ac_try='test -z "$ac_c_werror_flag"
8149 || test ! -s conftest.err'
8150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 (eval $ac_try) 2>&5
8152 ac_status=$?
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); }; } &&
8155 { ac_try='test -s conftest$ac_exeext'
8156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8157 (eval $ac_try) 2>&5
8158 ac_status=$?
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); }; }; then
8161
8162 lt_aix_libpath_sed='
8163 /Import File Strings/,/^$/ {
8164 /^0/ {
8165 s/^0 *\(.*\)$/\1/
8166 p
8167 }
8168 }'
8169 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8170 # Check for a 64-bit object if we didn't find anything.
8171 if test -z "$aix_libpath"; then
8172 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8173 fi
8174 else
8175 echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.$ac_ext >&5
8177
8178 fi
8179 rm -f conftest.err conftest.$ac_objext \
8180 conftest$ac_exeext conftest.$ac_ext
8181 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8182
8183 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8184 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8185 else
8186 if test "$host_cpu" = ia64; then
8187 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8188 allow_undefined_flag="-z nodefs"
8189 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8190 else
8191 # Determine the default libpath from the value encoded in an
8192 # empty executable.
8193 if test x$gcc_no_link = xyes; then
8194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8196 { (exit 1); exit 1; }; }
8197 fi
8198 cat >conftest.$ac_ext <<_ACEOF
8199 /* confdefs.h. */
8200 _ACEOF
8201 cat confdefs.h >>conftest.$ac_ext
8202 cat >>conftest.$ac_ext <<_ACEOF
8203 /* end confdefs.h. */
8204
8205 int
8206 main ()
8207 {
8208
8209 ;
8210 return 0;
8211 }
8212 _ACEOF
8213 rm -f conftest.$ac_objext conftest$ac_exeext
8214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8215 (eval $ac_link) 2>conftest.er1
8216 ac_status=$?
8217 grep -v '^ *+' conftest.er1 >conftest.err
8218 rm -f conftest.er1
8219 cat conftest.err >&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); } &&
8222 { ac_try='test -z "$ac_c_werror_flag"
8223 || test ! -s conftest.err'
8224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 (eval $ac_try) 2>&5
8226 ac_status=$?
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); }; } &&
8229 { ac_try='test -s conftest$ac_exeext'
8230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 (eval $ac_try) 2>&5
8232 ac_status=$?
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); }; }; then
8235
8236 lt_aix_libpath_sed='
8237 /Import File Strings/,/^$/ {
8238 /^0/ {
8239 s/^0 *\(.*\)$/\1/
8240 p
8241 }
8242 }'
8243 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8244 # Check for a 64-bit object if we didn't find anything.
8245 if test -z "$aix_libpath"; then
8246 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8247 fi
8248 else
8249 echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8251
8252 fi
8253 rm -f conftest.err conftest.$ac_objext \
8254 conftest$ac_exeext conftest.$ac_ext
8255 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8256
8257 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8258 # Warning - without using the other run time loading flags,
8259 # -berok will link without error, but may produce a broken library.
8260 no_undefined_flag=' ${wl}-bernotok'
8261 allow_undefined_flag=' ${wl}-berok'
8262 # Exported symbols can be pulled into shared objects from archives
8263 whole_archive_flag_spec='$convenience'
8264 archive_cmds_need_lc=yes
8265 # This is similar to how AIX traditionally builds its shared libraries.
8266 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8267 fi
8268 fi
8269 ;;
8270
8271 amigaos*)
8272 if test "$host_cpu" = m68k; then
8273 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8274 hardcode_libdir_flag_spec='-L$libdir'
8275 hardcode_minus_L=yes
8276 fi
8277 # see comment about different semantics on the GNU ld section
8278 ld_shlibs=no
8279 ;;
8280
8281 bsdi[45]*)
8282 export_dynamic_flag_spec=-rdynamic
8283 ;;
8284
8285 cygwin* | mingw* | pw32*)
8286 # When not using gcc, we currently assume that we are using
8287 # Microsoft Visual C++.
8288 # hardcode_libdir_flag_spec is actually meaningless, as there is
8289 # no search path for DLLs.
8290 hardcode_libdir_flag_spec=' '
8291 allow_undefined_flag=unsupported
8292 # Tell ltmain to make .lib files, not .a files.
8293 libext=lib
8294 # Tell ltmain to make .dll files, not .so files.
8295 shrext_cmds=".dll"
8296 # FIXME: Setting linknames here is a bad hack.
8297 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8298 # The linker will automatically build a .lib file if we build a DLL.
8299 old_archive_from_new_cmds='true'
8300 # FIXME: Should let the user specify the lib program.
8301 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8302 fix_srcfile_path='`cygpath -w "$srcfile"`'
8303 enable_shared_with_static_runtimes=yes
8304 ;;
8305
8306 darwin* | rhapsody*)
8307 case $host_os in
8308 rhapsody* | darwin1.[012])
8309 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8310 ;;
8311 *) # Darwin 1.3 on
8312 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8313 10.[012])
8314 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8315 ;;
8316 10.*)
8317 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8318 ;;
8319 esac
8320 ;;
8321 esac
8322 archive_cmds_need_lc=no
8323 hardcode_direct=no
8324 hardcode_automatic=yes
8325 hardcode_shlibpath_var=unsupported
8326 whole_archive_flag_spec=''
8327 link_all_deplibs=yes
8328 if test "$GCC" = yes ; then
8329 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 else
8332 lt_cv_apple_cc_single_mod=no
8333 if test -z "${LT_MULTI_MODULE}"; then
8334 # By default we will add the -single_module flag. You can override
8335 # by either setting the environment variable LT_MULTI_MODULE
8336 # non-empty at configure time, or by adding -multi-module to the
8337 # link flags.
8338 echo "int foo(void){return 1;}" > conftest.c
8339 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8340 -dynamiclib ${wl}-single_module conftest.c
8341 if test -f libconftest.dylib; then
8342 lt_cv_apple_cc_single_mod=yes
8343 rm libconftest.dylib
8344 fi
8345 rm conftest.$ac_ext
8346 fi
8347 fi
8348
8349 output_verbose_link_cmd=echo
8350 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8351 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8352 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8353 else
8354 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8355 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8356 fi
8357 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8358 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8359 else
8360 case $cc_basename in
8361 xlc*)
8362 output_verbose_link_cmd=echo
8363 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8364 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8365 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8366 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8367 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8368 ;;
8369 *)
8370 ld_shlibs=no
8371 ;;
8372 esac
8373 fi
8374 ;;
8375
8376 dgux*)
8377 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8378 hardcode_libdir_flag_spec='-L$libdir'
8379 hardcode_shlibpath_var=no
8380 ;;
8381
8382 freebsd1*)
8383 ld_shlibs=no
8384 ;;
8385
8386 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8387 # support. Future versions do this automatically, but an explicit c++rt0.o
8388 # does not break anything, and helps significantly (at the cost of a little
8389 # extra space).
8390 freebsd2.2*)
8391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8392 hardcode_libdir_flag_spec='-R$libdir'
8393 hardcode_direct=yes
8394 hardcode_shlibpath_var=no
8395 ;;
8396
8397 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8398 freebsd2*)
8399 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8400 hardcode_direct=yes
8401 hardcode_minus_L=yes
8402 hardcode_shlibpath_var=no
8403 ;;
8404
8405 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8406 freebsd* | dragonfly*)
8407 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8408 hardcode_libdir_flag_spec='-R$libdir'
8409 hardcode_direct=yes
8410 hardcode_shlibpath_var=no
8411 ;;
8412
8413 hpux9*)
8414 if test "$GCC" = yes; then
8415 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8416 else
8417 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8418 fi
8419 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8420 hardcode_libdir_separator=:
8421 hardcode_direct=yes
8422
8423 # hardcode_minus_L: Not really in the search PATH,
8424 # but as the default location of the library.
8425 hardcode_minus_L=yes
8426 export_dynamic_flag_spec='${wl}-E'
8427 ;;
8428
8429 hpux10*)
8430 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8431 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8432 else
8433 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8434 fi
8435 if test "$with_gnu_ld" = no; then
8436 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8437 hardcode_libdir_flag_spec_ld='+b $libdir'
8438 hardcode_libdir_separator=:
8439 hardcode_direct=yes
8440 hardcode_direct_absolute=yes
8441 export_dynamic_flag_spec='${wl}-E'
8442 # hardcode_minus_L: Not really in the search PATH,
8443 # but as the default location of the library.
8444 hardcode_minus_L=yes
8445 fi
8446 ;;
8447
8448 hpux11*)
8449 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8450 case $host_cpu in
8451 hppa*64*)
8452 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8453 ;;
8454 ia64*)
8455 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8456 ;;
8457 *)
8458 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8459 ;;
8460 esac
8461 else
8462 case $host_cpu in
8463 hppa*64*)
8464 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8465 ;;
8466 ia64*)
8467 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8468 ;;
8469 *)
8470 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8471 ;;
8472 esac
8473 fi
8474 if test "$with_gnu_ld" = no; then
8475 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8476 hardcode_libdir_separator=:
8477
8478 case $host_cpu in
8479 hppa*64*|ia64*)
8480 hardcode_direct=no
8481 hardcode_shlibpath_var=no
8482 ;;
8483 *)
8484 hardcode_direct=yes
8485 hardcode_direct_absolute=yes
8486 export_dynamic_flag_spec='${wl}-E'
8487
8488 # hardcode_minus_L: Not really in the search PATH,
8489 # but as the default location of the library.
8490 hardcode_minus_L=yes
8491 ;;
8492 esac
8493 fi
8494 ;;
8495
8496 irix5* | irix6* | nonstopux*)
8497 if test "$GCC" = yes; then
8498 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8499 # Try to use the -exported_symbol ld option, if it does not
8500 # work, assume that -exports_file does not work either and
8501 # implicitly export all symbols.
8502 save_LDFLAGS="$LDFLAGS"
8503 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8504 if test x$gcc_no_link = xyes; then
8505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8507 { (exit 1); exit 1; }; }
8508 fi
8509 cat >conftest.$ac_ext <<_ACEOF
8510 int foo(void) {}
8511 _ACEOF
8512 rm -f conftest.$ac_objext conftest$ac_exeext
8513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8514 (eval $ac_link) 2>conftest.er1
8515 ac_status=$?
8516 grep -v '^ *+' conftest.er1 >conftest.err
8517 rm -f conftest.er1
8518 cat conftest.err >&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); } &&
8521 { ac_try='test -z "$ac_c_werror_flag"
8522 || test ! -s conftest.err'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524 (eval $ac_try) 2>&5
8525 ac_status=$?
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; } &&
8528 { ac_try='test -s conftest$ac_exeext'
8529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8530 (eval $ac_try) 2>&5
8531 ac_status=$?
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); }; }; then
8534 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8535
8536 else
8537 echo "$as_me: failed program was:" >&5
8538 sed 's/^/| /' conftest.$ac_ext >&5
8539
8540 fi
8541 rm -f conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 LDFLAGS="$save_LDFLAGS"
8544 else
8545 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8546 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8547 fi
8548 archive_cmds_need_lc='no'
8549 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8550 hardcode_libdir_separator=:
8551 inherit_rpath=yes
8552 link_all_deplibs=yes
8553 ;;
8554
8555 netbsd*)
8556 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8557 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8558 else
8559 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8560 fi
8561 hardcode_libdir_flag_spec='-R$libdir'
8562 hardcode_direct=yes
8563 hardcode_shlibpath_var=no
8564 ;;
8565
8566 newsos6)
8567 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8568 hardcode_direct=yes
8569 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8570 hardcode_libdir_separator=:
8571 hardcode_shlibpath_var=no
8572 ;;
8573
8574 *nto* | *qnx*)
8575 ;;
8576
8577 openbsd*)
8578 hardcode_direct=yes
8579 hardcode_shlibpath_var=no
8580 hardcode_direct_absolute=yes
8581 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8582 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8583 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8584 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8585 export_dynamic_flag_spec='${wl}-E'
8586 else
8587 case $host_os in
8588 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8589 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8590 hardcode_libdir_flag_spec='-R$libdir'
8591 ;;
8592 *)
8593 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8594 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8595 ;;
8596 esac
8597 fi
8598 ;;
8599
8600 os2*)
8601 hardcode_libdir_flag_spec='-L$libdir'
8602 hardcode_minus_L=yes
8603 allow_undefined_flag=unsupported
8604 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8605 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8606 ;;
8607
8608 osf3*)
8609 if test "$GCC" = yes; then
8610 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8611 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8612 else
8613 allow_undefined_flag=' -expect_unresolved \*'
8614 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8615 fi
8616 archive_cmds_need_lc='no'
8617 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8618 hardcode_libdir_separator=:
8619 ;;
8620
8621 osf4* | osf5*) # as osf3* with the addition of -msym flag
8622 if test "$GCC" = yes; then
8623 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8624 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8625 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8626 else
8627 allow_undefined_flag=' -expect_unresolved \*'
8628 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8629 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8630 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8631
8632 # Both c and cxx compiler support -rpath directly
8633 hardcode_libdir_flag_spec='-rpath $libdir'
8634 fi
8635 archive_cmds_need_lc='no'
8636 hardcode_libdir_separator=:
8637 ;;
8638
8639 solaris*)
8640 no_undefined_flag=' -z defs'
8641 if test "$GCC" = yes; then
8642 wlarc='${wl}'
8643 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8644 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8645 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8646 else
8647 case `$CC -V 2>&1` in
8648 *"Compilers 5.0"*)
8649 wlarc=''
8650 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8651 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8652 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8653 ;;
8654 *)
8655 wlarc='${wl}'
8656 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8657 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8658 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8659 ;;
8660 esac
8661 fi
8662 hardcode_libdir_flag_spec='-R$libdir'
8663 hardcode_shlibpath_var=no
8664 case $host_os in
8665 solaris2.[0-5] | solaris2.[0-5].*) ;;
8666 *)
8667 # The compiler driver will combine and reorder linker options,
8668 # but understands `-z linker_flag'. GCC discards it without `$wl',
8669 # but is careful enough not to reorder.
8670 # Supported since Solaris 2.6 (maybe 2.5.1?)
8671 if test "$GCC" = yes; then
8672 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8673 else
8674 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8675 fi
8676 ;;
8677 esac
8678 link_all_deplibs=yes
8679 ;;
8680
8681 sunos4*)
8682 if test "x$host_vendor" = xsequent; then
8683 # Use $CC to link under sequent, because it throws in some extra .o
8684 # files that make .init and .fini sections work.
8685 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8686 else
8687 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8688 fi
8689 hardcode_libdir_flag_spec='-L$libdir'
8690 hardcode_direct=yes
8691 hardcode_minus_L=yes
8692 hardcode_shlibpath_var=no
8693 ;;
8694
8695 sysv4)
8696 case $host_vendor in
8697 sni)
8698 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8699 hardcode_direct=yes # is this really true???
8700 ;;
8701 siemens)
8702 ## LD is ld it makes a PLAMLIB
8703 ## CC just makes a GrossModule.
8704 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8705 reload_cmds='$CC -r -o $output$reload_objs'
8706 hardcode_direct=no
8707 ;;
8708 motorola)
8709 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8710 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8711 ;;
8712 esac
8713 runpath_var='LD_RUN_PATH'
8714 hardcode_shlibpath_var=no
8715 ;;
8716
8717 sysv4.3*)
8718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8719 hardcode_shlibpath_var=no
8720 export_dynamic_flag_spec='-Bexport'
8721 ;;
8722
8723 sysv4*MP*)
8724 if test -d /usr/nec; then
8725 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8726 hardcode_shlibpath_var=no
8727 runpath_var=LD_RUN_PATH
8728 hardcode_runpath_var=yes
8729 ld_shlibs=yes
8730 fi
8731 ;;
8732
8733 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8734 no_undefined_flag='${wl}-z,text'
8735 archive_cmds_need_lc=no
8736 hardcode_shlibpath_var=no
8737 runpath_var='LD_RUN_PATH'
8738
8739 if test "$GCC" = yes; then
8740 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8741 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8742 else
8743 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8744 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8745 fi
8746 ;;
8747
8748 sysv5* | sco3.2v5* | sco5v6*)
8749 # Note: We can NOT use -z defs as we might desire, because we do not
8750 # link with -lc, and that would cause any symbols used from libc to
8751 # always be unresolved, which means just about no library would
8752 # ever link correctly. If we're not using GNU ld we use -z text
8753 # though, which does catch some bad symbols but isn't as heavy-handed
8754 # as -z defs.
8755 no_undefined_flag='${wl}-z,text'
8756 allow_undefined_flag='${wl}-z,nodefs'
8757 archive_cmds_need_lc=no
8758 hardcode_shlibpath_var=no
8759 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8760 hardcode_libdir_separator=':'
8761 link_all_deplibs=yes
8762 export_dynamic_flag_spec='${wl}-Bexport'
8763 runpath_var='LD_RUN_PATH'
8764
8765 if test "$GCC" = yes; then
8766 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8767 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8768 else
8769 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8770 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8771 fi
8772 ;;
8773
8774 uts4*)
8775 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8776 hardcode_libdir_flag_spec='-L$libdir'
8777 hardcode_shlibpath_var=no
8778 ;;
8779
8780 *)
8781 ld_shlibs=no
8782 ;;
8783 esac
8784
8785 if test x$host_vendor = xsni; then
8786 case $host in
8787 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8788 export_dynamic_flag_spec='${wl}-Blargedynsym'
8789 ;;
8790 esac
8791 fi
8792 fi
8793
8794 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8795 echo "${ECHO_T}$ld_shlibs" >&6
8796 test "$ld_shlibs" = no && can_build_shared=no
8797
8798 with_gnu_ld=$with_gnu_ld
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814 #
8815 # Do we need to explicitly link libc?
8816 #
8817 case "x$archive_cmds_need_lc" in
8818 x|xyes)
8819 # Assume -lc should be added
8820 archive_cmds_need_lc=yes
8821
8822 if test "$enable_shared" = yes && test "$GCC" = yes; then
8823 case $archive_cmds in
8824 *'~'*)
8825 # FIXME: we may have to deal with multi-command sequences.
8826 ;;
8827 '$CC '*)
8828 # Test whether the compiler implicitly links with -lc since on some
8829 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8830 # to ld, don't add -lc before -lgcc.
8831 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8832 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8833 $RM conftest*
8834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8835
8836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8837 (eval $ac_compile) 2>&5
8838 ac_status=$?
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); } 2>conftest.err; then
8841 soname=conftest
8842 lib=conftest
8843 libobjs=conftest.$ac_objext
8844 deplibs=
8845 wl=$lt_prog_compiler_wl
8846 pic_flag=$lt_prog_compiler_pic
8847 compiler_flags=-v
8848 linker_flags=-v
8849 verstring=
8850 output_objdir=.
8851 libname=conftest
8852 lt_save_allow_undefined_flag=$allow_undefined_flag
8853 allow_undefined_flag=
8854 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8855 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8856 ac_status=$?
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); }
8859 then
8860 archive_cmds_need_lc=no
8861 else
8862 archive_cmds_need_lc=yes
8863 fi
8864 allow_undefined_flag=$lt_save_allow_undefined_flag
8865 else
8866 cat conftest.err 1>&5
8867 fi
8868 $RM conftest*
8869 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8870 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8871 ;;
8872 esac
8873 fi
8874 ;;
8875 esac
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9034 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9035 withGCC=$GCC
9036 if test "$withGCC" = yes; then
9037 case $host_os in
9038 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9039 *) lt_awk_arg="/^libraries:/" ;;
9040 esac
9041 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9042 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9043 # if the path contains ";" then we assume it to be the separator
9044 # otherwise default to the standard path separator (i.e. ":") - it is
9045 # assumed that no part of a normal pathname contains ";" but that should
9046 # okay in the real world where ";" in dirpaths is itself problematic.
9047 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9048 else
9049 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9050 fi
9051 # Ok, now we have the path, separated by spaces, we can step through it
9052 # and add multilib dir if necessary.
9053 lt_tmp_lt_search_path_spec=
9054 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9055 for lt_sys_path in $lt_search_path_spec; do
9056 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9057 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9058 else
9059 test -d "$lt_sys_path" && \
9060 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9061 fi
9062 done
9063 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9064 BEGIN {RS=" "; FS="/|\n";} {
9065 lt_foo="";
9066 lt_count=0;
9067 for (lt_i = NF; lt_i > 0; lt_i--) {
9068 if ($lt_i != "" && $lt_i != ".") {
9069 if ($lt_i == "..") {
9070 lt_count++;
9071 } else {
9072 if (lt_count == 0) {
9073 lt_foo="/" $lt_i lt_foo;
9074 } else {
9075 lt_count--;
9076 }
9077 }
9078 }
9079 }
9080 if (lt_foo != "") { lt_freq[lt_foo]++; }
9081 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9082 }'`
9083 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9084 else
9085 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9086 fi
9087 library_names_spec=
9088 libname_spec='lib$name'
9089 soname_spec=
9090 shrext_cmds=".so"
9091 postinstall_cmds=
9092 postuninstall_cmds=
9093 finish_cmds=
9094 finish_eval=
9095 shlibpath_var=
9096 shlibpath_overrides_runpath=unknown
9097 version_type=none
9098 dynamic_linker="$host_os ld.so"
9099 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9100 need_lib_prefix=unknown
9101 hardcode_into_libs=no
9102
9103 # when you set need_version to no, make sure it does not cause -set_version
9104 # flags to be left without arguments
9105 need_version=unknown
9106
9107 case $host_os in
9108 aix3*)
9109 version_type=linux
9110 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9111 shlibpath_var=LIBPATH
9112
9113 # AIX 3 has no versioning support, so we append a major version to the name.
9114 soname_spec='${libname}${release}${shared_ext}$major'
9115 ;;
9116
9117 aix4* | aix5*)
9118 version_type=linux
9119 need_lib_prefix=no
9120 need_version=no
9121 hardcode_into_libs=yes
9122 if test "$host_cpu" = ia64; then
9123 # AIX 5 supports IA64
9124 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9125 shlibpath_var=LD_LIBRARY_PATH
9126 else
9127 # With GCC up to 2.95.x, collect2 would create an import file
9128 # for dependence libraries. The import file would start with
9129 # the line `#! .'. This would cause the generated library to
9130 # depend on `.', always an invalid library. This was fixed in
9131 # development snapshots of GCC prior to 3.0.
9132 case $host_os in
9133 aix4 | aix4.[01] | aix4.[01].*)
9134 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9135 echo ' yes '
9136 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9137 :
9138 else
9139 can_build_shared=no
9140 fi
9141 ;;
9142 esac
9143 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9144 # soname into executable. Probably we can add versioning support to
9145 # collect2, so additional links can be useful in future.
9146 if test "$aix_use_runtimelinking" = yes; then
9147 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9148 # instead of lib<name>.a to let people know that these are not
9149 # typical AIX shared libraries.
9150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9151 else
9152 # We preserve .a as extension for shared libraries through AIX4.2
9153 # and later when we are not doing run time linking.
9154 library_names_spec='${libname}${release}.a $libname.a'
9155 soname_spec='${libname}${release}${shared_ext}$major'
9156 fi
9157 shlibpath_var=LIBPATH
9158 fi
9159 ;;
9160
9161 amigaos*)
9162 if test "$host_cpu" = m68k; then
9163 library_names_spec='$libname.ixlibrary $libname.a'
9164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9165 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9166 else
9167 dynamic_linker=no
9168 fi
9169 ;;
9170
9171 beos*)
9172 library_names_spec='${libname}${shared_ext}'
9173 dynamic_linker="$host_os ld.so"
9174 shlibpath_var=LIBRARY_PATH
9175 ;;
9176
9177 bsdi[45]*)
9178 version_type=linux
9179 need_version=no
9180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9181 soname_spec='${libname}${release}${shared_ext}$major'
9182 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9183 shlibpath_var=LD_LIBRARY_PATH
9184 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9185 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9186 # the default ld.so.conf also contains /usr/contrib/lib and
9187 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9188 # libtool to hard-code these into programs
9189 ;;
9190
9191 cygwin* | mingw* | pw32*)
9192 version_type=windows
9193 shrext_cmds=".dll"
9194 need_version=no
9195 need_lib_prefix=no
9196
9197 case $withGCC,$host_os in
9198 yes,cygwin* | yes,mingw* | yes,pw32*)
9199 library_names_spec='$libname.dll.a'
9200 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9201 postinstall_cmds='base_file=`basename \${file}`~
9202 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9203 dldir=$destdir/`dirname \$dlpath`~
9204 test -d \$dldir || mkdir -p \$dldir~
9205 $install_prog $dir/$dlname \$dldir/$dlname~
9206 chmod a+x \$dldir/$dlname~
9207 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9208 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9209 fi'
9210 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9211 dlpath=$dir/\$dldll~
9212 $RM \$dlpath'
9213 shlibpath_overrides_runpath=yes
9214
9215 case $host_os in
9216 cygwin*)
9217 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9218 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9219 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9220 ;;
9221 mingw*)
9222 # MinGW DLLs use traditional 'lib' prefix
9223 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9224 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9225 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9226 # It is most probably a Windows format PATH printed by
9227 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9228 # path with ; separators, and with drive letters. We can handle the
9229 # drive letters (cygwin fileutils understands them), so leave them,
9230 # especially as we might pass files found there to a mingw objdump,
9231 # which wouldn't understand a cygwinified path. Ahh.
9232 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9233 else
9234 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9235 fi
9236 ;;
9237 pw32*)
9238 # pw32 DLLs use 'pw' prefix rather than 'lib'
9239 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9240 ;;
9241 esac
9242 ;;
9243
9244 *)
9245 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9246 ;;
9247 esac
9248 dynamic_linker='Win32 ld.exe'
9249 # FIXME: first we should search . and the directory the executable is in
9250 shlibpath_var=PATH
9251 ;;
9252
9253 darwin* | rhapsody*)
9254 dynamic_linker="$host_os dyld"
9255 version_type=darwin
9256 need_lib_prefix=no
9257 need_version=no
9258 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9259 soname_spec='${libname}${release}${major}$shared_ext'
9260 shlibpath_overrides_runpath=yes
9261 shlibpath_var=DYLD_LIBRARY_PATH
9262 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9263
9264 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9265 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9266 ;;
9267
9268 dgux*)
9269 version_type=linux
9270 need_lib_prefix=no
9271 need_version=no
9272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9273 soname_spec='${libname}${release}${shared_ext}$major'
9274 shlibpath_var=LD_LIBRARY_PATH
9275 ;;
9276
9277 freebsd1*)
9278 dynamic_linker=no
9279 ;;
9280
9281 freebsd* | dragonfly*)
9282 # DragonFly does not have aout. When/if they implement a new
9283 # versioning mechanism, adjust this.
9284 if test -x /usr/bin/objformat; then
9285 objformat=`/usr/bin/objformat`
9286 else
9287 case $host_os in
9288 freebsd[123]*) objformat=aout ;;
9289 *) objformat=elf ;;
9290 esac
9291 fi
9292 version_type=freebsd-$objformat
9293 case $version_type in
9294 freebsd-elf*)
9295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9296 need_version=no
9297 need_lib_prefix=no
9298 ;;
9299 freebsd-*)
9300 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9301 need_version=yes
9302 ;;
9303 esac
9304 shlibpath_var=LD_LIBRARY_PATH
9305 case $host_os in
9306 freebsd2*)
9307 shlibpath_overrides_runpath=yes
9308 ;;
9309 freebsd3.[01]* | freebsdelf3.[01]*)
9310 shlibpath_overrides_runpath=yes
9311 hardcode_into_libs=yes
9312 ;;
9313 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9314 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9315 shlibpath_overrides_runpath=no
9316 hardcode_into_libs=yes
9317 ;;
9318 *) # from 4.6 on, and DragonFly
9319 shlibpath_overrides_runpath=yes
9320 hardcode_into_libs=yes
9321 ;;
9322 esac
9323 ;;
9324
9325 gnu*)
9326 version_type=linux
9327 need_lib_prefix=no
9328 need_version=no
9329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9330 soname_spec='${libname}${release}${shared_ext}$major'
9331 shlibpath_var=LD_LIBRARY_PATH
9332 hardcode_into_libs=yes
9333 ;;
9334
9335 hpux9* | hpux10* | hpux11*)
9336 # Give a soname corresponding to the major version so that dld.sl refuses to
9337 # link against other versions.
9338 version_type=sunos
9339 need_lib_prefix=no
9340 need_version=no
9341 case $host_cpu in
9342 ia64*)
9343 shrext_cmds='.so'
9344 hardcode_into_libs=yes
9345 dynamic_linker="$host_os dld.so"
9346 shlibpath_var=LD_LIBRARY_PATH
9347 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9349 soname_spec='${libname}${release}${shared_ext}$major'
9350 if test "X$HPUX_IA64_MODE" = X32; then
9351 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9352 else
9353 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9354 fi
9355 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9356 ;;
9357 hppa*64*)
9358 shrext_cmds='.sl'
9359 hardcode_into_libs=yes
9360 dynamic_linker="$host_os dld.sl"
9361 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9364 soname_spec='${libname}${release}${shared_ext}$major'
9365 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9366 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9367 ;;
9368 *)
9369 shrext_cmds='.sl'
9370 dynamic_linker="$host_os dld.sl"
9371 shlibpath_var=SHLIB_PATH
9372 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9374 soname_spec='${libname}${release}${shared_ext}$major'
9375 ;;
9376 esac
9377 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9378 postinstall_cmds='chmod 555 $lib'
9379 ;;
9380
9381 interix[3-9]*)
9382 version_type=linux
9383 need_lib_prefix=no
9384 need_version=no
9385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9386 soname_spec='${libname}${release}${shared_ext}$major'
9387 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9388 shlibpath_var=LD_LIBRARY_PATH
9389 shlibpath_overrides_runpath=no
9390 hardcode_into_libs=yes
9391 ;;
9392
9393 irix5* | irix6* | nonstopux*)
9394 case $host_os in
9395 nonstopux*) version_type=nonstopux ;;
9396 *)
9397 if test "$lt_cv_prog_gnu_ld" = yes; then
9398 version_type=linux
9399 else
9400 version_type=irix
9401 fi ;;
9402 esac
9403 need_lib_prefix=no
9404 need_version=no
9405 soname_spec='${libname}${release}${shared_ext}$major'
9406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9407 case $host_os in
9408 irix5* | nonstopux*)
9409 libsuff= shlibsuff=
9410 ;;
9411 *)
9412 case $LD in # libtool.m4 will add one of these switches to LD
9413 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9414 libsuff= shlibsuff= libmagic=32-bit;;
9415 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9416 libsuff=32 shlibsuff=N32 libmagic=N32;;
9417 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9418 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9419 *) libsuff= shlibsuff= libmagic=never-match;;
9420 esac
9421 ;;
9422 esac
9423 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9424 shlibpath_overrides_runpath=no
9425 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9426 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9427 hardcode_into_libs=yes
9428 ;;
9429
9430 # No shared lib support for Linux oldld, aout, or coff.
9431 linux*oldld* | linux*aout* | linux*coff*)
9432 dynamic_linker=no
9433 ;;
9434
9435 # This must be Linux ELF.
9436 linux* | k*bsd*-gnu)
9437 version_type=linux
9438 need_lib_prefix=no
9439 need_version=no
9440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9441 soname_spec='${libname}${release}${shared_ext}$major'
9442 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9443 shlibpath_var=LD_LIBRARY_PATH
9444 shlibpath_overrides_runpath=no
9445 # Some binutils ld are patched to set DT_RUNPATH
9446 save_LDFLAGS=$LDFLAGS
9447 save_libdir=$libdir
9448 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9449 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9450 if test x$gcc_no_link = xyes; then
9451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9453 { (exit 1); exit 1; }; }
9454 fi
9455 cat >conftest.$ac_ext <<_ACEOF
9456 /* confdefs.h. */
9457 _ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9461
9462 int
9463 main ()
9464 {
9465
9466 ;
9467 return 0;
9468 }
9469 _ACEOF
9470 rm -f conftest.$ac_objext conftest$ac_exeext
9471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9472 (eval $ac_link) 2>conftest.er1
9473 ac_status=$?
9474 grep -v '^ *+' conftest.er1 >conftest.err
9475 rm -f conftest.er1
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } &&
9479 { ac_try='test -z "$ac_c_werror_flag"
9480 || test ! -s conftest.err'
9481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9482 (eval $ac_try) 2>&5
9483 ac_status=$?
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); }; } &&
9486 { ac_try='test -s conftest$ac_exeext'
9487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 (eval $ac_try) 2>&5
9489 ac_status=$?
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); }; }; then
9492 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9493 shlibpath_overrides_runpath=yes
9494 fi
9495
9496 else
9497 echo "$as_me: failed program was:" >&5
9498 sed 's/^/| /' conftest.$ac_ext >&5
9499
9500 fi
9501 rm -f conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 LDFLAGS=$save_LDFLAGS
9504 libdir=$save_libdir
9505
9506 # This implies no fast_install, which is unacceptable.
9507 # Some rework will be needed to allow for fast_install
9508 # before this can be enabled.
9509 hardcode_into_libs=yes
9510
9511 # Append ld.so.conf contents to the search path
9512 if test -f /etc/ld.so.conf; then
9513 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9514 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9515 fi
9516
9517 # We used to test for /lib/ld.so.1 and disable shared libraries on
9518 # powerpc, because MkLinux only supported shared libraries with the
9519 # GNU dynamic linker. Since this was broken with cross compilers,
9520 # most powerpc-linux boxes support dynamic linking these days and
9521 # people can always --disable-shared, the test was removed, and we
9522 # assume the GNU/Linux dynamic linker is in use.
9523 dynamic_linker='GNU/Linux ld.so'
9524 ;;
9525
9526 netbsd*)
9527 version_type=sunos
9528 need_lib_prefix=no
9529 need_version=no
9530 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9532 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9533 dynamic_linker='NetBSD (a.out) ld.so'
9534 else
9535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9536 soname_spec='${libname}${release}${shared_ext}$major'
9537 dynamic_linker='NetBSD ld.elf_so'
9538 fi
9539 shlibpath_var=LD_LIBRARY_PATH
9540 shlibpath_overrides_runpath=yes
9541 hardcode_into_libs=yes
9542 ;;
9543
9544 newsos6)
9545 version_type=linux
9546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9547 shlibpath_var=LD_LIBRARY_PATH
9548 shlibpath_overrides_runpath=yes
9549 ;;
9550
9551 *nto* | *qnx*)
9552 version_type=qnx
9553 need_lib_prefix=no
9554 need_version=no
9555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9556 soname_spec='${libname}${release}${shared_ext}$major'
9557 shlibpath_var=LD_LIBRARY_PATH
9558 shlibpath_overrides_runpath=no
9559 hardcode_into_libs=yes
9560 dynamic_linker='ldqnx.so'
9561 ;;
9562
9563 openbsd*)
9564 version_type=sunos
9565 sys_lib_dlsearch_path_spec="/usr/lib"
9566 need_lib_prefix=no
9567 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9568 case $host_os in
9569 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9570 *) need_version=no ;;
9571 esac
9572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9573 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9574 shlibpath_var=LD_LIBRARY_PATH
9575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9576 case $host_os in
9577 openbsd2.[89] | openbsd2.[89].*)
9578 shlibpath_overrides_runpath=no
9579 ;;
9580 *)
9581 shlibpath_overrides_runpath=yes
9582 ;;
9583 esac
9584 else
9585 shlibpath_overrides_runpath=yes
9586 fi
9587 ;;
9588
9589 os2*)
9590 libname_spec='$name'
9591 shrext_cmds=".dll"
9592 need_lib_prefix=no
9593 library_names_spec='$libname${shared_ext} $libname.a'
9594 dynamic_linker='OS/2 ld.exe'
9595 shlibpath_var=LIBPATH
9596 ;;
9597
9598 osf3* | osf4* | osf5*)
9599 version_type=osf
9600 need_lib_prefix=no
9601 need_version=no
9602 soname_spec='${libname}${release}${shared_ext}$major'
9603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9604 shlibpath_var=LD_LIBRARY_PATH
9605 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9606 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9607 ;;
9608
9609 rdos*)
9610 dynamic_linker=no
9611 ;;
9612
9613 solaris*)
9614 version_type=linux
9615 need_lib_prefix=no
9616 need_version=no
9617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9618 soname_spec='${libname}${release}${shared_ext}$major'
9619 shlibpath_var=LD_LIBRARY_PATH
9620 shlibpath_overrides_runpath=yes
9621 hardcode_into_libs=yes
9622 # ldd complains unless libraries are executable
9623 postinstall_cmds='chmod +x $lib'
9624 ;;
9625
9626 sunos4*)
9627 version_type=sunos
9628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9629 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9630 shlibpath_var=LD_LIBRARY_PATH
9631 shlibpath_overrides_runpath=yes
9632 if test "$with_gnu_ld" = yes; then
9633 need_lib_prefix=no
9634 fi
9635 need_version=yes
9636 ;;
9637
9638 sysv4 | sysv4.3*)
9639 version_type=linux
9640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9641 soname_spec='${libname}${release}${shared_ext}$major'
9642 shlibpath_var=LD_LIBRARY_PATH
9643 case $host_vendor in
9644 sni)
9645 shlibpath_overrides_runpath=no
9646 need_lib_prefix=no
9647 runpath_var=LD_RUN_PATH
9648 ;;
9649 siemens)
9650 need_lib_prefix=no
9651 ;;
9652 motorola)
9653 need_lib_prefix=no
9654 need_version=no
9655 shlibpath_overrides_runpath=no
9656 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9657 ;;
9658 esac
9659 ;;
9660
9661 sysv4*MP*)
9662 if test -d /usr/nec ;then
9663 version_type=linux
9664 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9665 soname_spec='$libname${shared_ext}.$major'
9666 shlibpath_var=LD_LIBRARY_PATH
9667 fi
9668 ;;
9669
9670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9671 version_type=freebsd-elf
9672 need_lib_prefix=no
9673 need_version=no
9674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9675 soname_spec='${libname}${release}${shared_ext}$major'
9676 shlibpath_var=LD_LIBRARY_PATH
9677 shlibpath_overrides_runpath=yes
9678 hardcode_into_libs=yes
9679 if test "$with_gnu_ld" = yes; then
9680 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9681 else
9682 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9683 case $host_os in
9684 sco3.2v5*)
9685 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9686 ;;
9687 esac
9688 fi
9689 sys_lib_dlsearch_path_spec='/usr/lib'
9690 ;;
9691
9692 tpf*)
9693 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9694 version_type=linux
9695 need_lib_prefix=no
9696 need_version=no
9697 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9698 shlibpath_var=LD_LIBRARY_PATH
9699 shlibpath_overrides_runpath=no
9700 hardcode_into_libs=yes
9701 ;;
9702
9703 uts4*)
9704 version_type=linux
9705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9706 soname_spec='${libname}${release}${shared_ext}$major'
9707 shlibpath_var=LD_LIBRARY_PATH
9708 ;;
9709
9710 *)
9711 dynamic_linker=no
9712 ;;
9713 esac
9714 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9715 echo "${ECHO_T}$dynamic_linker" >&6
9716 test "$dynamic_linker" = no && can_build_shared=no
9717
9718 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9719 if test "$GCC" = yes; then
9720 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9721 fi
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9810 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9811 hardcode_action=
9812 if test -n "$hardcode_libdir_flag_spec" ||
9813 test -n "$runpath_var" ||
9814 test "X$hardcode_automatic" = "Xyes" ; then
9815
9816 # We can hardcode non-existent directories.
9817 if test "$hardcode_direct" != no &&
9818 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9819 # have to relink, otherwise we might link with an installed library
9820 # when we should be linking with a yet-to-be-installed one
9821 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9822 test "$hardcode_minus_L" != no; then
9823 # Linking always hardcodes the temporary library directory.
9824 hardcode_action=relink
9825 else
9826 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9827 hardcode_action=immediate
9828 fi
9829 else
9830 # We cannot hardcode anything, or else we can only hardcode existing
9831 # directories.
9832 hardcode_action=unsupported
9833 fi
9834 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9835 echo "${ECHO_T}$hardcode_action" >&6
9836
9837 if test "$hardcode_action" = relink ||
9838 test "$inherit_rpath" = yes; then
9839 # Fast installation is not supported
9840 enable_fast_install=no
9841 elif test "$shlibpath_overrides_runpath" = yes ||
9842 test "$enable_shared" = no; then
9843 # Fast installation is not necessary
9844 enable_fast_install=needless
9845 fi
9846
9847
9848
9849
9850
9851
9852 if test "x$enable_dlopen" != xyes; then
9853 enable_dlopen=unknown
9854 enable_dlopen_self=unknown
9855 enable_dlopen_self_static=unknown
9856 else
9857 lt_cv_dlopen=no
9858 lt_cv_dlopen_libs=
9859
9860 case $host_os in
9861 beos*)
9862 lt_cv_dlopen="load_add_on"
9863 lt_cv_dlopen_libs=
9864 lt_cv_dlopen_self=yes
9865 ;;
9866
9867 mingw* | pw32*)
9868 lt_cv_dlopen="LoadLibrary"
9869 lt_cv_dlopen_libs=
9870 ;;
9871
9872 cygwin*)
9873 lt_cv_dlopen="dlopen"
9874 lt_cv_dlopen_libs=
9875 ;;
9876
9877 darwin*)
9878 # if libdl is installed we need to link against it
9879 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9880 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9881 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9882 echo $ECHO_N "(cached) $ECHO_C" >&6
9883 else
9884 ac_check_lib_save_LIBS=$LIBS
9885 LIBS="-ldl $LIBS"
9886 if test x$gcc_no_link = xyes; then
9887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9889 { (exit 1); exit 1; }; }
9890 fi
9891 cat >conftest.$ac_ext <<_ACEOF
9892 /* confdefs.h. */
9893 _ACEOF
9894 cat confdefs.h >>conftest.$ac_ext
9895 cat >>conftest.$ac_ext <<_ACEOF
9896 /* end confdefs.h. */
9897
9898 /* Override any gcc2 internal prototype to avoid an error. */
9899 #ifdef __cplusplus
9900 extern "C"
9901 #endif
9902 /* We use char because int might match the return type of a gcc2
9903 builtin and then its argument prototype would still apply. */
9904 char dlopen ();
9905 int
9906 main ()
9907 {
9908 dlopen ();
9909 ;
9910 return 0;
9911 }
9912 _ACEOF
9913 rm -f conftest.$ac_objext conftest$ac_exeext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9915 (eval $ac_link) 2>conftest.er1
9916 ac_status=$?
9917 grep -v '^ *+' conftest.er1 >conftest.err
9918 rm -f conftest.er1
9919 cat conftest.err >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try='test -z "$ac_c_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 (eval $ac_try) 2>&5
9926 ac_status=$?
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try='test -s conftest$ac_exeext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 (eval $ac_try) 2>&5
9932 ac_status=$?
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 ac_cv_lib_dl_dlopen=yes
9936 else
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.$ac_ext >&5
9939
9940 ac_cv_lib_dl_dlopen=no
9941 fi
9942 rm -f conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 LIBS=$ac_check_lib_save_LIBS
9945 fi
9946 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9947 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9948 if test $ac_cv_lib_dl_dlopen = yes; then
9949 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9950 else
9951
9952 lt_cv_dlopen="dyld"
9953 lt_cv_dlopen_libs=
9954 lt_cv_dlopen_self=yes
9955
9956 fi
9957
9958 ;;
9959
9960 *)
9961 echo "$as_me:$LINENO: checking for shl_load" >&5
9962 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9963 if test "${ac_cv_func_shl_load+set}" = set; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9965 else
9966 if test x$gcc_no_link = xyes; then
9967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9969 { (exit 1); exit 1; }; }
9970 fi
9971 cat >conftest.$ac_ext <<_ACEOF
9972 /* confdefs.h. */
9973 _ACEOF
9974 cat confdefs.h >>conftest.$ac_ext
9975 cat >>conftest.$ac_ext <<_ACEOF
9976 /* end confdefs.h. */
9977 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9979 #define shl_load innocuous_shl_load
9980
9981 /* System header to define __stub macros and hopefully few prototypes,
9982 which can conflict with char shl_load (); below.
9983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9984 <limits.h> exists even on freestanding compilers. */
9985
9986 #ifdef __STDC__
9987 # include <limits.h>
9988 #else
9989 # include <assert.h>
9990 #endif
9991
9992 #undef shl_load
9993
9994 /* Override any gcc2 internal prototype to avoid an error. */
9995 #ifdef __cplusplus
9996 extern "C"
9997 {
9998 #endif
9999 /* We use char because int might match the return type of a gcc2
10000 builtin and then its argument prototype would still apply. */
10001 char shl_load ();
10002 /* The GNU C library defines this for functions which it implements
10003 to always fail with ENOSYS. Some functions are actually named
10004 something starting with __ and the normal name is an alias. */
10005 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10006 choke me
10007 #else
10008 char (*f) () = shl_load;
10009 #endif
10010 #ifdef __cplusplus
10011 }
10012 #endif
10013
10014 int
10015 main ()
10016 {
10017 return f != shl_load;
10018 ;
10019 return 0;
10020 }
10021 _ACEOF
10022 rm -f conftest.$ac_objext conftest$ac_exeext
10023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10024 (eval $ac_link) 2>conftest.er1
10025 ac_status=$?
10026 grep -v '^ *+' conftest.er1 >conftest.err
10027 rm -f conftest.er1
10028 cat conftest.err >&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } &&
10031 { ac_try='test -z "$ac_c_werror_flag"
10032 || test ! -s conftest.err'
10033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 (eval $ac_try) 2>&5
10035 ac_status=$?
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); }; } &&
10038 { ac_try='test -s conftest$ac_exeext'
10039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10040 (eval $ac_try) 2>&5
10041 ac_status=$?
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); }; }; then
10044 ac_cv_func_shl_load=yes
10045 else
10046 echo "$as_me: failed program was:" >&5
10047 sed 's/^/| /' conftest.$ac_ext >&5
10048
10049 ac_cv_func_shl_load=no
10050 fi
10051 rm -f conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 fi
10054 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10055 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10056 if test $ac_cv_func_shl_load = yes; then
10057 lt_cv_dlopen="shl_load"
10058 else
10059 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10060 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10061 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10063 else
10064 ac_check_lib_save_LIBS=$LIBS
10065 LIBS="-ldld $LIBS"
10066 if test x$gcc_no_link = xyes; then
10067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10069 { (exit 1); exit 1; }; }
10070 fi
10071 cat >conftest.$ac_ext <<_ACEOF
10072 /* confdefs.h. */
10073 _ACEOF
10074 cat confdefs.h >>conftest.$ac_ext
10075 cat >>conftest.$ac_ext <<_ACEOF
10076 /* end confdefs.h. */
10077
10078 /* Override any gcc2 internal prototype to avoid an error. */
10079 #ifdef __cplusplus
10080 extern "C"
10081 #endif
10082 /* We use char because int might match the return type of a gcc2
10083 builtin and then its argument prototype would still apply. */
10084 char shl_load ();
10085 int
10086 main ()
10087 {
10088 shl_load ();
10089 ;
10090 return 0;
10091 }
10092 _ACEOF
10093 rm -f conftest.$ac_objext conftest$ac_exeext
10094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10095 (eval $ac_link) 2>conftest.er1
10096 ac_status=$?
10097 grep -v '^ *+' conftest.er1 >conftest.err
10098 rm -f conftest.er1
10099 cat conftest.err >&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); } &&
10102 { ac_try='test -z "$ac_c_werror_flag"
10103 || test ! -s conftest.err'
10104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10105 (eval $ac_try) 2>&5
10106 ac_status=$?
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); }; } &&
10109 { ac_try='test -s conftest$ac_exeext'
10110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111 (eval $ac_try) 2>&5
10112 ac_status=$?
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); }; }; then
10115 ac_cv_lib_dld_shl_load=yes
10116 else
10117 echo "$as_me: failed program was:" >&5
10118 sed 's/^/| /' conftest.$ac_ext >&5
10119
10120 ac_cv_lib_dld_shl_load=no
10121 fi
10122 rm -f conftest.err conftest.$ac_objext \
10123 conftest$ac_exeext conftest.$ac_ext
10124 LIBS=$ac_check_lib_save_LIBS
10125 fi
10126 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10127 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10128 if test $ac_cv_lib_dld_shl_load = yes; then
10129 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10130 else
10131 echo "$as_me:$LINENO: checking for dlopen" >&5
10132 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10133 if test "${ac_cv_func_dlopen+set}" = set; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 else
10136 if test x$gcc_no_link = xyes; then
10137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10139 { (exit 1); exit 1; }; }
10140 fi
10141 cat >conftest.$ac_ext <<_ACEOF
10142 /* confdefs.h. */
10143 _ACEOF
10144 cat confdefs.h >>conftest.$ac_ext
10145 cat >>conftest.$ac_ext <<_ACEOF
10146 /* end confdefs.h. */
10147 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10149 #define dlopen innocuous_dlopen
10150
10151 /* System header to define __stub macros and hopefully few prototypes,
10152 which can conflict with char dlopen (); below.
10153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10154 <limits.h> exists even on freestanding compilers. */
10155
10156 #ifdef __STDC__
10157 # include <limits.h>
10158 #else
10159 # include <assert.h>
10160 #endif
10161
10162 #undef dlopen
10163
10164 /* Override any gcc2 internal prototype to avoid an error. */
10165 #ifdef __cplusplus
10166 extern "C"
10167 {
10168 #endif
10169 /* We use char because int might match the return type of a gcc2
10170 builtin and then its argument prototype would still apply. */
10171 char dlopen ();
10172 /* The GNU C library defines this for functions which it implements
10173 to always fail with ENOSYS. Some functions are actually named
10174 something starting with __ and the normal name is an alias. */
10175 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10176 choke me
10177 #else
10178 char (*f) () = dlopen;
10179 #endif
10180 #ifdef __cplusplus
10181 }
10182 #endif
10183
10184 int
10185 main ()
10186 {
10187 return f != dlopen;
10188 ;
10189 return 0;
10190 }
10191 _ACEOF
10192 rm -f conftest.$ac_objext conftest$ac_exeext
10193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10194 (eval $ac_link) 2>conftest.er1
10195 ac_status=$?
10196 grep -v '^ *+' conftest.er1 >conftest.err
10197 rm -f conftest.er1
10198 cat conftest.err >&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); } &&
10201 { ac_try='test -z "$ac_c_werror_flag"
10202 || test ! -s conftest.err'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10205 ac_status=$?
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; } &&
10208 { ac_try='test -s conftest$ac_exeext'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10211 ac_status=$?
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; }; then
10214 ac_cv_func_dlopen=yes
10215 else
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.$ac_ext >&5
10218
10219 ac_cv_func_dlopen=no
10220 fi
10221 rm -f conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10223 fi
10224 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10225 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10226 if test $ac_cv_func_dlopen = yes; then
10227 lt_cv_dlopen="dlopen"
10228 else
10229 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10230 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10231 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 else
10234 ac_check_lib_save_LIBS=$LIBS
10235 LIBS="-ldl $LIBS"
10236 if test x$gcc_no_link = xyes; then
10237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10239 { (exit 1); exit 1; }; }
10240 fi
10241 cat >conftest.$ac_ext <<_ACEOF
10242 /* confdefs.h. */
10243 _ACEOF
10244 cat confdefs.h >>conftest.$ac_ext
10245 cat >>conftest.$ac_ext <<_ACEOF
10246 /* end confdefs.h. */
10247
10248 /* Override any gcc2 internal prototype to avoid an error. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 /* We use char because int might match the return type of a gcc2
10253 builtin and then its argument prototype would still apply. */
10254 char dlopen ();
10255 int
10256 main ()
10257 {
10258 dlopen ();
10259 ;
10260 return 0;
10261 }
10262 _ACEOF
10263 rm -f conftest.$ac_objext conftest$ac_exeext
10264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10265 (eval $ac_link) 2>conftest.er1
10266 ac_status=$?
10267 grep -v '^ *+' conftest.er1 >conftest.err
10268 rm -f conftest.er1
10269 cat conftest.err >&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } &&
10272 { ac_try='test -z "$ac_c_werror_flag"
10273 || test ! -s conftest.err'
10274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10275 (eval $ac_try) 2>&5
10276 ac_status=$?
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); }; } &&
10279 { ac_try='test -s conftest$ac_exeext'
10280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5
10282 ac_status=$?
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then
10285 ac_cv_lib_dl_dlopen=yes
10286 else
10287 echo "$as_me: failed program was:" >&5
10288 sed 's/^/| /' conftest.$ac_ext >&5
10289
10290 ac_cv_lib_dl_dlopen=no
10291 fi
10292 rm -f conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_lib_save_LIBS
10295 fi
10296 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10297 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10298 if test $ac_cv_lib_dl_dlopen = yes; then
10299 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10300 else
10301 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10302 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10303 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 else
10306 ac_check_lib_save_LIBS=$LIBS
10307 LIBS="-lsvld $LIBS"
10308 if test x$gcc_no_link = xyes; then
10309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10311 { (exit 1); exit 1; }; }
10312 fi
10313 cat >conftest.$ac_ext <<_ACEOF
10314 /* confdefs.h. */
10315 _ACEOF
10316 cat confdefs.h >>conftest.$ac_ext
10317 cat >>conftest.$ac_ext <<_ACEOF
10318 /* end confdefs.h. */
10319
10320 /* Override any gcc2 internal prototype to avoid an error. */
10321 #ifdef __cplusplus
10322 extern "C"
10323 #endif
10324 /* We use char because int might match the return type of a gcc2
10325 builtin and then its argument prototype would still apply. */
10326 char dlopen ();
10327 int
10328 main ()
10329 {
10330 dlopen ();
10331 ;
10332 return 0;
10333 }
10334 _ACEOF
10335 rm -f conftest.$ac_objext conftest$ac_exeext
10336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10337 (eval $ac_link) 2>conftest.er1
10338 ac_status=$?
10339 grep -v '^ *+' conftest.er1 >conftest.err
10340 rm -f conftest.er1
10341 cat conftest.err >&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); } &&
10344 { ac_try='test -z "$ac_c_werror_flag"
10345 || test ! -s conftest.err'
10346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10347 (eval $ac_try) 2>&5
10348 ac_status=$?
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; } &&
10351 { ac_try='test -s conftest$ac_exeext'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10354 ac_status=$?
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); }; }; then
10357 ac_cv_lib_svld_dlopen=yes
10358 else
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.$ac_ext >&5
10361
10362 ac_cv_lib_svld_dlopen=no
10363 fi
10364 rm -f conftest.err conftest.$ac_objext \
10365 conftest$ac_exeext conftest.$ac_ext
10366 LIBS=$ac_check_lib_save_LIBS
10367 fi
10368 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10369 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10370 if test $ac_cv_lib_svld_dlopen = yes; then
10371 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10372 else
10373 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10374 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10375 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10376 echo $ECHO_N "(cached) $ECHO_C" >&6
10377 else
10378 ac_check_lib_save_LIBS=$LIBS
10379 LIBS="-ldld $LIBS"
10380 if test x$gcc_no_link = xyes; then
10381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10383 { (exit 1); exit 1; }; }
10384 fi
10385 cat >conftest.$ac_ext <<_ACEOF
10386 /* confdefs.h. */
10387 _ACEOF
10388 cat confdefs.h >>conftest.$ac_ext
10389 cat >>conftest.$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10391
10392 /* Override any gcc2 internal prototype to avoid an error. */
10393 #ifdef __cplusplus
10394 extern "C"
10395 #endif
10396 /* We use char because int might match the return type of a gcc2
10397 builtin and then its argument prototype would still apply. */
10398 char dld_link ();
10399 int
10400 main ()
10401 {
10402 dld_link ();
10403 ;
10404 return 0;
10405 }
10406 _ACEOF
10407 rm -f conftest.$ac_objext conftest$ac_exeext
10408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10409 (eval $ac_link) 2>conftest.er1
10410 ac_status=$?
10411 grep -v '^ *+' conftest.er1 >conftest.err
10412 rm -f conftest.er1
10413 cat conftest.err >&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } &&
10416 { ac_try='test -z "$ac_c_werror_flag"
10417 || test ! -s conftest.err'
10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10419 (eval $ac_try) 2>&5
10420 ac_status=$?
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; } &&
10423 { ac_try='test -s conftest$ac_exeext'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10426 ac_status=$?
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then
10429 ac_cv_lib_dld_dld_link=yes
10430 else
10431 echo "$as_me: failed program was:" >&5
10432 sed 's/^/| /' conftest.$ac_ext >&5
10433
10434 ac_cv_lib_dld_dld_link=no
10435 fi
10436 rm -f conftest.err conftest.$ac_objext \
10437 conftest$ac_exeext conftest.$ac_ext
10438 LIBS=$ac_check_lib_save_LIBS
10439 fi
10440 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10441 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10442 if test $ac_cv_lib_dld_dld_link = yes; then
10443 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10444 fi
10445
10446
10447 fi
10448
10449
10450 fi
10451
10452
10453 fi
10454
10455
10456 fi
10457
10458
10459 fi
10460
10461 ;;
10462 esac
10463
10464 if test "x$lt_cv_dlopen" != xno; then
10465 enable_dlopen=yes
10466 else
10467 enable_dlopen=no
10468 fi
10469
10470 case $lt_cv_dlopen in
10471 dlopen)
10472 save_CPPFLAGS="$CPPFLAGS"
10473 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10474
10475 save_LDFLAGS="$LDFLAGS"
10476 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10477
10478 save_LIBS="$LIBS"
10479 LIBS="$lt_cv_dlopen_libs $LIBS"
10480
10481 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10482 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10483 if test "${lt_cv_dlopen_self+set}" = set; then
10484 echo $ECHO_N "(cached) $ECHO_C" >&6
10485 else
10486 if test "$cross_compiling" = yes; then :
10487 lt_cv_dlopen_self=cross
10488 else
10489 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10490 lt_status=$lt_dlunknown
10491 cat > conftest.$ac_ext <<_LT_EOF
10492 #line 10492 "configure"
10493 #include "confdefs.h"
10494
10495 #if HAVE_DLFCN_H
10496 #include <dlfcn.h>
10497 #endif
10498
10499 #include <stdio.h>
10500
10501 #ifdef RTLD_GLOBAL
10502 # define LT_DLGLOBAL RTLD_GLOBAL
10503 #else
10504 # ifdef DL_GLOBAL
10505 # define LT_DLGLOBAL DL_GLOBAL
10506 # else
10507 # define LT_DLGLOBAL 0
10508 # endif
10509 #endif
10510
10511 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10512 find out it does not work in some platform. */
10513 #ifndef LT_DLLAZY_OR_NOW
10514 # ifdef RTLD_LAZY
10515 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10516 # else
10517 # ifdef DL_LAZY
10518 # define LT_DLLAZY_OR_NOW DL_LAZY
10519 # else
10520 # ifdef RTLD_NOW
10521 # define LT_DLLAZY_OR_NOW RTLD_NOW
10522 # else
10523 # ifdef DL_NOW
10524 # define LT_DLLAZY_OR_NOW DL_NOW
10525 # else
10526 # define LT_DLLAZY_OR_NOW 0
10527 # endif
10528 # endif
10529 # endif
10530 # endif
10531 #endif
10532
10533 #ifdef __cplusplus
10534 extern "C" void exit (int);
10535 #endif
10536
10537 void fnord() { int i=42;}
10538 int main ()
10539 {
10540 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10541 int status = $lt_dlunknown;
10542
10543 if (self)
10544 {
10545 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10546 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10547 /* dlclose (self); */
10548 }
10549 else
10550 puts (dlerror ());
10551
10552 exit (status);
10553 }
10554 _LT_EOF
10555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10556 (eval $ac_link) 2>&5
10557 ac_status=$?
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10560 (./conftest; exit; ) >&5 2>/dev/null
10561 lt_status=$?
10562 case x$lt_status in
10563 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10564 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10565 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10566 esac
10567 else :
10568 # compilation failed
10569 lt_cv_dlopen_self=no
10570 fi
10571 fi
10572 rm -fr conftest*
10573
10574
10575 fi
10576 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10577 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10578
10579 if test "x$lt_cv_dlopen_self" = xyes; then
10580 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10581 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10582 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10583 if test "${lt_cv_dlopen_self_static+set}" = set; then
10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10585 else
10586 if test "$cross_compiling" = yes; then :
10587 lt_cv_dlopen_self_static=cross
10588 else
10589 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10590 lt_status=$lt_dlunknown
10591 cat > conftest.$ac_ext <<_LT_EOF
10592 #line 10592 "configure"
10593 #include "confdefs.h"
10594
10595 #if HAVE_DLFCN_H
10596 #include <dlfcn.h>
10597 #endif
10598
10599 #include <stdio.h>
10600
10601 #ifdef RTLD_GLOBAL
10602 # define LT_DLGLOBAL RTLD_GLOBAL
10603 #else
10604 # ifdef DL_GLOBAL
10605 # define LT_DLGLOBAL DL_GLOBAL
10606 # else
10607 # define LT_DLGLOBAL 0
10608 # endif
10609 #endif
10610
10611 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10612 find out it does not work in some platform. */
10613 #ifndef LT_DLLAZY_OR_NOW
10614 # ifdef RTLD_LAZY
10615 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10616 # else
10617 # ifdef DL_LAZY
10618 # define LT_DLLAZY_OR_NOW DL_LAZY
10619 # else
10620 # ifdef RTLD_NOW
10621 # define LT_DLLAZY_OR_NOW RTLD_NOW
10622 # else
10623 # ifdef DL_NOW
10624 # define LT_DLLAZY_OR_NOW DL_NOW
10625 # else
10626 # define LT_DLLAZY_OR_NOW 0
10627 # endif
10628 # endif
10629 # endif
10630 # endif
10631 #endif
10632
10633 #ifdef __cplusplus
10634 extern "C" void exit (int);
10635 #endif
10636
10637 void fnord() { int i=42;}
10638 int main ()
10639 {
10640 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10641 int status = $lt_dlunknown;
10642
10643 if (self)
10644 {
10645 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10646 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10647 /* dlclose (self); */
10648 }
10649 else
10650 puts (dlerror ());
10651
10652 exit (status);
10653 }
10654 _LT_EOF
10655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10656 (eval $ac_link) 2>&5
10657 ac_status=$?
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10660 (./conftest; exit; ) >&5 2>/dev/null
10661 lt_status=$?
10662 case x$lt_status in
10663 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10664 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10665 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10666 esac
10667 else :
10668 # compilation failed
10669 lt_cv_dlopen_self_static=no
10670 fi
10671 fi
10672 rm -fr conftest*
10673
10674
10675 fi
10676 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10677 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10678 fi
10679
10680 CPPFLAGS="$save_CPPFLAGS"
10681 LDFLAGS="$save_LDFLAGS"
10682 LIBS="$save_LIBS"
10683 ;;
10684 esac
10685
10686 case $lt_cv_dlopen_self in
10687 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10688 *) enable_dlopen_self=unknown ;;
10689 esac
10690
10691 case $lt_cv_dlopen_self_static in
10692 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10693 *) enable_dlopen_self_static=unknown ;;
10694 esac
10695 fi
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713 striplib=
10714 old_striplib=
10715 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10716 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10717 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10718 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10719 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10720 echo "$as_me:$LINENO: result: yes" >&5
10721 echo "${ECHO_T}yes" >&6
10722 else
10723 # FIXME - insert some real tests, host_os isn't really good enough
10724 case $host_os in
10725 darwin*)
10726 if test -n "$STRIP" ; then
10727 striplib="$STRIP -x"
10728 old_striplib="$STRIP -S"
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10731 else
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10734 fi
10735 ;;
10736 *)
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10739 ;;
10740 esac
10741 fi
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754 # Report which library types will actually be built
10755 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10756 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10757 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10758 echo "${ECHO_T}$can_build_shared" >&6
10759
10760 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10761 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10762 test "$can_build_shared" = "no" && enable_shared=no
10763
10764 # On AIX, shared libraries and static libraries use the same namespace, and
10765 # are all built from PIC.
10766 case $host_os in
10767 aix3*)
10768 test "$enable_shared" = yes && enable_static=no
10769 if test -n "$RANLIB"; then
10770 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10771 postinstall_cmds='$RANLIB $lib'
10772 fi
10773 ;;
10774
10775 aix4* | aix5*)
10776 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10777 test "$enable_shared" = yes && enable_static=no
10778 fi
10779 ;;
10780 esac
10781 echo "$as_me:$LINENO: result: $enable_shared" >&5
10782 echo "${ECHO_T}$enable_shared" >&6
10783
10784 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10785 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10786 # Make sure either enable_shared or enable_static is yes.
10787 test "$enable_shared" = yes || enable_static=yes
10788 echo "$as_me:$LINENO: result: $enable_static" >&5
10789 echo "${ECHO_T}$enable_static" >&6
10790
10791
10792
10793
10794 fi
10795 ac_ext=c
10796 ac_cpp='$CPP $CPPFLAGS'
10797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10800
10801 CC="$lt_save_CC"
10802
10803
10804 ac_ext=cc
10805 ac_cpp='$CXXCPP $CPPFLAGS'
10806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10809
10810 archive_cmds_need_lc_CXX=no
10811 allow_undefined_flag_CXX=
10812 always_export_symbols_CXX=no
10813 archive_expsym_cmds_CXX=
10814 compiler_needs_object_CXX=no
10815 export_dynamic_flag_spec_CXX=
10816 hardcode_direct_CXX=no
10817 hardcode_direct_absolute_CXX=no
10818 hardcode_libdir_flag_spec_CXX=
10819 hardcode_libdir_flag_spec_ld_CXX=
10820 hardcode_libdir_separator_CXX=
10821 hardcode_minus_L_CXX=no
10822 hardcode_shlibpath_var_CXX=unsupported
10823 hardcode_automatic_CXX=no
10824 inherit_rpath_CXX=no
10825 module_cmds_CXX=
10826 module_expsym_cmds_CXX=
10827 link_all_deplibs_CXX=unknown
10828 old_archive_cmds_CXX=$old_archive_cmds
10829 no_undefined_flag_CXX=
10830 whole_archive_flag_spec_CXX=
10831 enable_shared_with_static_runtimes_CXX=no
10832
10833 # Source file extension for C++ test sources.
10834 ac_ext=cpp
10835
10836 # Object file extension for compiled C++ test sources.
10837 objext=o
10838 objext_CXX=$objext
10839
10840 # No sense in running all these tests if we already determined that
10841 # the CXX compiler isn't working. Some variables (like enable_shared)
10842 # are currently assumed to apply to all compilers on this platform,
10843 # and will be corrupted by setting them based on a non-working compiler.
10844 if test "$_lt_caught_CXX_error" != yes; then
10845 # Code to be used in simple compile tests
10846 lt_simple_compile_test_code="int some_variable = 0;"
10847
10848 # Code to be used in simple link tests
10849 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10850
10851 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10852
10853
10854
10855
10856
10857
10858 # If no C compiler was specified, use CC.
10859 LTCC=${LTCC-"$CC"}
10860
10861 # If no C compiler flags were specified, use CFLAGS.
10862 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10863
10864 # Allow CC to be a program name with arguments.
10865 compiler=$CC
10866
10867
10868 # save warnings/boilerplate of simple test code
10869 ac_outfile=conftest.$ac_objext
10870 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10871 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10872 _lt_compiler_boilerplate=`cat conftest.err`
10873 $RM conftest*
10874
10875 ac_outfile=conftest.$ac_objext
10876 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10877 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10878 _lt_linker_boilerplate=`cat conftest.err`
10879 $RM conftest*
10880
10881
10882 # Allow CC to be a program name with arguments.
10883 lt_save_CC=$CC
10884 lt_save_LD=$LD
10885 lt_save_GCC=$GCC
10886 GCC=$GXX
10887 lt_save_with_gnu_ld=$with_gnu_ld
10888 lt_save_path_LD=$lt_cv_path_LD
10889 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10890 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10891 else
10892 $as_unset lt_cv_prog_gnu_ld
10893 fi
10894 if test -n "${lt_cv_path_LDCXX+set}"; then
10895 lt_cv_path_LD=$lt_cv_path_LDCXX
10896 else
10897 $as_unset lt_cv_path_LD
10898 fi
10899 test -z "${LDCXX+set}" || LD=$LDCXX
10900 CC=${CXX-"c++"}
10901 compiler=$CC
10902 compiler_CXX=$CC
10903 for cc_temp in $compiler""; do
10904 case $cc_temp in
10905 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10906 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10907 \-*) ;;
10908 *) break;;
10909 esac
10910 done
10911 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10912
10913
10914 if test -n "$compiler"; then
10915 # We don't want -fno-exception when compiling C++ code, so set the
10916 # no_builtin_flag separately
10917 if test "$GXX" = yes; then
10918 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10919 else
10920 lt_prog_compiler_no_builtin_flag_CXX=
10921 fi
10922
10923 if test "$GXX" = yes; then
10924 # Set up default GNU C++ configuration
10925
10926
10927
10928 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10929 if test "${with_gnu_ld+set}" = set; then
10930 withval="$with_gnu_ld"
10931 test "$withval" = no || with_gnu_ld=yes
10932 else
10933 with_gnu_ld=no
10934 fi;
10935 ac_prog=ld
10936 if test "$GCC" = yes; then
10937 # Check if gcc -print-prog-name=ld gives a path.
10938 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10939 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10940 case $host in
10941 *-*-mingw*)
10942 # gcc leaves a trailing carriage return which upsets mingw
10943 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10944 *)
10945 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10946 esac
10947 case $ac_prog in
10948 # Accept absolute paths.
10949 [\\/]* | ?:[\\/]*)
10950 re_direlt='/[^/][^/]*/\.\./'
10951 # Canonicalize the pathname of ld
10952 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10953 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10954 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10955 done
10956 test -z "$LD" && LD="$ac_prog"
10957 ;;
10958 "")
10959 # If it fails, then pretend we aren't using GCC.
10960 ac_prog=ld
10961 ;;
10962 *)
10963 # If it is relative, then search for the first ld in PATH.
10964 with_gnu_ld=unknown
10965 ;;
10966 esac
10967 elif test "$with_gnu_ld" = yes; then
10968 echo "$as_me:$LINENO: checking for GNU ld" >&5
10969 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10970 else
10971 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10972 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10973 fi
10974 if test "${lt_cv_path_LD+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10976 else
10977 if test -z "$LD"; then
10978 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10979 for ac_dir in $PATH; do
10980 IFS="$lt_save_ifs"
10981 test -z "$ac_dir" && ac_dir=.
10982 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10983 lt_cv_path_LD="$ac_dir/$ac_prog"
10984 # Check to see if the program is GNU ld. I'd rather use --version,
10985 # but apparently some variants of GNU ld only accept -v.
10986 # Break only if it was the GNU/non-GNU ld that we prefer.
10987 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10988 *GNU* | *'with BFD'*)
10989 test "$with_gnu_ld" != no && break
10990 ;;
10991 *)
10992 test "$with_gnu_ld" != yes && break
10993 ;;
10994 esac
10995 fi
10996 done
10997 IFS="$lt_save_ifs"
10998 else
10999 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11000 fi
11001 fi
11002
11003 LD="$lt_cv_path_LD"
11004 if test -n "$LD"; then
11005 echo "$as_me:$LINENO: result: $LD" >&5
11006 echo "${ECHO_T}$LD" >&6
11007 else
11008 echo "$as_me:$LINENO: result: no" >&5
11009 echo "${ECHO_T}no" >&6
11010 fi
11011 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11012 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11013 { (exit 1); exit 1; }; }
11014 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11015 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11016 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11017 echo $ECHO_N "(cached) $ECHO_C" >&6
11018 else
11019 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11020 case `$LD -v 2>&1 </dev/null` in
11021 *GNU* | *'with BFD'*)
11022 lt_cv_prog_gnu_ld=yes
11023 ;;
11024 *)
11025 lt_cv_prog_gnu_ld=no
11026 ;;
11027 esac
11028 fi
11029 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11030 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11031 with_gnu_ld=$lt_cv_prog_gnu_ld
11032
11033
11034
11035
11036
11037
11038
11039 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11040 # archiving commands below assume that GNU ld is being used.
11041 if test "$with_gnu_ld" = yes; then
11042 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11043 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11044
11045 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11046 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11047
11048 # If archive_cmds runs LD, not CC, wlarc should be empty
11049 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11050 # investigate it a little bit more. (MM)
11051 wlarc='${wl}'
11052
11053 # ancient GNU ld didn't support --whole-archive et. al.
11054 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11055 $GREP 'no-whole-archive' > /dev/null; then
11056 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11057 else
11058 whole_archive_flag_spec_CXX=
11059 fi
11060 else
11061 with_gnu_ld=no
11062 wlarc=
11063
11064 # A generic and very simple default shared library creation
11065 # command for GNU C++ for the case where it uses the native
11066 # linker, instead of GNU ld. If possible, this setting should
11067 # overridden to take advantage of the native linker features on
11068 # the platform it is being used on.
11069 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11070 fi
11071
11072 # Commands to make compiler produce verbose output that lists
11073 # what "hidden" libraries, object files and flags are used when
11074 # linking a shared library.
11075 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11076
11077 else
11078 GXX=no
11079 with_gnu_ld=no
11080 wlarc=
11081 fi
11082
11083 # PORTME: fill in a description of your system's C++ link characteristics
11084 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11085 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11086 ld_shlibs_CXX=yes
11087 case $host_os in
11088 aix3*)
11089 # FIXME: insert proper C++ library support
11090 ld_shlibs_CXX=no
11091 ;;
11092 aix4* | aix5*)
11093 if test "$host_cpu" = ia64; then
11094 # On IA64, the linker does run time linking by default, so we don't
11095 # have to do anything special.
11096 aix_use_runtimelinking=no
11097 exp_sym_flag='-Bexport'
11098 no_entry_flag=""
11099 else
11100 aix_use_runtimelinking=no
11101
11102 # Test if we are trying to use run time linking or normal
11103 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11104 # need to do runtime linking.
11105 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11106 for ld_flag in $LDFLAGS; do
11107 case $ld_flag in
11108 *-brtl*)
11109 aix_use_runtimelinking=yes
11110 break
11111 ;;
11112 esac
11113 done
11114 ;;
11115 esac
11116
11117 exp_sym_flag='-bexport'
11118 no_entry_flag='-bnoentry'
11119 fi
11120
11121 # When large executables or shared objects are built, AIX ld can
11122 # have problems creating the table of contents. If linking a library
11123 # or program results in "error TOC overflow" add -mminimal-toc to
11124 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11125 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11126
11127 archive_cmds_CXX=''
11128 hardcode_direct_CXX=yes
11129 hardcode_direct_absolute_CXX=yes
11130 hardcode_libdir_separator_CXX=':'
11131 link_all_deplibs_CXX=yes
11132 file_list_spec_CXX='${wl}-f,'
11133
11134 if test "$GXX" = yes; then
11135 case $host_os in aix4.[012]|aix4.[012].*)
11136 # We only want to do this on AIX 4.2 and lower, the check
11137 # below for broken collect2 doesn't work under 4.3+
11138 collect2name=`${CC} -print-prog-name=collect2`
11139 if test -f "$collect2name" &&
11140 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11141 then
11142 # We have reworked collect2
11143 :
11144 else
11145 # We have old collect2
11146 hardcode_direct_CXX=unsupported
11147 # It fails to find uninstalled libraries when the uninstalled
11148 # path is not listed in the libpath. Setting hardcode_minus_L
11149 # to unsupported forces relinking
11150 hardcode_minus_L_CXX=yes
11151 hardcode_libdir_flag_spec_CXX='-L$libdir'
11152 hardcode_libdir_separator_CXX=
11153 fi
11154 esac
11155 shared_flag='-shared'
11156 if test "$aix_use_runtimelinking" = yes; then
11157 shared_flag="$shared_flag "'${wl}-G'
11158 fi
11159 else
11160 # not using gcc
11161 if test "$host_cpu" = ia64; then
11162 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11163 # chokes on -Wl,-G. The following line is correct:
11164 shared_flag='-G'
11165 else
11166 if test "$aix_use_runtimelinking" = yes; then
11167 shared_flag='${wl}-G'
11168 else
11169 shared_flag='${wl}-bM:SRE'
11170 fi
11171 fi
11172 fi
11173
11174 # It seems that -bexpall does not export symbols beginning with
11175 # underscore (_), so it is better to generate a list of symbols to
11176 # export.
11177 always_export_symbols_CXX=yes
11178 if test "$aix_use_runtimelinking" = yes; then
11179 # Warning - without using the other runtime loading flags (-brtl),
11180 # -berok will link without error, but may produce a broken library.
11181 allow_undefined_flag_CXX='-berok'
11182 # Determine the default libpath from the value encoded in an empty
11183 # executable.
11184 if test x$gcc_no_link = xyes; then
11185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11187 { (exit 1); exit 1; }; }
11188 fi
11189 cat >conftest.$ac_ext <<_ACEOF
11190 /* confdefs.h. */
11191 _ACEOF
11192 cat confdefs.h >>conftest.$ac_ext
11193 cat >>conftest.$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11195
11196 int
11197 main ()
11198 {
11199
11200 ;
11201 return 0;
11202 }
11203 _ACEOF
11204 rm -f conftest.$ac_objext conftest$ac_exeext
11205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11206 (eval $ac_link) 2>conftest.er1
11207 ac_status=$?
11208 grep -v '^ *+' conftest.er1 >conftest.err
11209 rm -f conftest.er1
11210 cat conftest.err >&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); } &&
11213 { ac_try='test -z "$ac_cxx_werror_flag"
11214 || test ! -s conftest.err'
11215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11216 (eval $ac_try) 2>&5
11217 ac_status=$?
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); }; } &&
11220 { ac_try='test -s conftest$ac_exeext'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11223 ac_status=$?
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; }; then
11226
11227 lt_aix_libpath_sed='
11228 /Import File Strings/,/^$/ {
11229 /^0/ {
11230 s/^0 *\(.*\)$/\1/
11231 p
11232 }
11233 }'
11234 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11235 # Check for a 64-bit object if we didn't find anything.
11236 if test -z "$aix_libpath"; then
11237 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11238 fi
11239 else
11240 echo "$as_me: failed program was:" >&5
11241 sed 's/^/| /' conftest.$ac_ext >&5
11242
11243 fi
11244 rm -f conftest.err conftest.$ac_objext \
11245 conftest$ac_exeext conftest.$ac_ext
11246 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11247
11248 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11249
11250 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11251 else
11252 if test "$host_cpu" = ia64; then
11253 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11254 allow_undefined_flag_CXX="-z nodefs"
11255 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11256 else
11257 # Determine the default libpath from the value encoded in an
11258 # empty executable.
11259 if test x$gcc_no_link = xyes; then
11260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11262 { (exit 1); exit 1; }; }
11263 fi
11264 cat >conftest.$ac_ext <<_ACEOF
11265 /* confdefs.h. */
11266 _ACEOF
11267 cat confdefs.h >>conftest.$ac_ext
11268 cat >>conftest.$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11270
11271 int
11272 main ()
11273 {
11274
11275 ;
11276 return 0;
11277 }
11278 _ACEOF
11279 rm -f conftest.$ac_objext conftest$ac_exeext
11280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11281 (eval $ac_link) 2>conftest.er1
11282 ac_status=$?
11283 grep -v '^ *+' conftest.er1 >conftest.err
11284 rm -f conftest.er1
11285 cat conftest.err >&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } &&
11288 { ac_try='test -z "$ac_cxx_werror_flag"
11289 || test ! -s conftest.err'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11292 ac_status=$?
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; } &&
11295 { ac_try='test -s conftest$ac_exeext'
11296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297 (eval $ac_try) 2>&5
11298 ac_status=$?
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11301
11302 lt_aix_libpath_sed='
11303 /Import File Strings/,/^$/ {
11304 /^0/ {
11305 s/^0 *\(.*\)$/\1/
11306 p
11307 }
11308 }'
11309 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11310 # Check for a 64-bit object if we didn't find anything.
11311 if test -z "$aix_libpath"; then
11312 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11313 fi
11314 else
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.$ac_ext >&5
11317
11318 fi
11319 rm -f conftest.err conftest.$ac_objext \
11320 conftest$ac_exeext conftest.$ac_ext
11321 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11322
11323 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11324 # Warning - without using the other run time loading flags,
11325 # -berok will link without error, but may produce a broken library.
11326 no_undefined_flag_CXX=' ${wl}-bernotok'
11327 allow_undefined_flag_CXX=' ${wl}-berok'
11328 # Exported symbols can be pulled into shared objects from archives
11329 whole_archive_flag_spec_CXX='$convenience'
11330 archive_cmds_need_lc_CXX=yes
11331 # This is similar to how AIX traditionally builds its shared
11332 # libraries.
11333 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11334 fi
11335 fi
11336 ;;
11337
11338 beos*)
11339 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11340 allow_undefined_flag_CXX=unsupported
11341 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11342 # support --undefined. This deserves some investigation. FIXME
11343 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11344 else
11345 ld_shlibs_CXX=no
11346 fi
11347 ;;
11348
11349 chorus*)
11350 case $cc_basename in
11351 *)
11352 # FIXME: insert proper C++ library support
11353 ld_shlibs_CXX=no
11354 ;;
11355 esac
11356 ;;
11357
11358 cygwin* | mingw* | pw32*)
11359 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11360 # as there is no search path for DLLs.
11361 hardcode_libdir_flag_spec_CXX='-L$libdir'
11362 allow_undefined_flag_CXX=unsupported
11363 always_export_symbols_CXX=no
11364 enable_shared_with_static_runtimes_CXX=yes
11365
11366 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11367 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11368 # If the export-symbols file already is a .def file (1st line
11369 # is EXPORTS), use it as is; otherwise, prepend...
11370 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11371 cp $export_symbols $output_objdir/$soname.def;
11372 else
11373 echo EXPORTS > $output_objdir/$soname.def;
11374 cat $export_symbols >> $output_objdir/$soname.def;
11375 fi~
11376 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11377 else
11378 ld_shlibs_CXX=no
11379 fi
11380 ;;
11381 darwin* | rhapsody*)
11382 case $host_os in
11383 rhapsody* | darwin1.[012])
11384 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11385 ;;
11386 *) # Darwin 1.3 on
11387 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11388 10.[012])
11389 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11390 ;;
11391 10.*)
11392 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11393 ;;
11394 esac
11395 ;;
11396 esac
11397 archive_cmds_need_lc_CXX=no
11398 hardcode_direct_CXX=no
11399 hardcode_automatic_CXX=yes
11400 hardcode_shlibpath_var_CXX=unsupported
11401 whole_archive_flag_spec_CXX=''
11402 link_all_deplibs_CXX=yes
11403
11404 if test "$GXX" = yes ; then
11405 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11406 echo $ECHO_N "(cached) $ECHO_C" >&6
11407 else
11408 lt_cv_apple_cc_single_mod=no
11409 if test -z "${LT_MULTI_MODULE}"; then
11410 # By default we will add the -single_module flag. You can override
11411 # by either setting the environment variable LT_MULTI_MODULE
11412 # non-empty at configure time, or by adding -multi-module to the
11413 # link flags.
11414 echo "int foo(void){return 1;}" > conftest.c
11415 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11416 -dynamiclib ${wl}-single_module conftest.c
11417 if test -f libconftest.dylib; then
11418 lt_cv_apple_cc_single_mod=yes
11419 rm libconftest.dylib
11420 fi
11421 rm conftest.$ac_ext
11422 fi
11423 fi
11424
11425 output_verbose_link_cmd=echo
11426 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11427 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11428 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11429 else
11430 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11431 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11432 fi
11433 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11434 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11435 else
11436 case $cc_basename in
11437 xlc*)
11438 output_verbose_link_cmd=echo
11439 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
11440 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11441 # Don't fix this by using the ld -exported_symbols_list flag,
11442 # it doesn't exist in older darwin lds
11443 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11444 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11445 ;;
11446 *)
11447 ld_shlibs_CXX=no
11448 ;;
11449 esac
11450 fi
11451 ;;
11452
11453 dgux*)
11454 case $cc_basename in
11455 ec++*)
11456 # FIXME: insert proper C++ library support
11457 ld_shlibs_CXX=no
11458 ;;
11459 ghcx*)
11460 # Green Hills C++ Compiler
11461 # FIXME: insert proper C++ library support
11462 ld_shlibs_CXX=no
11463 ;;
11464 *)
11465 # FIXME: insert proper C++ library support
11466 ld_shlibs_CXX=no
11467 ;;
11468 esac
11469 ;;
11470
11471 freebsd[12]*)
11472 # C++ shared libraries reported to be fairly broken before
11473 # switch to ELF
11474 ld_shlibs_CXX=no
11475 ;;
11476
11477 freebsd-elf*)
11478 archive_cmds_need_lc_CXX=no
11479 ;;
11480
11481 freebsd* | dragonfly*)
11482 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11483 # conventions
11484 ld_shlibs_CXX=yes
11485 ;;
11486
11487 gnu*)
11488 ;;
11489
11490 hpux9*)
11491 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11492 hardcode_libdir_separator_CXX=:
11493 export_dynamic_flag_spec_CXX='${wl}-E'
11494 hardcode_direct_CXX=yes
11495 hardcode_minus_L_CXX=yes # Not in the search PATH,
11496 # but as the default
11497 # location of the library.
11498
11499 case $cc_basename in
11500 CC*)
11501 # FIXME: insert proper C++ library support
11502 ld_shlibs_CXX=no
11503 ;;
11504 aCC*)
11505 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11506 # Commands to make compiler produce verbose output that lists
11507 # what "hidden" libraries, object files and flags are used when
11508 # linking a shared library.
11509 #
11510 # There doesn't appear to be a way to prevent this compiler from
11511 # explicitly linking system object files so we need to strip them
11512 # from the output so that they don't get included in the library
11513 # dependencies.
11514 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11515 ;;
11516 *)
11517 if test "$GXX" = yes; then
11518 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11519 else
11520 # FIXME: insert proper C++ library support
11521 ld_shlibs_CXX=no
11522 fi
11523 ;;
11524 esac
11525 ;;
11526
11527 hpux10*|hpux11*)
11528 if test $with_gnu_ld = no; then
11529 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11530 hardcode_libdir_separator_CXX=:
11531
11532 case $host_cpu in
11533 hppa*64*|ia64*)
11534 ;;
11535 *)
11536 export_dynamic_flag_spec_CXX='${wl}-E'
11537 ;;
11538 esac
11539 fi
11540 case $host_cpu in
11541 hppa*64*|ia64*)
11542 hardcode_direct_CXX=no
11543 hardcode_shlibpath_var_CXX=no
11544 ;;
11545 *)
11546 hardcode_direct_CXX=yes
11547 hardcode_direct_absolute_CXX=yes
11548 hardcode_minus_L_CXX=yes # Not in the search PATH,
11549 # but as the default
11550 # location of the library.
11551 ;;
11552 esac
11553
11554 case $cc_basename in
11555 CC*)
11556 # FIXME: insert proper C++ library support
11557 ld_shlibs_CXX=no
11558 ;;
11559 aCC*)
11560 case $host_cpu in
11561 hppa*64*)
11562 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11563 ;;
11564 ia64*)
11565 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11566 ;;
11567 *)
11568 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11569 ;;
11570 esac
11571 # Commands to make compiler produce verbose output that lists
11572 # what "hidden" libraries, object files and flags are used when
11573 # linking a shared library.
11574 #
11575 # There doesn't appear to be a way to prevent this compiler from
11576 # explicitly linking system object files so we need to strip them
11577 # from the output so that they don't get included in the library
11578 # dependencies.
11579 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11580 ;;
11581 *)
11582 if test "$GXX" = yes; then
11583 if test $with_gnu_ld = no; then
11584 case $host_cpu in
11585 hppa*64*)
11586 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11587 ;;
11588 ia64*)
11589 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11590 ;;
11591 *)
11592 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11593 ;;
11594 esac
11595 fi
11596 else
11597 # FIXME: insert proper C++ library support
11598 ld_shlibs_CXX=no
11599 fi
11600 ;;
11601 esac
11602 ;;
11603
11604 interix[3-9]*)
11605 hardcode_direct_CXX=no
11606 hardcode_shlibpath_var_CXX=no
11607 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11608 export_dynamic_flag_spec_CXX='${wl}-E'
11609 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11610 # Instead, shared libraries are loaded at an image base (0x10000000 by
11611 # default) and relocated if they conflict, which is a slow very memory
11612 # consuming and fragmenting process. To avoid this, we pick a random,
11613 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11614 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11615 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11616 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11617 ;;
11618 irix5* | irix6*)
11619 case $cc_basename in
11620 CC*)
11621 # SGI C++
11622 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11623
11624 # Archives containing C++ object files must be created using
11625 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11626 # necessary to make sure instantiated templates are included
11627 # in the archive.
11628 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11629 ;;
11630 *)
11631 if test "$GXX" = yes; then
11632 if test "$with_gnu_ld" = no; then
11633 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11634 else
11635 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
11636 fi
11637 fi
11638 link_all_deplibs_CXX=yes
11639 ;;
11640 esac
11641 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11642 hardcode_libdir_separator_CXX=:
11643 inherit_rpath_CXX=yes
11644 ;;
11645
11646 linux* | k*bsd*-gnu)
11647 case $cc_basename in
11648 KCC*)
11649 # Kuck and Associates, Inc. (KAI) C++ Compiler
11650
11651 # KCC will only create a shared library if the output file
11652 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11653 # to its proper name (with version) after linking.
11654 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11655 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11656 # Commands to make compiler produce verbose output that lists
11657 # what "hidden" libraries, object files and flags are used when
11658 # linking a shared library.
11659 #
11660 # There doesn't appear to be a way to prevent this compiler from
11661 # explicitly linking system object files so we need to strip them
11662 # from the output so that they don't get included in the library
11663 # dependencies.
11664 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11665
11666 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11667 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11668
11669 # Archives containing C++ object files must be created using
11670 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11671 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11672 ;;
11673 icpc* | ecpc* )
11674 # Intel C++
11675 with_gnu_ld=yes
11676 # version 8.0 and above of icpc choke on multiply defined symbols
11677 # if we add $predep_objects and $postdep_objects, however 7.1 and
11678 # earlier do not add the objects themselves.
11679 case `$CC -V 2>&1` in
11680 *"Version 7."*)
11681 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11682 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11683 ;;
11684 *) # Version 8.0 or newer
11685 tmp_idyn=
11686 case $host_cpu in
11687 ia64*) tmp_idyn=' -i_dynamic';;
11688 esac
11689 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11690 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11691 ;;
11692 esac
11693 archive_cmds_need_lc_CXX=no
11694 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11695 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11696 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11697 ;;
11698 pgCC*)
11699 # Portland Group C++ compiler
11700 case `$CC -V` in
11701 *pgCC\ [1-5]*)
11702 prelink_cmds_CXX='tpldir=Template.dir~
11703 rm -rf $tpldir~
11704 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11705 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11706 old_archive_cmds_CXX='tpldir=Template.dir~
11707 rm -rf $tpldir~
11708 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11709 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11710 $RANLIB $oldlib'
11711 archive_cmds_CXX='tpldir=Template.dir~
11712 rm -rf $tpldir~
11713 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11714 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11715 archive_expsym_cmds_CXX='tpldir=Template.dir~
11716 rm -rf $tpldir~
11717 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11718 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11719 ;;
11720 *) # Version 6 will use weak symbols
11721 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11722 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11723 ;;
11724 esac
11725
11726 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11727 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11728 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11729 ;;
11730 cxx*)
11731 # Compaq C++
11732 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11733 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11734
11735 runpath_var=LD_RUN_PATH
11736 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11737 hardcode_libdir_separator_CXX=:
11738
11739 # Commands to make compiler produce verbose output that lists
11740 # what "hidden" libraries, object files and flags are used when
11741 # linking a shared library.
11742 #
11743 # There doesn't appear to be a way to prevent this compiler from
11744 # explicitly linking system object files so we need to strip them
11745 # from the output so that they don't get included in the library
11746 # dependencies.
11747 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11748 ;;
11749 *)
11750 case `$CC -V 2>&1 | sed 5q` in
11751 *Sun\ C*)
11752 # Sun C++ 5.9
11753 no_undefined_flag_CXX=' -zdefs'
11754 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11755 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11756 hardcode_libdir_flag_spec_CXX='-R$libdir'
11757 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11758 compiler_needs_object_CXX=yes
11759
11760 # Not sure whether something based on
11761 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11762 # would be better.
11763 output_verbose_link_cmd='echo'
11764
11765 # Archives containing C++ object files must be created using
11766 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11767 # necessary to make sure instantiated templates are included
11768 # in the archive.
11769 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11770 ;;
11771 esac
11772 ;;
11773 esac
11774 ;;
11775
11776 lynxos*)
11777 # FIXME: insert proper C++ library support
11778 ld_shlibs_CXX=no
11779 ;;
11780
11781 m88k*)
11782 # FIXME: insert proper C++ library support
11783 ld_shlibs_CXX=no
11784 ;;
11785
11786 mvs*)
11787 case $cc_basename in
11788 cxx*)
11789 # FIXME: insert proper C++ library support
11790 ld_shlibs_CXX=no
11791 ;;
11792 *)
11793 # FIXME: insert proper C++ library support
11794 ld_shlibs_CXX=no
11795 ;;
11796 esac
11797 ;;
11798
11799 netbsd*)
11800 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11801 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11802 wlarc=
11803 hardcode_libdir_flag_spec_CXX='-R$libdir'
11804 hardcode_direct_CXX=yes
11805 hardcode_shlibpath_var_CXX=no
11806 fi
11807 # Workaround some broken pre-1.5 toolchains
11808 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11809 ;;
11810
11811 *nto* | *qnx*)
11812 ld_shlibs_CXX=yes
11813 ;;
11814
11815 openbsd2*)
11816 # C++ shared libraries are fairly broken
11817 ld_shlibs_CXX=no
11818 ;;
11819
11820 openbsd*)
11821 hardcode_direct_CXX=yes
11822 hardcode_shlibpath_var_CXX=no
11823 hardcode_direct_absolute_CXX=yes
11824 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11825 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11826 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11827 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11828 export_dynamic_flag_spec_CXX='${wl}-E'
11829 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11830 fi
11831 output_verbose_link_cmd=echo
11832 ;;
11833
11834 osf3* | osf4* | osf5*)
11835 case $cc_basename in
11836 KCC*)
11837 # Kuck and Associates, Inc. (KAI) C++ Compiler
11838
11839 # KCC will only create a shared library if the output file
11840 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11841 # to its proper name (with version) after linking.
11842 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11843
11844 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11845 hardcode_libdir_separator_CXX=:
11846
11847 # Archives containing C++ object files must be created using
11848 # the KAI C++ compiler.
11849 case $host in
11850 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11851 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11852 esac
11853 ;;
11854 RCC*)
11855 # Rational C++ 2.4.1
11856 # FIXME: insert proper C++ library support
11857 ld_shlibs_CXX=no
11858 ;;
11859 cxx*)
11860 case $host in
11861 osf3*)
11862 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11863 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11864 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11865 ;;
11866 *)
11867 allow_undefined_flag_CXX=' -expect_unresolved \*'
11868 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11869 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11870 echo "-hidden">> $lib.exp~
11871 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
11872 $RM $lib.exp'
11873 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11874 ;;
11875 esac
11876
11877 hardcode_libdir_separator_CXX=:
11878
11879 # Commands to make compiler produce verbose output that lists
11880 # what "hidden" libraries, object files and flags are used when
11881 # linking a shared library.
11882 #
11883 # There doesn't appear to be a way to prevent this compiler from
11884 # explicitly linking system object files so we need to strip them
11885 # from the output so that they don't get included in the library
11886 # dependencies.
11887 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11888 ;;
11889 *)
11890 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11891 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11892 case $host in
11893 osf3*)
11894 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11895 ;;
11896 *)
11897 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11898 ;;
11899 esac
11900
11901 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11902 hardcode_libdir_separator_CXX=:
11903
11904 # Commands to make compiler produce verbose output that lists
11905 # what "hidden" libraries, object files and flags are used when
11906 # linking a shared library.
11907 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11908
11909 else
11910 # FIXME: insert proper C++ library support
11911 ld_shlibs_CXX=no
11912 fi
11913 ;;
11914 esac
11915 ;;
11916
11917 psos*)
11918 # FIXME: insert proper C++ library support
11919 ld_shlibs_CXX=no
11920 ;;
11921
11922 sunos4*)
11923 case $cc_basename in
11924 CC*)
11925 # Sun C++ 4.x
11926 # FIXME: insert proper C++ library support
11927 ld_shlibs_CXX=no
11928 ;;
11929 lcc*)
11930 # Lucid
11931 # FIXME: insert proper C++ library support
11932 ld_shlibs_CXX=no
11933 ;;
11934 *)
11935 # FIXME: insert proper C++ library support
11936 ld_shlibs_CXX=no
11937 ;;
11938 esac
11939 ;;
11940
11941 solaris*)
11942 case $cc_basename in
11943 CC*)
11944 # Sun C++ 4.2, 5.x and Centerline C++
11945 archive_cmds_need_lc_CXX=yes
11946 no_undefined_flag_CXX=' -zdefs'
11947 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11948 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11949 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11950
11951 hardcode_libdir_flag_spec_CXX='-R$libdir'
11952 hardcode_shlibpath_var_CXX=no
11953 case $host_os in
11954 solaris2.[0-5] | solaris2.[0-5].*) ;;
11955 *)
11956 # The compiler driver will combine and reorder linker options,
11957 # but understands `-z linker_flag'.
11958 # Supported since Solaris 2.6 (maybe 2.5.1?)
11959 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11960 ;;
11961 esac
11962 link_all_deplibs_CXX=yes
11963
11964 output_verbose_link_cmd='echo'
11965
11966 # Archives containing C++ object files must be created using
11967 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11968 # necessary to make sure instantiated templates are included
11969 # in the archive.
11970 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11971 ;;
11972 gcx*)
11973 # Green Hills C++ Compiler
11974 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11975
11976 # The C++ compiler must be used to create the archive.
11977 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11978 ;;
11979 *)
11980 # GNU C++ compiler with Solaris linker
11981 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11982 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11983 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11984 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11985 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11986 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11987
11988 # Commands to make compiler produce verbose output that lists
11989 # what "hidden" libraries, object files and flags are used when
11990 # linking a shared library.
11991 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11992 else
11993 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11994 # platform.
11995 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11996 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11997 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11998
11999 # Commands to make compiler produce verbose output that lists
12000 # what "hidden" libraries, object files and flags are used when
12001 # linking a shared library.
12002 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12003 fi
12004
12005 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12006 case $host_os in
12007 solaris2.[0-5] | solaris2.[0-5].*) ;;
12008 *)
12009 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12010 ;;
12011 esac
12012 fi
12013 ;;
12014 esac
12015 ;;
12016
12017 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12018 no_undefined_flag_CXX='${wl}-z,text'
12019 archive_cmds_need_lc_CXX=no
12020 hardcode_shlibpath_var_CXX=no
12021 runpath_var='LD_RUN_PATH'
12022
12023 case $cc_basename in
12024 CC*)
12025 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12026 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12027 ;;
12028 *)
12029 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12030 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12031 ;;
12032 esac
12033 ;;
12034
12035 sysv5* | sco3.2v5* | sco5v6*)
12036 # Note: We can NOT use -z defs as we might desire, because we do not
12037 # link with -lc, and that would cause any symbols used from libc to
12038 # always be unresolved, which means just about no library would
12039 # ever link correctly. If we're not using GNU ld we use -z text
12040 # though, which does catch some bad symbols but isn't as heavy-handed
12041 # as -z defs.
12042 no_undefined_flag_CXX='${wl}-z,text'
12043 allow_undefined_flag_CXX='${wl}-z,nodefs'
12044 archive_cmds_need_lc_CXX=no
12045 hardcode_shlibpath_var_CXX=no
12046 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12047 hardcode_libdir_separator_CXX=':'
12048 link_all_deplibs_CXX=yes
12049 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12050 runpath_var='LD_RUN_PATH'
12051
12052 case $cc_basename in
12053 CC*)
12054 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12055 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12056 ;;
12057 *)
12058 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12059 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12060 ;;
12061 esac
12062 ;;
12063
12064 tandem*)
12065 case $cc_basename in
12066 NCC*)
12067 # NonStop-UX NCC 3.20
12068 # FIXME: insert proper C++ library support
12069 ld_shlibs_CXX=no
12070 ;;
12071 *)
12072 # FIXME: insert proper C++ library support
12073 ld_shlibs_CXX=no
12074 ;;
12075 esac
12076 ;;
12077
12078 vxworks*)
12079 # FIXME: insert proper C++ library support
12080 ld_shlibs_CXX=no
12081 ;;
12082
12083 *)
12084 # FIXME: insert proper C++ library support
12085 ld_shlibs_CXX=no
12086 ;;
12087 esac
12088
12089 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12090 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12091 test "$ld_shlibs_CXX" = no && can_build_shared=no
12092
12093 GCC_CXX="$GXX"
12094 LD_CXX="$LD"
12095
12096 ## CAVEAT EMPTOR:
12097 ## There is no encapsulation within the following macros, do not change
12098 ## the running order or otherwise move them around unless you know exactly
12099 ## what you are doing...
12100 # Dependencies to place before and after the object being linked:
12101 predep_objects_CXX=
12102 postdep_objects_CXX=
12103 predeps_CXX=
12104 postdeps_CXX=
12105 compiler_lib_search_path_CXX=
12106
12107 cat > conftest.$ac_ext <<_LT_EOF
12108 class Foo
12109 {
12110 public:
12111 Foo (void) { a = 0; }
12112 private:
12113 int a;
12114 };
12115 _LT_EOF
12116
12117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12118 (eval $ac_compile) 2>&5
12119 ac_status=$?
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; then
12122 # Parse the compiler output and extract the necessary
12123 # objects, libraries and library flags.
12124
12125 # Sentinel used to keep track of whether or not we are before
12126 # the conftest object file.
12127 pre_test_object_deps_done=no
12128
12129 # The `*' in the case matches for architectures that use `case' in
12130 # $output_verbose_cmd can trigger glob expansion during the loop
12131 # eval without this substitution.
12132 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12133
12134 for p in `eval $output_verbose_link_cmd`; do
12135 case $p in
12136
12137 -L* | -R* | -l*)
12138 # Some compilers place space between "-{L,R}" and the path.
12139 # Remove the space.
12140 if test $p = "-L" ||
12141 test $p = "-R"; then
12142 prev=$p
12143 continue
12144 else
12145 prev=
12146 fi
12147
12148 if test "$pre_test_object_deps_done" = no; then
12149 case $p in
12150 -L* | -R*)
12151 # Internal compiler library paths should come after those
12152 # provided the user. The postdeps already come after the
12153 # user supplied libs so there is no need to process them.
12154 if test -z "$compiler_lib_search_path_CXX"; then
12155 compiler_lib_search_path_CXX="${prev}${p}"
12156 else
12157 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12158 fi
12159 ;;
12160 # The "-l" case would never come before the object being
12161 # linked, so don't bother handling this case.
12162 esac
12163 else
12164 if test -z "$postdeps_CXX"; then
12165 postdeps_CXX="${prev}${p}"
12166 else
12167 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12168 fi
12169 fi
12170 ;;
12171
12172 *.$objext)
12173 # This assumes that the test object file only shows up
12174 # once in the compiler output.
12175 if test "$p" = "conftest.$objext"; then
12176 pre_test_object_deps_done=yes
12177 continue
12178 fi
12179
12180 if test "$pre_test_object_deps_done" = no; then
12181 if test -z "$predep_objects_CXX"; then
12182 predep_objects_CXX="$p"
12183 else
12184 predep_objects_CXX="$predep_objects_CXX $p"
12185 fi
12186 else
12187 if test -z "$postdep_objects_CXX"; then
12188 postdep_objects_CXX="$p"
12189 else
12190 postdep_objects_CXX="$postdep_objects_CXX $p"
12191 fi
12192 fi
12193 ;;
12194
12195 *) ;; # Ignore the rest.
12196
12197 esac
12198 done
12199
12200 # Clean up.
12201 rm -f a.out a.exe
12202 else
12203 echo "libtool.m4: error: problem compiling CXX test program"
12204 fi
12205
12206 $RM -f confest.$objext
12207
12208 # PORTME: override above test on systems where it is broken
12209 case $host_os in
12210 interix[3-9]*)
12211 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12212 # hack all around it, let's just trust "g++" to DTRT.
12213 predep_objects_CXX=
12214 postdep_objects_CXX=
12215 postdeps_CXX=
12216 ;;
12217
12218 linux*)
12219 case `$CC -V 2>&1 | sed 5q` in
12220 *Sun\ C*)
12221 # Sun C++ 5.9
12222
12223 # The more standards-conforming stlport4 library is
12224 # incompatible with the Cstd library. Avoid specifying
12225 # it if it's in CXXFLAGS. Ignore libCrun as
12226 # -library=stlport4 depends on it.
12227 case " $CXX $CXXFLAGS " in
12228 *" -library=stlport4 "*)
12229 solaris_use_stlport4=yes
12230 ;;
12231 esac
12232
12233 if test "$solaris_use_stlport4" != yes; then
12234 postdeps_CXX='-library=Cstd -library=Crun'
12235 fi
12236 ;;
12237 esac
12238 ;;
12239
12240 solaris*)
12241 case $cc_basename in
12242 CC*)
12243 # The more standards-conforming stlport4 library is
12244 # incompatible with the Cstd library. Avoid specifying
12245 # it if it's in CXXFLAGS. Ignore libCrun as
12246 # -library=stlport4 depends on it.
12247 case " $CXX $CXXFLAGS " in
12248 *" -library=stlport4 "*)
12249 solaris_use_stlport4=yes
12250 ;;
12251 esac
12252
12253 # Adding this requires a known-good setup of shared libraries for
12254 # Sun compiler versions before 5.6, else PIC objects from an old
12255 # archive will be linked into the output, leading to subtle bugs.
12256 if test "$solaris_use_stlport4" != yes; then
12257 postdeps_CXX='-library=Cstd -library=Crun'
12258 fi
12259 ;;
12260 esac
12261 ;;
12262 esac
12263
12264
12265 case " $postdeps_CXX " in
12266 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12267 esac
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294 lt_prog_compiler_wl_CXX=
12295 lt_prog_compiler_pic_CXX=
12296 lt_prog_compiler_static_CXX=
12297
12298 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12299 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12300
12301 # C++ specific cases for pic, static, wl, etc.
12302 if test "$GXX" = yes; then
12303 lt_prog_compiler_wl_CXX='-Wl,'
12304 lt_prog_compiler_static_CXX='-static'
12305
12306 case $host_os in
12307 aix*)
12308 # All AIX code is PIC.
12309 if test "$host_cpu" = ia64; then
12310 # AIX 5 now supports IA64 processor
12311 lt_prog_compiler_static_CXX='-Bstatic'
12312 fi
12313 ;;
12314 amigaos*)
12315 if test "$host_cpu" = m68k; then
12316 # FIXME: we need at least 68020 code to build shared libraries, but
12317 # adding the `-m68020' flag to GCC prevents building anything better,
12318 # like `-m68040'.
12319 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12320 fi
12321 ;;
12322 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12323 # PIC is the default for these OSes.
12324 ;;
12325 mingw* | cygwin* | os2* | pw32*)
12326 # This hack is so that the source file can tell whether it is being
12327 # built for inclusion in a dll (and should export symbols for example).
12328 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12329 # (--disable-auto-import) libraries
12330 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12331 ;;
12332 darwin* | rhapsody*)
12333 # PIC is the default on this platform
12334 # Common symbols not allowed in MH_DYLIB files
12335 lt_prog_compiler_pic_CXX='-fno-common'
12336 ;;
12337 *djgpp*)
12338 # DJGPP does not support shared libraries at all
12339 lt_prog_compiler_pic_CXX=
12340 ;;
12341 interix[3-9]*)
12342 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12343 # Instead, we relocate shared libraries at runtime.
12344 ;;
12345 sysv4*MP*)
12346 if test -d /usr/nec; then
12347 lt_prog_compiler_pic_CXX=-Kconform_pic
12348 fi
12349 ;;
12350 hpux*)
12351 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12352 # not for PA HP-UX.
12353 case $host_cpu in
12354 hppa*64*|ia64*)
12355 ;;
12356 *)
12357 lt_prog_compiler_pic_CXX='-fPIC'
12358 ;;
12359 esac
12360 ;;
12361 *qnx* | *nto*)
12362 # QNX uses GNU C++, but need to define -shared option too, otherwise
12363 # it will coredump.
12364 lt_prog_compiler_pic_CXX='-fPIC -shared'
12365 ;;
12366 *)
12367 lt_prog_compiler_pic_CXX='-fPIC'
12368 ;;
12369 esac
12370 else
12371 case $host_os in
12372 aix4* | aix5*)
12373 # All AIX code is PIC.
12374 if test "$host_cpu" = ia64; then
12375 # AIX 5 now supports IA64 processor
12376 lt_prog_compiler_static_CXX='-Bstatic'
12377 else
12378 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12379 fi
12380 ;;
12381 chorus*)
12382 case $cc_basename in
12383 cxch68*)
12384 # Green Hills C++ Compiler
12385 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12386 ;;
12387 esac
12388 ;;
12389 darwin*)
12390 # PIC is the default on this platform
12391 # Common symbols not allowed in MH_DYLIB files
12392 case $cc_basename in
12393 xlc*)
12394 lt_prog_compiler_pic_CXX='-qnocommon'
12395 lt_prog_compiler_wl_CXX='-Wl,'
12396 ;;
12397 esac
12398 ;;
12399 dgux*)
12400 case $cc_basename in
12401 ec++*)
12402 lt_prog_compiler_pic_CXX='-KPIC'
12403 ;;
12404 ghcx*)
12405 # Green Hills C++ Compiler
12406 lt_prog_compiler_pic_CXX='-pic'
12407 ;;
12408 *)
12409 ;;
12410 esac
12411 ;;
12412 freebsd* | dragonfly*)
12413 # FreeBSD uses GNU C++
12414 ;;
12415 hpux9* | hpux10* | hpux11*)
12416 case $cc_basename in
12417 CC*)
12418 lt_prog_compiler_wl_CXX='-Wl,'
12419 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12420 if test "$host_cpu" != ia64; then
12421 lt_prog_compiler_pic_CXX='+Z'
12422 fi
12423 ;;
12424 aCC*)
12425 lt_prog_compiler_wl_CXX='-Wl,'
12426 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12427 case $host_cpu in
12428 hppa*64*|ia64*)
12429 # +Z the default
12430 ;;
12431 *)
12432 lt_prog_compiler_pic_CXX='+Z'
12433 ;;
12434 esac
12435 ;;
12436 *)
12437 ;;
12438 esac
12439 ;;
12440 interix*)
12441 # This is c89, which is MS Visual C++ (no shared libs)
12442 # Anyone wants to do a port?
12443 ;;
12444 irix5* | irix6* | nonstopux*)
12445 case $cc_basename in
12446 CC*)
12447 lt_prog_compiler_wl_CXX='-Wl,'
12448 lt_prog_compiler_static_CXX='-non_shared'
12449 # CC pic flag -KPIC is the default.
12450 ;;
12451 *)
12452 ;;
12453 esac
12454 ;;
12455 linux* | k*bsd*-gnu)
12456 case $cc_basename in
12457 KCC*)
12458 # KAI C++ Compiler
12459 lt_prog_compiler_wl_CXX='--backend -Wl,'
12460 lt_prog_compiler_pic_CXX='-fPIC'
12461 ;;
12462 icpc* | ecpc* )
12463 # Intel C++
12464 lt_prog_compiler_wl_CXX='-Wl,'
12465 lt_prog_compiler_pic_CXX='-KPIC'
12466 lt_prog_compiler_static_CXX='-static'
12467 ;;
12468 pgCC*)
12469 # Portland Group C++ compiler
12470 lt_prog_compiler_wl_CXX='-Wl,'
12471 lt_prog_compiler_pic_CXX='-fpic'
12472 lt_prog_compiler_static_CXX='-Bstatic'
12473 ;;
12474 cxx*)
12475 # Compaq C++
12476 # Make sure the PIC flag is empty. It appears that all Alpha
12477 # Linux and Compaq Tru64 Unix objects are PIC.
12478 lt_prog_compiler_pic_CXX=
12479 lt_prog_compiler_static_CXX='-non_shared'
12480 ;;
12481 *)
12482 case `$CC -V 2>&1 | sed 5q` in
12483 *Sun\ C*)
12484 # Sun C++ 5.9
12485 lt_prog_compiler_pic_CXX='-KPIC'
12486 lt_prog_compiler_static_CXX='-Bstatic'
12487 lt_prog_compiler_wl_CXX='-Qoption ld '
12488 ;;
12489 esac
12490 ;;
12491 esac
12492 ;;
12493 lynxos*)
12494 ;;
12495 m88k*)
12496 ;;
12497 mvs*)
12498 case $cc_basename in
12499 cxx*)
12500 lt_prog_compiler_pic_CXX='-W c,exportall'
12501 ;;
12502 *)
12503 ;;
12504 esac
12505 ;;
12506 netbsd*)
12507 ;;
12508 *qnx* | *nto*)
12509 # QNX uses GNU C++, but need to define -shared option too, otherwise
12510 # it will coredump.
12511 lt_prog_compiler_pic_CXX='-fPIC -shared'
12512 ;;
12513 osf3* | osf4* | osf5*)
12514 case $cc_basename in
12515 KCC*)
12516 lt_prog_compiler_wl_CXX='--backend -Wl,'
12517 ;;
12518 RCC*)
12519 # Rational C++ 2.4.1
12520 lt_prog_compiler_pic_CXX='-pic'
12521 ;;
12522 cxx*)
12523 # Digital/Compaq C++
12524 lt_prog_compiler_wl_CXX='-Wl,'
12525 # Make sure the PIC flag is empty. It appears that all Alpha
12526 # Linux and Compaq Tru64 Unix objects are PIC.
12527 lt_prog_compiler_pic_CXX=
12528 lt_prog_compiler_static_CXX='-non_shared'
12529 ;;
12530 *)
12531 ;;
12532 esac
12533 ;;
12534 psos*)
12535 ;;
12536 solaris*)
12537 case $cc_basename in
12538 CC*)
12539 # Sun C++ 4.2, 5.x and Centerline C++
12540 lt_prog_compiler_pic_CXX='-KPIC'
12541 lt_prog_compiler_static_CXX='-Bstatic'
12542 lt_prog_compiler_wl_CXX='-Qoption ld '
12543 ;;
12544 gcx*)
12545 # Green Hills C++ Compiler
12546 lt_prog_compiler_pic_CXX='-PIC'
12547 ;;
12548 *)
12549 ;;
12550 esac
12551 ;;
12552 sunos4*)
12553 case $cc_basename in
12554 CC*)
12555 # Sun C++ 4.x
12556 lt_prog_compiler_pic_CXX='-pic'
12557 lt_prog_compiler_static_CXX='-Bstatic'
12558 ;;
12559 lcc*)
12560 # Lucid
12561 lt_prog_compiler_pic_CXX='-pic'
12562 ;;
12563 *)
12564 ;;
12565 esac
12566 ;;
12567 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12568 case $cc_basename in
12569 CC*)
12570 lt_prog_compiler_wl_CXX='-Wl,'
12571 lt_prog_compiler_pic_CXX='-KPIC'
12572 lt_prog_compiler_static_CXX='-Bstatic'
12573 ;;
12574 esac
12575 ;;
12576 tandem*)
12577 case $cc_basename in
12578 NCC*)
12579 # NonStop-UX NCC 3.20
12580 lt_prog_compiler_pic_CXX='-KPIC'
12581 ;;
12582 *)
12583 ;;
12584 esac
12585 ;;
12586 vxworks*)
12587 ;;
12588 *)
12589 lt_prog_compiler_can_build_shared_CXX=no
12590 ;;
12591 esac
12592 fi
12593
12594 case $host_os in
12595 # For platforms which do not support PIC, -DPIC is meaningless:
12596 *djgpp*)
12597 lt_prog_compiler_pic_CXX=
12598 ;;
12599 *)
12600 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12601 ;;
12602 esac
12603 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12604 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12605
12606
12607
12608 #
12609 # Check to make sure the PIC flag actually works.
12610 #
12611 if test -n "$lt_prog_compiler_pic_CXX"; then
12612 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12613 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12614 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 else
12617 lt_prog_compiler_pic_works_CXX=no
12618 ac_outfile=conftest.$ac_objext
12619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12620 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12621 # Insert the option either (1) after the last *FLAGS variable, or
12622 # (2) before a word containing "conftest.", or (3) at the end.
12623 # Note that $ac_compile itself does not contain backslashes and begins
12624 # with a dollar sign (not a hyphen), so the echo should work correctly.
12625 # The option is referenced via a variable to avoid confusing sed.
12626 lt_compile=`echo "$ac_compile" | $SED \
12627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12629 -e 's:$: $lt_compiler_flag:'`
12630 (eval echo "\"\$as_me:12630: $lt_compile\"" >&5)
12631 (eval "$lt_compile" 2>conftest.err)
12632 ac_status=$?
12633 cat conftest.err >&5
12634 echo "$as_me:12634: \$? = $ac_status" >&5
12635 if (exit $ac_status) && test -s "$ac_outfile"; then
12636 # The compiler can only warn and ignore the option if not recognized
12637 # So say no if there are warnings other than the usual output.
12638 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12639 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12640 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12641 lt_prog_compiler_pic_works_CXX=yes
12642 fi
12643 fi
12644 $RM conftest*
12645
12646 fi
12647 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12648 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12649
12650 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12651 case $lt_prog_compiler_pic_CXX in
12652 "" | " "*) ;;
12653 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12654 esac
12655 else
12656 lt_prog_compiler_pic_CXX=
12657 lt_prog_compiler_can_build_shared_CXX=no
12658 fi
12659
12660 fi
12661
12662
12663
12664 #
12665 # Check to make sure the static flag actually works.
12666 #
12667 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12668 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12669 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12670 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12671 echo $ECHO_N "(cached) $ECHO_C" >&6
12672 else
12673 lt_prog_compiler_static_works_CXX=no
12674 save_LDFLAGS="$LDFLAGS"
12675 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12676 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12677 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12678 # The linker can only warn and ignore the option if not recognized
12679 # So say no if there are warnings
12680 if test -s conftest.err; then
12681 # Append any errors to the config.log.
12682 cat conftest.err 1>&5
12683 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12684 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12685 if diff conftest.exp conftest.er2 >/dev/null; then
12686 lt_prog_compiler_static_works_CXX=yes
12687 fi
12688 else
12689 lt_prog_compiler_static_works_CXX=yes
12690 fi
12691 fi
12692 $RM conftest*
12693 LDFLAGS="$save_LDFLAGS"
12694
12695 fi
12696 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12697 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12698
12699 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12700 :
12701 else
12702 lt_prog_compiler_static_CXX=
12703 fi
12704
12705
12706
12707
12708 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12709 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12710 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 else
12713 lt_cv_prog_compiler_c_o_CXX=no
12714 $RM -r conftest 2>/dev/null
12715 mkdir conftest
12716 cd conftest
12717 mkdir out
12718 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12719
12720 lt_compiler_flag="-o out/conftest2.$ac_objext"
12721 # Insert the option either (1) after the last *FLAGS variable, or
12722 # (2) before a word containing "conftest.", or (3) at the end.
12723 # Note that $ac_compile itself does not contain backslashes and begins
12724 # with a dollar sign (not a hyphen), so the echo should work correctly.
12725 lt_compile=`echo "$ac_compile" | $SED \
12726 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12727 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12728 -e 's:$: $lt_compiler_flag:'`
12729 (eval echo "\"\$as_me:12729: $lt_compile\"" >&5)
12730 (eval "$lt_compile" 2>out/conftest.err)
12731 ac_status=$?
12732 cat out/conftest.err >&5
12733 echo "$as_me:12733: \$? = $ac_status" >&5
12734 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12735 then
12736 # The compiler can only warn and ignore the option if not recognized
12737 # So say no if there are warnings
12738 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12739 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12740 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12741 lt_cv_prog_compiler_c_o_CXX=yes
12742 fi
12743 fi
12744 chmod u+w . 2>&5
12745 $RM conftest*
12746 # SGI C++ compiler will create directory out/ii_files/ for
12747 # template instantiation
12748 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12749 $RM out/* && rmdir out
12750 cd ..
12751 $RM -r conftest
12752 $RM conftest*
12753
12754 fi
12755 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12756 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12757
12758
12759
12760 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12761 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12762 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 else
12765 lt_cv_prog_compiler_c_o_CXX=no
12766 $RM -r conftest 2>/dev/null
12767 mkdir conftest
12768 cd conftest
12769 mkdir out
12770 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12771
12772 lt_compiler_flag="-o out/conftest2.$ac_objext"
12773 # Insert the option either (1) after the last *FLAGS variable, or
12774 # (2) before a word containing "conftest.", or (3) at the end.
12775 # Note that $ac_compile itself does not contain backslashes and begins
12776 # with a dollar sign (not a hyphen), so the echo should work correctly.
12777 lt_compile=`echo "$ac_compile" | $SED \
12778 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12780 -e 's:$: $lt_compiler_flag:'`
12781 (eval echo "\"\$as_me:12781: $lt_compile\"" >&5)
12782 (eval "$lt_compile" 2>out/conftest.err)
12783 ac_status=$?
12784 cat out/conftest.err >&5
12785 echo "$as_me:12785: \$? = $ac_status" >&5
12786 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12787 then
12788 # The compiler can only warn and ignore the option if not recognized
12789 # So say no if there are warnings
12790 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12791 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12792 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12793 lt_cv_prog_compiler_c_o_CXX=yes
12794 fi
12795 fi
12796 chmod u+w . 2>&5
12797 $RM conftest*
12798 # SGI C++ compiler will create directory out/ii_files/ for
12799 # template instantiation
12800 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12801 $RM out/* && rmdir out
12802 cd ..
12803 $RM -r conftest
12804 $RM conftest*
12805
12806 fi
12807 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12808 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12809
12810
12811
12812
12813 hard_links="nottested"
12814 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12815 # do not overwrite the value of need_locks provided by the user
12816 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12817 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12818 hard_links=yes
12819 $RM conftest*
12820 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12821 touch conftest.a
12822 ln conftest.a conftest.b 2>&5 || hard_links=no
12823 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12824 echo "$as_me:$LINENO: result: $hard_links" >&5
12825 echo "${ECHO_T}$hard_links" >&6
12826 if test "$hard_links" = no; then
12827 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12828 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12829 need_locks=warn
12830 fi
12831 else
12832 need_locks=no
12833 fi
12834
12835
12836
12837 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12838 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12839
12840 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12841 case $host_os in
12842 aix4* | aix5*)
12843 # If we're using GNU nm, then we don't want the "-C" option.
12844 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12845 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12846 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12847 else
12848 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12849 fi
12850 ;;
12851 pw32*)
12852 export_symbols_cmds_CXX="$ltdll_cmds"
12853 ;;
12854 cygwin* | mingw*)
12855 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12856 ;;
12857 *)
12858 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12859 ;;
12860 esac
12861
12862 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12863 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12864 test "$ld_shlibs_CXX" = no && can_build_shared=no
12865
12866 with_gnu_ld_CXX=$with_gnu_ld
12867
12868
12869
12870
12871
12872
12873 #
12874 # Do we need to explicitly link libc?
12875 #
12876 case "x$archive_cmds_need_lc_CXX" in
12877 x|xyes)
12878 # Assume -lc should be added
12879 archive_cmds_need_lc_CXX=yes
12880
12881 if test "$enable_shared" = yes && test "$GCC" = yes; then
12882 case $archive_cmds_CXX in
12883 *'~'*)
12884 # FIXME: we may have to deal with multi-command sequences.
12885 ;;
12886 '$CC '*)
12887 # Test whether the compiler implicitly links with -lc since on some
12888 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12889 # to ld, don't add -lc before -lgcc.
12890 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12891 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12892 $RM conftest*
12893 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12894
12895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12896 (eval $ac_compile) 2>&5
12897 ac_status=$?
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } 2>conftest.err; then
12900 soname=conftest
12901 lib=conftest
12902 libobjs=conftest.$ac_objext
12903 deplibs=
12904 wl=$lt_prog_compiler_wl_CXX
12905 pic_flag=$lt_prog_compiler_pic_CXX
12906 compiler_flags=-v
12907 linker_flags=-v
12908 verstring=
12909 output_objdir=.
12910 libname=conftest
12911 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12912 allow_undefined_flag_CXX=
12913 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12914 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12915 ac_status=$?
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }
12918 then
12919 archive_cmds_need_lc_CXX=no
12920 else
12921 archive_cmds_need_lc_CXX=yes
12922 fi
12923 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12924 else
12925 cat conftest.err 1>&5
12926 fi
12927 $RM conftest*
12928 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12929 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12930 ;;
12931 esac
12932 fi
12933 ;;
12934 esac
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13000 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13001 withGCC=$GXX
13002 library_names_spec=
13003 libname_spec='lib$name'
13004 soname_spec=
13005 shrext_cmds=".so"
13006 postinstall_cmds=
13007 postuninstall_cmds=
13008 finish_cmds=
13009 finish_eval=
13010 shlibpath_var=
13011 shlibpath_overrides_runpath=unknown
13012 version_type=none
13013 dynamic_linker="$host_os ld.so"
13014 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13015 need_lib_prefix=unknown
13016 hardcode_into_libs=no
13017
13018 # when you set need_version to no, make sure it does not cause -set_version
13019 # flags to be left without arguments
13020 need_version=unknown
13021
13022 case $host_os in
13023 aix3*)
13024 version_type=linux
13025 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13026 shlibpath_var=LIBPATH
13027
13028 # AIX 3 has no versioning support, so we append a major version to the name.
13029 soname_spec='${libname}${release}${shared_ext}$major'
13030 ;;
13031
13032 aix4* | aix5*)
13033 version_type=linux
13034 need_lib_prefix=no
13035 need_version=no
13036 hardcode_into_libs=yes
13037 if test "$host_cpu" = ia64; then
13038 # AIX 5 supports IA64
13039 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13040 shlibpath_var=LD_LIBRARY_PATH
13041 else
13042 # With GCC up to 2.95.x, collect2 would create an import file
13043 # for dependence libraries. The import file would start with
13044 # the line `#! .'. This would cause the generated library to
13045 # depend on `.', always an invalid library. This was fixed in
13046 # development snapshots of GCC prior to 3.0.
13047 case $host_os in
13048 aix4 | aix4.[01] | aix4.[01].*)
13049 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13050 echo ' yes '
13051 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13052 :
13053 else
13054 can_build_shared=no
13055 fi
13056 ;;
13057 esac
13058 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13059 # soname into executable. Probably we can add versioning support to
13060 # collect2, so additional links can be useful in future.
13061 if test "$aix_use_runtimelinking" = yes; then
13062 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13063 # instead of lib<name>.a to let people know that these are not
13064 # typical AIX shared libraries.
13065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13066 else
13067 # We preserve .a as extension for shared libraries through AIX4.2
13068 # and later when we are not doing run time linking.
13069 library_names_spec='${libname}${release}.a $libname.a'
13070 soname_spec='${libname}${release}${shared_ext}$major'
13071 fi
13072 shlibpath_var=LIBPATH
13073 fi
13074 ;;
13075
13076 amigaos*)
13077 if test "$host_cpu" = m68k; then
13078 library_names_spec='$libname.ixlibrary $libname.a'
13079 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13080 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13081 else
13082 dynamic_linker=no
13083 fi
13084 ;;
13085
13086 beos*)
13087 library_names_spec='${libname}${shared_ext}'
13088 dynamic_linker="$host_os ld.so"
13089 shlibpath_var=LIBRARY_PATH
13090 ;;
13091
13092 bsdi[45]*)
13093 version_type=linux
13094 need_version=no
13095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13096 soname_spec='${libname}${release}${shared_ext}$major'
13097 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13098 shlibpath_var=LD_LIBRARY_PATH
13099 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13100 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13101 # the default ld.so.conf also contains /usr/contrib/lib and
13102 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13103 # libtool to hard-code these into programs
13104 ;;
13105
13106 cygwin* | mingw* | pw32*)
13107 version_type=windows
13108 shrext_cmds=".dll"
13109 need_version=no
13110 need_lib_prefix=no
13111
13112 case $withGCC,$host_os in
13113 yes,cygwin* | yes,mingw* | yes,pw32*)
13114 library_names_spec='$libname.dll.a'
13115 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13116 postinstall_cmds='base_file=`basename \${file}`~
13117 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13118 dldir=$destdir/`dirname \$dlpath`~
13119 test -d \$dldir || mkdir -p \$dldir~
13120 $install_prog $dir/$dlname \$dldir/$dlname~
13121 chmod a+x \$dldir/$dlname~
13122 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13123 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13124 fi'
13125 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13126 dlpath=$dir/\$dldll~
13127 $RM \$dlpath'
13128 shlibpath_overrides_runpath=yes
13129
13130 case $host_os in
13131 cygwin*)
13132 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13133 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13134 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13135 ;;
13136 mingw*)
13137 # MinGW DLLs use traditional 'lib' prefix
13138 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13139 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13140 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13141 # It is most probably a Windows format PATH printed by
13142 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13143 # path with ; separators, and with drive letters. We can handle the
13144 # drive letters (cygwin fileutils understands them), so leave them,
13145 # especially as we might pass files found there to a mingw objdump,
13146 # which wouldn't understand a cygwinified path. Ahh.
13147 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13148 else
13149 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13150 fi
13151 ;;
13152 pw32*)
13153 # pw32 DLLs use 'pw' prefix rather than 'lib'
13154 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13155 ;;
13156 esac
13157 ;;
13158
13159 *)
13160 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13161 ;;
13162 esac
13163 dynamic_linker='Win32 ld.exe'
13164 # FIXME: first we should search . and the directory the executable is in
13165 shlibpath_var=PATH
13166 ;;
13167
13168 darwin* | rhapsody*)
13169 dynamic_linker="$host_os dyld"
13170 version_type=darwin
13171 need_lib_prefix=no
13172 need_version=no
13173 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13174 soname_spec='${libname}${release}${major}$shared_ext'
13175 shlibpath_overrides_runpath=yes
13176 shlibpath_var=DYLD_LIBRARY_PATH
13177 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13178
13179 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13180 ;;
13181
13182 dgux*)
13183 version_type=linux
13184 need_lib_prefix=no
13185 need_version=no
13186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13187 soname_spec='${libname}${release}${shared_ext}$major'
13188 shlibpath_var=LD_LIBRARY_PATH
13189 ;;
13190
13191 freebsd1*)
13192 dynamic_linker=no
13193 ;;
13194
13195 freebsd* | dragonfly*)
13196 # DragonFly does not have aout. When/if they implement a new
13197 # versioning mechanism, adjust this.
13198 if test -x /usr/bin/objformat; then
13199 objformat=`/usr/bin/objformat`
13200 else
13201 case $host_os in
13202 freebsd[123]*) objformat=aout ;;
13203 *) objformat=elf ;;
13204 esac
13205 fi
13206 version_type=freebsd-$objformat
13207 case $version_type in
13208 freebsd-elf*)
13209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13210 need_version=no
13211 need_lib_prefix=no
13212 ;;
13213 freebsd-*)
13214 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13215 need_version=yes
13216 ;;
13217 esac
13218 shlibpath_var=LD_LIBRARY_PATH
13219 case $host_os in
13220 freebsd2*)
13221 shlibpath_overrides_runpath=yes
13222 ;;
13223 freebsd3.[01]* | freebsdelf3.[01]*)
13224 shlibpath_overrides_runpath=yes
13225 hardcode_into_libs=yes
13226 ;;
13227 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13228 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13229 shlibpath_overrides_runpath=no
13230 hardcode_into_libs=yes
13231 ;;
13232 *) # from 4.6 on, and DragonFly
13233 shlibpath_overrides_runpath=yes
13234 hardcode_into_libs=yes
13235 ;;
13236 esac
13237 ;;
13238
13239 gnu*)
13240 version_type=linux
13241 need_lib_prefix=no
13242 need_version=no
13243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13244 soname_spec='${libname}${release}${shared_ext}$major'
13245 shlibpath_var=LD_LIBRARY_PATH
13246 hardcode_into_libs=yes
13247 ;;
13248
13249 hpux9* | hpux10* | hpux11*)
13250 # Give a soname corresponding to the major version so that dld.sl refuses to
13251 # link against other versions.
13252 version_type=sunos
13253 need_lib_prefix=no
13254 need_version=no
13255 case $host_cpu in
13256 ia64*)
13257 shrext_cmds='.so'
13258 hardcode_into_libs=yes
13259 dynamic_linker="$host_os dld.so"
13260 shlibpath_var=LD_LIBRARY_PATH
13261 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13263 soname_spec='${libname}${release}${shared_ext}$major'
13264 if test "X$HPUX_IA64_MODE" = X32; then
13265 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13266 else
13267 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13268 fi
13269 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13270 ;;
13271 hppa*64*)
13272 shrext_cmds='.sl'
13273 hardcode_into_libs=yes
13274 dynamic_linker="$host_os dld.sl"
13275 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13276 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13278 soname_spec='${libname}${release}${shared_ext}$major'
13279 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13280 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13281 ;;
13282 *)
13283 shrext_cmds='.sl'
13284 dynamic_linker="$host_os dld.sl"
13285 shlibpath_var=SHLIB_PATH
13286 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13288 soname_spec='${libname}${release}${shared_ext}$major'
13289 ;;
13290 esac
13291 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13292 postinstall_cmds='chmod 555 $lib'
13293 ;;
13294
13295 interix[3-9]*)
13296 version_type=linux
13297 need_lib_prefix=no
13298 need_version=no
13299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13300 soname_spec='${libname}${release}${shared_ext}$major'
13301 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13302 shlibpath_var=LD_LIBRARY_PATH
13303 shlibpath_overrides_runpath=no
13304 hardcode_into_libs=yes
13305 ;;
13306
13307 irix5* | irix6* | nonstopux*)
13308 case $host_os in
13309 nonstopux*) version_type=nonstopux ;;
13310 *)
13311 if test "$lt_cv_prog_gnu_ld" = yes; then
13312 version_type=linux
13313 else
13314 version_type=irix
13315 fi ;;
13316 esac
13317 need_lib_prefix=no
13318 need_version=no
13319 soname_spec='${libname}${release}${shared_ext}$major'
13320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13321 case $host_os in
13322 irix5* | nonstopux*)
13323 libsuff= shlibsuff=
13324 ;;
13325 *)
13326 case $LD in # libtool.m4 will add one of these switches to LD
13327 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13328 libsuff= shlibsuff= libmagic=32-bit;;
13329 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13330 libsuff=32 shlibsuff=N32 libmagic=N32;;
13331 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13332 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13333 *) libsuff= shlibsuff= libmagic=never-match;;
13334 esac
13335 ;;
13336 esac
13337 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13338 shlibpath_overrides_runpath=no
13339 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13340 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13341 hardcode_into_libs=yes
13342 ;;
13343
13344 # No shared lib support for Linux oldld, aout, or coff.
13345 linux*oldld* | linux*aout* | linux*coff*)
13346 dynamic_linker=no
13347 ;;
13348
13349 # This must be Linux ELF.
13350 linux* | k*bsd*-gnu)
13351 version_type=linux
13352 need_lib_prefix=no
13353 need_version=no
13354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13355 soname_spec='${libname}${release}${shared_ext}$major'
13356 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13357 shlibpath_var=LD_LIBRARY_PATH
13358 shlibpath_overrides_runpath=no
13359 # Some binutils ld are patched to set DT_RUNPATH
13360 save_LDFLAGS=$LDFLAGS
13361 save_libdir=$libdir
13362 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13363 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13364 if test x$gcc_no_link = xyes; then
13365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13367 { (exit 1); exit 1; }; }
13368 fi
13369 cat >conftest.$ac_ext <<_ACEOF
13370 /* confdefs.h. */
13371 _ACEOF
13372 cat confdefs.h >>conftest.$ac_ext
13373 cat >>conftest.$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13375
13376 int
13377 main ()
13378 {
13379
13380 ;
13381 return 0;
13382 }
13383 _ACEOF
13384 rm -f conftest.$ac_objext conftest$ac_exeext
13385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13386 (eval $ac_link) 2>conftest.er1
13387 ac_status=$?
13388 grep -v '^ *+' conftest.er1 >conftest.err
13389 rm -f conftest.er1
13390 cat conftest.err >&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } &&
13393 { ac_try='test -z "$ac_cxx_werror_flag"
13394 || test ! -s conftest.err'
13395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13396 (eval $ac_try) 2>&5
13397 ac_status=$?
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); }; } &&
13400 { ac_try='test -s conftest$ac_exeext'
13401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13402 (eval $ac_try) 2>&5
13403 ac_status=$?
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); }; }; then
13406 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13407 shlibpath_overrides_runpath=yes
13408 fi
13409
13410 else
13411 echo "$as_me: failed program was:" >&5
13412 sed 's/^/| /' conftest.$ac_ext >&5
13413
13414 fi
13415 rm -f conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LDFLAGS=$save_LDFLAGS
13418 libdir=$save_libdir
13419
13420 # This implies no fast_install, which is unacceptable.
13421 # Some rework will be needed to allow for fast_install
13422 # before this can be enabled.
13423 hardcode_into_libs=yes
13424
13425 # Append ld.so.conf contents to the search path
13426 if test -f /etc/ld.so.conf; then
13427 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13428 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13429 fi
13430
13431 # We used to test for /lib/ld.so.1 and disable shared libraries on
13432 # powerpc, because MkLinux only supported shared libraries with the
13433 # GNU dynamic linker. Since this was broken with cross compilers,
13434 # most powerpc-linux boxes support dynamic linking these days and
13435 # people can always --disable-shared, the test was removed, and we
13436 # assume the GNU/Linux dynamic linker is in use.
13437 dynamic_linker='GNU/Linux ld.so'
13438 ;;
13439
13440 netbsd*)
13441 version_type=sunos
13442 need_lib_prefix=no
13443 need_version=no
13444 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13446 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13447 dynamic_linker='NetBSD (a.out) ld.so'
13448 else
13449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13450 soname_spec='${libname}${release}${shared_ext}$major'
13451 dynamic_linker='NetBSD ld.elf_so'
13452 fi
13453 shlibpath_var=LD_LIBRARY_PATH
13454 shlibpath_overrides_runpath=yes
13455 hardcode_into_libs=yes
13456 ;;
13457
13458 newsos6)
13459 version_type=linux
13460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13461 shlibpath_var=LD_LIBRARY_PATH
13462 shlibpath_overrides_runpath=yes
13463 ;;
13464
13465 *nto* | *qnx*)
13466 version_type=qnx
13467 need_lib_prefix=no
13468 need_version=no
13469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13470 soname_spec='${libname}${release}${shared_ext}$major'
13471 shlibpath_var=LD_LIBRARY_PATH
13472 shlibpath_overrides_runpath=no
13473 hardcode_into_libs=yes
13474 dynamic_linker='ldqnx.so'
13475 ;;
13476
13477 openbsd*)
13478 version_type=sunos
13479 sys_lib_dlsearch_path_spec="/usr/lib"
13480 need_lib_prefix=no
13481 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13482 case $host_os in
13483 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13484 *) need_version=no ;;
13485 esac
13486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13487 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13488 shlibpath_var=LD_LIBRARY_PATH
13489 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13490 case $host_os in
13491 openbsd2.[89] | openbsd2.[89].*)
13492 shlibpath_overrides_runpath=no
13493 ;;
13494 *)
13495 shlibpath_overrides_runpath=yes
13496 ;;
13497 esac
13498 else
13499 shlibpath_overrides_runpath=yes
13500 fi
13501 ;;
13502
13503 os2*)
13504 libname_spec='$name'
13505 shrext_cmds=".dll"
13506 need_lib_prefix=no
13507 library_names_spec='$libname${shared_ext} $libname.a'
13508 dynamic_linker='OS/2 ld.exe'
13509 shlibpath_var=LIBPATH
13510 ;;
13511
13512 osf3* | osf4* | osf5*)
13513 version_type=osf
13514 need_lib_prefix=no
13515 need_version=no
13516 soname_spec='${libname}${release}${shared_ext}$major'
13517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13518 shlibpath_var=LD_LIBRARY_PATH
13519 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13520 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13521 ;;
13522
13523 rdos*)
13524 dynamic_linker=no
13525 ;;
13526
13527 solaris*)
13528 version_type=linux
13529 need_lib_prefix=no
13530 need_version=no
13531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13532 soname_spec='${libname}${release}${shared_ext}$major'
13533 shlibpath_var=LD_LIBRARY_PATH
13534 shlibpath_overrides_runpath=yes
13535 hardcode_into_libs=yes
13536 # ldd complains unless libraries are executable
13537 postinstall_cmds='chmod +x $lib'
13538 ;;
13539
13540 sunos4*)
13541 version_type=sunos
13542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13543 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13544 shlibpath_var=LD_LIBRARY_PATH
13545 shlibpath_overrides_runpath=yes
13546 if test "$with_gnu_ld" = yes; then
13547 need_lib_prefix=no
13548 fi
13549 need_version=yes
13550 ;;
13551
13552 sysv4 | sysv4.3*)
13553 version_type=linux
13554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13555 soname_spec='${libname}${release}${shared_ext}$major'
13556 shlibpath_var=LD_LIBRARY_PATH
13557 case $host_vendor in
13558 sni)
13559 shlibpath_overrides_runpath=no
13560 need_lib_prefix=no
13561 runpath_var=LD_RUN_PATH
13562 ;;
13563 siemens)
13564 need_lib_prefix=no
13565 ;;
13566 motorola)
13567 need_lib_prefix=no
13568 need_version=no
13569 shlibpath_overrides_runpath=no
13570 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13571 ;;
13572 esac
13573 ;;
13574
13575 sysv4*MP*)
13576 if test -d /usr/nec ;then
13577 version_type=linux
13578 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13579 soname_spec='$libname${shared_ext}.$major'
13580 shlibpath_var=LD_LIBRARY_PATH
13581 fi
13582 ;;
13583
13584 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13585 version_type=freebsd-elf
13586 need_lib_prefix=no
13587 need_version=no
13588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13589 soname_spec='${libname}${release}${shared_ext}$major'
13590 shlibpath_var=LD_LIBRARY_PATH
13591 shlibpath_overrides_runpath=yes
13592 hardcode_into_libs=yes
13593 if test "$with_gnu_ld" = yes; then
13594 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13595 else
13596 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13597 case $host_os in
13598 sco3.2v5*)
13599 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13600 ;;
13601 esac
13602 fi
13603 sys_lib_dlsearch_path_spec='/usr/lib'
13604 ;;
13605
13606 tpf*)
13607 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13608 version_type=linux
13609 need_lib_prefix=no
13610 need_version=no
13611 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13612 shlibpath_var=LD_LIBRARY_PATH
13613 shlibpath_overrides_runpath=no
13614 hardcode_into_libs=yes
13615 ;;
13616
13617 uts4*)
13618 version_type=linux
13619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13620 soname_spec='${libname}${release}${shared_ext}$major'
13621 shlibpath_var=LD_LIBRARY_PATH
13622 ;;
13623
13624 *)
13625 dynamic_linker=no
13626 ;;
13627 esac
13628 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13629 echo "${ECHO_T}$dynamic_linker" >&6
13630 test "$dynamic_linker" = no && can_build_shared=no
13631
13632 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13633 if test "$GCC" = yes; then
13634 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13635 fi
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13673 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13674 hardcode_action_CXX=
13675 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13676 test -n "$runpath_var_CXX" ||
13677 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13678
13679 # We can hardcode non-existent directories.
13680 if test "$hardcode_direct_CXX" != no &&
13681 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13682 # have to relink, otherwise we might link with an installed library
13683 # when we should be linking with a yet-to-be-installed one
13684 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13685 test "$hardcode_minus_L_CXX" != no; then
13686 # Linking always hardcodes the temporary library directory.
13687 hardcode_action_CXX=relink
13688 else
13689 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13690 hardcode_action_CXX=immediate
13691 fi
13692 else
13693 # We cannot hardcode anything, or else we can only hardcode existing
13694 # directories.
13695 hardcode_action_CXX=unsupported
13696 fi
13697 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13698 echo "${ECHO_T}$hardcode_action_CXX" >&6
13699
13700 if test "$hardcode_action_CXX" = relink ||
13701 test "$inherit_rpath_CXX" = yes; then
13702 # Fast installation is not supported
13703 enable_fast_install=no
13704 elif test "$shlibpath_overrides_runpath" = yes ||
13705 test "$enable_shared" = no; then
13706 # Fast installation is not necessary
13707 enable_fast_install=needless
13708 fi
13709
13710
13711
13712
13713
13714
13715
13716 fi # test -n "$compiler"
13717
13718 CC=$lt_save_CC
13719 LDCXX=$LD
13720 LD=$lt_save_LD
13721 GCC=$lt_save_GCC
13722 with_gnu_ld=$lt_save_with_gnu_ld
13723 lt_cv_path_LDCXX=$lt_cv_path_LD
13724 lt_cv_path_LD=$lt_save_path_LD
13725 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13726 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13727 fi # test "$_lt_caught_CXX_error" != yes
13728
13729 ac_ext=c
13730 ac_cpp='$CPP $CPPFLAGS'
13731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747 ac_config_commands="$ac_config_commands libtool"
13748
13749
13750
13751
13752 # Only expand once:
13753
13754
13755
13756
13757
13758 # Possibly disable most of the library.
13759 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13760 ## than just ignoring the results. Faster /and/ more correct, win win.
13761
13762 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13763 if test "${enable_hosted_libstdcxx+set}" = set; then
13764 enableval="$enable_hosted_libstdcxx"
13765
13766 else
13767 case "$host" in
13768 arm*-*-symbianelf*)
13769 enable_hosted_libstdcxx=no
13770 ;;
13771 *)
13772 enable_hosted_libstdcxx=yes
13773 ;;
13774 esac
13775 fi;
13776 if test "$enable_hosted_libstdcxx" = no; then
13777 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13778 echo "$as_me: Only freestanding libraries will be built" >&6;}
13779 is_hosted=no
13780 hosted_define=0
13781 enable_abi_check=no
13782 enable_libstdcxx_pch=no
13783 else
13784 is_hosted=yes
13785 hosted_define=1
13786 fi
13787
13788
13789 cat >>confdefs.h <<_ACEOF
13790 #define _GLIBCXX_HOSTED $hosted_define
13791 _ACEOF
13792
13793
13794
13795 # Enable compiler support that doesn't require linking.
13796
13797 echo "$as_me:$LINENO: checking for exception model to use" >&5
13798 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13799
13800
13801 ac_ext=cc
13802 ac_cpp='$CXXCPP $CPPFLAGS'
13803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13806
13807 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13808 if test "${enable_sjlj_exceptions+set}" = set; then
13809 enableval="$enable_sjlj_exceptions"
13810
13811 case "$enableval" in
13812 yes|no|auto) ;;
13813 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13814 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13815 { (exit 1); exit 1; }; } ;;
13816 esac
13817
13818 else
13819 enable_sjlj_exceptions=auto
13820 fi;
13821
13822
13823 if test $enable_sjlj_exceptions = auto; then
13824 # Botheration. Now we've got to detect the exception model. Link tests
13825 # against libgcc.a are problematic since we've not been given proper -L
13826 # bits for single-tree newlib and libgloss.
13827 #
13828 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13829 cat > conftest.$ac_ext << EOF
13830 #line 13830 "configure"
13831 struct S { ~S(); };
13832 void bar();
13833 void foo()
13834 {
13835 S s;
13836 bar();
13837 }
13838 EOF
13839 old_CXXFLAGS="$CXXFLAGS"
13840 CXXFLAGS=-S
13841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13842 (eval $ac_compile) 2>&5
13843 ac_status=$?
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; then
13846 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13847 enable_sjlj_exceptions=yes
13848 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13849 enable_sjlj_exceptions=no
13850 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13851 enable_sjlj_exceptions=no
13852 fi
13853 fi
13854 CXXFLAGS="$old_CXXFLAGS"
13855 rm -f conftest*
13856 fi
13857
13858 # This is a tad weird, for hysterical raisins. We have to map
13859 # enable/disable to two different models.
13860 case $enable_sjlj_exceptions in
13861 yes)
13862
13863 cat >>confdefs.h <<\_ACEOF
13864 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13865 _ACEOF
13866
13867 ac_exception_model_name=sjlj
13868 ;;
13869 no)
13870 ac_exception_model_name="call frame"
13871 ;;
13872 *)
13873 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13874 echo "$as_me: error: unable to detect exception model" >&2;}
13875 { (exit 1); exit 1; }; }
13876 ;;
13877 esac
13878 ac_ext=c
13879 ac_cpp='$CPP $CPPFLAGS'
13880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13883
13884 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13885 echo "${ECHO_T}$ac_exception_model_name" >&6
13886
13887
13888 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13889 if test "${enable_libstdcxx_pch+set}" = set; then
13890 enableval="$enable_libstdcxx_pch"
13891
13892 case "$enableval" in
13893 yes|no) ;;
13894 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13895 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13896 { (exit 1); exit 1; }; } ;;
13897 esac
13898
13899 else
13900 enable_libstdcxx_pch=$is_hosted
13901 fi;
13902
13903 if test $enable_libstdcxx_pch = yes; then
13904 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13905 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13906 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13907 echo $ECHO_N "(cached) $ECHO_C" >&6
13908 else
13909 ac_save_CXXFLAGS="$CXXFLAGS"
13910 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13911
13912
13913 ac_ext=cc
13914 ac_cpp='$CXXCPP $CPPFLAGS'
13915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13918
13919 echo '#include <math.h>' > conftest.h
13920 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13921 -o conftest.h.gch 1>&5 2>&1 &&
13922 echo '#error "pch failed"' > conftest.h &&
13923 echo '#include "conftest.h"' > conftest.cc &&
13924 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13925 then
13926 glibcxx_cv_prog_CXX_pch=yes
13927 else
13928 glibcxx_cv_prog_CXX_pch=no
13929 fi
13930 rm -f conftest*
13931 CXXFLAGS=$ac_save_CXXFLAGS
13932 ac_ext=c
13933 ac_cpp='$CPP $CPPFLAGS'
13934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13937
13938
13939 fi
13940 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13941 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13942 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13943 fi
13944
13945 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13946 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13947 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13948 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13949
13950
13951 if test $enable_libstdcxx_pch = yes; then
13952 glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
13953 else
13954 glibcxx_PCHFLAGS=""
13955 fi
13956
13957
13958
13959 # Enable all the variable C++ runtime options that doesn't require linking.
13960
13961 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13962 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13963 # Check whether --enable-cstdio or --disable-cstdio was given.
13964 if test "${enable_cstdio+set}" = set; then
13965 enableval="$enable_cstdio"
13966
13967 case "$enableval" in
13968 stdio) ;;
13969 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13970 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13971 { (exit 1); exit 1; }; } ;;
13972 esac
13973
13974 else
13975 enable_cstdio=stdio
13976 fi;
13977
13978
13979 # Now that libio has been removed, you can have any color you want as long
13980 # as it's black. This is one big no-op until other packages are added, but
13981 # showing the framework never hurts.
13982 case ${enable_cstdio} in
13983 stdio)
13984 CSTDIO_H=config/io/c_io_stdio.h
13985 BASIC_FILE_H=config/io/basic_file_stdio.h
13986 BASIC_FILE_CC=config/io/basic_file_stdio.cc
13987 echo "$as_me:$LINENO: result: stdio" >&5
13988 echo "${ECHO_T}stdio" >&6
13989 ;;
13990 esac
13991
13992
13993
13994
13995
13996
13997 # Check whether --enable-clocale or --disable-clocale was given.
13998 if test "${enable_clocale+set}" = set; then
13999 enableval="$enable_clocale"
14000
14001 case "$enableval" in
14002 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14003 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14004 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14005 { (exit 1); exit 1; }; } ;;
14006 esac
14007
14008 else
14009 enable_clocale=auto
14010 fi;
14011
14012
14013 # Deal with gettext issues. Default to not using it (=no) until we detect
14014 # support for it later. Let the user turn it off via --e/d, but let that
14015 # default to on for easier handling.
14016 USE_NLS=no
14017 # Check whether --enable-nls or --disable-nls was given.
14018 if test "${enable_nls+set}" = set; then
14019 enableval="$enable_nls"
14020
14021 else
14022 enable_nls=yes
14023 fi;
14024
14025 # Either a known packaage, or "auto"
14026 if test $enable_clocale = no || test $enable_clocale = yes; then
14027 enable_clocale=auto
14028 fi
14029 enable_clocale_flag=$enable_clocale
14030
14031 # Probe for locale model to use if none specified.
14032 # Default to "generic".
14033 if test $enable_clocale_flag = auto; then
14034 case ${target_os} in
14035 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14036 enable_clocale_flag=gnu
14037 ;;
14038 darwin* | freebsd*)
14039 enable_clocale_flag=darwin
14040 ;;
14041 *)
14042 enable_clocale_flag=generic
14043 ;;
14044 esac
14045 fi
14046
14047 # Sanity check model, and test for special functionality.
14048 if test $enable_clocale_flag = gnu; then
14049 cat >conftest.$ac_ext <<_ACEOF
14050 /* confdefs.h. */
14051 _ACEOF
14052 cat confdefs.h >>conftest.$ac_ext
14053 cat >>conftest.$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14055
14056 #include <features.h>
14057 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14058 _GLIBCXX_ok
14059 #endif
14060
14061 _ACEOF
14062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14063 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14064 enable_clocale_flag=gnu
14065 else
14066 enable_clocale_flag=generic
14067 fi
14068 rm -f conftest*
14069
14070
14071 if test $enable_clocale = auto; then
14072 # Test for bugs early in glibc-2.2.x series
14073 if test "$cross_compiling" = yes; then
14074 enable_clocale_flag=generic
14075 else
14076 cat >conftest.$ac_ext <<_ACEOF
14077 /* confdefs.h. */
14078 _ACEOF
14079 cat confdefs.h >>conftest.$ac_ext
14080 cat >>conftest.$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14082
14083 #define _GNU_SOURCE 1
14084 #include <locale.h>
14085 #include <string.h>
14086 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14087 extern __typeof(newlocale) __newlocale;
14088 extern __typeof(duplocale) __duplocale;
14089 extern __typeof(strcoll_l) __strcoll_l;
14090 #endif
14091 int main()
14092 {
14093 const char __one[] = "Äuglein Augmen";
14094 const char __two[] = "Äuglein";
14095 int i;
14096 int j;
14097 __locale_t loc;
14098 __locale_t loc_dup;
14099 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14100 loc_dup = __duplocale(loc);
14101 i = __strcoll_l(__one, __two, loc);
14102 j = __strcoll_l(__one, __two, loc_dup);
14103 return 0;
14104 }
14105
14106 _ACEOF
14107 rm -f conftest$ac_exeext
14108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14109 (eval $ac_link) 2>&5
14110 ac_status=$?
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; }; then
14118 enable_clocale_flag=gnu
14119 else
14120 echo "$as_me: program exited with status $ac_status" >&5
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.$ac_ext >&5
14123
14124 ( exit $ac_status )
14125 enable_clocale_flag=generic
14126 fi
14127 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14128 fi
14129 fi
14130
14131 # Set it to scream when it hurts.
14132 ac_save_CFLAGS="$CFLAGS"
14133 CFLAGS="-Wimplicit-function-declaration -Werror"
14134
14135 # Use strxfrm_l if available.
14136 cat >conftest.$ac_ext <<_ACEOF
14137 /* confdefs.h. */
14138 _ACEOF
14139 cat confdefs.h >>conftest.$ac_ext
14140 cat >>conftest.$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 #define _GNU_SOURCE 1
14143 #include <string.h>
14144 #include <locale.h>
14145 int
14146 main ()
14147 {
14148 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14149 ;
14150 return 0;
14151 }
14152 _ACEOF
14153 rm -f conftest.$ac_objext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14155 (eval $ac_compile) 2>conftest.er1
14156 ac_status=$?
14157 grep -v '^ *+' conftest.er1 >conftest.err
14158 rm -f conftest.er1
14159 cat conftest.err >&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try='test -z "$ac_c_werror_flag"
14163 || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14172 ac_status=$?
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175
14176 cat >>confdefs.h <<\_ACEOF
14177 #define HAVE_STRXFRM_L 1
14178 _ACEOF
14179
14180 else
14181 echo "$as_me: failed program was:" >&5
14182 sed 's/^/| /' conftest.$ac_ext >&5
14183
14184 fi
14185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14186
14187 # Use strerror_l if available.
14188 cat >conftest.$ac_ext <<_ACEOF
14189 /* confdefs.h. */
14190 _ACEOF
14191 cat confdefs.h >>conftest.$ac_ext
14192 cat >>conftest.$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194 #define _GNU_SOURCE 1
14195 #include <string.h>
14196 #include <locale.h>
14197 int
14198 main ()
14199 {
14200 __locale_t loc; strerror_l(5, loc);
14201 ;
14202 return 0;
14203 }
14204 _ACEOF
14205 rm -f conftest.$ac_objext
14206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14207 (eval $ac_compile) 2>conftest.er1
14208 ac_status=$?
14209 grep -v '^ *+' conftest.er1 >conftest.err
14210 rm -f conftest.er1
14211 cat conftest.err >&5
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); } &&
14214 { ac_try='test -z "$ac_c_werror_flag"
14215 || test ! -s conftest.err'
14216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14217 (eval $ac_try) 2>&5
14218 ac_status=$?
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); }; } &&
14221 { ac_try='test -s conftest.$ac_objext'
14222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 (eval $ac_try) 2>&5
14224 ac_status=$?
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; }; then
14227
14228 cat >>confdefs.h <<\_ACEOF
14229 #define HAVE_STRERROR_L 1
14230 _ACEOF
14231
14232 else
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.$ac_ext >&5
14235
14236 fi
14237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14238
14239 CFLAGS="$ac_save_CFLAGS"
14240 fi
14241
14242 # Perhaps use strerror_r if available, and strerror_l isn't.
14243 ac_save_CFLAGS="$CFLAGS"
14244 CFLAGS="-Wimplicit-function-declaration -Werror"
14245 cat >conftest.$ac_ext <<_ACEOF
14246 /* confdefs.h. */
14247 _ACEOF
14248 cat confdefs.h >>conftest.$ac_ext
14249 cat >>conftest.$ac_ext <<_ACEOF
14250 /* end confdefs.h. */
14251 #define _GNU_SOURCE 1
14252 #include <string.h>
14253 #include <locale.h>
14254 int
14255 main ()
14256 {
14257 char s[128]; strerror_r(5, s, 128);
14258 ;
14259 return 0;
14260 }
14261 _ACEOF
14262 rm -f conftest.$ac_objext
14263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14264 (eval $ac_compile) 2>conftest.er1
14265 ac_status=$?
14266 grep -v '^ *+' conftest.er1 >conftest.err
14267 rm -f conftest.er1
14268 cat conftest.err >&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); } &&
14271 { ac_try='test -z "$ac_c_werror_flag"
14272 || test ! -s conftest.err'
14273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14274 (eval $ac_try) 2>&5
14275 ac_status=$?
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); }; } &&
14278 { ac_try='test -s conftest.$ac_objext'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14281 ac_status=$?
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; }; then
14284
14285 cat >>confdefs.h <<\_ACEOF
14286 #define HAVE_STRERROR_R 1
14287 _ACEOF
14288
14289 else
14290 echo "$as_me: failed program was:" >&5
14291 sed 's/^/| /' conftest.$ac_ext >&5
14292
14293 fi
14294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14295 CFLAGS="$ac_save_CFLAGS"
14296
14297 # Set configure bits for specified locale package
14298 echo "$as_me:$LINENO: checking for C locale to use" >&5
14299 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14300 case ${enable_clocale_flag} in
14301 generic)
14302 echo "$as_me:$LINENO: result: generic" >&5
14303 echo "${ECHO_T}generic" >&6
14304
14305 CLOCALE_H=config/locale/generic/c_locale.h
14306 CLOCALE_CC=config/locale/generic/c_locale.cc
14307 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14308 CCOLLATE_CC=config/locale/generic/collate_members.cc
14309 CCTYPE_CC=config/locale/generic/ctype_members.cc
14310 CMESSAGES_H=config/locale/generic/messages_members.h
14311 CMESSAGES_CC=config/locale/generic/messages_members.cc
14312 CMONEY_CC=config/locale/generic/monetary_members.cc
14313 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14314 CTIME_H=config/locale/generic/time_members.h
14315 CTIME_CC=config/locale/generic/time_members.cc
14316 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14317 ;;
14318 darwin)
14319 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14320 echo "${ECHO_T}darwin or freebsd" >&6
14321
14322 CLOCALE_H=config/locale/generic/c_locale.h
14323 CLOCALE_CC=config/locale/generic/c_locale.cc
14324 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14325 CCOLLATE_CC=config/locale/generic/collate_members.cc
14326 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14327 CMESSAGES_H=config/locale/generic/messages_members.h
14328 CMESSAGES_CC=config/locale/generic/messages_members.cc
14329 CMONEY_CC=config/locale/generic/monetary_members.cc
14330 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14331 CTIME_H=config/locale/generic/time_members.h
14332 CTIME_CC=config/locale/generic/time_members.cc
14333 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14334 ;;
14335
14336 gnu)
14337 echo "$as_me:$LINENO: result: gnu" >&5
14338 echo "${ECHO_T}gnu" >&6
14339
14340 # Declare intention to use gettext, and add support for specific
14341 # languages.
14342 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14343 ALL_LINGUAS="de fr"
14344
14345 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14346 # Extract the first word of "msgfmt", so it can be a program name with args.
14347 set dummy msgfmt; ac_word=$2
14348 echo "$as_me:$LINENO: checking for $ac_word" >&5
14349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14350 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 else
14353 if test -n "$check_msgfmt"; then
14354 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14355 else
14356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14357 for as_dir in $PATH
14358 do
14359 IFS=$as_save_IFS
14360 test -z "$as_dir" && as_dir=.
14361 for ac_exec_ext in '' $ac_executable_extensions; do
14362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14363 ac_cv_prog_check_msgfmt="yes"
14364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14365 break 2
14366 fi
14367 done
14368 done
14369
14370 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14371 fi
14372 fi
14373 check_msgfmt=$ac_cv_prog_check_msgfmt
14374 if test -n "$check_msgfmt"; then
14375 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14376 echo "${ECHO_T}$check_msgfmt" >&6
14377 else
14378 echo "$as_me:$LINENO: result: no" >&5
14379 echo "${ECHO_T}no" >&6
14380 fi
14381
14382 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14383 USE_NLS=yes
14384 fi
14385 # Export the build objects.
14386 for ling in $ALL_LINGUAS; do \
14387 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14388 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14389 done
14390
14391
14392
14393 CLOCALE_H=config/locale/gnu/c_locale.h
14394 CLOCALE_CC=config/locale/gnu/c_locale.cc
14395 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14396 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14397 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14398 CMESSAGES_H=config/locale/gnu/messages_members.h
14399 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14400 CMONEY_CC=config/locale/gnu/monetary_members.cc
14401 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14402 CTIME_H=config/locale/gnu/time_members.h
14403 CTIME_CC=config/locale/gnu/time_members.cc
14404 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14405 ;;
14406 ieee_1003.1-2001)
14407 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14408 echo "${ECHO_T}IEEE 1003.1" >&6
14409
14410 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14411 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14412 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14413 CCOLLATE_CC=config/locale/generic/collate_members.cc
14414 CCTYPE_CC=config/locale/generic/ctype_members.cc
14415 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14416 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14417 CMONEY_CC=config/locale/generic/monetary_members.cc
14418 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14419 CTIME_H=config/locale/generic/time_members.h
14420 CTIME_CC=config/locale/generic/time_members.cc
14421 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14422 ;;
14423 esac
14424
14425 # This is where the testsuite looks for locale catalogs, using the
14426 # -DLOCALEDIR define during testsuite compilation.
14427 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14428
14429
14430 # A standalone libintl (e.g., GNU libintl) may be in use.
14431 if test $USE_NLS = yes; then
14432
14433 for ac_header in libintl.h
14434 do
14435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14437 echo "$as_me:$LINENO: checking for $ac_header" >&5
14438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14441 fi
14442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14444 else
14445 # Is the header compilable?
14446 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14448 cat >conftest.$ac_ext <<_ACEOF
14449 /* confdefs.h. */
14450 _ACEOF
14451 cat confdefs.h >>conftest.$ac_ext
14452 cat >>conftest.$ac_ext <<_ACEOF
14453 /* end confdefs.h. */
14454 $ac_includes_default
14455 #include <$ac_header>
14456 _ACEOF
14457 rm -f conftest.$ac_objext
14458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14459 (eval $ac_compile) 2>conftest.er1
14460 ac_status=$?
14461 grep -v '^ *+' conftest.er1 >conftest.err
14462 rm -f conftest.er1
14463 cat conftest.err >&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } &&
14466 { ac_try='test -z "$ac_c_werror_flag"
14467 || test ! -s conftest.err'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14470 ac_status=$?
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; } &&
14473 { ac_try='test -s conftest.$ac_objext'
14474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14475 (eval $ac_try) 2>&5
14476 ac_status=$?
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; }; then
14479 ac_header_compiler=yes
14480 else
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14483
14484 ac_header_compiler=no
14485 fi
14486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14488 echo "${ECHO_T}$ac_header_compiler" >&6
14489
14490 # Is the header present?
14491 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14492 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14493 cat >conftest.$ac_ext <<_ACEOF
14494 /* confdefs.h. */
14495 _ACEOF
14496 cat confdefs.h >>conftest.$ac_ext
14497 cat >>conftest.$ac_ext <<_ACEOF
14498 /* end confdefs.h. */
14499 #include <$ac_header>
14500 _ACEOF
14501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14503 ac_status=$?
14504 grep -v '^ *+' conftest.er1 >conftest.err
14505 rm -f conftest.er1
14506 cat conftest.err >&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } >/dev/null; then
14509 if test -s conftest.err; then
14510 ac_cpp_err=$ac_c_preproc_warn_flag
14511 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14512 else
14513 ac_cpp_err=
14514 fi
14515 else
14516 ac_cpp_err=yes
14517 fi
14518 if test -z "$ac_cpp_err"; then
14519 ac_header_preproc=yes
14520 else
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14523
14524 ac_header_preproc=no
14525 fi
14526 rm -f conftest.err conftest.$ac_ext
14527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14528 echo "${ECHO_T}$ac_header_preproc" >&6
14529
14530 # So? What about this header?
14531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14532 yes:no: )
14533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14534 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14536 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14537 ac_header_preproc=yes
14538 ;;
14539 no:yes:* )
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14544 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14545 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14546 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14547 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14551 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14552 (
14553 cat <<\_ASBOX
14554 ## ----------------------------------------- ##
14555 ## Report this to the package-unused lists. ##
14556 ## ----------------------------------------- ##
14557 _ASBOX
14558 ) |
14559 sed "s/^/$as_me: WARNING: /" >&2
14560 ;;
14561 esac
14562 echo "$as_me:$LINENO: checking for $ac_header" >&5
14563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 else
14567 eval "$as_ac_Header=\$ac_header_preproc"
14568 fi
14569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14571
14572 fi
14573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14574 cat >>confdefs.h <<_ACEOF
14575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14576 _ACEOF
14577
14578 else
14579 USE_NLS=no
14580 fi
14581
14582 done
14583
14584 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14585 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14586 if test "${ac_cv_search_gettext+set}" = set; then
14587 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 else
14589 ac_func_search_save_LIBS=$LIBS
14590 ac_cv_search_gettext=no
14591 if test x$gcc_no_link = xyes; then
14592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14594 { (exit 1); exit 1; }; }
14595 fi
14596 cat >conftest.$ac_ext <<_ACEOF
14597 /* confdefs.h. */
14598 _ACEOF
14599 cat confdefs.h >>conftest.$ac_ext
14600 cat >>conftest.$ac_ext <<_ACEOF
14601 /* end confdefs.h. */
14602
14603 /* Override any gcc2 internal prototype to avoid an error. */
14604 #ifdef __cplusplus
14605 extern "C"
14606 #endif
14607 /* We use char because int might match the return type of a gcc2
14608 builtin and then its argument prototype would still apply. */
14609 char gettext ();
14610 int
14611 main ()
14612 {
14613 gettext ();
14614 ;
14615 return 0;
14616 }
14617 _ACEOF
14618 rm -f conftest.$ac_objext conftest$ac_exeext
14619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14620 (eval $ac_link) 2>conftest.er1
14621 ac_status=$?
14622 grep -v '^ *+' conftest.er1 >conftest.err
14623 rm -f conftest.er1
14624 cat conftest.err >&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); } &&
14627 { ac_try='test -z "$ac_c_werror_flag"
14628 || test ! -s conftest.err'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; } &&
14634 { ac_try='test -s conftest$ac_exeext'
14635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636 (eval $ac_try) 2>&5
14637 ac_status=$?
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); }; }; then
14640 ac_cv_search_gettext="none required"
14641 else
14642 echo "$as_me: failed program was:" >&5
14643 sed 's/^/| /' conftest.$ac_ext >&5
14644
14645 fi
14646 rm -f conftest.err conftest.$ac_objext \
14647 conftest$ac_exeext conftest.$ac_ext
14648 if test "$ac_cv_search_gettext" = no; then
14649 for ac_lib in intl; do
14650 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14651 if test x$gcc_no_link = xyes; then
14652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14654 { (exit 1); exit 1; }; }
14655 fi
14656 cat >conftest.$ac_ext <<_ACEOF
14657 /* confdefs.h. */
14658 _ACEOF
14659 cat confdefs.h >>conftest.$ac_ext
14660 cat >>conftest.$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14662
14663 /* Override any gcc2 internal prototype to avoid an error. */
14664 #ifdef __cplusplus
14665 extern "C"
14666 #endif
14667 /* We use char because int might match the return type of a gcc2
14668 builtin and then its argument prototype would still apply. */
14669 char gettext ();
14670 int
14671 main ()
14672 {
14673 gettext ();
14674 ;
14675 return 0;
14676 }
14677 _ACEOF
14678 rm -f conftest.$ac_objext conftest$ac_exeext
14679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14680 (eval $ac_link) 2>conftest.er1
14681 ac_status=$?
14682 grep -v '^ *+' conftest.er1 >conftest.err
14683 rm -f conftest.er1
14684 cat conftest.err >&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); } &&
14687 { ac_try='test -z "$ac_c_werror_flag"
14688 || test ! -s conftest.err'
14689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14690 (eval $ac_try) 2>&5
14691 ac_status=$?
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; } &&
14694 { ac_try='test -s conftest$ac_exeext'
14695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696 (eval $ac_try) 2>&5
14697 ac_status=$?
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; }; then
14700 ac_cv_search_gettext="-l$ac_lib"
14701 break
14702 else
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.$ac_ext >&5
14705
14706 fi
14707 rm -f conftest.err conftest.$ac_objext \
14708 conftest$ac_exeext conftest.$ac_ext
14709 done
14710 fi
14711 LIBS=$ac_func_search_save_LIBS
14712 fi
14713 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14714 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14715 if test "$ac_cv_search_gettext" != no; then
14716 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14717
14718 else
14719 USE_NLS=no
14720 fi
14721
14722 fi
14723 if test $USE_NLS = yes; then
14724
14725 cat >>confdefs.h <<\_ACEOF
14726 #define _GLIBCXX_USE_NLS 1
14727 _ACEOF
14728
14729 fi
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14747 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14748 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14749 if test "${enable_libstdcxx_allocator+set}" = set; then
14750 enableval="$enable_libstdcxx_allocator"
14751
14752 case "$enableval" in
14753 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14754 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14755 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14756 { (exit 1); exit 1; }; } ;;
14757 esac
14758
14759 else
14760 enable_libstdcxx_allocator=auto
14761 fi;
14762
14763
14764 # If they didn't use this option switch, or if they specified --enable
14765 # with no specific model, we'll have to look for one. If they
14766 # specified --disable (???), do likewise.
14767 if test $enable_libstdcxx_allocator = no ||
14768 test $enable_libstdcxx_allocator = yes;
14769 then
14770 enable_libstdcxx_allocator=auto
14771 fi
14772
14773 # Either a known package, or "auto". Auto implies the default choice
14774 # for a particular platform.
14775 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14776
14777 # Probe for host-specific support if no specific model is specified.
14778 # Default to "new".
14779 if test $enable_libstdcxx_allocator_flag = auto; then
14780 case ${target_os} in
14781 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14782 enable_libstdcxx_allocator_flag=new
14783 ;;
14784 *)
14785 enable_libstdcxx_allocator_flag=new
14786 ;;
14787 esac
14788 fi
14789 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14790 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14791
14792
14793 # Set configure bits for specified locale package
14794 case ${enable_libstdcxx_allocator_flag} in
14795 bitmap)
14796 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14797 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14798 ;;
14799 malloc)
14800 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14801 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14802 ;;
14803 mt)
14804 ALLOCATOR_H=config/allocator/mt_allocator_base.h
14805 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14806 ;;
14807 new)
14808 ALLOCATOR_H=config/allocator/new_allocator_base.h
14809 ALLOCATOR_NAME=__gnu_cxx::new_allocator
14810 ;;
14811 pool)
14812 ALLOCATOR_H=config/allocator/pool_allocator_base.h
14813 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14814 ;;
14815 esac
14816
14817
14818
14819
14820
14821 # Check whether --enable-cheaders or --disable-cheaders was given.
14822 if test "${enable_cheaders+set}" = set; then
14823 enableval="$enable_cheaders"
14824
14825 case "$enableval" in
14826 c|c_std|c_global) ;;
14827 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14828 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14829 { (exit 1); exit 1; }; } ;;
14830 esac
14831
14832 else
14833 enable_cheaders=$c_model
14834 fi;
14835
14836 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14837 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14838
14839 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14840
14841 # Allow overrides to configure.host here.
14842 if test $enable_cheaders = c_global; then
14843 c_compatibility=yes
14844 fi
14845
14846 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14847 c_extra=yes
14848 fi
14849
14850
14851
14852
14853
14854
14855
14856
14857 # Check whether --enable-long-long or --disable-long-long was given.
14858 if test "${enable_long_long+set}" = set; then
14859 enableval="$enable_long_long"
14860
14861 case "$enableval" in
14862 yes|no) ;;
14863 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14864 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14865 { (exit 1); exit 1; }; } ;;
14866 esac
14867
14868 else
14869 enable_long_long=yes
14870 fi;
14871
14872 if test $enable_long_long = yes; then
14873
14874 cat >>confdefs.h <<\_ACEOF
14875 #define _GLIBCXX_USE_LONG_LONG 1
14876 _ACEOF
14877
14878 fi
14879 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14880 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14881 echo "$as_me:$LINENO: result: $enable_long_long" >&5
14882 echo "${ECHO_T}$enable_long_long" >&6
14883
14884
14885 # Check whether --enable-wchar_t or --disable-wchar_t was given.
14886 if test "${enable_wchar_t+set}" = set; then
14887 enableval="$enable_wchar_t"
14888
14889 case "$enableval" in
14890 yes|no) ;;
14891 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14892 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14893 { (exit 1); exit 1; }; } ;;
14894 esac
14895
14896 else
14897 enable_wchar_t=yes
14898 fi;
14899
14900
14901 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14902
14903 for ac_header in wchar.h
14904 do
14905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14907 echo "$as_me:$LINENO: checking for $ac_header" >&5
14908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14910 echo $ECHO_N "(cached) $ECHO_C" >&6
14911 fi
14912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14914 else
14915 # Is the header compilable?
14916 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14918 cat >conftest.$ac_ext <<_ACEOF
14919 /* confdefs.h. */
14920 _ACEOF
14921 cat confdefs.h >>conftest.$ac_ext
14922 cat >>conftest.$ac_ext <<_ACEOF
14923 /* end confdefs.h. */
14924 $ac_includes_default
14925 #include <$ac_header>
14926 _ACEOF
14927 rm -f conftest.$ac_objext
14928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14929 (eval $ac_compile) 2>conftest.er1
14930 ac_status=$?
14931 grep -v '^ *+' conftest.er1 >conftest.err
14932 rm -f conftest.er1
14933 cat conftest.err >&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); } &&
14936 { ac_try='test -z "$ac_c_werror_flag"
14937 || test ! -s conftest.err'
14938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14939 (eval $ac_try) 2>&5
14940 ac_status=$?
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); }; } &&
14943 { ac_try='test -s conftest.$ac_objext'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14946 ac_status=$?
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; }; then
14949 ac_header_compiler=yes
14950 else
14951 echo "$as_me: failed program was:" >&5
14952 sed 's/^/| /' conftest.$ac_ext >&5
14953
14954 ac_header_compiler=no
14955 fi
14956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14958 echo "${ECHO_T}$ac_header_compiler" >&6
14959
14960 # Is the header present?
14961 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14962 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14963 cat >conftest.$ac_ext <<_ACEOF
14964 /* confdefs.h. */
14965 _ACEOF
14966 cat confdefs.h >>conftest.$ac_ext
14967 cat >>conftest.$ac_ext <<_ACEOF
14968 /* end confdefs.h. */
14969 #include <$ac_header>
14970 _ACEOF
14971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14973 ac_status=$?
14974 grep -v '^ *+' conftest.er1 >conftest.err
14975 rm -f conftest.er1
14976 cat conftest.err >&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); } >/dev/null; then
14979 if test -s conftest.err; then
14980 ac_cpp_err=$ac_c_preproc_warn_flag
14981 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14982 else
14983 ac_cpp_err=
14984 fi
14985 else
14986 ac_cpp_err=yes
14987 fi
14988 if test -z "$ac_cpp_err"; then
14989 ac_header_preproc=yes
14990 else
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14993
14994 ac_header_preproc=no
14995 fi
14996 rm -f conftest.err conftest.$ac_ext
14997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14998 echo "${ECHO_T}$ac_header_preproc" >&6
14999
15000 # So? What about this header?
15001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15002 yes:no: )
15003 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15004 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15006 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15007 ac_header_preproc=yes
15008 ;;
15009 no:yes:* )
15010 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15011 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15012 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15013 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15014 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15015 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15016 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15017 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15020 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15021 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15022 (
15023 cat <<\_ASBOX
15024 ## ----------------------------------------- ##
15025 ## Report this to the package-unused lists. ##
15026 ## ----------------------------------------- ##
15027 _ASBOX
15028 ) |
15029 sed "s/^/$as_me: WARNING: /" >&2
15030 ;;
15031 esac
15032 echo "$as_me:$LINENO: checking for $ac_header" >&5
15033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15035 echo $ECHO_N "(cached) $ECHO_C" >&6
15036 else
15037 eval "$as_ac_Header=\$ac_header_preproc"
15038 fi
15039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15041
15042 fi
15043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15044 cat >>confdefs.h <<_ACEOF
15045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15046 _ACEOF
15047 ac_has_wchar_h=yes
15048 else
15049 ac_has_wchar_h=no
15050 fi
15051
15052 done
15053
15054 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15055 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15056 cat >conftest.$ac_ext <<_ACEOF
15057 /* confdefs.h. */
15058 _ACEOF
15059 cat confdefs.h >>conftest.$ac_ext
15060 cat >>conftest.$ac_ext <<_ACEOF
15061 /* end confdefs.h. */
15062 #include <wchar.h>
15063 int
15064 main ()
15065 {
15066 mbstate_t teststate;
15067 ;
15068 return 0;
15069 }
15070 _ACEOF
15071 rm -f conftest.$ac_objext
15072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15073 (eval $ac_compile) 2>conftest.er1
15074 ac_status=$?
15075 grep -v '^ *+' conftest.er1 >conftest.err
15076 rm -f conftest.er1
15077 cat conftest.err >&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); } &&
15080 { ac_try='test -z "$ac_c_werror_flag"
15081 || test ! -s conftest.err'
15082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15083 (eval $ac_try) 2>&5
15084 ac_status=$?
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }; } &&
15087 { ac_try='test -s conftest.$ac_objext'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15090 ac_status=$?
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; }; then
15093 have_mbstate_t=yes
15094 else
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.$ac_ext >&5
15097
15098 have_mbstate_t=no
15099 fi
15100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15101 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15102 echo "${ECHO_T}$have_mbstate_t" >&6
15103 if test x"$have_mbstate_t" = xyes; then
15104
15105 cat >>confdefs.h <<\_ACEOF
15106 #define HAVE_MBSTATE_T 1
15107 _ACEOF
15108
15109 fi
15110
15111 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15112 # ac_has_wchar_h.
15113
15114 for ac_header in wctype.h
15115 do
15116 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15118 echo "$as_me:$LINENO: checking for $ac_header" >&5
15119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15122 fi
15123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15125 else
15126 # Is the header compilable?
15127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15129 cat >conftest.$ac_ext <<_ACEOF
15130 /* confdefs.h. */
15131 _ACEOF
15132 cat confdefs.h >>conftest.$ac_ext
15133 cat >>conftest.$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135 $ac_includes_default
15136 #include <$ac_header>
15137 _ACEOF
15138 rm -f conftest.$ac_objext
15139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15140 (eval $ac_compile) 2>conftest.er1
15141 ac_status=$?
15142 grep -v '^ *+' conftest.er1 >conftest.err
15143 rm -f conftest.er1
15144 cat conftest.err >&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); } &&
15147 { ac_try='test -z "$ac_c_werror_flag"
15148 || test ! -s conftest.err'
15149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15150 (eval $ac_try) 2>&5
15151 ac_status=$?
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); }; } &&
15154 { ac_try='test -s conftest.$ac_objext'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15157 ac_status=$?
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; }; then
15160 ac_header_compiler=yes
15161 else
15162 echo "$as_me: failed program was:" >&5
15163 sed 's/^/| /' conftest.$ac_ext >&5
15164
15165 ac_header_compiler=no
15166 fi
15167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15169 echo "${ECHO_T}$ac_header_compiler" >&6
15170
15171 # Is the header present?
15172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15174 cat >conftest.$ac_ext <<_ACEOF
15175 /* confdefs.h. */
15176 _ACEOF
15177 cat confdefs.h >>conftest.$ac_ext
15178 cat >>conftest.$ac_ext <<_ACEOF
15179 /* end confdefs.h. */
15180 #include <$ac_header>
15181 _ACEOF
15182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15184 ac_status=$?
15185 grep -v '^ *+' conftest.er1 >conftest.err
15186 rm -f conftest.er1
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } >/dev/null; then
15190 if test -s conftest.err; then
15191 ac_cpp_err=$ac_c_preproc_warn_flag
15192 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15193 else
15194 ac_cpp_err=
15195 fi
15196 else
15197 ac_cpp_err=yes
15198 fi
15199 if test -z "$ac_cpp_err"; then
15200 ac_header_preproc=yes
15201 else
15202 echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.$ac_ext >&5
15204
15205 ac_header_preproc=no
15206 fi
15207 rm -f conftest.err conftest.$ac_ext
15208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15209 echo "${ECHO_T}$ac_header_preproc" >&6
15210
15211 # So? What about this header?
15212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15213 yes:no: )
15214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15217 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15218 ac_header_preproc=yes
15219 ;;
15220 no:yes:* )
15221 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15222 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15223 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15224 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15225 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15226 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15227 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15228 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15231 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15232 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15233 (
15234 cat <<\_ASBOX
15235 ## ----------------------------------------- ##
15236 ## Report this to the package-unused lists. ##
15237 ## ----------------------------------------- ##
15238 _ASBOX
15239 ) |
15240 sed "s/^/$as_me: WARNING: /" >&2
15241 ;;
15242 esac
15243 echo "$as_me:$LINENO: checking for $ac_header" >&5
15244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 else
15248 eval "$as_ac_Header=\$ac_header_preproc"
15249 fi
15250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15252
15253 fi
15254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15255 cat >>confdefs.h <<_ACEOF
15256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15257 _ACEOF
15258 ac_has_wctype_h=yes
15259 else
15260 ac_has_wctype_h=no
15261 fi
15262
15263 done
15264
15265
15266 if test x"$enable_wchar_t" = x"yes"; then
15267
15268
15269
15270 ac_ext=cc
15271 ac_cpp='$CXXCPP $CPPFLAGS'
15272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15275
15276
15277 if test x"$ac_has_wchar_h" = xyes &&
15278 test x"$ac_has_wctype_h" = xyes; then
15279 cat >conftest.$ac_ext <<_ACEOF
15280 /* confdefs.h. */
15281 _ACEOF
15282 cat confdefs.h >>conftest.$ac_ext
15283 cat >>conftest.$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15285 #include <wchar.h>
15286 #include <stddef.h>
15287 wint_t i;
15288 long l = WEOF;
15289 long j = WCHAR_MIN;
15290 long k = WCHAR_MAX;
15291 namespace test
15292 {
15293 using ::btowc;
15294 using ::fgetwc;
15295 using ::fgetws;
15296 using ::fputwc;
15297 using ::fputws;
15298 using ::fwide;
15299 using ::fwprintf;
15300 using ::fwscanf;
15301 using ::getwc;
15302 using ::getwchar;
15303 using ::mbrlen;
15304 using ::mbrtowc;
15305 using ::mbsinit;
15306 using ::mbsrtowcs;
15307 using ::putwc;
15308 using ::putwchar;
15309 using ::swprintf;
15310 using ::swscanf;
15311 using ::ungetwc;
15312 using ::vfwprintf;
15313 using ::vswprintf;
15314 using ::vwprintf;
15315 using ::wcrtomb;
15316 using ::wcscat;
15317 using ::wcschr;
15318 using ::wcscmp;
15319 using ::wcscoll;
15320 using ::wcscpy;
15321 using ::wcscspn;
15322 using ::wcsftime;
15323 using ::wcslen;
15324 using ::wcsncat;
15325 using ::wcsncmp;
15326 using ::wcsncpy;
15327 using ::wcspbrk;
15328 using ::wcsrchr;
15329 using ::wcsrtombs;
15330 using ::wcsspn;
15331 using ::wcsstr;
15332 using ::wcstod;
15333 using ::wcstok;
15334 using ::wcstol;
15335 using ::wcstoul;
15336 using ::wcsxfrm;
15337 using ::wctob;
15338 using ::wmemchr;
15339 using ::wmemcmp;
15340 using ::wmemcpy;
15341 using ::wmemmove;
15342 using ::wmemset;
15343 using ::wprintf;
15344 using ::wscanf;
15345 }
15346
15347 int
15348 main ()
15349 {
15350
15351 ;
15352 return 0;
15353 }
15354 _ACEOF
15355 rm -f conftest.$ac_objext
15356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15357 (eval $ac_compile) 2>conftest.er1
15358 ac_status=$?
15359 grep -v '^ *+' conftest.er1 >conftest.err
15360 rm -f conftest.er1
15361 cat conftest.err >&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } &&
15364 { ac_try='test -z "$ac_cxx_werror_flag"
15365 || test ! -s conftest.err'
15366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15367 (eval $ac_try) 2>&5
15368 ac_status=$?
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); }; } &&
15371 { ac_try='test -s conftest.$ac_objext'
15372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15373 (eval $ac_try) 2>&5
15374 ac_status=$?
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); }; }; then
15377 :
15378 else
15379 echo "$as_me: failed program was:" >&5
15380 sed 's/^/| /' conftest.$ac_ext >&5
15381
15382 enable_wchar_t=no
15383 fi
15384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15385 else
15386 enable_wchar_t=no
15387 fi
15388
15389 ac_ext=c
15390 ac_cpp='$CPP $CPPFLAGS'
15391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15394
15395 fi
15396
15397 if test x"$enable_wchar_t" = x"yes"; then
15398
15399 cat >>confdefs.h <<\_ACEOF
15400 #define _GLIBCXX_USE_WCHAR_T 1
15401 _ACEOF
15402
15403 fi
15404
15405 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15406 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15407 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15408 echo "${ECHO_T}$enable_wchar_t" >&6
15409
15410
15411
15412 # Check whether --enable-c99 or --disable-c99 was given.
15413 if test "${enable_c99+set}" = set; then
15414 enableval="$enable_c99"
15415
15416 case "$enableval" in
15417 yes|no) ;;
15418 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15419 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15420 { (exit 1); exit 1; }; } ;;
15421 esac
15422
15423 else
15424 enable_c99=yes
15425 fi;
15426
15427
15428 if test x"$enable_c99" = x"yes"; then
15429
15430
15431
15432 ac_ext=cc
15433 ac_cpp='$CXXCPP $CPPFLAGS'
15434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15437
15438
15439 # Check for the existence of <math.h> functions used if C99 is enabled.
15440 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15441 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15442 if test "${ac_c99_math+set}" = set; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 else
15445
15446 cat >conftest.$ac_ext <<_ACEOF
15447 /* confdefs.h. */
15448 _ACEOF
15449 cat confdefs.h >>conftest.$ac_ext
15450 cat >>conftest.$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15452 #include <math.h>
15453 int
15454 main ()
15455 {
15456 fpclassify(0.0);
15457 isfinite(0.0);
15458 isinf(0.0);
15459 isnan(0.0);
15460 isnormal(0.0);
15461 signbit(0.0);
15462 isgreater(0.0,0.0);
15463 isgreaterequal(0.0,0.0);
15464 isless(0.0,0.0);
15465 islessequal(0.0,0.0);
15466 islessgreater(0.0,0.0);
15467 islessgreater(0.0,0.0);
15468 isunordered(0.0,0.0);
15469
15470 ;
15471 return 0;
15472 }
15473 _ACEOF
15474 rm -f conftest.$ac_objext
15475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15476 (eval $ac_compile) 2>conftest.er1
15477 ac_status=$?
15478 grep -v '^ *+' conftest.er1 >conftest.err
15479 rm -f conftest.er1
15480 cat conftest.err >&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); } &&
15483 { ac_try='test -z "$ac_cxx_werror_flag"
15484 || test ! -s conftest.err'
15485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15486 (eval $ac_try) 2>&5
15487 ac_status=$?
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); }; } &&
15490 { ac_try='test -s conftest.$ac_objext'
15491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15492 (eval $ac_try) 2>&5
15493 ac_status=$?
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); }; }; then
15496 ac_c99_math=yes
15497 else
15498 echo "$as_me: failed program was:" >&5
15499 sed 's/^/| /' conftest.$ac_ext >&5
15500
15501 ac_c99_math=no
15502 fi
15503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15504
15505 fi
15506
15507 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15508 echo "${ECHO_T}$ac_c99_math" >&6
15509 if test x"$ac_c99_math" = x"yes"; then
15510
15511 cat >>confdefs.h <<\_ACEOF
15512 #define _GLIBCXX_USE_C99_MATH 1
15513 _ACEOF
15514
15515 fi
15516
15517 # Check for the existence of <complex.h> complex math functions.
15518 # This is necessary even though libstdc++ uses the builtin versions
15519 # of these functions, because if the builtin cannot be used, a reference
15520 # to the library function is emitted.
15521
15522 for ac_header in tgmath.h
15523 do
15524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15526 echo "$as_me:$LINENO: checking for $ac_header" >&5
15527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15529 echo $ECHO_N "(cached) $ECHO_C" >&6
15530 fi
15531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15533 else
15534 # Is the header compilable?
15535 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15537 cat >conftest.$ac_ext <<_ACEOF
15538 /* confdefs.h. */
15539 _ACEOF
15540 cat confdefs.h >>conftest.$ac_ext
15541 cat >>conftest.$ac_ext <<_ACEOF
15542 /* end confdefs.h. */
15543 $ac_includes_default
15544 #include <$ac_header>
15545 _ACEOF
15546 rm -f conftest.$ac_objext
15547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15548 (eval $ac_compile) 2>conftest.er1
15549 ac_status=$?
15550 grep -v '^ *+' conftest.er1 >conftest.err
15551 rm -f conftest.er1
15552 cat conftest.err >&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); } &&
15555 { ac_try='test -z "$ac_cxx_werror_flag"
15556 || test ! -s conftest.err'
15557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15558 (eval $ac_try) 2>&5
15559 ac_status=$?
15560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561 (exit $ac_status); }; } &&
15562 { ac_try='test -s conftest.$ac_objext'
15563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15564 (eval $ac_try) 2>&5
15565 ac_status=$?
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); }; }; then
15568 ac_header_compiler=yes
15569 else
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.$ac_ext >&5
15572
15573 ac_header_compiler=no
15574 fi
15575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15577 echo "${ECHO_T}$ac_header_compiler" >&6
15578
15579 # Is the header present?
15580 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15582 cat >conftest.$ac_ext <<_ACEOF
15583 /* confdefs.h. */
15584 _ACEOF
15585 cat confdefs.h >>conftest.$ac_ext
15586 cat >>conftest.$ac_ext <<_ACEOF
15587 /* end confdefs.h. */
15588 #include <$ac_header>
15589 _ACEOF
15590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15591 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15592 ac_status=$?
15593 grep -v '^ *+' conftest.er1 >conftest.err
15594 rm -f conftest.er1
15595 cat conftest.err >&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); } >/dev/null; then
15598 if test -s conftest.err; then
15599 ac_cpp_err=$ac_cxx_preproc_warn_flag
15600 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15601 else
15602 ac_cpp_err=
15603 fi
15604 else
15605 ac_cpp_err=yes
15606 fi
15607 if test -z "$ac_cpp_err"; then
15608 ac_header_preproc=yes
15609 else
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.$ac_ext >&5
15612
15613 ac_header_preproc=no
15614 fi
15615 rm -f conftest.err conftest.$ac_ext
15616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15617 echo "${ECHO_T}$ac_header_preproc" >&6
15618
15619 # So? What about this header?
15620 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15621 yes:no: )
15622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15625 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15626 ac_header_preproc=yes
15627 ;;
15628 no:yes:* )
15629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15630 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15632 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15633 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15634 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15635 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15636 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15639 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15640 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15641 (
15642 cat <<\_ASBOX
15643 ## ----------------------------------------- ##
15644 ## Report this to the package-unused lists. ##
15645 ## ----------------------------------------- ##
15646 _ASBOX
15647 ) |
15648 sed "s/^/$as_me: WARNING: /" >&2
15649 ;;
15650 esac
15651 echo "$as_me:$LINENO: checking for $ac_header" >&5
15652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15654 echo $ECHO_N "(cached) $ECHO_C" >&6
15655 else
15656 eval "$as_ac_Header=\$ac_header_preproc"
15657 fi
15658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15660
15661 fi
15662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15663 cat >>confdefs.h <<_ACEOF
15664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15665 _ACEOF
15666 ac_has_tgmath_h=yes
15667 else
15668 ac_has_tgmath_h=no
15669 fi
15670
15671 done
15672
15673
15674 for ac_header in complex.h
15675 do
15676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15678 echo "$as_me:$LINENO: checking for $ac_header" >&5
15679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15681 echo $ECHO_N "(cached) $ECHO_C" >&6
15682 fi
15683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15685 else
15686 # Is the header compilable?
15687 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15688 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15689 cat >conftest.$ac_ext <<_ACEOF
15690 /* confdefs.h. */
15691 _ACEOF
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15695 $ac_includes_default
15696 #include <$ac_header>
15697 _ACEOF
15698 rm -f conftest.$ac_objext
15699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15700 (eval $ac_compile) 2>conftest.er1
15701 ac_status=$?
15702 grep -v '^ *+' conftest.er1 >conftest.err
15703 rm -f conftest.er1
15704 cat conftest.err >&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } &&
15707 { ac_try='test -z "$ac_cxx_werror_flag"
15708 || test ! -s conftest.err'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15711 ac_status=$?
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; } &&
15714 { ac_try='test -s conftest.$ac_objext'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15717 ac_status=$?
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; }; then
15720 ac_header_compiler=yes
15721 else
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.$ac_ext >&5
15724
15725 ac_header_compiler=no
15726 fi
15727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15729 echo "${ECHO_T}$ac_header_compiler" >&6
15730
15731 # Is the header present?
15732 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15733 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15734 cat >conftest.$ac_ext <<_ACEOF
15735 /* confdefs.h. */
15736 _ACEOF
15737 cat confdefs.h >>conftest.$ac_ext
15738 cat >>conftest.$ac_ext <<_ACEOF
15739 /* end confdefs.h. */
15740 #include <$ac_header>
15741 _ACEOF
15742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15743 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15744 ac_status=$?
15745 grep -v '^ *+' conftest.er1 >conftest.err
15746 rm -f conftest.er1
15747 cat conftest.err >&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); } >/dev/null; then
15750 if test -s conftest.err; then
15751 ac_cpp_err=$ac_cxx_preproc_warn_flag
15752 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15753 else
15754 ac_cpp_err=
15755 fi
15756 else
15757 ac_cpp_err=yes
15758 fi
15759 if test -z "$ac_cpp_err"; then
15760 ac_header_preproc=yes
15761 else
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15764
15765 ac_header_preproc=no
15766 fi
15767 rm -f conftest.err conftest.$ac_ext
15768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15769 echo "${ECHO_T}$ac_header_preproc" >&6
15770
15771 # So? What about this header?
15772 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15773 yes:no: )
15774 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15777 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15778 ac_header_preproc=yes
15779 ;;
15780 no:yes:* )
15781 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15783 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15784 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15785 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15786 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15787 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15788 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15790 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15791 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15792 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15793 (
15794 cat <<\_ASBOX
15795 ## ----------------------------------------- ##
15796 ## Report this to the package-unused lists. ##
15797 ## ----------------------------------------- ##
15798 _ASBOX
15799 ) |
15800 sed "s/^/$as_me: WARNING: /" >&2
15801 ;;
15802 esac
15803 echo "$as_me:$LINENO: checking for $ac_header" >&5
15804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15806 echo $ECHO_N "(cached) $ECHO_C" >&6
15807 else
15808 eval "$as_ac_Header=\$ac_header_preproc"
15809 fi
15810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15812
15813 fi
15814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15815 cat >>confdefs.h <<_ACEOF
15816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15817 _ACEOF
15818 ac_has_complex_h=yes
15819 else
15820 ac_has_complex_h=no
15821 fi
15822
15823 done
15824
15825 ac_c99_complex=no;
15826 if test x"$ac_has_complex_h" = x"yes"; then
15827 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
15828 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
15829 cat >conftest.$ac_ext <<_ACEOF
15830 /* confdefs.h. */
15831 _ACEOF
15832 cat confdefs.h >>conftest.$ac_ext
15833 cat >>conftest.$ac_ext <<_ACEOF
15834 /* end confdefs.h. */
15835 #include <complex.h>
15836 int
15837 main ()
15838 {
15839 typedef __complex__ float float_type; float_type tmpf;
15840 cabsf(tmpf);
15841 cargf(tmpf);
15842 ccosf(tmpf);
15843 ccoshf(tmpf);
15844 cexpf(tmpf);
15845 clogf(tmpf);
15846 csinf(tmpf);
15847 csinhf(tmpf);
15848 csqrtf(tmpf);
15849 ctanf(tmpf);
15850 ctanhf(tmpf);
15851 cpowf(tmpf, tmpf);
15852 typedef __complex__ double double_type; double_type tmpd;
15853 cabs(tmpd);
15854 carg(tmpd);
15855 ccos(tmpd);
15856 ccosh(tmpd);
15857 cexp(tmpd);
15858 clog(tmpd);
15859 csin(tmpd);
15860 csinh(tmpd);
15861 csqrt(tmpd);
15862 ctan(tmpd);
15863 ctanh(tmpd);
15864 cpow(tmpd, tmpd);
15865 typedef __complex__ long double ld_type; ld_type tmpld;
15866 cabsl(tmpld);
15867 cargl(tmpld);
15868 ccosl(tmpld);
15869 ccoshl(tmpld);
15870 cexpl(tmpld);
15871 clogl(tmpld);
15872 csinl(tmpld);
15873 csinhl(tmpld);
15874 csqrtl(tmpld);
15875 ctanl(tmpld);
15876 ctanhl(tmpld);
15877 cpowl(tmpld, tmpld);
15878
15879 ;
15880 return 0;
15881 }
15882 _ACEOF
15883 rm -f conftest.$ac_objext
15884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15885 (eval $ac_compile) 2>conftest.er1
15886 ac_status=$?
15887 grep -v '^ *+' conftest.er1 >conftest.err
15888 rm -f conftest.er1
15889 cat conftest.err >&5
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); } &&
15892 { ac_try='test -z "$ac_cxx_werror_flag"
15893 || test ! -s conftest.err'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15896 ac_status=$?
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; } &&
15899 { ac_try='test -s conftest.$ac_objext'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15902 ac_status=$?
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; }; then
15905 ac_c99_complex=yes
15906 else
15907 echo "$as_me: failed program was:" >&5
15908 sed 's/^/| /' conftest.$ac_ext >&5
15909
15910 ac_c99_complex=no
15911 fi
15912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15913 fi
15914 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
15915 echo "${ECHO_T}$ac_c99_complex" >&6
15916 if test x"$ac_c99_complex" = x"yes"; then
15917
15918 cat >>confdefs.h <<\_ACEOF
15919 #define _GLIBCXX_USE_C99_COMPLEX 1
15920 _ACEOF
15921
15922 fi
15923
15924 # Check for the existence in <stdio.h> of vscanf, et. al.
15925 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
15926 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
15927 if test "${ac_c99_stdio+set}" = set; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 else
15930
15931 cat >conftest.$ac_ext <<_ACEOF
15932 /* confdefs.h. */
15933 _ACEOF
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15937 #include <stdio.h>
15938 #include <stdarg.h>
15939 void foo(char* fmt, ...)
15940 {
15941 va_list args; va_start(args, fmt);
15942 vfscanf(stderr, "%i", args);
15943 vscanf("%i", args);
15944 vsnprintf(fmt, 0, "%i", args);
15945 vsscanf(fmt, "%i", args);
15946 }
15947 int
15948 main ()
15949 {
15950 snprintf("12", 0, "%i");
15951 ;
15952 return 0;
15953 }
15954 _ACEOF
15955 rm -f conftest.$ac_objext
15956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15957 (eval $ac_compile) 2>conftest.er1
15958 ac_status=$?
15959 grep -v '^ *+' conftest.er1 >conftest.err
15960 rm -f conftest.er1
15961 cat conftest.err >&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); } &&
15964 { ac_try='test -z "$ac_cxx_werror_flag"
15965 || test ! -s conftest.err'
15966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15967 (eval $ac_try) 2>&5
15968 ac_status=$?
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); }; } &&
15971 { ac_try='test -s conftest.$ac_objext'
15972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15973 (eval $ac_try) 2>&5
15974 ac_status=$?
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); }; }; then
15977 ac_c99_stdio=yes
15978 else
15979 echo "$as_me: failed program was:" >&5
15980 sed 's/^/| /' conftest.$ac_ext >&5
15981
15982 ac_c99_stdio=no
15983 fi
15984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15985
15986 fi
15987
15988 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
15989 echo "${ECHO_T}$ac_c99_stdio" >&6
15990
15991 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
15992 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
15993 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
15994 if test "${ac_c99_stdlib+set}" = set; then
15995 echo $ECHO_N "(cached) $ECHO_C" >&6
15996 else
15997
15998 cat >conftest.$ac_ext <<_ACEOF
15999 /* confdefs.h. */
16000 _ACEOF
16001 cat confdefs.h >>conftest.$ac_ext
16002 cat >>conftest.$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16004 #include <stdlib.h>
16005 int
16006 main ()
16007 {
16008 char* tmp;
16009 strtof("gnu", &tmp);
16010 strtold("gnu", &tmp);
16011 strtoll("gnu", &tmp, 10);
16012 strtoull("gnu", &tmp, 10);
16013 llabs(10);
16014 lldiv(10,1);
16015 atoll("10");
16016 _Exit(0);
16017 lldiv_t mydivt;
16018 ;
16019 return 0;
16020 }
16021 _ACEOF
16022 rm -f conftest.$ac_objext
16023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16024 (eval $ac_compile) 2>conftest.er1
16025 ac_status=$?
16026 grep -v '^ *+' conftest.er1 >conftest.err
16027 rm -f conftest.er1
16028 cat conftest.err >&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } &&
16031 { ac_try='test -z "$ac_cxx_werror_flag"
16032 || test ! -s conftest.err'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16035 ac_status=$?
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; } &&
16038 { ac_try='test -s conftest.$ac_objext'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16041 ac_status=$?
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; }; then
16044 ac_c99_stdlib=yes
16045 else
16046 echo "$as_me: failed program was:" >&5
16047 sed 's/^/| /' conftest.$ac_ext >&5
16048
16049 ac_c99_stdlib=no
16050 fi
16051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16052
16053 fi
16054
16055 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16056 echo "${ECHO_T}$ac_c99_stdlib" >&6
16057
16058 # Check for the existence in <wchar.h> of wcstold, etc.
16059 ac_c99_wchar=no;
16060 if test x"$ac_has_wchar_h" = xyes &&
16061 test x"$ac_has_wctype_h" = xyes; then
16062 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16063 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16064 cat >conftest.$ac_ext <<_ACEOF
16065 /* confdefs.h. */
16066 _ACEOF
16067 cat confdefs.h >>conftest.$ac_ext
16068 cat >>conftest.$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16070 #include <wchar.h>
16071 namespace test
16072 {
16073 using ::wcstold;
16074 using ::wcstoll;
16075 using ::wcstoull;
16076 }
16077
16078 int
16079 main ()
16080 {
16081
16082 ;
16083 return 0;
16084 }
16085 _ACEOF
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088 (eval $ac_compile) 2>conftest.er1
16089 ac_status=$?
16090 grep -v '^ *+' conftest.er1 >conftest.err
16091 rm -f conftest.er1
16092 cat conftest.err >&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } &&
16095 { ac_try='test -z "$ac_cxx_werror_flag"
16096 || test ! -s conftest.err'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16099 ac_status=$?
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; } &&
16102 { ac_try='test -s conftest.$ac_objext'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16105 ac_status=$?
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; }; then
16108 ac_c99_wchar=yes
16109 else
16110 echo "$as_me: failed program was:" >&5
16111 sed 's/^/| /' conftest.$ac_ext >&5
16112
16113 ac_c99_wchar=no
16114 fi
16115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16116
16117 # Checks for wide character functions that may not be present.
16118 # Injection of these is wrapped with guard macros.
16119 # NB: only put functions here, instead of immediately above, if
16120 # absolutely necessary.
16121 cat >conftest.$ac_ext <<_ACEOF
16122 /* confdefs.h. */
16123 _ACEOF
16124 cat confdefs.h >>conftest.$ac_ext
16125 cat >>conftest.$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 #include <wchar.h>
16128 namespace test { using ::vfwscanf; }
16129 int
16130 main ()
16131 {
16132
16133 ;
16134 return 0;
16135 }
16136 _ACEOF
16137 rm -f conftest.$ac_objext
16138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16139 (eval $ac_compile) 2>conftest.er1
16140 ac_status=$?
16141 grep -v '^ *+' conftest.er1 >conftest.err
16142 rm -f conftest.er1
16143 cat conftest.err >&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } &&
16146 { ac_try='test -z "$ac_cxx_werror_flag"
16147 || test ! -s conftest.err'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; } &&
16153 { ac_try='test -s conftest.$ac_objext'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16156 ac_status=$?
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; }; then
16159
16160 cat >>confdefs.h <<\_ACEOF
16161 #define HAVE_VFWSCANF 1
16162 _ACEOF
16163
16164 else
16165 echo "$as_me: failed program was:" >&5
16166 sed 's/^/| /' conftest.$ac_ext >&5
16167
16168 fi
16169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16170
16171 cat >conftest.$ac_ext <<_ACEOF
16172 /* confdefs.h. */
16173 _ACEOF
16174 cat confdefs.h >>conftest.$ac_ext
16175 cat >>conftest.$ac_ext <<_ACEOF
16176 /* end confdefs.h. */
16177 #include <wchar.h>
16178 namespace test { using ::vswscanf; }
16179 int
16180 main ()
16181 {
16182
16183 ;
16184 return 0;
16185 }
16186 _ACEOF
16187 rm -f conftest.$ac_objext
16188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16189 (eval $ac_compile) 2>conftest.er1
16190 ac_status=$?
16191 grep -v '^ *+' conftest.er1 >conftest.err
16192 rm -f conftest.er1
16193 cat conftest.err >&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } &&
16196 { ac_try='test -z "$ac_cxx_werror_flag"
16197 || test ! -s conftest.err'
16198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199 (eval $ac_try) 2>&5
16200 ac_status=$?
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); }; } &&
16203 { ac_try='test -s conftest.$ac_objext'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16206 ac_status=$?
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; }; then
16209
16210 cat >>confdefs.h <<\_ACEOF
16211 #define HAVE_VSWSCANF 1
16212 _ACEOF
16213
16214 else
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.$ac_ext >&5
16217
16218 fi
16219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16220
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 #include <wchar.h>
16228 namespace test { using ::vwscanf; }
16229 int
16230 main ()
16231 {
16232
16233 ;
16234 return 0;
16235 }
16236 _ACEOF
16237 rm -f conftest.$ac_objext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16239 (eval $ac_compile) 2>conftest.er1
16240 ac_status=$?
16241 grep -v '^ *+' conftest.er1 >conftest.err
16242 rm -f conftest.er1
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try='test -z "$ac_cxx_werror_flag"
16247 || test ! -s conftest.err'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; } &&
16253 { ac_try='test -s conftest.$ac_objext'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16256 ac_status=$?
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; }; then
16259
16260 cat >>confdefs.h <<\_ACEOF
16261 #define HAVE_VWSCANF 1
16262 _ACEOF
16263
16264 else
16265 echo "$as_me: failed program was:" >&5
16266 sed 's/^/| /' conftest.$ac_ext >&5
16267
16268 fi
16269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16270
16271 cat >conftest.$ac_ext <<_ACEOF
16272 /* confdefs.h. */
16273 _ACEOF
16274 cat confdefs.h >>conftest.$ac_ext
16275 cat >>conftest.$ac_ext <<_ACEOF
16276 /* end confdefs.h. */
16277 #include <wchar.h>
16278 namespace test { using ::wcstof; }
16279 int
16280 main ()
16281 {
16282
16283 ;
16284 return 0;
16285 }
16286 _ACEOF
16287 rm -f conftest.$ac_objext
16288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16289 (eval $ac_compile) 2>conftest.er1
16290 ac_status=$?
16291 grep -v '^ *+' conftest.er1 >conftest.err
16292 rm -f conftest.er1
16293 cat conftest.err >&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } &&
16296 { ac_try='test -z "$ac_cxx_werror_flag"
16297 || test ! -s conftest.err'
16298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16299 (eval $ac_try) 2>&5
16300 ac_status=$?
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); }; } &&
16303 { ac_try='test -s conftest.$ac_objext'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16306 ac_status=$?
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; }; then
16309
16310 cat >>confdefs.h <<\_ACEOF
16311 #define HAVE_WCSTOF 1
16312 _ACEOF
16313
16314 else
16315 echo "$as_me: failed program was:" >&5
16316 sed 's/^/| /' conftest.$ac_ext >&5
16317
16318 fi
16319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16320
16321 cat >conftest.$ac_ext <<_ACEOF
16322 /* confdefs.h. */
16323 _ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16327 #include <wctype.h>
16328 int
16329 main ()
16330 {
16331 wint_t t; int i = iswblank(t);
16332 ;
16333 return 0;
16334 }
16335 _ACEOF
16336 rm -f conftest.$ac_objext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16338 (eval $ac_compile) 2>conftest.er1
16339 ac_status=$?
16340 grep -v '^ *+' conftest.er1 >conftest.err
16341 rm -f conftest.er1
16342 cat conftest.err >&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -z "$ac_cxx_werror_flag"
16346 || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16349 ac_status=$?
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358
16359 cat >>confdefs.h <<\_ACEOF
16360 #define HAVE_ISWBLANK 1
16361 _ACEOF
16362
16363 else
16364 echo "$as_me: failed program was:" >&5
16365 sed 's/^/| /' conftest.$ac_ext >&5
16366
16367 fi
16368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16369
16370 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16371 echo "${ECHO_T}$ac_c99_wchar" >&6
16372 fi
16373
16374 # Option parsed, now set things appropriately.
16375 if test x"$ac_c99_math" = x"no" ||
16376 test x"$ac_c99_complex" = x"no" ||
16377 test x"$ac_c99_stdio" = x"no" ||
16378 test x"$ac_c99_stdlib" = x"no" ||
16379 test x"$ac_c99_wchar" = x"no"; then
16380 enable_c99=no;
16381 else
16382
16383 cat >>confdefs.h <<\_ACEOF
16384 #define _GLIBCXX_USE_C99 1
16385 _ACEOF
16386
16387 fi
16388
16389 ac_ext=c
16390 ac_cpp='$CPP $CPPFLAGS'
16391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16394
16395 fi
16396
16397 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16398 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16399 echo "$as_me:$LINENO: result: $enable_c99" >&5
16400 echo "${ECHO_T}$enable_c99" >&6
16401
16402
16403 # Check whether --enable-concept-checks or --disable-concept-checks was given.
16404 if test "${enable_concept_checks+set}" = set; then
16405 enableval="$enable_concept_checks"
16406
16407 case "$enableval" in
16408 yes|no) ;;
16409 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16410 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16411 { (exit 1); exit 1; }; } ;;
16412 esac
16413
16414 else
16415 enable_concept_checks=no
16416 fi;
16417
16418 if test $enable_concept_checks = yes; then
16419
16420 cat >>confdefs.h <<\_ACEOF
16421 #define _GLIBCXX_CONCEPT_CHECKS 1
16422 _ACEOF
16423
16424 fi
16425
16426
16427 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16428 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16429 enableval="$enable_libstdcxx_debug_flags"
16430 case "x$enable_libstdcxx_debug_flags" in
16431 xno | x) enable_libstdcxx_debug_flags= ;;
16432 x-*) ;;
16433 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16434 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16435 { (exit 1); exit 1; }; } ;;
16436 esac
16437 else
16438 enable_libstdcxx_debug_flags="-g3 -O0"
16439 fi;
16440
16441
16442 # Option parsed, now set things appropriately
16443 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16444
16445
16446 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16447 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16448
16449
16450 echo "$as_me:$LINENO: checking for additional debug build" >&5
16451 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16452 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16453 if test "${enable_libstdcxx_debug+set}" = set; then
16454 enableval="$enable_libstdcxx_debug"
16455
16456 case "$enableval" in
16457 yes|no) ;;
16458 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16459 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16460 { (exit 1); exit 1; }; } ;;
16461 esac
16462
16463 else
16464 enable_libstdcxx_debug=no
16465 fi;
16466
16467 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16468 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16469
16470
16471 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16472 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16473 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16474 if test "${enable_cxx_flags+set}" = set; then
16475 enableval="$enable_cxx_flags"
16476 case "x$enable_cxx_flags" in
16477 xno | x) enable_cxx_flags= ;;
16478 x-*) ;;
16479 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16480 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16481 { (exit 1); exit 1; }; } ;;
16482 esac
16483 else
16484 enable_cxx_flags=
16485 fi;
16486
16487
16488 # Run through flags (either default or command-line) and set anything
16489 # extra (e.g., #defines) that must accompany particular g++ options.
16490 if test -n "$enable_cxx_flags"; then
16491 for f in $enable_cxx_flags; do
16492 case "$f" in
16493 -fhonor-std) ;;
16494 -*) ;;
16495 *) # and we're trying to pass /what/ exactly?
16496 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16497 echo "$as_me: error: compiler flags start with a -" >&2;}
16498 { (exit 1); exit 1; }; } ;;
16499 esac
16500 done
16501 fi
16502
16503 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16504 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16505 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16506
16507
16508
16509 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16510 if test "${enable_fully_dynamic_string+set}" = set; then
16511 enableval="$enable_fully_dynamic_string"
16512
16513 case "$enableval" in
16514 yes|no) ;;
16515 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16516 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16517 { (exit 1); exit 1; }; } ;;
16518 esac
16519
16520 else
16521 enable_fully_dynamic_string=no
16522 fi;
16523
16524 if test $enable_fully_dynamic_string = yes; then
16525
16526 cat >>confdefs.h <<\_ACEOF
16527 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16528 _ACEOF
16529
16530 fi
16531
16532
16533 # Checks for operating systems support that don't require linking.
16534
16535
16536 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
16537 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
16538 if test "${ac_system_error1+set}" = set; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16540 else
16541
16542 cat >conftest.$ac_ext <<_ACEOF
16543 /* confdefs.h. */
16544 _ACEOF
16545 cat confdefs.h >>conftest.$ac_ext
16546 cat >>conftest.$ac_ext <<_ACEOF
16547 /* end confdefs.h. */
16548 #include <errno.h>
16549 int
16550 main ()
16551 {
16552 int i = EOWNERDEAD;
16553 ;
16554 return 0;
16555 }
16556 _ACEOF
16557 rm -f conftest.$ac_objext
16558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16559 (eval $ac_compile) 2>conftest.er1
16560 ac_status=$?
16561 grep -v '^ *+' conftest.er1 >conftest.err
16562 rm -f conftest.er1
16563 cat conftest.err >&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } &&
16566 { ac_try='test -z "$ac_c_werror_flag"
16567 || test ! -s conftest.err'
16568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16569 (eval $ac_try) 2>&5
16570 ac_status=$?
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); }; } &&
16573 { ac_try='test -s conftest.$ac_objext'
16574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16575 (eval $ac_try) 2>&5
16576 ac_status=$?
16577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578 (exit $ac_status); }; }; then
16579 ac_system_error1=yes
16580 else
16581 echo "$as_me: failed program was:" >&5
16582 sed 's/^/| /' conftest.$ac_ext >&5
16583
16584 ac_system_error1=no
16585 fi
16586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16587
16588 fi
16589
16590 echo "$as_me:$LINENO: result: $ac_system_error1" >&5
16591 echo "${ECHO_T}$ac_system_error1" >&6
16592 if test x"$ac_system_error1" = x"yes"; then
16593
16594 cat >>confdefs.h <<\_ACEOF
16595 #define HAVE_EOWNERDEAD 1
16596 _ACEOF
16597
16598 fi
16599
16600 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
16601 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
16602 if test "${ac_system_error2+set}" = set; then
16603 echo $ECHO_N "(cached) $ECHO_C" >&6
16604 else
16605
16606 cat >conftest.$ac_ext <<_ACEOF
16607 /* confdefs.h. */
16608 _ACEOF
16609 cat confdefs.h >>conftest.$ac_ext
16610 cat >>conftest.$ac_ext <<_ACEOF
16611 /* end confdefs.h. */
16612 #include <errno.h>
16613 int
16614 main ()
16615 {
16616 int i = ENOTRECOVERABLE;
16617 ;
16618 return 0;
16619 }
16620 _ACEOF
16621 rm -f conftest.$ac_objext
16622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16623 (eval $ac_compile) 2>conftest.er1
16624 ac_status=$?
16625 grep -v '^ *+' conftest.er1 >conftest.err
16626 rm -f conftest.er1
16627 cat conftest.err >&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); } &&
16630 { ac_try='test -z "$ac_c_werror_flag"
16631 || test ! -s conftest.err'
16632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16633 (eval $ac_try) 2>&5
16634 ac_status=$?
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); }; } &&
16637 { ac_try='test -s conftest.$ac_objext'
16638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639 (eval $ac_try) 2>&5
16640 ac_status=$?
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); }; }; then
16643 ac_system_error2=yes
16644 else
16645 echo "$as_me: failed program was:" >&5
16646 sed 's/^/| /' conftest.$ac_ext >&5
16647
16648 ac_system_error2=no
16649 fi
16650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16651
16652 fi
16653
16654 echo "$as_me:$LINENO: result: $ac_system_error2" >&5
16655 echo "${ECHO_T}$ac_system_error2" >&6
16656 if test x"$ac_system_error2" = x"yes"; then
16657
16658 cat >>confdefs.h <<\_ACEOF
16659 #define HAVE_ENOTRECOVERABLE 1
16660 _ACEOF
16661
16662 fi
16663
16664 echo "$as_me:$LINENO: checking for ENOLINK" >&5
16665 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
16666 if test "${ac_system_error3+set}" = set; then
16667 echo $ECHO_N "(cached) $ECHO_C" >&6
16668 else
16669
16670 cat >conftest.$ac_ext <<_ACEOF
16671 /* confdefs.h. */
16672 _ACEOF
16673 cat confdefs.h >>conftest.$ac_ext
16674 cat >>conftest.$ac_ext <<_ACEOF
16675 /* end confdefs.h. */
16676 #include <errno.h>
16677 int
16678 main ()
16679 {
16680 int i = ENOLINK;
16681 ;
16682 return 0;
16683 }
16684 _ACEOF
16685 rm -f conftest.$ac_objext
16686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16687 (eval $ac_compile) 2>conftest.er1
16688 ac_status=$?
16689 grep -v '^ *+' conftest.er1 >conftest.err
16690 rm -f conftest.er1
16691 cat conftest.err >&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); } &&
16694 { ac_try='test -z "$ac_c_werror_flag"
16695 || test ! -s conftest.err'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16698 ac_status=$?
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; } &&
16701 { ac_try='test -s conftest.$ac_objext'
16702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16703 (eval $ac_try) 2>&5
16704 ac_status=$?
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); }; }; then
16707 ac_system_error3=yes
16708 else
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.$ac_ext >&5
16711
16712 ac_system_error3=no
16713 fi
16714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16715
16716 fi
16717
16718 echo "$as_me:$LINENO: result: $ac_system_error3" >&5
16719 echo "${ECHO_T}$ac_system_error3" >&6
16720 if test x"$ac_system_error3" = x"yes"; then
16721
16722 cat >>confdefs.h <<\_ACEOF
16723 #define HAVE_ENOLINK 1
16724 _ACEOF
16725
16726 fi
16727
16728 echo "$as_me:$LINENO: checking for EPROTO" >&5
16729 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
16730 if test "${ac_system_error_4+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16732 else
16733
16734 cat >conftest.$ac_ext <<_ACEOF
16735 /* confdefs.h. */
16736 _ACEOF
16737 cat confdefs.h >>conftest.$ac_ext
16738 cat >>conftest.$ac_ext <<_ACEOF
16739 /* end confdefs.h. */
16740 #include <errno.h>
16741 int
16742 main ()
16743 {
16744 int i = EPROTO;
16745 ;
16746 return 0;
16747 }
16748 _ACEOF
16749 rm -f conftest.$ac_objext
16750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16751 (eval $ac_compile) 2>conftest.er1
16752 ac_status=$?
16753 grep -v '^ *+' conftest.er1 >conftest.err
16754 rm -f conftest.er1
16755 cat conftest.err >&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } &&
16758 { ac_try='test -z "$ac_c_werror_flag"
16759 || test ! -s conftest.err'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16762 ac_status=$?
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; } &&
16765 { ac_try='test -s conftest.$ac_objext'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16768 ac_status=$?
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; }; then
16771 ac_system_error_4=yes
16772 else
16773 echo "$as_me: failed program was:" >&5
16774 sed 's/^/| /' conftest.$ac_ext >&5
16775
16776 ac_system_error_4=no
16777 fi
16778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16779
16780 fi
16781
16782 echo "$as_me:$LINENO: result: $ac_system_error_4" >&5
16783 echo "${ECHO_T}$ac_system_error_4" >&6
16784 if test x"$ac_system_error_4" = x"yes"; then
16785
16786 cat >>confdefs.h <<\_ACEOF
16787 #define HAVE_EPROTO 1
16788 _ACEOF
16789
16790 fi
16791
16792 echo "$as_me:$LINENO: checking for ENODATA" >&5
16793 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
16794 if test "${ac_system_error_5+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 else
16797
16798 cat >conftest.$ac_ext <<_ACEOF
16799 /* confdefs.h. */
16800 _ACEOF
16801 cat confdefs.h >>conftest.$ac_ext
16802 cat >>conftest.$ac_ext <<_ACEOF
16803 /* end confdefs.h. */
16804 #include <errno.h>
16805 int
16806 main ()
16807 {
16808 int i = ENODATA;
16809 ;
16810 return 0;
16811 }
16812 _ACEOF
16813 rm -f conftest.$ac_objext
16814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16815 (eval $ac_compile) 2>conftest.er1
16816 ac_status=$?
16817 grep -v '^ *+' conftest.er1 >conftest.err
16818 rm -f conftest.er1
16819 cat conftest.err >&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); } &&
16822 { ac_try='test -z "$ac_c_werror_flag"
16823 || test ! -s conftest.err'
16824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825 (eval $ac_try) 2>&5
16826 ac_status=$?
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; } &&
16829 { ac_try='test -s conftest.$ac_objext'
16830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16831 (eval $ac_try) 2>&5
16832 ac_status=$?
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); }; }; then
16835 ac_system_error_5=yes
16836 else
16837 echo "$as_me: failed program was:" >&5
16838 sed 's/^/| /' conftest.$ac_ext >&5
16839
16840 ac_system_error_5=no
16841 fi
16842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16843
16844 fi
16845
16846 echo "$as_me:$LINENO: result: $ac_system_error_5" >&5
16847 echo "${ECHO_T}$ac_system_error_5" >&6
16848 if test x"$ac_system_error_5" = x"yes"; then
16849
16850 cat >>confdefs.h <<\_ACEOF
16851 #define HAVE_ENODATA 1
16852 _ACEOF
16853
16854 fi
16855
16856 echo "$as_me:$LINENO: checking for ENOSR" >&5
16857 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
16858 if test "${ac_system_error_6+set}" = set; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16860 else
16861
16862 cat >conftest.$ac_ext <<_ACEOF
16863 /* confdefs.h. */
16864 _ACEOF
16865 cat confdefs.h >>conftest.$ac_ext
16866 cat >>conftest.$ac_ext <<_ACEOF
16867 /* end confdefs.h. */
16868 #include <errno.h>
16869 int
16870 main ()
16871 {
16872 int i = ENOSR;
16873 ;
16874 return 0;
16875 }
16876 _ACEOF
16877 rm -f conftest.$ac_objext
16878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16879 (eval $ac_compile) 2>conftest.er1
16880 ac_status=$?
16881 grep -v '^ *+' conftest.er1 >conftest.err
16882 rm -f conftest.er1
16883 cat conftest.err >&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); } &&
16886 { ac_try='test -z "$ac_c_werror_flag"
16887 || test ! -s conftest.err'
16888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16889 (eval $ac_try) 2>&5
16890 ac_status=$?
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); }; } &&
16893 { ac_try='test -s conftest.$ac_objext'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16896 ac_status=$?
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; }; then
16899 ac_system_error_6=yes
16900 else
16901 echo "$as_me: failed program was:" >&5
16902 sed 's/^/| /' conftest.$ac_ext >&5
16903
16904 ac_system_error_6=no
16905 fi
16906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16907
16908 fi
16909
16910 echo "$as_me:$LINENO: result: $ac_system_error_6" >&5
16911 echo "${ECHO_T}$ac_system_error_6" >&6
16912 if test x"$ac_system_error_6" = x"yes"; then
16913
16914 cat >>confdefs.h <<\_ACEOF
16915 #define HAVE_ENOSR 1
16916 _ACEOF
16917
16918 fi
16919
16920 echo "$as_me:$LINENO: checking for ENOSTR" >&5
16921 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
16922 if test "${ac_system_error_7+set}" = set; then
16923 echo $ECHO_N "(cached) $ECHO_C" >&6
16924 else
16925
16926 cat >conftest.$ac_ext <<_ACEOF
16927 /* confdefs.h. */
16928 _ACEOF
16929 cat confdefs.h >>conftest.$ac_ext
16930 cat >>conftest.$ac_ext <<_ACEOF
16931 /* end confdefs.h. */
16932 #include <errno.h>
16933 int
16934 main ()
16935 {
16936 int i = ENOSTR;
16937 ;
16938 return 0;
16939 }
16940 _ACEOF
16941 rm -f conftest.$ac_objext
16942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16943 (eval $ac_compile) 2>conftest.er1
16944 ac_status=$?
16945 grep -v '^ *+' conftest.er1 >conftest.err
16946 rm -f conftest.er1
16947 cat conftest.err >&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } &&
16950 { ac_try='test -z "$ac_c_werror_flag"
16951 || test ! -s conftest.err'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16954 ac_status=$?
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; } &&
16957 { ac_try='test -s conftest.$ac_objext'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16960 ac_status=$?
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; }; then
16963 ac_system_error_7=yes
16964 else
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.$ac_ext >&5
16967
16968 ac_system_error_7=no
16969 fi
16970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16971
16972 fi
16973
16974 echo "$as_me:$LINENO: result: $ac_system_error_7" >&5
16975 echo "${ECHO_T}$ac_system_error_7" >&6
16976 if test x"$ac_system_error_7" = x"yes"; then
16977
16978 cat >>confdefs.h <<\_ACEOF
16979 #define HAVE_ENOSTR 1
16980 _ACEOF
16981
16982 fi
16983
16984 echo "$as_me:$LINENO: checking for ETIME" >&5
16985 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
16986 if test "${ac_system_error_8+set}" = set; then
16987 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 else
16989
16990 cat >conftest.$ac_ext <<_ACEOF
16991 /* confdefs.h. */
16992 _ACEOF
16993 cat confdefs.h >>conftest.$ac_ext
16994 cat >>conftest.$ac_ext <<_ACEOF
16995 /* end confdefs.h. */
16996 #include <errno.h>
16997 int
16998 main ()
16999 {
17000 int i = ETIME;
17001 ;
17002 return 0;
17003 }
17004 _ACEOF
17005 rm -f conftest.$ac_objext
17006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17007 (eval $ac_compile) 2>conftest.er1
17008 ac_status=$?
17009 grep -v '^ *+' conftest.er1 >conftest.err
17010 rm -f conftest.er1
17011 cat conftest.err >&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); } &&
17014 { ac_try='test -z "$ac_c_werror_flag"
17015 || test ! -s conftest.err'
17016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17017 (eval $ac_try) 2>&5
17018 ac_status=$?
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); }; } &&
17021 { ac_try='test -s conftest.$ac_objext'
17022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17023 (eval $ac_try) 2>&5
17024 ac_status=$?
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }; }; then
17027 ac_system_error_8=yes
17028 else
17029 echo "$as_me: failed program was:" >&5
17030 sed 's/^/| /' conftest.$ac_ext >&5
17031
17032 ac_system_error_8=no
17033 fi
17034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17035
17036 fi
17037
17038 echo "$as_me:$LINENO: result: $ac_system_error_8" >&5
17039 echo "${ECHO_T}$ac_system_error_8" >&6
17040 if test x"$ac_system_error_8" = x"yes"; then
17041
17042 cat >>confdefs.h <<\_ACEOF
17043 #define HAVE_ETIME 1
17044 _ACEOF
17045
17046 fi
17047
17048 echo "$as_me:$LINENO: checking for sys_nerr" >&5
17049 echo $ECHO_N "checking for sys_nerr... $ECHO_C" >&6
17050 if test "${ac_system_error9+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 else
17053
17054 cat >conftest.$ac_ext <<_ACEOF
17055 /* confdefs.h. */
17056 _ACEOF
17057 cat confdefs.h >>conftest.$ac_ext
17058 cat >>conftest.$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17060 #include <errno.h>
17061 int
17062 main ()
17063 {
17064 int i = sys_nerr;
17065 ;
17066 return 0;
17067 }
17068 _ACEOF
17069 rm -f conftest.$ac_objext
17070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17071 (eval $ac_compile) 2>conftest.er1
17072 ac_status=$?
17073 grep -v '^ *+' conftest.er1 >conftest.err
17074 rm -f conftest.er1
17075 cat conftest.err >&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); } &&
17078 { ac_try='test -z "$ac_c_werror_flag"
17079 || test ! -s conftest.err'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17082 ac_status=$?
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; } &&
17085 { ac_try='test -s conftest.$ac_objext'
17086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17087 (eval $ac_try) 2>&5
17088 ac_status=$?
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); }; }; then
17091 ac_system_error9=yes
17092 else
17093 echo "$as_me: failed program was:" >&5
17094 sed 's/^/| /' conftest.$ac_ext >&5
17095
17096 ac_system_error9=no
17097 fi
17098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17099
17100 fi
17101
17102 echo "$as_me:$LINENO: result: $ac_system_error9" >&5
17103 echo "${ECHO_T}$ac_system_error9" >&6
17104 if test x"$ac_system_error9" = x"yes"; then
17105
17106 cat >>confdefs.h <<\_ACEOF
17107 #define HAVE_SYS_NERR 1
17108 _ACEOF
17109
17110 fi
17111
17112 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17113 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17114 if test "${ac_system_error_10+set}" = set; then
17115 echo $ECHO_N "(cached) $ECHO_C" >&6
17116 else
17117
17118 cat >conftest.$ac_ext <<_ACEOF
17119 /* confdefs.h. */
17120 _ACEOF
17121 cat confdefs.h >>conftest.$ac_ext
17122 cat >>conftest.$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 #include <errno.h>
17125 int
17126 main ()
17127 {
17128 int i = EBADMSG;
17129 ;
17130 return 0;
17131 }
17132 _ACEOF
17133 rm -f conftest.$ac_objext
17134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17135 (eval $ac_compile) 2>conftest.er1
17136 ac_status=$?
17137 grep -v '^ *+' conftest.er1 >conftest.err
17138 rm -f conftest.er1
17139 cat conftest.err >&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); } &&
17142 { ac_try='test -z "$ac_c_werror_flag"
17143 || test ! -s conftest.err'
17144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17145 (eval $ac_try) 2>&5
17146 ac_status=$?
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; } &&
17149 { ac_try='test -s conftest.$ac_objext'
17150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17151 (eval $ac_try) 2>&5
17152 ac_status=$?
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); }; }; then
17155 ac_system_error_10=yes
17156 else
17157 echo "$as_me: failed program was:" >&5
17158 sed 's/^/| /' conftest.$ac_ext >&5
17159
17160 ac_system_error_10=no
17161 fi
17162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17163
17164 fi
17165
17166 echo "$as_me:$LINENO: result: $ac_system_error_10" >&5
17167 echo "${ECHO_T}$ac_system_error_10" >&6
17168 if test x"$ac_system_error_10" = x"yes"; then
17169
17170 cat >>confdefs.h <<\_ACEOF
17171 #define HAVE_EBADMSG 1
17172 _ACEOF
17173
17174 fi
17175
17176
17177 # No surprises, no surprises...
17178
17179 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
17180 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
17181 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
17182 echo "$as_me:$LINENO: result: $target_thread_file" >&5
17183 echo "${ECHO_T}$target_thread_file" >&6
17184
17185 if test $target_thread_file != single; then
17186
17187 cat >>confdefs.h <<\_ACEOF
17188 #define HAVE_GTHR_DEFAULT 1
17189 _ACEOF
17190
17191 fi
17192
17193 glibcxx_thread_h=gthr-$target_thread_file.h
17194
17195 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
17196 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
17197 enable_thread=yes
17198 else
17199 enable_thread=no
17200 fi
17201
17202
17203
17204
17205 echo "$as_me:$LINENO: checking for atomic builtins" >&5
17206 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
17207
17208
17209 ac_ext=cc
17210 ac_cpp='$CXXCPP $CPPFLAGS'
17211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17214
17215
17216 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
17217 cat > conftest.$ac_ext << EOF
17218 #line 17218 "configure"
17219 int main()
17220 {
17221 // NB: _Atomic_word not necessarily int.
17222 typedef int atomic_type;
17223 atomic_type c1;
17224 atomic_type c2;
17225 const atomic_type c3(0);
17226 if (__sync_fetch_and_add(&c1, c2) == c3)
17227 {
17228 // Do something.
17229 }
17230 return 0;
17231 }
17232 EOF
17233 old_CXXFLAGS="$CXXFLAGS"
17234 CXXFLAGS=-S
17235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17236 (eval $ac_compile) 2>&5
17237 ac_status=$?
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); }; then
17240 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
17241 enable_atomic_builtins=no
17242 else
17243
17244 cat >>confdefs.h <<\_ACEOF
17245 #define _GLIBCXX_ATOMIC_BUILTINS 1
17246 _ACEOF
17247
17248 enable_atomic_builtins=yes
17249 atomicity_dir=cpu/generic/atomicity_builtins
17250 fi
17251 fi
17252 CXXFLAGS="$old_CXXFLAGS"
17253 rm -f conftest*
17254
17255 # Now, if still generic, set to mutex.
17256 if test $atomicity_dir = "cpu/generic" ; then
17257 atomicity_dir=cpu/generic/atomicity_mutex
17258 fi
17259 ac_ext=c
17260 ac_cpp='$CPP $CPPFLAGS'
17261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17264
17265 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
17266 echo "${ECHO_T}$enable_atomic_builtins" >&6
17267
17268 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
17269 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
17270 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
17271 if test $target_thread_file = single; then
17272 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
17273 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
17274 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
17275 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
17276 else
17277 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
17278 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
17279 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
17280 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
17281 fi
17282 fi
17283
17284
17285 # All these tests are for C++; save the language and the compiler flags.
17286 # The CXXFLAGS thing is suspicious, but based on similar bits previously
17287 # found in GLIBCXX_CONFIGURE.
17288
17289
17290 ac_ext=cc
17291 ac_cpp='$CXXCPP $CPPFLAGS'
17292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17295
17296 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17297 ac_save_CXXFLAGS="$CXXFLAGS"
17298
17299 # Check for maintainer-mode bits.
17300 if test x"$USE_MAINTAINER_MODE" = xno; then
17301 WERROR=''
17302 else
17303 WERROR='-Werror'
17304 fi
17305
17306 # Check for -ffunction-sections -fdata-sections
17307 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
17308 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
17309 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
17310 cat >conftest.$ac_ext <<_ACEOF
17311 /* confdefs.h. */
17312 _ACEOF
17313 cat confdefs.h >>conftest.$ac_ext
17314 cat >>conftest.$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316 int foo; void bar() { };
17317 int
17318 main ()
17319 {
17320
17321 ;
17322 return 0;
17323 }
17324 _ACEOF
17325 rm -f conftest.$ac_objext
17326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17327 (eval $ac_compile) 2>conftest.er1
17328 ac_status=$?
17329 grep -v '^ *+' conftest.er1 >conftest.err
17330 rm -f conftest.er1
17331 cat conftest.err >&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } &&
17334 { ac_try='test -z "$ac_cxx_werror_flag"
17335 || test ! -s conftest.err'
17336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17337 (eval $ac_try) 2>&5
17338 ac_status=$?
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); }; } &&
17341 { ac_try='test -s conftest.$ac_objext'
17342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17343 (eval $ac_try) 2>&5
17344 ac_status=$?
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); }; }; then
17347 ac_fdsections=yes
17348 else
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17351
17352 ac_fdsections=no
17353 fi
17354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17355 if test "$ac_test_CXXFLAGS" = set; then
17356 CXXFLAGS="$ac_save_CXXFLAGS"
17357 else
17358 # this is the suspicious part
17359 CXXFLAGS=''
17360 fi
17361 if test x"$ac_fdsections" = x"yes"; then
17362 SECTION_FLAGS='-ffunction-sections -fdata-sections'
17363 fi
17364 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
17365 echo "${ECHO_T}$ac_fdsections" >&6
17366
17367 ac_ext=c
17368 ac_cpp='$CPP $CPPFLAGS'
17369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17372
17373
17374
17375
17376
17377 if $GLIBCXX_IS_NATIVE; then
17378
17379 # We can do more elaborate tests that assume a working linker.
17380 CANADIAN=no
17381
17382 # Check for available headers.
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
17399 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
17400 sys/types.h sys/ipc.h sys/sem.h
17401 do
17402 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17404 echo "$as_me:$LINENO: checking for $ac_header" >&5
17405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17407 echo $ECHO_N "(cached) $ECHO_C" >&6
17408 fi
17409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17411 else
17412 # Is the header compilable?
17413 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17414 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17415 cat >conftest.$ac_ext <<_ACEOF
17416 /* confdefs.h. */
17417 _ACEOF
17418 cat confdefs.h >>conftest.$ac_ext
17419 cat >>conftest.$ac_ext <<_ACEOF
17420 /* end confdefs.h. */
17421 $ac_includes_default
17422 #include <$ac_header>
17423 _ACEOF
17424 rm -f conftest.$ac_objext
17425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17426 (eval $ac_compile) 2>conftest.er1
17427 ac_status=$?
17428 grep -v '^ *+' conftest.er1 >conftest.err
17429 rm -f conftest.er1
17430 cat conftest.err >&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); } &&
17433 { ac_try='test -z "$ac_c_werror_flag"
17434 || test ! -s conftest.err'
17435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17436 (eval $ac_try) 2>&5
17437 ac_status=$?
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); }; } &&
17440 { ac_try='test -s conftest.$ac_objext'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17443 ac_status=$?
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; }; then
17446 ac_header_compiler=yes
17447 else
17448 echo "$as_me: failed program was:" >&5
17449 sed 's/^/| /' conftest.$ac_ext >&5
17450
17451 ac_header_compiler=no
17452 fi
17453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17455 echo "${ECHO_T}$ac_header_compiler" >&6
17456
17457 # Is the header present?
17458 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17459 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17460 cat >conftest.$ac_ext <<_ACEOF
17461 /* confdefs.h. */
17462 _ACEOF
17463 cat confdefs.h >>conftest.$ac_ext
17464 cat >>conftest.$ac_ext <<_ACEOF
17465 /* end confdefs.h. */
17466 #include <$ac_header>
17467 _ACEOF
17468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17470 ac_status=$?
17471 grep -v '^ *+' conftest.er1 >conftest.err
17472 rm -f conftest.er1
17473 cat conftest.err >&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } >/dev/null; then
17476 if test -s conftest.err; then
17477 ac_cpp_err=$ac_c_preproc_warn_flag
17478 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17479 else
17480 ac_cpp_err=
17481 fi
17482 else
17483 ac_cpp_err=yes
17484 fi
17485 if test -z "$ac_cpp_err"; then
17486 ac_header_preproc=yes
17487 else
17488 echo "$as_me: failed program was:" >&5
17489 sed 's/^/| /' conftest.$ac_ext >&5
17490
17491 ac_header_preproc=no
17492 fi
17493 rm -f conftest.err conftest.$ac_ext
17494 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17495 echo "${ECHO_T}$ac_header_preproc" >&6
17496
17497 # So? What about this header?
17498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17499 yes:no: )
17500 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17501 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17503 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17504 ac_header_preproc=yes
17505 ;;
17506 no:yes:* )
17507 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17508 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17509 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17510 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17511 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17512 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17513 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17514 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17517 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17518 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17519 (
17520 cat <<\_ASBOX
17521 ## ----------------------------------------- ##
17522 ## Report this to the package-unused lists. ##
17523 ## ----------------------------------------- ##
17524 _ASBOX
17525 ) |
17526 sed "s/^/$as_me: WARNING: /" >&2
17527 ;;
17528 esac
17529 echo "$as_me:$LINENO: checking for $ac_header" >&5
17530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17532 echo $ECHO_N "(cached) $ECHO_C" >&6
17533 else
17534 eval "$as_ac_Header=\$ac_header_preproc"
17535 fi
17536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17538
17539 fi
17540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17541 cat >>confdefs.h <<_ACEOF
17542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17543 _ACEOF
17544
17545 fi
17546
17547 done
17548
17549
17550
17551
17552 # Check whether --with-gnu-ld or --without-gnu-ld was given.
17553 if test "${with_gnu_ld+set}" = set; then
17554 withval="$with_gnu_ld"
17555 test "$withval" = no || with_gnu_ld=yes
17556 else
17557 with_gnu_ld=no
17558 fi;
17559 ac_prog=ld
17560 if test "$GCC" = yes; then
17561 # Check if gcc -print-prog-name=ld gives a path.
17562 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17563 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
17564 case $host in
17565 *-*-mingw*)
17566 # gcc leaves a trailing carriage return which upsets mingw
17567 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17568 *)
17569 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17570 esac
17571 case $ac_prog in
17572 # Accept absolute paths.
17573 [\\/]* | ?:[\\/]*)
17574 re_direlt='/[^/][^/]*/\.\./'
17575 # Canonicalize the pathname of ld
17576 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17577 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
17578 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17579 done
17580 test -z "$LD" && LD="$ac_prog"
17581 ;;
17582 "")
17583 # If it fails, then pretend we aren't using GCC.
17584 ac_prog=ld
17585 ;;
17586 *)
17587 # If it is relative, then search for the first ld in PATH.
17588 with_gnu_ld=unknown
17589 ;;
17590 esac
17591 elif test "$with_gnu_ld" = yes; then
17592 echo "$as_me:$LINENO: checking for GNU ld" >&5
17593 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
17594 else
17595 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
17596 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
17597 fi
17598 if test "${lt_cv_path_LD+set}" = set; then
17599 echo $ECHO_N "(cached) $ECHO_C" >&6
17600 else
17601 if test -z "$LD"; then
17602 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17603 for ac_dir in $PATH; do
17604 IFS="$lt_save_ifs"
17605 test -z "$ac_dir" && ac_dir=.
17606 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17607 lt_cv_path_LD="$ac_dir/$ac_prog"
17608 # Check to see if the program is GNU ld. I'd rather use --version,
17609 # but apparently some variants of GNU ld only accept -v.
17610 # Break only if it was the GNU/non-GNU ld that we prefer.
17611 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17612 *GNU* | *'with BFD'*)
17613 test "$with_gnu_ld" != no && break
17614 ;;
17615 *)
17616 test "$with_gnu_ld" != yes && break
17617 ;;
17618 esac
17619 fi
17620 done
17621 IFS="$lt_save_ifs"
17622 else
17623 lt_cv_path_LD="$LD" # Let the user override the test with a path.
17624 fi
17625 fi
17626
17627 LD="$lt_cv_path_LD"
17628 if test -n "$LD"; then
17629 echo "$as_me:$LINENO: result: $LD" >&5
17630 echo "${ECHO_T}$LD" >&6
17631 else
17632 echo "$as_me:$LINENO: result: no" >&5
17633 echo "${ECHO_T}no" >&6
17634 fi
17635 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
17636 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
17637 { (exit 1); exit 1; }; }
17638 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
17639 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
17640 if test "${lt_cv_prog_gnu_ld+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 else
17643 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17644 case `$LD -v 2>&1 </dev/null` in
17645 *GNU* | *'with BFD'*)
17646 lt_cv_prog_gnu_ld=yes
17647 ;;
17648 *)
17649 lt_cv_prog_gnu_ld=no
17650 ;;
17651 esac
17652 fi
17653 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
17654 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
17655 with_gnu_ld=$lt_cv_prog_gnu_ld
17656
17657
17658
17659
17660
17661
17662
17663 # If we're not using GNU ld, then there's no point in even trying these
17664 # tests. Check for that first. We should have already tested for gld
17665 # by now (in libtool), but require it now just to be safe...
17666 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
17667 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
17668
17669
17670
17671 # The name set by libtool depends on the version of libtool. Shame on us
17672 # for depending on an impl detail, but c'est la vie. Older versions used
17673 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
17674 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
17675 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
17676 # set (hence we're using an older libtool), then set it.
17677 if test x${with_gnu_ld+set} != xset; then
17678 if test x${ac_cv_prog_gnu_ld+set} != xset; then
17679 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
17680 with_gnu_ld=no
17681 else
17682 with_gnu_ld=$ac_cv_prog_gnu_ld
17683 fi
17684 fi
17685
17686 # Start by getting the version number. I think the libtool test already
17687 # does some of this, but throws away the result.
17688 if test x"$with_gnu_ld" = x"yes"; then
17689 echo "$as_me:$LINENO: checking for ld version" >&5
17690 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
17691
17692 ldver=`$LD --version 2>/dev/null | head -1 | \
17693 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
17694
17695 glibcxx_gnu_ld_version=`echo $ldver | \
17696 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
17697 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
17698 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
17699 fi
17700
17701 # Set --gc-sections.
17702 glibcxx_gcsections_min_ld=21602
17703 if test x"$with_gnu_ld" = x"yes" &&
17704 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
17705
17706 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
17707 # NB: This flag only works reliably after 2.16.1. Configure tests
17708 # for this are difficult, so hard wire a value that should work.
17709
17710 ac_test_CFLAGS="${CFLAGS+set}"
17711 ac_save_CFLAGS="$CFLAGS"
17712 CFLAGS='-Wl,--gc-sections'
17713
17714 # Check for -Wl,--gc-sections
17715 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
17716 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
17717 if test x$gcc_no_link = xyes; then
17718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17720 { (exit 1); exit 1; }; }
17721 fi
17722 cat >conftest.$ac_ext <<_ACEOF
17723 /* confdefs.h. */
17724 _ACEOF
17725 cat confdefs.h >>conftest.$ac_ext
17726 cat >>conftest.$ac_ext <<_ACEOF
17727 /* end confdefs.h. */
17728 int one(void) { return 1; }
17729 int two(void) { return 2; }
17730
17731 int
17732 main ()
17733 {
17734 two();
17735 ;
17736 return 0;
17737 }
17738 _ACEOF
17739 rm -f conftest.$ac_objext conftest$ac_exeext
17740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17741 (eval $ac_link) 2>conftest.er1
17742 ac_status=$?
17743 grep -v '^ *+' conftest.er1 >conftest.err
17744 rm -f conftest.er1
17745 cat conftest.err >&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); } &&
17748 { ac_try='test -z "$ac_c_werror_flag"
17749 || test ! -s conftest.err'
17750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751 (eval $ac_try) 2>&5
17752 ac_status=$?
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; } &&
17755 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17761 ac_gcsections=yes
17762 else
17763 echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.$ac_ext >&5
17765
17766 ac_gcsections=no
17767 fi
17768 rm -f conftest.err conftest.$ac_objext \
17769 conftest$ac_exeext conftest.$ac_ext
17770 if test "$ac_gcsections" = "yes"; then
17771 rm -f conftest.c
17772 touch conftest.c
17773 if $CC -c conftest.c; then
17774 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
17775 grep "Warning: gc-sections option ignored" > /dev/null; then
17776 ac_gcsections=no
17777 fi
17778 fi
17779 rm -f conftest.c conftest.o conftest
17780 fi
17781 if test "$ac_gcsections" = "yes"; then
17782 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
17783 fi
17784 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
17785 echo "${ECHO_T}$ac_gcsections" >&6
17786
17787 if test "$ac_test_CFLAGS" = set; then
17788 CFLAGS="$ac_save_CFLAGS"
17789 else
17790 # this is the suspicious part
17791 CFLAGS=''
17792 fi
17793 fi
17794
17795 # Set -z,relro.
17796 # Note this is only for shared objects.
17797 ac_ld_relro=no
17798 if test x"$with_gnu_ld" = x"yes"; then
17799 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
17800 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
17801 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
17802 if test -n "$cxx_z_relo"; then
17803 OPT_LDFLAGS="-Wl,-z,relro"
17804 ac_ld_relro=yes
17805 fi
17806 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
17807 echo "${ECHO_T}$ac_ld_relro" >&6
17808 fi
17809
17810 # Set linker optimization flags.
17811 if test x"$with_gnu_ld" = x"yes"; then
17812 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
17813 fi
17814
17815
17816
17817
17818
17819 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17820 ac_save_CXXFLAGS="$CXXFLAGS"
17821 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
17822
17823 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17824 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17825 if test "${ac_cv_lib_m_sin+set}" = set; then
17826 echo $ECHO_N "(cached) $ECHO_C" >&6
17827 else
17828 ac_check_lib_save_LIBS=$LIBS
17829 LIBS="-lm $LIBS"
17830 if test x$gcc_no_link = xyes; then
17831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17833 { (exit 1); exit 1; }; }
17834 fi
17835 cat >conftest.$ac_ext <<_ACEOF
17836 /* confdefs.h. */
17837 _ACEOF
17838 cat confdefs.h >>conftest.$ac_ext
17839 cat >>conftest.$ac_ext <<_ACEOF
17840 /* end confdefs.h. */
17841
17842 /* Override any gcc2 internal prototype to avoid an error. */
17843 #ifdef __cplusplus
17844 extern "C"
17845 #endif
17846 /* We use char because int might match the return type of a gcc2
17847 builtin and then its argument prototype would still apply. */
17848 char sin ();
17849 int
17850 main ()
17851 {
17852 sin ();
17853 ;
17854 return 0;
17855 }
17856 _ACEOF
17857 rm -f conftest.$ac_objext conftest$ac_exeext
17858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17859 (eval $ac_link) 2>conftest.er1
17860 ac_status=$?
17861 grep -v '^ *+' conftest.er1 >conftest.err
17862 rm -f conftest.er1
17863 cat conftest.err >&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } &&
17866 { ac_try='test -z "$ac_c_werror_flag"
17867 || test ! -s conftest.err'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17870 ac_status=$?
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; } &&
17873 { ac_try='test -s conftest$ac_exeext'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17876 ac_status=$?
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; }; then
17879 ac_cv_lib_m_sin=yes
17880 else
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.$ac_ext >&5
17883
17884 ac_cv_lib_m_sin=no
17885 fi
17886 rm -f conftest.err conftest.$ac_objext \
17887 conftest$ac_exeext conftest.$ac_ext
17888 LIBS=$ac_check_lib_save_LIBS
17889 fi
17890 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17891 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17892 if test $ac_cv_lib_m_sin = yes; then
17893 libm="-lm"
17894 fi
17895
17896 ac_save_LIBS="$LIBS"
17897 LIBS="$LIBS $libm"
17898
17899
17900
17901 echo "$as_me:$LINENO: checking for isinf declaration" >&5
17902 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
17903 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
17904 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
17905 echo $ECHO_N "(cached) $ECHO_C" >&6
17906 else
17907
17908
17909
17910 ac_ext=cc
17911 ac_cpp='$CXXCPP $CPPFLAGS'
17912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17915
17916 cat >conftest.$ac_ext <<_ACEOF
17917 /* confdefs.h. */
17918 _ACEOF
17919 cat confdefs.h >>conftest.$ac_ext
17920 cat >>conftest.$ac_ext <<_ACEOF
17921 /* end confdefs.h. */
17922 #include <math.h>
17923 #ifdef HAVE_IEEEFP_H
17924 #include <ieeefp.h>
17925 #endif
17926
17927 int
17928 main ()
17929 {
17930 isinf(0);
17931 ;
17932 return 0;
17933 }
17934 _ACEOF
17935 rm -f conftest.$ac_objext
17936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17937 (eval $ac_compile) 2>conftest.er1
17938 ac_status=$?
17939 grep -v '^ *+' conftest.er1 >conftest.err
17940 rm -f conftest.er1
17941 cat conftest.err >&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } &&
17944 { ac_try='test -z "$ac_cxx_werror_flag"
17945 || test ! -s conftest.err'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17948 ac_status=$?
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; } &&
17951 { ac_try='test -s conftest.$ac_objext'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17954 ac_status=$?
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; }; then
17957 glibcxx_cv_func_isinf_use=yes
17958 else
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.$ac_ext >&5
17961
17962 glibcxx_cv_func_isinf_use=no
17963 fi
17964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17965 ac_ext=c
17966 ac_cpp='$CPP $CPPFLAGS'
17967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17970
17971
17972 fi
17973
17974 fi
17975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
17976 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
17977
17978 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
17979
17980 for ac_func in isinf
17981 do
17982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17983 echo "$as_me:$LINENO: checking for $ac_func" >&5
17984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17985 if eval "test \"\${$as_ac_var+set}\" = set"; then
17986 echo $ECHO_N "(cached) $ECHO_C" >&6
17987 else
17988 if test x$gcc_no_link = xyes; then
17989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17991 { (exit 1); exit 1; }; }
17992 fi
17993 cat >conftest.$ac_ext <<_ACEOF
17994 /* confdefs.h. */
17995 _ACEOF
17996 cat confdefs.h >>conftest.$ac_ext
17997 cat >>conftest.$ac_ext <<_ACEOF
17998 /* end confdefs.h. */
17999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18001 #define $ac_func innocuous_$ac_func
18002
18003 /* System header to define __stub macros and hopefully few prototypes,
18004 which can conflict with char $ac_func (); below.
18005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18006 <limits.h> exists even on freestanding compilers. */
18007
18008 #ifdef __STDC__
18009 # include <limits.h>
18010 #else
18011 # include <assert.h>
18012 #endif
18013
18014 #undef $ac_func
18015
18016 /* Override any gcc2 internal prototype to avoid an error. */
18017 #ifdef __cplusplus
18018 extern "C"
18019 {
18020 #endif
18021 /* We use char because int might match the return type of a gcc2
18022 builtin and then its argument prototype would still apply. */
18023 char $ac_func ();
18024 /* The GNU C library defines this for functions which it implements
18025 to always fail with ENOSYS. Some functions are actually named
18026 something starting with __ and the normal name is an alias. */
18027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18028 choke me
18029 #else
18030 char (*f) () = $ac_func;
18031 #endif
18032 #ifdef __cplusplus
18033 }
18034 #endif
18035
18036 int
18037 main ()
18038 {
18039 return f != $ac_func;
18040 ;
18041 return 0;
18042 }
18043 _ACEOF
18044 rm -f conftest.$ac_objext conftest$ac_exeext
18045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18046 (eval $ac_link) 2>conftest.er1
18047 ac_status=$?
18048 grep -v '^ *+' conftest.er1 >conftest.err
18049 rm -f conftest.er1
18050 cat conftest.err >&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } &&
18053 { ac_try='test -z "$ac_c_werror_flag"
18054 || test ! -s conftest.err'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18057 ac_status=$?
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; } &&
18060 { ac_try='test -s conftest$ac_exeext'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18063 ac_status=$?
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; }; then
18066 eval "$as_ac_var=yes"
18067 else
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.$ac_ext >&5
18070
18071 eval "$as_ac_var=no"
18072 fi
18073 rm -f conftest.err conftest.$ac_objext \
18074 conftest$ac_exeext conftest.$ac_ext
18075 fi
18076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18078 if test `eval echo '${'$as_ac_var'}'` = yes; then
18079 cat >>confdefs.h <<_ACEOF
18080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18081 _ACEOF
18082
18083 fi
18084 done
18085
18086 else
18087
18088 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18089 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18090 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18091 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18092 echo $ECHO_N "(cached) $ECHO_C" >&6
18093 else
18094
18095
18096
18097 ac_ext=cc
18098 ac_cpp='$CXXCPP $CPPFLAGS'
18099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18102
18103 cat >conftest.$ac_ext <<_ACEOF
18104 /* confdefs.h. */
18105 _ACEOF
18106 cat confdefs.h >>conftest.$ac_ext
18107 cat >>conftest.$ac_ext <<_ACEOF
18108 /* end confdefs.h. */
18109 #include <math.h>
18110 #ifdef HAVE_IEEEFP_H
18111 #include <ieeefp.h>
18112 #endif
18113
18114 int
18115 main ()
18116 {
18117 _isinf(0);
18118 ;
18119 return 0;
18120 }
18121 _ACEOF
18122 rm -f conftest.$ac_objext
18123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18124 (eval $ac_compile) 2>conftest.er1
18125 ac_status=$?
18126 grep -v '^ *+' conftest.er1 >conftest.err
18127 rm -f conftest.er1
18128 cat conftest.err >&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); } &&
18131 { ac_try='test -z "$ac_cxx_werror_flag"
18132 || test ! -s conftest.err'
18133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18134 (eval $ac_try) 2>&5
18135 ac_status=$?
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); }; } &&
18138 { ac_try='test -s conftest.$ac_objext'
18139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18140 (eval $ac_try) 2>&5
18141 ac_status=$?
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); }; }; then
18144 glibcxx_cv_func__isinf_use=yes
18145 else
18146 echo "$as_me: failed program was:" >&5
18147 sed 's/^/| /' conftest.$ac_ext >&5
18148
18149 glibcxx_cv_func__isinf_use=no
18150 fi
18151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18152 ac_ext=c
18153 ac_cpp='$CPP $CPPFLAGS'
18154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18157
18158
18159 fi
18160
18161 fi
18162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
18163 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
18164
18165 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
18166
18167 for ac_func in _isinf
18168 do
18169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18170 echo "$as_me:$LINENO: checking for $ac_func" >&5
18171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18172 if eval "test \"\${$as_ac_var+set}\" = set"; then
18173 echo $ECHO_N "(cached) $ECHO_C" >&6
18174 else
18175 if test x$gcc_no_link = xyes; then
18176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18178 { (exit 1); exit 1; }; }
18179 fi
18180 cat >conftest.$ac_ext <<_ACEOF
18181 /* confdefs.h. */
18182 _ACEOF
18183 cat confdefs.h >>conftest.$ac_ext
18184 cat >>conftest.$ac_ext <<_ACEOF
18185 /* end confdefs.h. */
18186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18188 #define $ac_func innocuous_$ac_func
18189
18190 /* System header to define __stub macros and hopefully few prototypes,
18191 which can conflict with char $ac_func (); below.
18192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18193 <limits.h> exists even on freestanding compilers. */
18194
18195 #ifdef __STDC__
18196 # include <limits.h>
18197 #else
18198 # include <assert.h>
18199 #endif
18200
18201 #undef $ac_func
18202
18203 /* Override any gcc2 internal prototype to avoid an error. */
18204 #ifdef __cplusplus
18205 extern "C"
18206 {
18207 #endif
18208 /* We use char because int might match the return type of a gcc2
18209 builtin and then its argument prototype would still apply. */
18210 char $ac_func ();
18211 /* The GNU C library defines this for functions which it implements
18212 to always fail with ENOSYS. Some functions are actually named
18213 something starting with __ and the normal name is an alias. */
18214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18215 choke me
18216 #else
18217 char (*f) () = $ac_func;
18218 #endif
18219 #ifdef __cplusplus
18220 }
18221 #endif
18222
18223 int
18224 main ()
18225 {
18226 return f != $ac_func;
18227 ;
18228 return 0;
18229 }
18230 _ACEOF
18231 rm -f conftest.$ac_objext conftest$ac_exeext
18232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18233 (eval $ac_link) 2>conftest.er1
18234 ac_status=$?
18235 grep -v '^ *+' conftest.er1 >conftest.err
18236 rm -f conftest.er1
18237 cat conftest.err >&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } &&
18240 { ac_try='test -z "$ac_c_werror_flag"
18241 || test ! -s conftest.err'
18242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18243 (eval $ac_try) 2>&5
18244 ac_status=$?
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); }; } &&
18247 { ac_try='test -s conftest$ac_exeext'
18248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18249 (eval $ac_try) 2>&5
18250 ac_status=$?
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); }; }; then
18253 eval "$as_ac_var=yes"
18254 else
18255 echo "$as_me: failed program was:" >&5
18256 sed 's/^/| /' conftest.$ac_ext >&5
18257
18258 eval "$as_ac_var=no"
18259 fi
18260 rm -f conftest.err conftest.$ac_objext \
18261 conftest$ac_exeext conftest.$ac_ext
18262 fi
18263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18265 if test `eval echo '${'$as_ac_var'}'` = yes; then
18266 cat >>confdefs.h <<_ACEOF
18267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18268 _ACEOF
18269
18270 fi
18271 done
18272
18273 fi
18274 fi
18275
18276
18277
18278
18279
18280
18281 echo "$as_me:$LINENO: checking for isnan declaration" >&5
18282 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
18283 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
18284 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
18285 echo $ECHO_N "(cached) $ECHO_C" >&6
18286 else
18287
18288
18289
18290 ac_ext=cc
18291 ac_cpp='$CXXCPP $CPPFLAGS'
18292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18295
18296 cat >conftest.$ac_ext <<_ACEOF
18297 /* confdefs.h. */
18298 _ACEOF
18299 cat confdefs.h >>conftest.$ac_ext
18300 cat >>conftest.$ac_ext <<_ACEOF
18301 /* end confdefs.h. */
18302 #include <math.h>
18303 #ifdef HAVE_IEEEFP_H
18304 #include <ieeefp.h>
18305 #endif
18306
18307 int
18308 main ()
18309 {
18310 isnan(0);
18311 ;
18312 return 0;
18313 }
18314 _ACEOF
18315 rm -f conftest.$ac_objext
18316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18317 (eval $ac_compile) 2>conftest.er1
18318 ac_status=$?
18319 grep -v '^ *+' conftest.er1 >conftest.err
18320 rm -f conftest.er1
18321 cat conftest.err >&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); } &&
18324 { ac_try='test -z "$ac_cxx_werror_flag"
18325 || test ! -s conftest.err'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18328 ac_status=$?
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; } &&
18331 { ac_try='test -s conftest.$ac_objext'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18334 ac_status=$?
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; }; then
18337 glibcxx_cv_func_isnan_use=yes
18338 else
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.$ac_ext >&5
18341
18342 glibcxx_cv_func_isnan_use=no
18343 fi
18344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18345 ac_ext=c
18346 ac_cpp='$CPP $CPPFLAGS'
18347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18350
18351
18352 fi
18353
18354 fi
18355 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
18356 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
18357
18358 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
18359
18360 for ac_func in isnan
18361 do
18362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18363 echo "$as_me:$LINENO: checking for $ac_func" >&5
18364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18365 if eval "test \"\${$as_ac_var+set}\" = set"; then
18366 echo $ECHO_N "(cached) $ECHO_C" >&6
18367 else
18368 if test x$gcc_no_link = xyes; then
18369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18371 { (exit 1); exit 1; }; }
18372 fi
18373 cat >conftest.$ac_ext <<_ACEOF
18374 /* confdefs.h. */
18375 _ACEOF
18376 cat confdefs.h >>conftest.$ac_ext
18377 cat >>conftest.$ac_ext <<_ACEOF
18378 /* end confdefs.h. */
18379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18381 #define $ac_func innocuous_$ac_func
18382
18383 /* System header to define __stub macros and hopefully few prototypes,
18384 which can conflict with char $ac_func (); below.
18385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18386 <limits.h> exists even on freestanding compilers. */
18387
18388 #ifdef __STDC__
18389 # include <limits.h>
18390 #else
18391 # include <assert.h>
18392 #endif
18393
18394 #undef $ac_func
18395
18396 /* Override any gcc2 internal prototype to avoid an error. */
18397 #ifdef __cplusplus
18398 extern "C"
18399 {
18400 #endif
18401 /* We use char because int might match the return type of a gcc2
18402 builtin and then its argument prototype would still apply. */
18403 char $ac_func ();
18404 /* The GNU C library defines this for functions which it implements
18405 to always fail with ENOSYS. Some functions are actually named
18406 something starting with __ and the normal name is an alias. */
18407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18408 choke me
18409 #else
18410 char (*f) () = $ac_func;
18411 #endif
18412 #ifdef __cplusplus
18413 }
18414 #endif
18415
18416 int
18417 main ()
18418 {
18419 return f != $ac_func;
18420 ;
18421 return 0;
18422 }
18423 _ACEOF
18424 rm -f conftest.$ac_objext conftest$ac_exeext
18425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18426 (eval $ac_link) 2>conftest.er1
18427 ac_status=$?
18428 grep -v '^ *+' conftest.er1 >conftest.err
18429 rm -f conftest.er1
18430 cat conftest.err >&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } &&
18433 { ac_try='test -z "$ac_c_werror_flag"
18434 || test ! -s conftest.err'
18435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18436 (eval $ac_try) 2>&5
18437 ac_status=$?
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }; } &&
18440 { ac_try='test -s conftest$ac_exeext'
18441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18442 (eval $ac_try) 2>&5
18443 ac_status=$?
18444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18445 (exit $ac_status); }; }; then
18446 eval "$as_ac_var=yes"
18447 else
18448 echo "$as_me: failed program was:" >&5
18449 sed 's/^/| /' conftest.$ac_ext >&5
18450
18451 eval "$as_ac_var=no"
18452 fi
18453 rm -f conftest.err conftest.$ac_objext \
18454 conftest$ac_exeext conftest.$ac_ext
18455 fi
18456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18458 if test `eval echo '${'$as_ac_var'}'` = yes; then
18459 cat >>confdefs.h <<_ACEOF
18460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18461 _ACEOF
18462
18463 fi
18464 done
18465
18466 else
18467
18468 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
18469 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
18470 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
18471 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
18472 echo $ECHO_N "(cached) $ECHO_C" >&6
18473 else
18474
18475
18476
18477 ac_ext=cc
18478 ac_cpp='$CXXCPP $CPPFLAGS'
18479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18482
18483 cat >conftest.$ac_ext <<_ACEOF
18484 /* confdefs.h. */
18485 _ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18489 #include <math.h>
18490 #ifdef HAVE_IEEEFP_H
18491 #include <ieeefp.h>
18492 #endif
18493
18494 int
18495 main ()
18496 {
18497 _isnan(0);
18498 ;
18499 return 0;
18500 }
18501 _ACEOF
18502 rm -f conftest.$ac_objext
18503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18504 (eval $ac_compile) 2>conftest.er1
18505 ac_status=$?
18506 grep -v '^ *+' conftest.er1 >conftest.err
18507 rm -f conftest.er1
18508 cat conftest.err >&5
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); } &&
18511 { ac_try='test -z "$ac_cxx_werror_flag"
18512 || test ! -s conftest.err'
18513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18514 (eval $ac_try) 2>&5
18515 ac_status=$?
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); }; } &&
18518 { ac_try='test -s conftest.$ac_objext'
18519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18520 (eval $ac_try) 2>&5
18521 ac_status=$?
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); }; }; then
18524 glibcxx_cv_func__isnan_use=yes
18525 else
18526 echo "$as_me: failed program was:" >&5
18527 sed 's/^/| /' conftest.$ac_ext >&5
18528
18529 glibcxx_cv_func__isnan_use=no
18530 fi
18531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18532 ac_ext=c
18533 ac_cpp='$CPP $CPPFLAGS'
18534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18537
18538
18539 fi
18540
18541 fi
18542 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
18543 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
18544
18545 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
18546
18547 for ac_func in _isnan
18548 do
18549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18550 echo "$as_me:$LINENO: checking for $ac_func" >&5
18551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18552 if eval "test \"\${$as_ac_var+set}\" = set"; then
18553 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 else
18555 if test x$gcc_no_link = xyes; then
18556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18558 { (exit 1); exit 1; }; }
18559 fi
18560 cat >conftest.$ac_ext <<_ACEOF
18561 /* confdefs.h. */
18562 _ACEOF
18563 cat confdefs.h >>conftest.$ac_ext
18564 cat >>conftest.$ac_ext <<_ACEOF
18565 /* end confdefs.h. */
18566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18568 #define $ac_func innocuous_$ac_func
18569
18570 /* System header to define __stub macros and hopefully few prototypes,
18571 which can conflict with char $ac_func (); below.
18572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18573 <limits.h> exists even on freestanding compilers. */
18574
18575 #ifdef __STDC__
18576 # include <limits.h>
18577 #else
18578 # include <assert.h>
18579 #endif
18580
18581 #undef $ac_func
18582
18583 /* Override any gcc2 internal prototype to avoid an error. */
18584 #ifdef __cplusplus
18585 extern "C"
18586 {
18587 #endif
18588 /* We use char because int might match the return type of a gcc2
18589 builtin and then its argument prototype would still apply. */
18590 char $ac_func ();
18591 /* The GNU C library defines this for functions which it implements
18592 to always fail with ENOSYS. Some functions are actually named
18593 something starting with __ and the normal name is an alias. */
18594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18595 choke me
18596 #else
18597 char (*f) () = $ac_func;
18598 #endif
18599 #ifdef __cplusplus
18600 }
18601 #endif
18602
18603 int
18604 main ()
18605 {
18606 return f != $ac_func;
18607 ;
18608 return 0;
18609 }
18610 _ACEOF
18611 rm -f conftest.$ac_objext conftest$ac_exeext
18612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18613 (eval $ac_link) 2>conftest.er1
18614 ac_status=$?
18615 grep -v '^ *+' conftest.er1 >conftest.err
18616 rm -f conftest.er1
18617 cat conftest.err >&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } &&
18620 { ac_try='test -z "$ac_c_werror_flag"
18621 || test ! -s conftest.err'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18624 ac_status=$?
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; } &&
18627 { ac_try='test -s conftest$ac_exeext'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18630 ac_status=$?
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; }; then
18633 eval "$as_ac_var=yes"
18634 else
18635 echo "$as_me: failed program was:" >&5
18636 sed 's/^/| /' conftest.$ac_ext >&5
18637
18638 eval "$as_ac_var=no"
18639 fi
18640 rm -f conftest.err conftest.$ac_objext \
18641 conftest$ac_exeext conftest.$ac_ext
18642 fi
18643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18645 if test `eval echo '${'$as_ac_var'}'` = yes; then
18646 cat >>confdefs.h <<_ACEOF
18647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18648 _ACEOF
18649
18650 fi
18651 done
18652
18653 fi
18654 fi
18655
18656
18657
18658
18659
18660
18661 echo "$as_me:$LINENO: checking for finite declaration" >&5
18662 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
18663 if test x${glibcxx_cv_func_finite_use+set} != xset; then
18664 if test "${glibcxx_cv_func_finite_use+set}" = set; then
18665 echo $ECHO_N "(cached) $ECHO_C" >&6
18666 else
18667
18668
18669
18670 ac_ext=cc
18671 ac_cpp='$CXXCPP $CPPFLAGS'
18672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18675
18676 cat >conftest.$ac_ext <<_ACEOF
18677 /* confdefs.h. */
18678 _ACEOF
18679 cat confdefs.h >>conftest.$ac_ext
18680 cat >>conftest.$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18682 #include <math.h>
18683 #ifdef HAVE_IEEEFP_H
18684 #include <ieeefp.h>
18685 #endif
18686
18687 int
18688 main ()
18689 {
18690 finite(0);
18691 ;
18692 return 0;
18693 }
18694 _ACEOF
18695 rm -f conftest.$ac_objext
18696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18697 (eval $ac_compile) 2>conftest.er1
18698 ac_status=$?
18699 grep -v '^ *+' conftest.er1 >conftest.err
18700 rm -f conftest.er1
18701 cat conftest.err >&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); } &&
18704 { ac_try='test -z "$ac_cxx_werror_flag"
18705 || test ! -s conftest.err'
18706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18707 (eval $ac_try) 2>&5
18708 ac_status=$?
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); }; } &&
18711 { ac_try='test -s conftest.$ac_objext'
18712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18713 (eval $ac_try) 2>&5
18714 ac_status=$?
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); }; }; then
18717 glibcxx_cv_func_finite_use=yes
18718 else
18719 echo "$as_me: failed program was:" >&5
18720 sed 's/^/| /' conftest.$ac_ext >&5
18721
18722 glibcxx_cv_func_finite_use=no
18723 fi
18724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18725 ac_ext=c
18726 ac_cpp='$CPP $CPPFLAGS'
18727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18730
18731
18732 fi
18733
18734 fi
18735 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
18736 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
18737
18738 if test x$glibcxx_cv_func_finite_use = x"yes"; then
18739
18740 for ac_func in finite
18741 do
18742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18743 echo "$as_me:$LINENO: checking for $ac_func" >&5
18744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18745 if eval "test \"\${$as_ac_var+set}\" = set"; then
18746 echo $ECHO_N "(cached) $ECHO_C" >&6
18747 else
18748 if test x$gcc_no_link = xyes; then
18749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18751 { (exit 1); exit 1; }; }
18752 fi
18753 cat >conftest.$ac_ext <<_ACEOF
18754 /* confdefs.h. */
18755 _ACEOF
18756 cat confdefs.h >>conftest.$ac_ext
18757 cat >>conftest.$ac_ext <<_ACEOF
18758 /* end confdefs.h. */
18759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18761 #define $ac_func innocuous_$ac_func
18762
18763 /* System header to define __stub macros and hopefully few prototypes,
18764 which can conflict with char $ac_func (); below.
18765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18766 <limits.h> exists even on freestanding compilers. */
18767
18768 #ifdef __STDC__
18769 # include <limits.h>
18770 #else
18771 # include <assert.h>
18772 #endif
18773
18774 #undef $ac_func
18775
18776 /* Override any gcc2 internal prototype to avoid an error. */
18777 #ifdef __cplusplus
18778 extern "C"
18779 {
18780 #endif
18781 /* We use char because int might match the return type of a gcc2
18782 builtin and then its argument prototype would still apply. */
18783 char $ac_func ();
18784 /* The GNU C library defines this for functions which it implements
18785 to always fail with ENOSYS. Some functions are actually named
18786 something starting with __ and the normal name is an alias. */
18787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18788 choke me
18789 #else
18790 char (*f) () = $ac_func;
18791 #endif
18792 #ifdef __cplusplus
18793 }
18794 #endif
18795
18796 int
18797 main ()
18798 {
18799 return f != $ac_func;
18800 ;
18801 return 0;
18802 }
18803 _ACEOF
18804 rm -f conftest.$ac_objext conftest$ac_exeext
18805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18806 (eval $ac_link) 2>conftest.er1
18807 ac_status=$?
18808 grep -v '^ *+' conftest.er1 >conftest.err
18809 rm -f conftest.er1
18810 cat conftest.err >&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); } &&
18813 { ac_try='test -z "$ac_c_werror_flag"
18814 || test ! -s conftest.err'
18815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18816 (eval $ac_try) 2>&5
18817 ac_status=$?
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); }; } &&
18820 { ac_try='test -s conftest$ac_exeext'
18821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18822 (eval $ac_try) 2>&5
18823 ac_status=$?
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); }; }; then
18826 eval "$as_ac_var=yes"
18827 else
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.$ac_ext >&5
18830
18831 eval "$as_ac_var=no"
18832 fi
18833 rm -f conftest.err conftest.$ac_objext \
18834 conftest$ac_exeext conftest.$ac_ext
18835 fi
18836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18838 if test `eval echo '${'$as_ac_var'}'` = yes; then
18839 cat >>confdefs.h <<_ACEOF
18840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18841 _ACEOF
18842
18843 fi
18844 done
18845
18846 else
18847
18848 echo "$as_me:$LINENO: checking for _finite declaration" >&5
18849 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
18850 if test x${glibcxx_cv_func__finite_use+set} != xset; then
18851 if test "${glibcxx_cv_func__finite_use+set}" = set; then
18852 echo $ECHO_N "(cached) $ECHO_C" >&6
18853 else
18854
18855
18856
18857 ac_ext=cc
18858 ac_cpp='$CXXCPP $CPPFLAGS'
18859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18862
18863 cat >conftest.$ac_ext <<_ACEOF
18864 /* confdefs.h. */
18865 _ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 #include <math.h>
18870 #ifdef HAVE_IEEEFP_H
18871 #include <ieeefp.h>
18872 #endif
18873
18874 int
18875 main ()
18876 {
18877 _finite(0);
18878 ;
18879 return 0;
18880 }
18881 _ACEOF
18882 rm -f conftest.$ac_objext
18883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18884 (eval $ac_compile) 2>conftest.er1
18885 ac_status=$?
18886 grep -v '^ *+' conftest.er1 >conftest.err
18887 rm -f conftest.er1
18888 cat conftest.err >&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); } &&
18891 { ac_try='test -z "$ac_cxx_werror_flag"
18892 || test ! -s conftest.err'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18895 ac_status=$?
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; } &&
18898 { ac_try='test -s conftest.$ac_objext'
18899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18900 (eval $ac_try) 2>&5
18901 ac_status=$?
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); }; }; then
18904 glibcxx_cv_func__finite_use=yes
18905 else
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5
18908
18909 glibcxx_cv_func__finite_use=no
18910 fi
18911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18912 ac_ext=c
18913 ac_cpp='$CPP $CPPFLAGS'
18914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18917
18918
18919 fi
18920
18921 fi
18922 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
18923 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
18924
18925 if test x$glibcxx_cv_func__finite_use = x"yes"; then
18926
18927 for ac_func in _finite
18928 do
18929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18930 echo "$as_me:$LINENO: checking for $ac_func" >&5
18931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18932 if eval "test \"\${$as_ac_var+set}\" = set"; then
18933 echo $ECHO_N "(cached) $ECHO_C" >&6
18934 else
18935 if test x$gcc_no_link = xyes; then
18936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18938 { (exit 1); exit 1; }; }
18939 fi
18940 cat >conftest.$ac_ext <<_ACEOF
18941 /* confdefs.h. */
18942 _ACEOF
18943 cat confdefs.h >>conftest.$ac_ext
18944 cat >>conftest.$ac_ext <<_ACEOF
18945 /* end confdefs.h. */
18946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18948 #define $ac_func innocuous_$ac_func
18949
18950 /* System header to define __stub macros and hopefully few prototypes,
18951 which can conflict with char $ac_func (); below.
18952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18953 <limits.h> exists even on freestanding compilers. */
18954
18955 #ifdef __STDC__
18956 # include <limits.h>
18957 #else
18958 # include <assert.h>
18959 #endif
18960
18961 #undef $ac_func
18962
18963 /* Override any gcc2 internal prototype to avoid an error. */
18964 #ifdef __cplusplus
18965 extern "C"
18966 {
18967 #endif
18968 /* We use char because int might match the return type of a gcc2
18969 builtin and then its argument prototype would still apply. */
18970 char $ac_func ();
18971 /* The GNU C library defines this for functions which it implements
18972 to always fail with ENOSYS. Some functions are actually named
18973 something starting with __ and the normal name is an alias. */
18974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18975 choke me
18976 #else
18977 char (*f) () = $ac_func;
18978 #endif
18979 #ifdef __cplusplus
18980 }
18981 #endif
18982
18983 int
18984 main ()
18985 {
18986 return f != $ac_func;
18987 ;
18988 return 0;
18989 }
18990 _ACEOF
18991 rm -f conftest.$ac_objext conftest$ac_exeext
18992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18993 (eval $ac_link) 2>conftest.er1
18994 ac_status=$?
18995 grep -v '^ *+' conftest.er1 >conftest.err
18996 rm -f conftest.er1
18997 cat conftest.err >&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); } &&
19000 { ac_try='test -z "$ac_c_werror_flag"
19001 || test ! -s conftest.err'
19002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19003 (eval $ac_try) 2>&5
19004 ac_status=$?
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); }; } &&
19007 { ac_try='test -s conftest$ac_exeext'
19008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009 (eval $ac_try) 2>&5
19010 ac_status=$?
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); }; }; then
19013 eval "$as_ac_var=yes"
19014 else
19015 echo "$as_me: failed program was:" >&5
19016 sed 's/^/| /' conftest.$ac_ext >&5
19017
19018 eval "$as_ac_var=no"
19019 fi
19020 rm -f conftest.err conftest.$ac_objext \
19021 conftest$ac_exeext conftest.$ac_ext
19022 fi
19023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19025 if test `eval echo '${'$as_ac_var'}'` = yes; then
19026 cat >>confdefs.h <<_ACEOF
19027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19028 _ACEOF
19029
19030 fi
19031 done
19032
19033 fi
19034 fi
19035
19036
19037
19038
19039
19040
19041 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19042 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19043 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19044 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19045 echo $ECHO_N "(cached) $ECHO_C" >&6
19046 else
19047
19048
19049
19050 ac_ext=cc
19051 ac_cpp='$CXXCPP $CPPFLAGS'
19052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19055
19056 cat >conftest.$ac_ext <<_ACEOF
19057 /* confdefs.h. */
19058 _ACEOF
19059 cat confdefs.h >>conftest.$ac_ext
19060 cat >>conftest.$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19062 #include <math.h>
19063 int
19064 main ()
19065 {
19066 copysign(0, 0);
19067 ;
19068 return 0;
19069 }
19070 _ACEOF
19071 rm -f conftest.$ac_objext
19072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19073 (eval $ac_compile) 2>conftest.er1
19074 ac_status=$?
19075 grep -v '^ *+' conftest.er1 >conftest.err
19076 rm -f conftest.er1
19077 cat conftest.err >&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); } &&
19080 { ac_try='test -z "$ac_cxx_werror_flag"
19081 || test ! -s conftest.err'
19082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19083 (eval $ac_try) 2>&5
19084 ac_status=$?
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); }; } &&
19087 { ac_try='test -s conftest.$ac_objext'
19088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19089 (eval $ac_try) 2>&5
19090 ac_status=$?
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); }; }; then
19093 glibcxx_cv_func_copysign_use=yes
19094 else
19095 echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.$ac_ext >&5
19097
19098 glibcxx_cv_func_copysign_use=no
19099 fi
19100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19101 ac_ext=c
19102 ac_cpp='$CPP $CPPFLAGS'
19103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19106
19107
19108 fi
19109
19110 fi
19111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19112 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
19113
19114 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
19115
19116 for ac_func in copysign
19117 do
19118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19119 echo "$as_me:$LINENO: checking for $ac_func" >&5
19120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19121 if eval "test \"\${$as_ac_var+set}\" = set"; then
19122 echo $ECHO_N "(cached) $ECHO_C" >&6
19123 else
19124 if test x$gcc_no_link = xyes; then
19125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19127 { (exit 1); exit 1; }; }
19128 fi
19129 cat >conftest.$ac_ext <<_ACEOF
19130 /* confdefs.h. */
19131 _ACEOF
19132 cat confdefs.h >>conftest.$ac_ext
19133 cat >>conftest.$ac_ext <<_ACEOF
19134 /* end confdefs.h. */
19135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19137 #define $ac_func innocuous_$ac_func
19138
19139 /* System header to define __stub macros and hopefully few prototypes,
19140 which can conflict with char $ac_func (); below.
19141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19142 <limits.h> exists even on freestanding compilers. */
19143
19144 #ifdef __STDC__
19145 # include <limits.h>
19146 #else
19147 # include <assert.h>
19148 #endif
19149
19150 #undef $ac_func
19151
19152 /* Override any gcc2 internal prototype to avoid an error. */
19153 #ifdef __cplusplus
19154 extern "C"
19155 {
19156 #endif
19157 /* We use char because int might match the return type of a gcc2
19158 builtin and then its argument prototype would still apply. */
19159 char $ac_func ();
19160 /* The GNU C library defines this for functions which it implements
19161 to always fail with ENOSYS. Some functions are actually named
19162 something starting with __ and the normal name is an alias. */
19163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19164 choke me
19165 #else
19166 char (*f) () = $ac_func;
19167 #endif
19168 #ifdef __cplusplus
19169 }
19170 #endif
19171
19172 int
19173 main ()
19174 {
19175 return f != $ac_func;
19176 ;
19177 return 0;
19178 }
19179 _ACEOF
19180 rm -f conftest.$ac_objext conftest$ac_exeext
19181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19182 (eval $ac_link) 2>conftest.er1
19183 ac_status=$?
19184 grep -v '^ *+' conftest.er1 >conftest.err
19185 rm -f conftest.er1
19186 cat conftest.err >&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } &&
19189 { ac_try='test -z "$ac_c_werror_flag"
19190 || test ! -s conftest.err'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19193 ac_status=$?
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; } &&
19196 { ac_try='test -s conftest$ac_exeext'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19199 ac_status=$?
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; }; then
19202 eval "$as_ac_var=yes"
19203 else
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.$ac_ext >&5
19206
19207 eval "$as_ac_var=no"
19208 fi
19209 rm -f conftest.err conftest.$ac_objext \
19210 conftest$ac_exeext conftest.$ac_ext
19211 fi
19212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19214 if test `eval echo '${'$as_ac_var'}'` = yes; then
19215 cat >>confdefs.h <<_ACEOF
19216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19217 _ACEOF
19218
19219 fi
19220 done
19221
19222 else
19223
19224 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
19225 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
19226 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
19227 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19229 else
19230
19231
19232
19233 ac_ext=cc
19234 ac_cpp='$CXXCPP $CPPFLAGS'
19235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19238
19239 cat >conftest.$ac_ext <<_ACEOF
19240 /* confdefs.h. */
19241 _ACEOF
19242 cat confdefs.h >>conftest.$ac_ext
19243 cat >>conftest.$ac_ext <<_ACEOF
19244 /* end confdefs.h. */
19245 #include <math.h>
19246 int
19247 main ()
19248 {
19249 _copysign(0, 0);
19250 ;
19251 return 0;
19252 }
19253 _ACEOF
19254 rm -f conftest.$ac_objext
19255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19256 (eval $ac_compile) 2>conftest.er1
19257 ac_status=$?
19258 grep -v '^ *+' conftest.er1 >conftest.err
19259 rm -f conftest.er1
19260 cat conftest.err >&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); } &&
19263 { ac_try='test -z "$ac_cxx_werror_flag"
19264 || test ! -s conftest.err'
19265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19266 (eval $ac_try) 2>&5
19267 ac_status=$?
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); }; } &&
19270 { ac_try='test -s conftest.$ac_objext'
19271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19272 (eval $ac_try) 2>&5
19273 ac_status=$?
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; }; then
19276 glibcxx_cv_func__copysign_use=yes
19277 else
19278 echo "$as_me: failed program was:" >&5
19279 sed 's/^/| /' conftest.$ac_ext >&5
19280
19281 glibcxx_cv_func__copysign_use=no
19282 fi
19283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19284 ac_ext=c
19285 ac_cpp='$CPP $CPPFLAGS'
19286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19289
19290
19291 fi
19292
19293 fi
19294 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
19295 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
19296
19297 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
19298
19299 for ac_func in _copysign
19300 do
19301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19302 echo "$as_me:$LINENO: checking for $ac_func" >&5
19303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19304 if eval "test \"\${$as_ac_var+set}\" = set"; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19306 else
19307 if test x$gcc_no_link = xyes; then
19308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19310 { (exit 1); exit 1; }; }
19311 fi
19312 cat >conftest.$ac_ext <<_ACEOF
19313 /* confdefs.h. */
19314 _ACEOF
19315 cat confdefs.h >>conftest.$ac_ext
19316 cat >>conftest.$ac_ext <<_ACEOF
19317 /* end confdefs.h. */
19318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19320 #define $ac_func innocuous_$ac_func
19321
19322 /* System header to define __stub macros and hopefully few prototypes,
19323 which can conflict with char $ac_func (); below.
19324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19325 <limits.h> exists even on freestanding compilers. */
19326
19327 #ifdef __STDC__
19328 # include <limits.h>
19329 #else
19330 # include <assert.h>
19331 #endif
19332
19333 #undef $ac_func
19334
19335 /* Override any gcc2 internal prototype to avoid an error. */
19336 #ifdef __cplusplus
19337 extern "C"
19338 {
19339 #endif
19340 /* We use char because int might match the return type of a gcc2
19341 builtin and then its argument prototype would still apply. */
19342 char $ac_func ();
19343 /* The GNU C library defines this for functions which it implements
19344 to always fail with ENOSYS. Some functions are actually named
19345 something starting with __ and the normal name is an alias. */
19346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19347 choke me
19348 #else
19349 char (*f) () = $ac_func;
19350 #endif
19351 #ifdef __cplusplus
19352 }
19353 #endif
19354
19355 int
19356 main ()
19357 {
19358 return f != $ac_func;
19359 ;
19360 return 0;
19361 }
19362 _ACEOF
19363 rm -f conftest.$ac_objext conftest$ac_exeext
19364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19365 (eval $ac_link) 2>conftest.er1
19366 ac_status=$?
19367 grep -v '^ *+' conftest.er1 >conftest.err
19368 rm -f conftest.er1
19369 cat conftest.err >&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } &&
19372 { ac_try='test -z "$ac_c_werror_flag"
19373 || test ! -s conftest.err'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19376 ac_status=$?
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; } &&
19379 { ac_try='test -s conftest$ac_exeext'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19382 ac_status=$?
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; }; then
19385 eval "$as_ac_var=yes"
19386 else
19387 echo "$as_me: failed program was:" >&5
19388 sed 's/^/| /' conftest.$ac_ext >&5
19389
19390 eval "$as_ac_var=no"
19391 fi
19392 rm -f conftest.err conftest.$ac_objext \
19393 conftest$ac_exeext conftest.$ac_ext
19394 fi
19395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19397 if test `eval echo '${'$as_ac_var'}'` = yes; then
19398 cat >>confdefs.h <<_ACEOF
19399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19400 _ACEOF
19401
19402 fi
19403 done
19404
19405 fi
19406 fi
19407
19408
19409
19410
19411
19412
19413 echo "$as_me:$LINENO: checking for sincos declaration" >&5
19414 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
19415 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
19416 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
19417 echo $ECHO_N "(cached) $ECHO_C" >&6
19418 else
19419
19420
19421
19422 ac_ext=cc
19423 ac_cpp='$CXXCPP $CPPFLAGS'
19424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19427
19428 cat >conftest.$ac_ext <<_ACEOF
19429 /* confdefs.h. */
19430 _ACEOF
19431 cat confdefs.h >>conftest.$ac_ext
19432 cat >>conftest.$ac_ext <<_ACEOF
19433 /* end confdefs.h. */
19434 #include <math.h>
19435 int
19436 main ()
19437 {
19438 sincos(0, 0, 0);
19439 ;
19440 return 0;
19441 }
19442 _ACEOF
19443 rm -f conftest.$ac_objext
19444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19445 (eval $ac_compile) 2>conftest.er1
19446 ac_status=$?
19447 grep -v '^ *+' conftest.er1 >conftest.err
19448 rm -f conftest.er1
19449 cat conftest.err >&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); } &&
19452 { ac_try='test -z "$ac_cxx_werror_flag"
19453 || test ! -s conftest.err'
19454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19455 (eval $ac_try) 2>&5
19456 ac_status=$?
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; } &&
19459 { ac_try='test -s conftest.$ac_objext'
19460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19461 (eval $ac_try) 2>&5
19462 ac_status=$?
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); }; }; then
19465 glibcxx_cv_func_sincos_use=yes
19466 else
19467 echo "$as_me: failed program was:" >&5
19468 sed 's/^/| /' conftest.$ac_ext >&5
19469
19470 glibcxx_cv_func_sincos_use=no
19471 fi
19472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19473 ac_ext=c
19474 ac_cpp='$CPP $CPPFLAGS'
19475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19478
19479
19480 fi
19481
19482 fi
19483 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
19484 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
19485
19486 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
19487
19488 for ac_func in sincos
19489 do
19490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19491 echo "$as_me:$LINENO: checking for $ac_func" >&5
19492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19493 if eval "test \"\${$as_ac_var+set}\" = set"; then
19494 echo $ECHO_N "(cached) $ECHO_C" >&6
19495 else
19496 if test x$gcc_no_link = xyes; then
19497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19499 { (exit 1); exit 1; }; }
19500 fi
19501 cat >conftest.$ac_ext <<_ACEOF
19502 /* confdefs.h. */
19503 _ACEOF
19504 cat confdefs.h >>conftest.$ac_ext
19505 cat >>conftest.$ac_ext <<_ACEOF
19506 /* end confdefs.h. */
19507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19509 #define $ac_func innocuous_$ac_func
19510
19511 /* System header to define __stub macros and hopefully few prototypes,
19512 which can conflict with char $ac_func (); below.
19513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19514 <limits.h> exists even on freestanding compilers. */
19515
19516 #ifdef __STDC__
19517 # include <limits.h>
19518 #else
19519 # include <assert.h>
19520 #endif
19521
19522 #undef $ac_func
19523
19524 /* Override any gcc2 internal prototype to avoid an error. */
19525 #ifdef __cplusplus
19526 extern "C"
19527 {
19528 #endif
19529 /* We use char because int might match the return type of a gcc2
19530 builtin and then its argument prototype would still apply. */
19531 char $ac_func ();
19532 /* The GNU C library defines this for functions which it implements
19533 to always fail with ENOSYS. Some functions are actually named
19534 something starting with __ and the normal name is an alias. */
19535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19536 choke me
19537 #else
19538 char (*f) () = $ac_func;
19539 #endif
19540 #ifdef __cplusplus
19541 }
19542 #endif
19543
19544 int
19545 main ()
19546 {
19547 return f != $ac_func;
19548 ;
19549 return 0;
19550 }
19551 _ACEOF
19552 rm -f conftest.$ac_objext conftest$ac_exeext
19553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19554 (eval $ac_link) 2>conftest.er1
19555 ac_status=$?
19556 grep -v '^ *+' conftest.er1 >conftest.err
19557 rm -f conftest.er1
19558 cat conftest.err >&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); } &&
19561 { ac_try='test -z "$ac_c_werror_flag"
19562 || test ! -s conftest.err'
19563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19564 (eval $ac_try) 2>&5
19565 ac_status=$?
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); }; } &&
19568 { ac_try='test -s conftest$ac_exeext'
19569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19570 (eval $ac_try) 2>&5
19571 ac_status=$?
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); }; }; then
19574 eval "$as_ac_var=yes"
19575 else
19576 echo "$as_me: failed program was:" >&5
19577 sed 's/^/| /' conftest.$ac_ext >&5
19578
19579 eval "$as_ac_var=no"
19580 fi
19581 rm -f conftest.err conftest.$ac_objext \
19582 conftest$ac_exeext conftest.$ac_ext
19583 fi
19584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19586 if test `eval echo '${'$as_ac_var'}'` = yes; then
19587 cat >>confdefs.h <<_ACEOF
19588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19589 _ACEOF
19590
19591 fi
19592 done
19593
19594 else
19595
19596 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
19597 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
19598 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
19599 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 else
19602
19603
19604
19605 ac_ext=cc
19606 ac_cpp='$CXXCPP $CPPFLAGS'
19607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19610
19611 cat >conftest.$ac_ext <<_ACEOF
19612 /* confdefs.h. */
19613 _ACEOF
19614 cat confdefs.h >>conftest.$ac_ext
19615 cat >>conftest.$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19617 #include <math.h>
19618 int
19619 main ()
19620 {
19621 _sincos(0, 0, 0);
19622 ;
19623 return 0;
19624 }
19625 _ACEOF
19626 rm -f conftest.$ac_objext
19627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19628 (eval $ac_compile) 2>conftest.er1
19629 ac_status=$?
19630 grep -v '^ *+' conftest.er1 >conftest.err
19631 rm -f conftest.er1
19632 cat conftest.err >&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } &&
19635 { ac_try='test -z "$ac_cxx_werror_flag"
19636 || test ! -s conftest.err'
19637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19638 (eval $ac_try) 2>&5
19639 ac_status=$?
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); }; } &&
19642 { ac_try='test -s conftest.$ac_objext'
19643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19644 (eval $ac_try) 2>&5
19645 ac_status=$?
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); }; }; then
19648 glibcxx_cv_func__sincos_use=yes
19649 else
19650 echo "$as_me: failed program was:" >&5
19651 sed 's/^/| /' conftest.$ac_ext >&5
19652
19653 glibcxx_cv_func__sincos_use=no
19654 fi
19655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19656 ac_ext=c
19657 ac_cpp='$CPP $CPPFLAGS'
19658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19661
19662
19663 fi
19664
19665 fi
19666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
19667 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
19668
19669 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
19670
19671 for ac_func in _sincos
19672 do
19673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19674 echo "$as_me:$LINENO: checking for $ac_func" >&5
19675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19676 if eval "test \"\${$as_ac_var+set}\" = set"; then
19677 echo $ECHO_N "(cached) $ECHO_C" >&6
19678 else
19679 if test x$gcc_no_link = xyes; then
19680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19682 { (exit 1); exit 1; }; }
19683 fi
19684 cat >conftest.$ac_ext <<_ACEOF
19685 /* confdefs.h. */
19686 _ACEOF
19687 cat confdefs.h >>conftest.$ac_ext
19688 cat >>conftest.$ac_ext <<_ACEOF
19689 /* end confdefs.h. */
19690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19692 #define $ac_func innocuous_$ac_func
19693
19694 /* System header to define __stub macros and hopefully few prototypes,
19695 which can conflict with char $ac_func (); below.
19696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19697 <limits.h> exists even on freestanding compilers. */
19698
19699 #ifdef __STDC__
19700 # include <limits.h>
19701 #else
19702 # include <assert.h>
19703 #endif
19704
19705 #undef $ac_func
19706
19707 /* Override any gcc2 internal prototype to avoid an error. */
19708 #ifdef __cplusplus
19709 extern "C"
19710 {
19711 #endif
19712 /* We use char because int might match the return type of a gcc2
19713 builtin and then its argument prototype would still apply. */
19714 char $ac_func ();
19715 /* The GNU C library defines this for functions which it implements
19716 to always fail with ENOSYS. Some functions are actually named
19717 something starting with __ and the normal name is an alias. */
19718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19719 choke me
19720 #else
19721 char (*f) () = $ac_func;
19722 #endif
19723 #ifdef __cplusplus
19724 }
19725 #endif
19726
19727 int
19728 main ()
19729 {
19730 return f != $ac_func;
19731 ;
19732 return 0;
19733 }
19734 _ACEOF
19735 rm -f conftest.$ac_objext conftest$ac_exeext
19736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19737 (eval $ac_link) 2>conftest.er1
19738 ac_status=$?
19739 grep -v '^ *+' conftest.er1 >conftest.err
19740 rm -f conftest.er1
19741 cat conftest.err >&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try='test -z "$ac_c_werror_flag"
19745 || test ! -s conftest.err'
19746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747 (eval $ac_try) 2>&5
19748 ac_status=$?
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; } &&
19751 { ac_try='test -s conftest$ac_exeext'
19752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753 (eval $ac_try) 2>&5
19754 ac_status=$?
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); }; }; then
19757 eval "$as_ac_var=yes"
19758 else
19759 echo "$as_me: failed program was:" >&5
19760 sed 's/^/| /' conftest.$ac_ext >&5
19761
19762 eval "$as_ac_var=no"
19763 fi
19764 rm -f conftest.err conftest.$ac_objext \
19765 conftest$ac_exeext conftest.$ac_ext
19766 fi
19767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19769 if test `eval echo '${'$as_ac_var'}'` = yes; then
19770 cat >>confdefs.h <<_ACEOF
19771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19772 _ACEOF
19773
19774 fi
19775 done
19776
19777 fi
19778 fi
19779
19780
19781
19782
19783
19784
19785 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
19786 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
19787 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
19788 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
19789 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 else
19791
19792
19793
19794 ac_ext=cc
19795 ac_cpp='$CXXCPP $CPPFLAGS'
19796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19799
19800 cat >conftest.$ac_ext <<_ACEOF
19801 /* confdefs.h. */
19802 _ACEOF
19803 cat confdefs.h >>conftest.$ac_ext
19804 cat >>conftest.$ac_ext <<_ACEOF
19805 /* end confdefs.h. */
19806 #include <math.h>
19807 #ifdef HAVE_IEEEFP_H
19808 #include <ieeefp.h>
19809 #endif
19810
19811 int
19812 main ()
19813 {
19814 fpclass(0);
19815 ;
19816 return 0;
19817 }
19818 _ACEOF
19819 rm -f conftest.$ac_objext
19820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19821 (eval $ac_compile) 2>conftest.er1
19822 ac_status=$?
19823 grep -v '^ *+' conftest.er1 >conftest.err
19824 rm -f conftest.er1
19825 cat conftest.err >&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } &&
19828 { ac_try='test -z "$ac_cxx_werror_flag"
19829 || test ! -s conftest.err'
19830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19831 (eval $ac_try) 2>&5
19832 ac_status=$?
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); }; } &&
19835 { ac_try='test -s conftest.$ac_objext'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19838 ac_status=$?
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; }; then
19841 glibcxx_cv_func_fpclass_use=yes
19842 else
19843 echo "$as_me: failed program was:" >&5
19844 sed 's/^/| /' conftest.$ac_ext >&5
19845
19846 glibcxx_cv_func_fpclass_use=no
19847 fi
19848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19849 ac_ext=c
19850 ac_cpp='$CPP $CPPFLAGS'
19851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19854
19855
19856 fi
19857
19858 fi
19859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
19860 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
19861
19862 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
19863
19864 for ac_func in fpclass
19865 do
19866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19867 echo "$as_me:$LINENO: checking for $ac_func" >&5
19868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19869 if eval "test \"\${$as_ac_var+set}\" = set"; then
19870 echo $ECHO_N "(cached) $ECHO_C" >&6
19871 else
19872 if test x$gcc_no_link = xyes; then
19873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19875 { (exit 1); exit 1; }; }
19876 fi
19877 cat >conftest.$ac_ext <<_ACEOF
19878 /* confdefs.h. */
19879 _ACEOF
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19885 #define $ac_func innocuous_$ac_func
19886
19887 /* System header to define __stub macros and hopefully few prototypes,
19888 which can conflict with char $ac_func (); below.
19889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19890 <limits.h> exists even on freestanding compilers. */
19891
19892 #ifdef __STDC__
19893 # include <limits.h>
19894 #else
19895 # include <assert.h>
19896 #endif
19897
19898 #undef $ac_func
19899
19900 /* Override any gcc2 internal prototype to avoid an error. */
19901 #ifdef __cplusplus
19902 extern "C"
19903 {
19904 #endif
19905 /* We use char because int might match the return type of a gcc2
19906 builtin and then its argument prototype would still apply. */
19907 char $ac_func ();
19908 /* The GNU C library defines this for functions which it implements
19909 to always fail with ENOSYS. Some functions are actually named
19910 something starting with __ and the normal name is an alias. */
19911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19912 choke me
19913 #else
19914 char (*f) () = $ac_func;
19915 #endif
19916 #ifdef __cplusplus
19917 }
19918 #endif
19919
19920 int
19921 main ()
19922 {
19923 return f != $ac_func;
19924 ;
19925 return 0;
19926 }
19927 _ACEOF
19928 rm -f conftest.$ac_objext conftest$ac_exeext
19929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19930 (eval $ac_link) 2>conftest.er1
19931 ac_status=$?
19932 grep -v '^ *+' conftest.er1 >conftest.err
19933 rm -f conftest.er1
19934 cat conftest.err >&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } &&
19937 { ac_try='test -z "$ac_c_werror_flag"
19938 || test ! -s conftest.err'
19939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940 (eval $ac_try) 2>&5
19941 ac_status=$?
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; } &&
19944 { ac_try='test -s conftest$ac_exeext'
19945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19946 (eval $ac_try) 2>&5
19947 ac_status=$?
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); }; }; then
19950 eval "$as_ac_var=yes"
19951 else
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.$ac_ext >&5
19954
19955 eval "$as_ac_var=no"
19956 fi
19957 rm -f conftest.err conftest.$ac_objext \
19958 conftest$ac_exeext conftest.$ac_ext
19959 fi
19960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19962 if test `eval echo '${'$as_ac_var'}'` = yes; then
19963 cat >>confdefs.h <<_ACEOF
19964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19965 _ACEOF
19966
19967 fi
19968 done
19969
19970 else
19971
19972 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
19973 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
19974 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
19975 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19977 else
19978
19979
19980
19981 ac_ext=cc
19982 ac_cpp='$CXXCPP $CPPFLAGS'
19983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19986
19987 cat >conftest.$ac_ext <<_ACEOF
19988 /* confdefs.h. */
19989 _ACEOF
19990 cat confdefs.h >>conftest.$ac_ext
19991 cat >>conftest.$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 #include <math.h>
19994 #ifdef HAVE_IEEEFP_H
19995 #include <ieeefp.h>
19996 #endif
19997
19998 int
19999 main ()
20000 {
20001 _fpclass(0);
20002 ;
20003 return 0;
20004 }
20005 _ACEOF
20006 rm -f conftest.$ac_objext
20007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20008 (eval $ac_compile) 2>conftest.er1
20009 ac_status=$?
20010 grep -v '^ *+' conftest.er1 >conftest.err
20011 rm -f conftest.er1
20012 cat conftest.err >&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } &&
20015 { ac_try='test -z "$ac_cxx_werror_flag"
20016 || test ! -s conftest.err'
20017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018 (eval $ac_try) 2>&5
20019 ac_status=$?
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; } &&
20022 { ac_try='test -s conftest.$ac_objext'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20025 ac_status=$?
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; }; then
20028 glibcxx_cv_func__fpclass_use=yes
20029 else
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.$ac_ext >&5
20032
20033 glibcxx_cv_func__fpclass_use=no
20034 fi
20035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20036 ac_ext=c
20037 ac_cpp='$CPP $CPPFLAGS'
20038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20041
20042
20043 fi
20044
20045 fi
20046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20047 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20048
20049 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20050
20051 for ac_func in _fpclass
20052 do
20053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20054 echo "$as_me:$LINENO: checking for $ac_func" >&5
20055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20056 if eval "test \"\${$as_ac_var+set}\" = set"; then
20057 echo $ECHO_N "(cached) $ECHO_C" >&6
20058 else
20059 if test x$gcc_no_link = xyes; then
20060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20062 { (exit 1); exit 1; }; }
20063 fi
20064 cat >conftest.$ac_ext <<_ACEOF
20065 /* confdefs.h. */
20066 _ACEOF
20067 cat confdefs.h >>conftest.$ac_ext
20068 cat >>conftest.$ac_ext <<_ACEOF
20069 /* end confdefs.h. */
20070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20072 #define $ac_func innocuous_$ac_func
20073
20074 /* System header to define __stub macros and hopefully few prototypes,
20075 which can conflict with char $ac_func (); below.
20076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20077 <limits.h> exists even on freestanding compilers. */
20078
20079 #ifdef __STDC__
20080 # include <limits.h>
20081 #else
20082 # include <assert.h>
20083 #endif
20084
20085 #undef $ac_func
20086
20087 /* Override any gcc2 internal prototype to avoid an error. */
20088 #ifdef __cplusplus
20089 extern "C"
20090 {
20091 #endif
20092 /* We use char because int might match the return type of a gcc2
20093 builtin and then its argument prototype would still apply. */
20094 char $ac_func ();
20095 /* The GNU C library defines this for functions which it implements
20096 to always fail with ENOSYS. Some functions are actually named
20097 something starting with __ and the normal name is an alias. */
20098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20099 choke me
20100 #else
20101 char (*f) () = $ac_func;
20102 #endif
20103 #ifdef __cplusplus
20104 }
20105 #endif
20106
20107 int
20108 main ()
20109 {
20110 return f != $ac_func;
20111 ;
20112 return 0;
20113 }
20114 _ACEOF
20115 rm -f conftest.$ac_objext conftest$ac_exeext
20116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20117 (eval $ac_link) 2>conftest.er1
20118 ac_status=$?
20119 grep -v '^ *+' conftest.er1 >conftest.err
20120 rm -f conftest.er1
20121 cat conftest.err >&5
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); } &&
20124 { ac_try='test -z "$ac_c_werror_flag"
20125 || test ! -s conftest.err'
20126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20127 (eval $ac_try) 2>&5
20128 ac_status=$?
20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); }; } &&
20131 { ac_try='test -s conftest$ac_exeext'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20134 ac_status=$?
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; }; then
20137 eval "$as_ac_var=yes"
20138 else
20139 echo "$as_me: failed program was:" >&5
20140 sed 's/^/| /' conftest.$ac_ext >&5
20141
20142 eval "$as_ac_var=no"
20143 fi
20144 rm -f conftest.err conftest.$ac_objext \
20145 conftest$ac_exeext conftest.$ac_ext
20146 fi
20147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20149 if test `eval echo '${'$as_ac_var'}'` = yes; then
20150 cat >>confdefs.h <<_ACEOF
20151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20152 _ACEOF
20153
20154 fi
20155 done
20156
20157 fi
20158 fi
20159
20160
20161
20162
20163
20164
20165 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
20166 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
20167 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20168 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20170 else
20171
20172
20173
20174 ac_ext=cc
20175 ac_cpp='$CXXCPP $CPPFLAGS'
20176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20179
20180 cat >conftest.$ac_ext <<_ACEOF
20181 /* confdefs.h. */
20182 _ACEOF
20183 cat confdefs.h >>conftest.$ac_ext
20184 cat >>conftest.$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20186 #include <math.h>
20187 #ifdef HAVE_IEEEFP_H
20188 #include <ieeefp.h>
20189 #endif
20190
20191 int
20192 main ()
20193 {
20194 qfpclass(0);
20195 ;
20196 return 0;
20197 }
20198 _ACEOF
20199 rm -f conftest.$ac_objext
20200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20201 (eval $ac_compile) 2>conftest.er1
20202 ac_status=$?
20203 grep -v '^ *+' conftest.er1 >conftest.err
20204 rm -f conftest.er1
20205 cat conftest.err >&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); } &&
20208 { ac_try='test -z "$ac_cxx_werror_flag"
20209 || test ! -s conftest.err'
20210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20211 (eval $ac_try) 2>&5
20212 ac_status=$?
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); }; } &&
20215 { ac_try='test -s conftest.$ac_objext'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20218 ac_status=$?
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; }; then
20221 glibcxx_cv_func_qfpclass_use=yes
20222 else
20223 echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.$ac_ext >&5
20225
20226 glibcxx_cv_func_qfpclass_use=no
20227 fi
20228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20229 ac_ext=c
20230 ac_cpp='$CPP $CPPFLAGS'
20231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20234
20235
20236 fi
20237
20238 fi
20239 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
20240 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
20241
20242 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20243
20244 for ac_func in qfpclass
20245 do
20246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20247 echo "$as_me:$LINENO: checking for $ac_func" >&5
20248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20249 if eval "test \"\${$as_ac_var+set}\" = set"; then
20250 echo $ECHO_N "(cached) $ECHO_C" >&6
20251 else
20252 if test x$gcc_no_link = xyes; then
20253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20255 { (exit 1); exit 1; }; }
20256 fi
20257 cat >conftest.$ac_ext <<_ACEOF
20258 /* confdefs.h. */
20259 _ACEOF
20260 cat confdefs.h >>conftest.$ac_ext
20261 cat >>conftest.$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20265 #define $ac_func innocuous_$ac_func
20266
20267 /* System header to define __stub macros and hopefully few prototypes,
20268 which can conflict with char $ac_func (); below.
20269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20270 <limits.h> exists even on freestanding compilers. */
20271
20272 #ifdef __STDC__
20273 # include <limits.h>
20274 #else
20275 # include <assert.h>
20276 #endif
20277
20278 #undef $ac_func
20279
20280 /* Override any gcc2 internal prototype to avoid an error. */
20281 #ifdef __cplusplus
20282 extern "C"
20283 {
20284 #endif
20285 /* We use char because int might match the return type of a gcc2
20286 builtin and then its argument prototype would still apply. */
20287 char $ac_func ();
20288 /* The GNU C library defines this for functions which it implements
20289 to always fail with ENOSYS. Some functions are actually named
20290 something starting with __ and the normal name is an alias. */
20291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20292 choke me
20293 #else
20294 char (*f) () = $ac_func;
20295 #endif
20296 #ifdef __cplusplus
20297 }
20298 #endif
20299
20300 int
20301 main ()
20302 {
20303 return f != $ac_func;
20304 ;
20305 return 0;
20306 }
20307 _ACEOF
20308 rm -f conftest.$ac_objext conftest$ac_exeext
20309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20310 (eval $ac_link) 2>conftest.er1
20311 ac_status=$?
20312 grep -v '^ *+' conftest.er1 >conftest.err
20313 rm -f conftest.er1
20314 cat conftest.err >&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } &&
20317 { ac_try='test -z "$ac_c_werror_flag"
20318 || test ! -s conftest.err'
20319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20320 (eval $ac_try) 2>&5
20321 ac_status=$?
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); }; } &&
20324 { ac_try='test -s conftest$ac_exeext'
20325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20326 (eval $ac_try) 2>&5
20327 ac_status=$?
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); }; }; then
20330 eval "$as_ac_var=yes"
20331 else
20332 echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.$ac_ext >&5
20334
20335 eval "$as_ac_var=no"
20336 fi
20337 rm -f conftest.err conftest.$ac_objext \
20338 conftest$ac_exeext conftest.$ac_ext
20339 fi
20340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20342 if test `eval echo '${'$as_ac_var'}'` = yes; then
20343 cat >>confdefs.h <<_ACEOF
20344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20345 _ACEOF
20346
20347 fi
20348 done
20349
20350 else
20351
20352 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
20353 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
20354 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20355 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
20356 echo $ECHO_N "(cached) $ECHO_C" >&6
20357 else
20358
20359
20360
20361 ac_ext=cc
20362 ac_cpp='$CXXCPP $CPPFLAGS'
20363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20366
20367 cat >conftest.$ac_ext <<_ACEOF
20368 /* confdefs.h. */
20369 _ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20373 #include <math.h>
20374 #ifdef HAVE_IEEEFP_H
20375 #include <ieeefp.h>
20376 #endif
20377
20378 int
20379 main ()
20380 {
20381 _qfpclass(0);
20382 ;
20383 return 0;
20384 }
20385 _ACEOF
20386 rm -f conftest.$ac_objext
20387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20388 (eval $ac_compile) 2>conftest.er1
20389 ac_status=$?
20390 grep -v '^ *+' conftest.er1 >conftest.err
20391 rm -f conftest.er1
20392 cat conftest.err >&5
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); } &&
20395 { ac_try='test -z "$ac_cxx_werror_flag"
20396 || test ! -s conftest.err'
20397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20398 (eval $ac_try) 2>&5
20399 ac_status=$?
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); }; } &&
20402 { ac_try='test -s conftest.$ac_objext'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20405 ac_status=$?
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; }; then
20408 glibcxx_cv_func__qfpclass_use=yes
20409 else
20410 echo "$as_me: failed program was:" >&5
20411 sed 's/^/| /' conftest.$ac_ext >&5
20412
20413 glibcxx_cv_func__qfpclass_use=no
20414 fi
20415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20416 ac_ext=c
20417 ac_cpp='$CPP $CPPFLAGS'
20418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20421
20422
20423 fi
20424
20425 fi
20426 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
20427 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
20428
20429 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20430
20431 for ac_func in _qfpclass
20432 do
20433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20434 echo "$as_me:$LINENO: checking for $ac_func" >&5
20435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20436 if eval "test \"\${$as_ac_var+set}\" = set"; then
20437 echo $ECHO_N "(cached) $ECHO_C" >&6
20438 else
20439 if test x$gcc_no_link = xyes; then
20440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20442 { (exit 1); exit 1; }; }
20443 fi
20444 cat >conftest.$ac_ext <<_ACEOF
20445 /* confdefs.h. */
20446 _ACEOF
20447 cat confdefs.h >>conftest.$ac_ext
20448 cat >>conftest.$ac_ext <<_ACEOF
20449 /* end confdefs.h. */
20450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20452 #define $ac_func innocuous_$ac_func
20453
20454 /* System header to define __stub macros and hopefully few prototypes,
20455 which can conflict with char $ac_func (); below.
20456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20457 <limits.h> exists even on freestanding compilers. */
20458
20459 #ifdef __STDC__
20460 # include <limits.h>
20461 #else
20462 # include <assert.h>
20463 #endif
20464
20465 #undef $ac_func
20466
20467 /* Override any gcc2 internal prototype to avoid an error. */
20468 #ifdef __cplusplus
20469 extern "C"
20470 {
20471 #endif
20472 /* We use char because int might match the return type of a gcc2
20473 builtin and then its argument prototype would still apply. */
20474 char $ac_func ();
20475 /* The GNU C library defines this for functions which it implements
20476 to always fail with ENOSYS. Some functions are actually named
20477 something starting with __ and the normal name is an alias. */
20478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20479 choke me
20480 #else
20481 char (*f) () = $ac_func;
20482 #endif
20483 #ifdef __cplusplus
20484 }
20485 #endif
20486
20487 int
20488 main ()
20489 {
20490 return f != $ac_func;
20491 ;
20492 return 0;
20493 }
20494 _ACEOF
20495 rm -f conftest.$ac_objext conftest$ac_exeext
20496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20497 (eval $ac_link) 2>conftest.er1
20498 ac_status=$?
20499 grep -v '^ *+' conftest.er1 >conftest.err
20500 rm -f conftest.er1
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } &&
20504 { ac_try='test -z "$ac_c_werror_flag"
20505 || test ! -s conftest.err'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20508 ac_status=$?
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; } &&
20511 { ac_try='test -s conftest$ac_exeext'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20514 ac_status=$?
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 eval "$as_ac_var=yes"
20518 else
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20521
20522 eval "$as_ac_var=no"
20523 fi
20524 rm -f conftest.err conftest.$ac_objext \
20525 conftest$ac_exeext conftest.$ac_ext
20526 fi
20527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20529 if test `eval echo '${'$as_ac_var'}'` = yes; then
20530 cat >>confdefs.h <<_ACEOF
20531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20532 _ACEOF
20533
20534 fi
20535 done
20536
20537 fi
20538 fi
20539
20540
20541
20542
20543
20544
20545 echo "$as_me:$LINENO: checking for hypot declaration" >&5
20546 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
20547 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20548 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
20549 echo $ECHO_N "(cached) $ECHO_C" >&6
20550 else
20551
20552
20553
20554 ac_ext=cc
20555 ac_cpp='$CXXCPP $CPPFLAGS'
20556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20559
20560 cat >conftest.$ac_ext <<_ACEOF
20561 /* confdefs.h. */
20562 _ACEOF
20563 cat confdefs.h >>conftest.$ac_ext
20564 cat >>conftest.$ac_ext <<_ACEOF
20565 /* end confdefs.h. */
20566 #include <math.h>
20567 int
20568 main ()
20569 {
20570 hypot(0, 0);
20571 ;
20572 return 0;
20573 }
20574 _ACEOF
20575 rm -f conftest.$ac_objext
20576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20577 (eval $ac_compile) 2>conftest.er1
20578 ac_status=$?
20579 grep -v '^ *+' conftest.er1 >conftest.err
20580 rm -f conftest.er1
20581 cat conftest.err >&5
20582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20583 (exit $ac_status); } &&
20584 { ac_try='test -z "$ac_cxx_werror_flag"
20585 || test ! -s conftest.err'
20586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20587 (eval $ac_try) 2>&5
20588 ac_status=$?
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); }; } &&
20591 { ac_try='test -s conftest.$ac_objext'
20592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20593 (eval $ac_try) 2>&5
20594 ac_status=$?
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); }; }; then
20597 glibcxx_cv_func_hypot_use=yes
20598 else
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20601
20602 glibcxx_cv_func_hypot_use=no
20603 fi
20604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20605 ac_ext=c
20606 ac_cpp='$CPP $CPPFLAGS'
20607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20610
20611
20612 fi
20613
20614 fi
20615 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
20616 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
20617
20618 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20619
20620 for ac_func in hypot
20621 do
20622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20623 echo "$as_me:$LINENO: checking for $ac_func" >&5
20624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20625 if eval "test \"\${$as_ac_var+set}\" = set"; then
20626 echo $ECHO_N "(cached) $ECHO_C" >&6
20627 else
20628 if test x$gcc_no_link = xyes; then
20629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20631 { (exit 1); exit 1; }; }
20632 fi
20633 cat >conftest.$ac_ext <<_ACEOF
20634 /* confdefs.h. */
20635 _ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20641 #define $ac_func innocuous_$ac_func
20642
20643 /* System header to define __stub macros and hopefully few prototypes,
20644 which can conflict with char $ac_func (); below.
20645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20646 <limits.h> exists even on freestanding compilers. */
20647
20648 #ifdef __STDC__
20649 # include <limits.h>
20650 #else
20651 # include <assert.h>
20652 #endif
20653
20654 #undef $ac_func
20655
20656 /* Override any gcc2 internal prototype to avoid an error. */
20657 #ifdef __cplusplus
20658 extern "C"
20659 {
20660 #endif
20661 /* We use char because int might match the return type of a gcc2
20662 builtin and then its argument prototype would still apply. */
20663 char $ac_func ();
20664 /* The GNU C library defines this for functions which it implements
20665 to always fail with ENOSYS. Some functions are actually named
20666 something starting with __ and the normal name is an alias. */
20667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20668 choke me
20669 #else
20670 char (*f) () = $ac_func;
20671 #endif
20672 #ifdef __cplusplus
20673 }
20674 #endif
20675
20676 int
20677 main ()
20678 {
20679 return f != $ac_func;
20680 ;
20681 return 0;
20682 }
20683 _ACEOF
20684 rm -f conftest.$ac_objext conftest$ac_exeext
20685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20686 (eval $ac_link) 2>conftest.er1
20687 ac_status=$?
20688 grep -v '^ *+' conftest.er1 >conftest.err
20689 rm -f conftest.er1
20690 cat conftest.err >&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); } &&
20693 { ac_try='test -z "$ac_c_werror_flag"
20694 || test ! -s conftest.err'
20695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20696 (eval $ac_try) 2>&5
20697 ac_status=$?
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); }; } &&
20700 { ac_try='test -s conftest$ac_exeext'
20701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20702 (eval $ac_try) 2>&5
20703 ac_status=$?
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); }; }; then
20706 eval "$as_ac_var=yes"
20707 else
20708 echo "$as_me: failed program was:" >&5
20709 sed 's/^/| /' conftest.$ac_ext >&5
20710
20711 eval "$as_ac_var=no"
20712 fi
20713 rm -f conftest.err conftest.$ac_objext \
20714 conftest$ac_exeext conftest.$ac_ext
20715 fi
20716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20718 if test `eval echo '${'$as_ac_var'}'` = yes; then
20719 cat >>confdefs.h <<_ACEOF
20720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20721 _ACEOF
20722
20723 fi
20724 done
20725
20726 else
20727
20728 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
20729 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
20730 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20731 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
20732 echo $ECHO_N "(cached) $ECHO_C" >&6
20733 else
20734
20735
20736
20737 ac_ext=cc
20738 ac_cpp='$CXXCPP $CPPFLAGS'
20739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20742
20743 cat >conftest.$ac_ext <<_ACEOF
20744 /* confdefs.h. */
20745 _ACEOF
20746 cat confdefs.h >>conftest.$ac_ext
20747 cat >>conftest.$ac_ext <<_ACEOF
20748 /* end confdefs.h. */
20749 #include <math.h>
20750 int
20751 main ()
20752 {
20753 _hypot(0, 0);
20754 ;
20755 return 0;
20756 }
20757 _ACEOF
20758 rm -f conftest.$ac_objext
20759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20760 (eval $ac_compile) 2>conftest.er1
20761 ac_status=$?
20762 grep -v '^ *+' conftest.er1 >conftest.err
20763 rm -f conftest.er1
20764 cat conftest.err >&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } &&
20767 { ac_try='test -z "$ac_cxx_werror_flag"
20768 || test ! -s conftest.err'
20769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20770 (eval $ac_try) 2>&5
20771 ac_status=$?
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); }; } &&
20774 { ac_try='test -s conftest.$ac_objext'
20775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20776 (eval $ac_try) 2>&5
20777 ac_status=$?
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); }; }; then
20780 glibcxx_cv_func__hypot_use=yes
20781 else
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.$ac_ext >&5
20784
20785 glibcxx_cv_func__hypot_use=no
20786 fi
20787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20788 ac_ext=c
20789 ac_cpp='$CPP $CPPFLAGS'
20790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20793
20794
20795 fi
20796
20797 fi
20798 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
20799 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
20800
20801 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20802
20803 for ac_func in _hypot
20804 do
20805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20806 echo "$as_me:$LINENO: checking for $ac_func" >&5
20807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20808 if eval "test \"\${$as_ac_var+set}\" = set"; then
20809 echo $ECHO_N "(cached) $ECHO_C" >&6
20810 else
20811 if test x$gcc_no_link = xyes; then
20812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20814 { (exit 1); exit 1; }; }
20815 fi
20816 cat >conftest.$ac_ext <<_ACEOF
20817 /* confdefs.h. */
20818 _ACEOF
20819 cat confdefs.h >>conftest.$ac_ext
20820 cat >>conftest.$ac_ext <<_ACEOF
20821 /* end confdefs.h. */
20822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20824 #define $ac_func innocuous_$ac_func
20825
20826 /* System header to define __stub macros and hopefully few prototypes,
20827 which can conflict with char $ac_func (); below.
20828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20829 <limits.h> exists even on freestanding compilers. */
20830
20831 #ifdef __STDC__
20832 # include <limits.h>
20833 #else
20834 # include <assert.h>
20835 #endif
20836
20837 #undef $ac_func
20838
20839 /* Override any gcc2 internal prototype to avoid an error. */
20840 #ifdef __cplusplus
20841 extern "C"
20842 {
20843 #endif
20844 /* We use char because int might match the return type of a gcc2
20845 builtin and then its argument prototype would still apply. */
20846 char $ac_func ();
20847 /* The GNU C library defines this for functions which it implements
20848 to always fail with ENOSYS. Some functions are actually named
20849 something starting with __ and the normal name is an alias. */
20850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20851 choke me
20852 #else
20853 char (*f) () = $ac_func;
20854 #endif
20855 #ifdef __cplusplus
20856 }
20857 #endif
20858
20859 int
20860 main ()
20861 {
20862 return f != $ac_func;
20863 ;
20864 return 0;
20865 }
20866 _ACEOF
20867 rm -f conftest.$ac_objext conftest$ac_exeext
20868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20869 (eval $ac_link) 2>conftest.er1
20870 ac_status=$?
20871 grep -v '^ *+' conftest.er1 >conftest.err
20872 rm -f conftest.er1
20873 cat conftest.err >&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); } &&
20876 { ac_try='test -z "$ac_c_werror_flag"
20877 || test ! -s conftest.err'
20878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20879 (eval $ac_try) 2>&5
20880 ac_status=$?
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); }; } &&
20883 { ac_try='test -s conftest$ac_exeext'
20884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20885 (eval $ac_try) 2>&5
20886 ac_status=$?
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; }; then
20889 eval "$as_ac_var=yes"
20890 else
20891 echo "$as_me: failed program was:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20893
20894 eval "$as_ac_var=no"
20895 fi
20896 rm -f conftest.err conftest.$ac_objext \
20897 conftest$ac_exeext conftest.$ac_ext
20898 fi
20899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20901 if test `eval echo '${'$as_ac_var'}'` = yes; then
20902 cat >>confdefs.h <<_ACEOF
20903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20904 _ACEOF
20905
20906 fi
20907 done
20908
20909 fi
20910 fi
20911
20912
20913
20914
20915
20916
20917 echo "$as_me:$LINENO: checking for float trig functions" >&5
20918 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
20919 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
20920 echo $ECHO_N "(cached) $ECHO_C" >&6
20921 else
20922
20923
20924
20925 ac_ext=cc
20926 ac_cpp='$CXXCPP $CPPFLAGS'
20927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20930
20931 cat >conftest.$ac_ext <<_ACEOF
20932 /* confdefs.h. */
20933 _ACEOF
20934 cat confdefs.h >>conftest.$ac_ext
20935 cat >>conftest.$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20937 #include <math.h>
20938 int
20939 main ()
20940 {
20941 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20942 ;
20943 return 0;
20944 }
20945 _ACEOF
20946 rm -f conftest.$ac_objext
20947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20948 (eval $ac_compile) 2>conftest.er1
20949 ac_status=$?
20950 grep -v '^ *+' conftest.er1 >conftest.err
20951 rm -f conftest.er1
20952 cat conftest.err >&5
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); } &&
20955 { ac_try='test -z "$ac_cxx_werror_flag"
20956 || test ! -s conftest.err'
20957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20958 (eval $ac_try) 2>&5
20959 ac_status=$?
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); }; } &&
20962 { ac_try='test -s conftest.$ac_objext'
20963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964 (eval $ac_try) 2>&5
20965 ac_status=$?
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; }; then
20968 glibcxx_cv_func_float_trig_use=yes
20969 else
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.$ac_ext >&5
20972
20973 glibcxx_cv_func_float_trig_use=no
20974 fi
20975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20976 ac_ext=c
20977 ac_cpp='$CPP $CPPFLAGS'
20978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20981
20982 fi
20983
20984 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
20985 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
20986 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20997 do
20998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20999 echo "$as_me:$LINENO: checking for $ac_func" >&5
21000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21001 if eval "test \"\${$as_ac_var+set}\" = set"; then
21002 echo $ECHO_N "(cached) $ECHO_C" >&6
21003 else
21004 if test x$gcc_no_link = xyes; then
21005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21007 { (exit 1); exit 1; }; }
21008 fi
21009 cat >conftest.$ac_ext <<_ACEOF
21010 /* confdefs.h. */
21011 _ACEOF
21012 cat confdefs.h >>conftest.$ac_ext
21013 cat >>conftest.$ac_ext <<_ACEOF
21014 /* end confdefs.h. */
21015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21017 #define $ac_func innocuous_$ac_func
21018
21019 /* System header to define __stub macros and hopefully few prototypes,
21020 which can conflict with char $ac_func (); below.
21021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21022 <limits.h> exists even on freestanding compilers. */
21023
21024 #ifdef __STDC__
21025 # include <limits.h>
21026 #else
21027 # include <assert.h>
21028 #endif
21029
21030 #undef $ac_func
21031
21032 /* Override any gcc2 internal prototype to avoid an error. */
21033 #ifdef __cplusplus
21034 extern "C"
21035 {
21036 #endif
21037 /* We use char because int might match the return type of a gcc2
21038 builtin and then its argument prototype would still apply. */
21039 char $ac_func ();
21040 /* The GNU C library defines this for functions which it implements
21041 to always fail with ENOSYS. Some functions are actually named
21042 something starting with __ and the normal name is an alias. */
21043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21044 choke me
21045 #else
21046 char (*f) () = $ac_func;
21047 #endif
21048 #ifdef __cplusplus
21049 }
21050 #endif
21051
21052 int
21053 main ()
21054 {
21055 return f != $ac_func;
21056 ;
21057 return 0;
21058 }
21059 _ACEOF
21060 rm -f conftest.$ac_objext conftest$ac_exeext
21061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21062 (eval $ac_link) 2>conftest.er1
21063 ac_status=$?
21064 grep -v '^ *+' conftest.er1 >conftest.err
21065 rm -f conftest.er1
21066 cat conftest.err >&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); } &&
21069 { ac_try='test -z "$ac_c_werror_flag"
21070 || test ! -s conftest.err'
21071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21072 (eval $ac_try) 2>&5
21073 ac_status=$?
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); }; } &&
21076 { ac_try='test -s conftest$ac_exeext'
21077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21078 (eval $ac_try) 2>&5
21079 ac_status=$?
21080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21081 (exit $ac_status); }; }; then
21082 eval "$as_ac_var=yes"
21083 else
21084 echo "$as_me: failed program was:" >&5
21085 sed 's/^/| /' conftest.$ac_ext >&5
21086
21087 eval "$as_ac_var=no"
21088 fi
21089 rm -f conftest.err conftest.$ac_objext \
21090 conftest$ac_exeext conftest.$ac_ext
21091 fi
21092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21094 if test `eval echo '${'$as_ac_var'}'` = yes; then
21095 cat >>confdefs.h <<_ACEOF
21096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21097 _ACEOF
21098
21099 fi
21100 done
21101
21102 else
21103 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21104 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21105 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21106 echo $ECHO_N "(cached) $ECHO_C" >&6
21107 else
21108
21109
21110
21111 ac_ext=cc
21112 ac_cpp='$CXXCPP $CPPFLAGS'
21113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21116
21117 cat >conftest.$ac_ext <<_ACEOF
21118 /* confdefs.h. */
21119 _ACEOF
21120 cat confdefs.h >>conftest.$ac_ext
21121 cat >>conftest.$ac_ext <<_ACEOF
21122 /* end confdefs.h. */
21123 #include <math.h>
21124 int
21125 main ()
21126 {
21127 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21128 ;
21129 return 0;
21130 }
21131 _ACEOF
21132 rm -f conftest.$ac_objext
21133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21134 (eval $ac_compile) 2>conftest.er1
21135 ac_status=$?
21136 grep -v '^ *+' conftest.er1 >conftest.err
21137 rm -f conftest.er1
21138 cat conftest.err >&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } &&
21141 { ac_try='test -z "$ac_cxx_werror_flag"
21142 || test ! -s conftest.err'
21143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21144 (eval $ac_try) 2>&5
21145 ac_status=$?
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); }; } &&
21148 { ac_try='test -s conftest.$ac_objext'
21149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21150 (eval $ac_try) 2>&5
21151 ac_status=$?
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; }; then
21154 glibcxx_cv_func__float_trig_use=yes
21155 else
21156 echo "$as_me: failed program was:" >&5
21157 sed 's/^/| /' conftest.$ac_ext >&5
21158
21159 glibcxx_cv_func__float_trig_use=no
21160 fi
21161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21162 ac_ext=c
21163 ac_cpp='$CPP $CPPFLAGS'
21164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21167
21168 fi
21169
21170 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21171 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21172 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21183 do
21184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21185 echo "$as_me:$LINENO: checking for $ac_func" >&5
21186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21187 if eval "test \"\${$as_ac_var+set}\" = set"; then
21188 echo $ECHO_N "(cached) $ECHO_C" >&6
21189 else
21190 if test x$gcc_no_link = xyes; then
21191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21193 { (exit 1); exit 1; }; }
21194 fi
21195 cat >conftest.$ac_ext <<_ACEOF
21196 /* confdefs.h. */
21197 _ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21203 #define $ac_func innocuous_$ac_func
21204
21205 /* System header to define __stub macros and hopefully few prototypes,
21206 which can conflict with char $ac_func (); below.
21207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21208 <limits.h> exists even on freestanding compilers. */
21209
21210 #ifdef __STDC__
21211 # include <limits.h>
21212 #else
21213 # include <assert.h>
21214 #endif
21215
21216 #undef $ac_func
21217
21218 /* Override any gcc2 internal prototype to avoid an error. */
21219 #ifdef __cplusplus
21220 extern "C"
21221 {
21222 #endif
21223 /* We use char because int might match the return type of a gcc2
21224 builtin and then its argument prototype would still apply. */
21225 char $ac_func ();
21226 /* The GNU C library defines this for functions which it implements
21227 to always fail with ENOSYS. Some functions are actually named
21228 something starting with __ and the normal name is an alias. */
21229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21230 choke me
21231 #else
21232 char (*f) () = $ac_func;
21233 #endif
21234 #ifdef __cplusplus
21235 }
21236 #endif
21237
21238 int
21239 main ()
21240 {
21241 return f != $ac_func;
21242 ;
21243 return 0;
21244 }
21245 _ACEOF
21246 rm -f conftest.$ac_objext conftest$ac_exeext
21247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21248 (eval $ac_link) 2>conftest.er1
21249 ac_status=$?
21250 grep -v '^ *+' conftest.er1 >conftest.err
21251 rm -f conftest.er1
21252 cat conftest.err >&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); } &&
21255 { ac_try='test -z "$ac_c_werror_flag"
21256 || test ! -s conftest.err'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21259 ac_status=$?
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; } &&
21262 { ac_try='test -s conftest$ac_exeext'
21263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21264 (eval $ac_try) 2>&5
21265 ac_status=$?
21266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267 (exit $ac_status); }; }; then
21268 eval "$as_ac_var=yes"
21269 else
21270 echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.$ac_ext >&5
21272
21273 eval "$as_ac_var=no"
21274 fi
21275 rm -f conftest.err conftest.$ac_objext \
21276 conftest$ac_exeext conftest.$ac_ext
21277 fi
21278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21280 if test `eval echo '${'$as_ac_var'}'` = yes; then
21281 cat >>confdefs.h <<_ACEOF
21282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21283 _ACEOF
21284
21285 fi
21286 done
21287
21288 fi
21289 fi
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304 echo "$as_me:$LINENO: checking for float round functions" >&5
21305 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
21306 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
21307 echo $ECHO_N "(cached) $ECHO_C" >&6
21308 else
21309
21310
21311
21312 ac_ext=cc
21313 ac_cpp='$CXXCPP $CPPFLAGS'
21314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21317
21318 cat >conftest.$ac_ext <<_ACEOF
21319 /* confdefs.h. */
21320 _ACEOF
21321 cat confdefs.h >>conftest.$ac_ext
21322 cat >>conftest.$ac_ext <<_ACEOF
21323 /* end confdefs.h. */
21324 #include <math.h>
21325 int
21326 main ()
21327 {
21328 ceilf (0); floorf (0);
21329 ;
21330 return 0;
21331 }
21332 _ACEOF
21333 rm -f conftest.$ac_objext
21334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21335 (eval $ac_compile) 2>conftest.er1
21336 ac_status=$?
21337 grep -v '^ *+' conftest.er1 >conftest.err
21338 rm -f conftest.er1
21339 cat conftest.err >&5
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); } &&
21342 { ac_try='test -z "$ac_cxx_werror_flag"
21343 || test ! -s conftest.err'
21344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21345 (eval $ac_try) 2>&5
21346 ac_status=$?
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); }; } &&
21349 { ac_try='test -s conftest.$ac_objext'
21350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21351 (eval $ac_try) 2>&5
21352 ac_status=$?
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); }; }; then
21355 glibcxx_cv_func_float_round_use=yes
21356 else
21357 echo "$as_me: failed program was:" >&5
21358 sed 's/^/| /' conftest.$ac_ext >&5
21359
21360 glibcxx_cv_func_float_round_use=no
21361 fi
21362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21363 ac_ext=c
21364 ac_cpp='$CPP $CPPFLAGS'
21365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21368
21369 fi
21370
21371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
21372 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
21373 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21374
21375
21376 for ac_func in ceilf floorf
21377 do
21378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21379 echo "$as_me:$LINENO: checking for $ac_func" >&5
21380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21381 if eval "test \"\${$as_ac_var+set}\" = set"; then
21382 echo $ECHO_N "(cached) $ECHO_C" >&6
21383 else
21384 if test x$gcc_no_link = xyes; then
21385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21387 { (exit 1); exit 1; }; }
21388 fi
21389 cat >conftest.$ac_ext <<_ACEOF
21390 /* confdefs.h. */
21391 _ACEOF
21392 cat confdefs.h >>conftest.$ac_ext
21393 cat >>conftest.$ac_ext <<_ACEOF
21394 /* end confdefs.h. */
21395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21397 #define $ac_func innocuous_$ac_func
21398
21399 /* System header to define __stub macros and hopefully few prototypes,
21400 which can conflict with char $ac_func (); below.
21401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21402 <limits.h> exists even on freestanding compilers. */
21403
21404 #ifdef __STDC__
21405 # include <limits.h>
21406 #else
21407 # include <assert.h>
21408 #endif
21409
21410 #undef $ac_func
21411
21412 /* Override any gcc2 internal prototype to avoid an error. */
21413 #ifdef __cplusplus
21414 extern "C"
21415 {
21416 #endif
21417 /* We use char because int might match the return type of a gcc2
21418 builtin and then its argument prototype would still apply. */
21419 char $ac_func ();
21420 /* The GNU C library defines this for functions which it implements
21421 to always fail with ENOSYS. Some functions are actually named
21422 something starting with __ and the normal name is an alias. */
21423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21424 choke me
21425 #else
21426 char (*f) () = $ac_func;
21427 #endif
21428 #ifdef __cplusplus
21429 }
21430 #endif
21431
21432 int
21433 main ()
21434 {
21435 return f != $ac_func;
21436 ;
21437 return 0;
21438 }
21439 _ACEOF
21440 rm -f conftest.$ac_objext conftest$ac_exeext
21441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21442 (eval $ac_link) 2>conftest.er1
21443 ac_status=$?
21444 grep -v '^ *+' conftest.er1 >conftest.err
21445 rm -f conftest.er1
21446 cat conftest.err >&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try='test -z "$ac_c_werror_flag"
21450 || test ! -s conftest.err'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21453 ac_status=$?
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; } &&
21456 { ac_try='test -s conftest$ac_exeext'
21457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21458 (eval $ac_try) 2>&5
21459 ac_status=$?
21460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461 (exit $ac_status); }; }; then
21462 eval "$as_ac_var=yes"
21463 else
21464 echo "$as_me: failed program was:" >&5
21465 sed 's/^/| /' conftest.$ac_ext >&5
21466
21467 eval "$as_ac_var=no"
21468 fi
21469 rm -f conftest.err conftest.$ac_objext \
21470 conftest$ac_exeext conftest.$ac_ext
21471 fi
21472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21474 if test `eval echo '${'$as_ac_var'}'` = yes; then
21475 cat >>confdefs.h <<_ACEOF
21476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21477 _ACEOF
21478
21479 fi
21480 done
21481
21482 else
21483 echo "$as_me:$LINENO: checking for _float round functions" >&5
21484 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21485 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21486 echo $ECHO_N "(cached) $ECHO_C" >&6
21487 else
21488
21489
21490
21491 ac_ext=cc
21492 ac_cpp='$CXXCPP $CPPFLAGS'
21493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21496
21497 cat >conftest.$ac_ext <<_ACEOF
21498 /* confdefs.h. */
21499 _ACEOF
21500 cat confdefs.h >>conftest.$ac_ext
21501 cat >>conftest.$ac_ext <<_ACEOF
21502 /* end confdefs.h. */
21503 #include <math.h>
21504 int
21505 main ()
21506 {
21507 _ceilf (0); _floorf (0);
21508 ;
21509 return 0;
21510 }
21511 _ACEOF
21512 rm -f conftest.$ac_objext
21513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21514 (eval $ac_compile) 2>conftest.er1
21515 ac_status=$?
21516 grep -v '^ *+' conftest.er1 >conftest.err
21517 rm -f conftest.er1
21518 cat conftest.err >&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } &&
21521 { ac_try='test -z "$ac_cxx_werror_flag"
21522 || test ! -s conftest.err'
21523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21524 (eval $ac_try) 2>&5
21525 ac_status=$?
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); }; } &&
21528 { ac_try='test -s conftest.$ac_objext'
21529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21530 (eval $ac_try) 2>&5
21531 ac_status=$?
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); }; }; then
21534 glibcxx_cv_func__float_round_use=yes
21535 else
21536 echo "$as_me: failed program was:" >&5
21537 sed 's/^/| /' conftest.$ac_ext >&5
21538
21539 glibcxx_cv_func__float_round_use=no
21540 fi
21541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21542 ac_ext=c
21543 ac_cpp='$CPP $CPPFLAGS'
21544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21547
21548 fi
21549
21550 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21551 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21552 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21553
21554
21555 for ac_func in _ceilf _floorf
21556 do
21557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21558 echo "$as_me:$LINENO: checking for $ac_func" >&5
21559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21560 if eval "test \"\${$as_ac_var+set}\" = set"; then
21561 echo $ECHO_N "(cached) $ECHO_C" >&6
21562 else
21563 if test x$gcc_no_link = xyes; then
21564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21566 { (exit 1); exit 1; }; }
21567 fi
21568 cat >conftest.$ac_ext <<_ACEOF
21569 /* confdefs.h. */
21570 _ACEOF
21571 cat confdefs.h >>conftest.$ac_ext
21572 cat >>conftest.$ac_ext <<_ACEOF
21573 /* end confdefs.h. */
21574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21576 #define $ac_func innocuous_$ac_func
21577
21578 /* System header to define __stub macros and hopefully few prototypes,
21579 which can conflict with char $ac_func (); below.
21580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21581 <limits.h> exists even on freestanding compilers. */
21582
21583 #ifdef __STDC__
21584 # include <limits.h>
21585 #else
21586 # include <assert.h>
21587 #endif
21588
21589 #undef $ac_func
21590
21591 /* Override any gcc2 internal prototype to avoid an error. */
21592 #ifdef __cplusplus
21593 extern "C"
21594 {
21595 #endif
21596 /* We use char because int might match the return type of a gcc2
21597 builtin and then its argument prototype would still apply. */
21598 char $ac_func ();
21599 /* The GNU C library defines this for functions which it implements
21600 to always fail with ENOSYS. Some functions are actually named
21601 something starting with __ and the normal name is an alias. */
21602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21603 choke me
21604 #else
21605 char (*f) () = $ac_func;
21606 #endif
21607 #ifdef __cplusplus
21608 }
21609 #endif
21610
21611 int
21612 main ()
21613 {
21614 return f != $ac_func;
21615 ;
21616 return 0;
21617 }
21618 _ACEOF
21619 rm -f conftest.$ac_objext conftest$ac_exeext
21620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21621 (eval $ac_link) 2>conftest.er1
21622 ac_status=$?
21623 grep -v '^ *+' conftest.er1 >conftest.err
21624 rm -f conftest.er1
21625 cat conftest.err >&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); } &&
21628 { ac_try='test -z "$ac_c_werror_flag"
21629 || test ! -s conftest.err'
21630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21631 (eval $ac_try) 2>&5
21632 ac_status=$?
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); }; } &&
21635 { ac_try='test -s conftest$ac_exeext'
21636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21637 (eval $ac_try) 2>&5
21638 ac_status=$?
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); }; }; then
21641 eval "$as_ac_var=yes"
21642 else
21643 echo "$as_me: failed program was:" >&5
21644 sed 's/^/| /' conftest.$ac_ext >&5
21645
21646 eval "$as_ac_var=no"
21647 fi
21648 rm -f conftest.err conftest.$ac_objext \
21649 conftest$ac_exeext conftest.$ac_ext
21650 fi
21651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21653 if test `eval echo '${'$as_ac_var'}'` = yes; then
21654 cat >>confdefs.h <<_ACEOF
21655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21656 _ACEOF
21657
21658 fi
21659 done
21660
21661 fi
21662 fi
21663
21664
21665
21666
21667
21668
21669
21670
21671 echo "$as_me:$LINENO: checking for expf declaration" >&5
21672 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
21673 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21674 if test "${glibcxx_cv_func_expf_use+set}" = set; then
21675 echo $ECHO_N "(cached) $ECHO_C" >&6
21676 else
21677
21678
21679
21680 ac_ext=cc
21681 ac_cpp='$CXXCPP $CPPFLAGS'
21682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21685
21686 cat >conftest.$ac_ext <<_ACEOF
21687 /* confdefs.h. */
21688 _ACEOF
21689 cat confdefs.h >>conftest.$ac_ext
21690 cat >>conftest.$ac_ext <<_ACEOF
21691 /* end confdefs.h. */
21692 #include <math.h>
21693 #ifdef HAVE_IEEEFP_H
21694 #include <ieeefp.h>
21695 #endif
21696
21697 int
21698 main ()
21699 {
21700 expf(0);
21701 ;
21702 return 0;
21703 }
21704 _ACEOF
21705 rm -f conftest.$ac_objext
21706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21707 (eval $ac_compile) 2>conftest.er1
21708 ac_status=$?
21709 grep -v '^ *+' conftest.er1 >conftest.err
21710 rm -f conftest.er1
21711 cat conftest.err >&5
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); } &&
21714 { ac_try='test -z "$ac_cxx_werror_flag"
21715 || test ! -s conftest.err'
21716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21717 (eval $ac_try) 2>&5
21718 ac_status=$?
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); }; } &&
21721 { ac_try='test -s conftest.$ac_objext'
21722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21723 (eval $ac_try) 2>&5
21724 ac_status=$?
21725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21726 (exit $ac_status); }; }; then
21727 glibcxx_cv_func_expf_use=yes
21728 else
21729 echo "$as_me: failed program was:" >&5
21730 sed 's/^/| /' conftest.$ac_ext >&5
21731
21732 glibcxx_cv_func_expf_use=no
21733 fi
21734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21735 ac_ext=c
21736 ac_cpp='$CPP $CPPFLAGS'
21737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21740
21741
21742 fi
21743
21744 fi
21745 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
21746 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
21747
21748 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21749
21750 for ac_func in expf
21751 do
21752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21753 echo "$as_me:$LINENO: checking for $ac_func" >&5
21754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21755 if eval "test \"\${$as_ac_var+set}\" = set"; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21757 else
21758 if test x$gcc_no_link = xyes; then
21759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21761 { (exit 1); exit 1; }; }
21762 fi
21763 cat >conftest.$ac_ext <<_ACEOF
21764 /* confdefs.h. */
21765 _ACEOF
21766 cat confdefs.h >>conftest.$ac_ext
21767 cat >>conftest.$ac_ext <<_ACEOF
21768 /* end confdefs.h. */
21769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21771 #define $ac_func innocuous_$ac_func
21772
21773 /* System header to define __stub macros and hopefully few prototypes,
21774 which can conflict with char $ac_func (); below.
21775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21776 <limits.h> exists even on freestanding compilers. */
21777
21778 #ifdef __STDC__
21779 # include <limits.h>
21780 #else
21781 # include <assert.h>
21782 #endif
21783
21784 #undef $ac_func
21785
21786 /* Override any gcc2 internal prototype to avoid an error. */
21787 #ifdef __cplusplus
21788 extern "C"
21789 {
21790 #endif
21791 /* We use char because int might match the return type of a gcc2
21792 builtin and then its argument prototype would still apply. */
21793 char $ac_func ();
21794 /* The GNU C library defines this for functions which it implements
21795 to always fail with ENOSYS. Some functions are actually named
21796 something starting with __ and the normal name is an alias. */
21797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21798 choke me
21799 #else
21800 char (*f) () = $ac_func;
21801 #endif
21802 #ifdef __cplusplus
21803 }
21804 #endif
21805
21806 int
21807 main ()
21808 {
21809 return f != $ac_func;
21810 ;
21811 return 0;
21812 }
21813 _ACEOF
21814 rm -f conftest.$ac_objext conftest$ac_exeext
21815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21816 (eval $ac_link) 2>conftest.er1
21817 ac_status=$?
21818 grep -v '^ *+' conftest.er1 >conftest.err
21819 rm -f conftest.er1
21820 cat conftest.err >&5
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); } &&
21823 { ac_try='test -z "$ac_c_werror_flag"
21824 || test ! -s conftest.err'
21825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21826 (eval $ac_try) 2>&5
21827 ac_status=$?
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; } &&
21830 { ac_try='test -s conftest$ac_exeext'
21831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21832 (eval $ac_try) 2>&5
21833 ac_status=$?
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); }; }; then
21836 eval "$as_ac_var=yes"
21837 else
21838 echo "$as_me: failed program was:" >&5
21839 sed 's/^/| /' conftest.$ac_ext >&5
21840
21841 eval "$as_ac_var=no"
21842 fi
21843 rm -f conftest.err conftest.$ac_objext \
21844 conftest$ac_exeext conftest.$ac_ext
21845 fi
21846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21848 if test `eval echo '${'$as_ac_var'}'` = yes; then
21849 cat >>confdefs.h <<_ACEOF
21850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21851 _ACEOF
21852
21853 fi
21854 done
21855
21856 else
21857
21858 echo "$as_me:$LINENO: checking for _expf declaration" >&5
21859 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
21860 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21861 if test "${glibcxx_cv_func__expf_use+set}" = set; then
21862 echo $ECHO_N "(cached) $ECHO_C" >&6
21863 else
21864
21865
21866
21867 ac_ext=cc
21868 ac_cpp='$CXXCPP $CPPFLAGS'
21869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21872
21873 cat >conftest.$ac_ext <<_ACEOF
21874 /* confdefs.h. */
21875 _ACEOF
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21879 #include <math.h>
21880 #ifdef HAVE_IEEEFP_H
21881 #include <ieeefp.h>
21882 #endif
21883
21884 int
21885 main ()
21886 {
21887 _expf(0);
21888 ;
21889 return 0;
21890 }
21891 _ACEOF
21892 rm -f conftest.$ac_objext
21893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21894 (eval $ac_compile) 2>conftest.er1
21895 ac_status=$?
21896 grep -v '^ *+' conftest.er1 >conftest.err
21897 rm -f conftest.er1
21898 cat conftest.err >&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); } &&
21901 { ac_try='test -z "$ac_cxx_werror_flag"
21902 || test ! -s conftest.err'
21903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21904 (eval $ac_try) 2>&5
21905 ac_status=$?
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); }; } &&
21908 { ac_try='test -s conftest.$ac_objext'
21909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21910 (eval $ac_try) 2>&5
21911 ac_status=$?
21912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913 (exit $ac_status); }; }; then
21914 glibcxx_cv_func__expf_use=yes
21915 else
21916 echo "$as_me: failed program was:" >&5
21917 sed 's/^/| /' conftest.$ac_ext >&5
21918
21919 glibcxx_cv_func__expf_use=no
21920 fi
21921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21922 ac_ext=c
21923 ac_cpp='$CPP $CPPFLAGS'
21924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21927
21928
21929 fi
21930
21931 fi
21932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
21933 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
21934
21935 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21936
21937 for ac_func in _expf
21938 do
21939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21940 echo "$as_me:$LINENO: checking for $ac_func" >&5
21941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21942 if eval "test \"\${$as_ac_var+set}\" = set"; then
21943 echo $ECHO_N "(cached) $ECHO_C" >&6
21944 else
21945 if test x$gcc_no_link = xyes; then
21946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21948 { (exit 1); exit 1; }; }
21949 fi
21950 cat >conftest.$ac_ext <<_ACEOF
21951 /* confdefs.h. */
21952 _ACEOF
21953 cat confdefs.h >>conftest.$ac_ext
21954 cat >>conftest.$ac_ext <<_ACEOF
21955 /* end confdefs.h. */
21956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21958 #define $ac_func innocuous_$ac_func
21959
21960 /* System header to define __stub macros and hopefully few prototypes,
21961 which can conflict with char $ac_func (); below.
21962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21963 <limits.h> exists even on freestanding compilers. */
21964
21965 #ifdef __STDC__
21966 # include <limits.h>
21967 #else
21968 # include <assert.h>
21969 #endif
21970
21971 #undef $ac_func
21972
21973 /* Override any gcc2 internal prototype to avoid an error. */
21974 #ifdef __cplusplus
21975 extern "C"
21976 {
21977 #endif
21978 /* We use char because int might match the return type of a gcc2
21979 builtin and then its argument prototype would still apply. */
21980 char $ac_func ();
21981 /* The GNU C library defines this for functions which it implements
21982 to always fail with ENOSYS. Some functions are actually named
21983 something starting with __ and the normal name is an alias. */
21984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21985 choke me
21986 #else
21987 char (*f) () = $ac_func;
21988 #endif
21989 #ifdef __cplusplus
21990 }
21991 #endif
21992
21993 int
21994 main ()
21995 {
21996 return f != $ac_func;
21997 ;
21998 return 0;
21999 }
22000 _ACEOF
22001 rm -f conftest.$ac_objext conftest$ac_exeext
22002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22003 (eval $ac_link) 2>conftest.er1
22004 ac_status=$?
22005 grep -v '^ *+' conftest.er1 >conftest.err
22006 rm -f conftest.er1
22007 cat conftest.err >&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); } &&
22010 { ac_try='test -z "$ac_c_werror_flag"
22011 || test ! -s conftest.err'
22012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22013 (eval $ac_try) 2>&5
22014 ac_status=$?
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); }; } &&
22017 { ac_try='test -s conftest$ac_exeext'
22018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22019 (eval $ac_try) 2>&5
22020 ac_status=$?
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; }; then
22023 eval "$as_ac_var=yes"
22024 else
22025 echo "$as_me: failed program was:" >&5
22026 sed 's/^/| /' conftest.$ac_ext >&5
22027
22028 eval "$as_ac_var=no"
22029 fi
22030 rm -f conftest.err conftest.$ac_objext \
22031 conftest$ac_exeext conftest.$ac_ext
22032 fi
22033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22035 if test `eval echo '${'$as_ac_var'}'` = yes; then
22036 cat >>confdefs.h <<_ACEOF
22037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22038 _ACEOF
22039
22040 fi
22041 done
22042
22043 fi
22044 fi
22045
22046
22047
22048
22049
22050
22051 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22052 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22053 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22054 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22055 echo $ECHO_N "(cached) $ECHO_C" >&6
22056 else
22057
22058
22059
22060 ac_ext=cc
22061 ac_cpp='$CXXCPP $CPPFLAGS'
22062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22065
22066 cat >conftest.$ac_ext <<_ACEOF
22067 /* confdefs.h. */
22068 _ACEOF
22069 cat confdefs.h >>conftest.$ac_ext
22070 cat >>conftest.$ac_ext <<_ACEOF
22071 /* end confdefs.h. */
22072 #include <math.h>
22073 #ifdef HAVE_IEEEFP_H
22074 #include <ieeefp.h>
22075 #endif
22076
22077 int
22078 main ()
22079 {
22080 isnanf(0);
22081 ;
22082 return 0;
22083 }
22084 _ACEOF
22085 rm -f conftest.$ac_objext
22086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22087 (eval $ac_compile) 2>conftest.er1
22088 ac_status=$?
22089 grep -v '^ *+' conftest.er1 >conftest.err
22090 rm -f conftest.er1
22091 cat conftest.err >&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); } &&
22094 { ac_try='test -z "$ac_cxx_werror_flag"
22095 || test ! -s conftest.err'
22096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22097 (eval $ac_try) 2>&5
22098 ac_status=$?
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); }; } &&
22101 { ac_try='test -s conftest.$ac_objext'
22102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22103 (eval $ac_try) 2>&5
22104 ac_status=$?
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); }; }; then
22107 glibcxx_cv_func_isnanf_use=yes
22108 else
22109 echo "$as_me: failed program was:" >&5
22110 sed 's/^/| /' conftest.$ac_ext >&5
22111
22112 glibcxx_cv_func_isnanf_use=no
22113 fi
22114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22115 ac_ext=c
22116 ac_cpp='$CPP $CPPFLAGS'
22117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22120
22121
22122 fi
22123
22124 fi
22125 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
22126 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
22127
22128 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22129
22130 for ac_func in isnanf
22131 do
22132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22133 echo "$as_me:$LINENO: checking for $ac_func" >&5
22134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22135 if eval "test \"\${$as_ac_var+set}\" = set"; then
22136 echo $ECHO_N "(cached) $ECHO_C" >&6
22137 else
22138 if test x$gcc_no_link = xyes; then
22139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22141 { (exit 1); exit 1; }; }
22142 fi
22143 cat >conftest.$ac_ext <<_ACEOF
22144 /* confdefs.h. */
22145 _ACEOF
22146 cat confdefs.h >>conftest.$ac_ext
22147 cat >>conftest.$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22151 #define $ac_func innocuous_$ac_func
22152
22153 /* System header to define __stub macros and hopefully few prototypes,
22154 which can conflict with char $ac_func (); below.
22155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22156 <limits.h> exists even on freestanding compilers. */
22157
22158 #ifdef __STDC__
22159 # include <limits.h>
22160 #else
22161 # include <assert.h>
22162 #endif
22163
22164 #undef $ac_func
22165
22166 /* Override any gcc2 internal prototype to avoid an error. */
22167 #ifdef __cplusplus
22168 extern "C"
22169 {
22170 #endif
22171 /* We use char because int might match the return type of a gcc2
22172 builtin and then its argument prototype would still apply. */
22173 char $ac_func ();
22174 /* The GNU C library defines this for functions which it implements
22175 to always fail with ENOSYS. Some functions are actually named
22176 something starting with __ and the normal name is an alias. */
22177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22178 choke me
22179 #else
22180 char (*f) () = $ac_func;
22181 #endif
22182 #ifdef __cplusplus
22183 }
22184 #endif
22185
22186 int
22187 main ()
22188 {
22189 return f != $ac_func;
22190 ;
22191 return 0;
22192 }
22193 _ACEOF
22194 rm -f conftest.$ac_objext conftest$ac_exeext
22195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22196 (eval $ac_link) 2>conftest.er1
22197 ac_status=$?
22198 grep -v '^ *+' conftest.er1 >conftest.err
22199 rm -f conftest.er1
22200 cat conftest.err >&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } &&
22203 { ac_try='test -z "$ac_c_werror_flag"
22204 || test ! -s conftest.err'
22205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22206 (eval $ac_try) 2>&5
22207 ac_status=$?
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); }; } &&
22210 { ac_try='test -s conftest$ac_exeext'
22211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22212 (eval $ac_try) 2>&5
22213 ac_status=$?
22214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22215 (exit $ac_status); }; }; then
22216 eval "$as_ac_var=yes"
22217 else
22218 echo "$as_me: failed program was:" >&5
22219 sed 's/^/| /' conftest.$ac_ext >&5
22220
22221 eval "$as_ac_var=no"
22222 fi
22223 rm -f conftest.err conftest.$ac_objext \
22224 conftest$ac_exeext conftest.$ac_ext
22225 fi
22226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22228 if test `eval echo '${'$as_ac_var'}'` = yes; then
22229 cat >>confdefs.h <<_ACEOF
22230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22231 _ACEOF
22232
22233 fi
22234 done
22235
22236 else
22237
22238 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
22239 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
22240 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22241 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
22242 echo $ECHO_N "(cached) $ECHO_C" >&6
22243 else
22244
22245
22246
22247 ac_ext=cc
22248 ac_cpp='$CXXCPP $CPPFLAGS'
22249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22252
22253 cat >conftest.$ac_ext <<_ACEOF
22254 /* confdefs.h. */
22255 _ACEOF
22256 cat confdefs.h >>conftest.$ac_ext
22257 cat >>conftest.$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259 #include <math.h>
22260 #ifdef HAVE_IEEEFP_H
22261 #include <ieeefp.h>
22262 #endif
22263
22264 int
22265 main ()
22266 {
22267 _isnanf(0);
22268 ;
22269 return 0;
22270 }
22271 _ACEOF
22272 rm -f conftest.$ac_objext
22273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22274 (eval $ac_compile) 2>conftest.er1
22275 ac_status=$?
22276 grep -v '^ *+' conftest.er1 >conftest.err
22277 rm -f conftest.er1
22278 cat conftest.err >&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); } &&
22281 { ac_try='test -z "$ac_cxx_werror_flag"
22282 || test ! -s conftest.err'
22283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284 (eval $ac_try) 2>&5
22285 ac_status=$?
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; } &&
22288 { ac_try='test -s conftest.$ac_objext'
22289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22290 (eval $ac_try) 2>&5
22291 ac_status=$?
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); }; }; then
22294 glibcxx_cv_func__isnanf_use=yes
22295 else
22296 echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.$ac_ext >&5
22298
22299 glibcxx_cv_func__isnanf_use=no
22300 fi
22301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22302 ac_ext=c
22303 ac_cpp='$CPP $CPPFLAGS'
22304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22307
22308
22309 fi
22310
22311 fi
22312 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
22313 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
22314
22315 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22316
22317 for ac_func in _isnanf
22318 do
22319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22320 echo "$as_me:$LINENO: checking for $ac_func" >&5
22321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22322 if eval "test \"\${$as_ac_var+set}\" = set"; then
22323 echo $ECHO_N "(cached) $ECHO_C" >&6
22324 else
22325 if test x$gcc_no_link = xyes; then
22326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22328 { (exit 1); exit 1; }; }
22329 fi
22330 cat >conftest.$ac_ext <<_ACEOF
22331 /* confdefs.h. */
22332 _ACEOF
22333 cat confdefs.h >>conftest.$ac_ext
22334 cat >>conftest.$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22338 #define $ac_func innocuous_$ac_func
22339
22340 /* System header to define __stub macros and hopefully few prototypes,
22341 which can conflict with char $ac_func (); below.
22342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22343 <limits.h> exists even on freestanding compilers. */
22344
22345 #ifdef __STDC__
22346 # include <limits.h>
22347 #else
22348 # include <assert.h>
22349 #endif
22350
22351 #undef $ac_func
22352
22353 /* Override any gcc2 internal prototype to avoid an error. */
22354 #ifdef __cplusplus
22355 extern "C"
22356 {
22357 #endif
22358 /* We use char because int might match the return type of a gcc2
22359 builtin and then its argument prototype would still apply. */
22360 char $ac_func ();
22361 /* The GNU C library defines this for functions which it implements
22362 to always fail with ENOSYS. Some functions are actually named
22363 something starting with __ and the normal name is an alias. */
22364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22365 choke me
22366 #else
22367 char (*f) () = $ac_func;
22368 #endif
22369 #ifdef __cplusplus
22370 }
22371 #endif
22372
22373 int
22374 main ()
22375 {
22376 return f != $ac_func;
22377 ;
22378 return 0;
22379 }
22380 _ACEOF
22381 rm -f conftest.$ac_objext conftest$ac_exeext
22382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22383 (eval $ac_link) 2>conftest.er1
22384 ac_status=$?
22385 grep -v '^ *+' conftest.er1 >conftest.err
22386 rm -f conftest.er1
22387 cat conftest.err >&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); } &&
22390 { ac_try='test -z "$ac_c_werror_flag"
22391 || test ! -s conftest.err'
22392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22393 (eval $ac_try) 2>&5
22394 ac_status=$?
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); }; } &&
22397 { ac_try='test -s conftest$ac_exeext'
22398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22399 (eval $ac_try) 2>&5
22400 ac_status=$?
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); }; }; then
22403 eval "$as_ac_var=yes"
22404 else
22405 echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.$ac_ext >&5
22407
22408 eval "$as_ac_var=no"
22409 fi
22410 rm -f conftest.err conftest.$ac_objext \
22411 conftest$ac_exeext conftest.$ac_ext
22412 fi
22413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22415 if test `eval echo '${'$as_ac_var'}'` = yes; then
22416 cat >>confdefs.h <<_ACEOF
22417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22418 _ACEOF
22419
22420 fi
22421 done
22422
22423 fi
22424 fi
22425
22426
22427
22428
22429
22430
22431 echo "$as_me:$LINENO: checking for isinff declaration" >&5
22432 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
22433 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22434 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
22435 echo $ECHO_N "(cached) $ECHO_C" >&6
22436 else
22437
22438
22439
22440 ac_ext=cc
22441 ac_cpp='$CXXCPP $CPPFLAGS'
22442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22445
22446 cat >conftest.$ac_ext <<_ACEOF
22447 /* confdefs.h. */
22448 _ACEOF
22449 cat confdefs.h >>conftest.$ac_ext
22450 cat >>conftest.$ac_ext <<_ACEOF
22451 /* end confdefs.h. */
22452 #include <math.h>
22453 #ifdef HAVE_IEEEFP_H
22454 #include <ieeefp.h>
22455 #endif
22456
22457 int
22458 main ()
22459 {
22460 isinff(0);
22461 ;
22462 return 0;
22463 }
22464 _ACEOF
22465 rm -f conftest.$ac_objext
22466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22467 (eval $ac_compile) 2>conftest.er1
22468 ac_status=$?
22469 grep -v '^ *+' conftest.er1 >conftest.err
22470 rm -f conftest.er1
22471 cat conftest.err >&5
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); } &&
22474 { ac_try='test -z "$ac_cxx_werror_flag"
22475 || test ! -s conftest.err'
22476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22477 (eval $ac_try) 2>&5
22478 ac_status=$?
22479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480 (exit $ac_status); }; } &&
22481 { ac_try='test -s conftest.$ac_objext'
22482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22483 (eval $ac_try) 2>&5
22484 ac_status=$?
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); }; }; then
22487 glibcxx_cv_func_isinff_use=yes
22488 else
22489 echo "$as_me: failed program was:" >&5
22490 sed 's/^/| /' conftest.$ac_ext >&5
22491
22492 glibcxx_cv_func_isinff_use=no
22493 fi
22494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22495 ac_ext=c
22496 ac_cpp='$CPP $CPPFLAGS'
22497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22500
22501
22502 fi
22503
22504 fi
22505 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
22506 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
22507
22508 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22509
22510 for ac_func in isinff
22511 do
22512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22513 echo "$as_me:$LINENO: checking for $ac_func" >&5
22514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22515 if eval "test \"\${$as_ac_var+set}\" = set"; then
22516 echo $ECHO_N "(cached) $ECHO_C" >&6
22517 else
22518 if test x$gcc_no_link = xyes; then
22519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22521 { (exit 1); exit 1; }; }
22522 fi
22523 cat >conftest.$ac_ext <<_ACEOF
22524 /* confdefs.h. */
22525 _ACEOF
22526 cat confdefs.h >>conftest.$ac_ext
22527 cat >>conftest.$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22531 #define $ac_func innocuous_$ac_func
22532
22533 /* System header to define __stub macros and hopefully few prototypes,
22534 which can conflict with char $ac_func (); below.
22535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22536 <limits.h> exists even on freestanding compilers. */
22537
22538 #ifdef __STDC__
22539 # include <limits.h>
22540 #else
22541 # include <assert.h>
22542 #endif
22543
22544 #undef $ac_func
22545
22546 /* Override any gcc2 internal prototype to avoid an error. */
22547 #ifdef __cplusplus
22548 extern "C"
22549 {
22550 #endif
22551 /* We use char because int might match the return type of a gcc2
22552 builtin and then its argument prototype would still apply. */
22553 char $ac_func ();
22554 /* The GNU C library defines this for functions which it implements
22555 to always fail with ENOSYS. Some functions are actually named
22556 something starting with __ and the normal name is an alias. */
22557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22558 choke me
22559 #else
22560 char (*f) () = $ac_func;
22561 #endif
22562 #ifdef __cplusplus
22563 }
22564 #endif
22565
22566 int
22567 main ()
22568 {
22569 return f != $ac_func;
22570 ;
22571 return 0;
22572 }
22573 _ACEOF
22574 rm -f conftest.$ac_objext conftest$ac_exeext
22575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22576 (eval $ac_link) 2>conftest.er1
22577 ac_status=$?
22578 grep -v '^ *+' conftest.er1 >conftest.err
22579 rm -f conftest.er1
22580 cat conftest.err >&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); } &&
22583 { ac_try='test -z "$ac_c_werror_flag"
22584 || test ! -s conftest.err'
22585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22586 (eval $ac_try) 2>&5
22587 ac_status=$?
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); }; } &&
22590 { ac_try='test -s conftest$ac_exeext'
22591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22592 (eval $ac_try) 2>&5
22593 ac_status=$?
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); }; }; then
22596 eval "$as_ac_var=yes"
22597 else
22598 echo "$as_me: failed program was:" >&5
22599 sed 's/^/| /' conftest.$ac_ext >&5
22600
22601 eval "$as_ac_var=no"
22602 fi
22603 rm -f conftest.err conftest.$ac_objext \
22604 conftest$ac_exeext conftest.$ac_ext
22605 fi
22606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22608 if test `eval echo '${'$as_ac_var'}'` = yes; then
22609 cat >>confdefs.h <<_ACEOF
22610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22611 _ACEOF
22612
22613 fi
22614 done
22615
22616 else
22617
22618 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
22619 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
22620 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22621 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
22622 echo $ECHO_N "(cached) $ECHO_C" >&6
22623 else
22624
22625
22626
22627 ac_ext=cc
22628 ac_cpp='$CXXCPP $CPPFLAGS'
22629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22632
22633 cat >conftest.$ac_ext <<_ACEOF
22634 /* confdefs.h. */
22635 _ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h. */
22639 #include <math.h>
22640 #ifdef HAVE_IEEEFP_H
22641 #include <ieeefp.h>
22642 #endif
22643
22644 int
22645 main ()
22646 {
22647 _isinff(0);
22648 ;
22649 return 0;
22650 }
22651 _ACEOF
22652 rm -f conftest.$ac_objext
22653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22654 (eval $ac_compile) 2>conftest.er1
22655 ac_status=$?
22656 grep -v '^ *+' conftest.er1 >conftest.err
22657 rm -f conftest.er1
22658 cat conftest.err >&5
22659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 (exit $ac_status); } &&
22661 { ac_try='test -z "$ac_cxx_werror_flag"
22662 || test ! -s conftest.err'
22663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22664 (eval $ac_try) 2>&5
22665 ac_status=$?
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); }; } &&
22668 { ac_try='test -s conftest.$ac_objext'
22669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22670 (eval $ac_try) 2>&5
22671 ac_status=$?
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); }; }; then
22674 glibcxx_cv_func__isinff_use=yes
22675 else
22676 echo "$as_me: failed program was:" >&5
22677 sed 's/^/| /' conftest.$ac_ext >&5
22678
22679 glibcxx_cv_func__isinff_use=no
22680 fi
22681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22682 ac_ext=c
22683 ac_cpp='$CPP $CPPFLAGS'
22684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22687
22688
22689 fi
22690
22691 fi
22692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
22693 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
22694
22695 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22696
22697 for ac_func in _isinff
22698 do
22699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22700 echo "$as_me:$LINENO: checking for $ac_func" >&5
22701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22702 if eval "test \"\${$as_ac_var+set}\" = set"; then
22703 echo $ECHO_N "(cached) $ECHO_C" >&6
22704 else
22705 if test x$gcc_no_link = xyes; then
22706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22708 { (exit 1); exit 1; }; }
22709 fi
22710 cat >conftest.$ac_ext <<_ACEOF
22711 /* confdefs.h. */
22712 _ACEOF
22713 cat confdefs.h >>conftest.$ac_ext
22714 cat >>conftest.$ac_ext <<_ACEOF
22715 /* end confdefs.h. */
22716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22718 #define $ac_func innocuous_$ac_func
22719
22720 /* System header to define __stub macros and hopefully few prototypes,
22721 which can conflict with char $ac_func (); below.
22722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22723 <limits.h> exists even on freestanding compilers. */
22724
22725 #ifdef __STDC__
22726 # include <limits.h>
22727 #else
22728 # include <assert.h>
22729 #endif
22730
22731 #undef $ac_func
22732
22733 /* Override any gcc2 internal prototype to avoid an error. */
22734 #ifdef __cplusplus
22735 extern "C"
22736 {
22737 #endif
22738 /* We use char because int might match the return type of a gcc2
22739 builtin and then its argument prototype would still apply. */
22740 char $ac_func ();
22741 /* The GNU C library defines this for functions which it implements
22742 to always fail with ENOSYS. Some functions are actually named
22743 something starting with __ and the normal name is an alias. */
22744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22745 choke me
22746 #else
22747 char (*f) () = $ac_func;
22748 #endif
22749 #ifdef __cplusplus
22750 }
22751 #endif
22752
22753 int
22754 main ()
22755 {
22756 return f != $ac_func;
22757 ;
22758 return 0;
22759 }
22760 _ACEOF
22761 rm -f conftest.$ac_objext conftest$ac_exeext
22762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22763 (eval $ac_link) 2>conftest.er1
22764 ac_status=$?
22765 grep -v '^ *+' conftest.er1 >conftest.err
22766 rm -f conftest.er1
22767 cat conftest.err >&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); } &&
22770 { ac_try='test -z "$ac_c_werror_flag"
22771 || test ! -s conftest.err'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22774 ac_status=$?
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; } &&
22777 { ac_try='test -s conftest$ac_exeext'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22780 ac_status=$?
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22783 eval "$as_ac_var=yes"
22784 else
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22787
22788 eval "$as_ac_var=no"
22789 fi
22790 rm -f conftest.err conftest.$ac_objext \
22791 conftest$ac_exeext conftest.$ac_ext
22792 fi
22793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22795 if test `eval echo '${'$as_ac_var'}'` = yes; then
22796 cat >>confdefs.h <<_ACEOF
22797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22798 _ACEOF
22799
22800 fi
22801 done
22802
22803 fi
22804 fi
22805
22806
22807
22808
22809
22810
22811 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
22812 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
22813 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22814 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
22815 echo $ECHO_N "(cached) $ECHO_C" >&6
22816 else
22817
22818
22819
22820 ac_ext=cc
22821 ac_cpp='$CXXCPP $CPPFLAGS'
22822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22825
22826 cat >conftest.$ac_ext <<_ACEOF
22827 /* confdefs.h. */
22828 _ACEOF
22829 cat confdefs.h >>conftest.$ac_ext
22830 cat >>conftest.$ac_ext <<_ACEOF
22831 /* end confdefs.h. */
22832 #include <math.h>
22833 int
22834 main ()
22835 {
22836 atan2f(0, 0);
22837 ;
22838 return 0;
22839 }
22840 _ACEOF
22841 rm -f conftest.$ac_objext
22842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22843 (eval $ac_compile) 2>conftest.er1
22844 ac_status=$?
22845 grep -v '^ *+' conftest.er1 >conftest.err
22846 rm -f conftest.er1
22847 cat conftest.err >&5
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); } &&
22850 { ac_try='test -z "$ac_cxx_werror_flag"
22851 || test ! -s conftest.err'
22852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22853 (eval $ac_try) 2>&5
22854 ac_status=$?
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); }; } &&
22857 { ac_try='test -s conftest.$ac_objext'
22858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22859 (eval $ac_try) 2>&5
22860 ac_status=$?
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); }; }; then
22863 glibcxx_cv_func_atan2f_use=yes
22864 else
22865 echo "$as_me: failed program was:" >&5
22866 sed 's/^/| /' conftest.$ac_ext >&5
22867
22868 glibcxx_cv_func_atan2f_use=no
22869 fi
22870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22871 ac_ext=c
22872 ac_cpp='$CPP $CPPFLAGS'
22873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22876
22877
22878 fi
22879
22880 fi
22881 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
22882 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
22883
22884 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22885
22886 for ac_func in atan2f
22887 do
22888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22889 echo "$as_me:$LINENO: checking for $ac_func" >&5
22890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22891 if eval "test \"\${$as_ac_var+set}\" = set"; then
22892 echo $ECHO_N "(cached) $ECHO_C" >&6
22893 else
22894 if test x$gcc_no_link = xyes; then
22895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22897 { (exit 1); exit 1; }; }
22898 fi
22899 cat >conftest.$ac_ext <<_ACEOF
22900 /* confdefs.h. */
22901 _ACEOF
22902 cat confdefs.h >>conftest.$ac_ext
22903 cat >>conftest.$ac_ext <<_ACEOF
22904 /* end confdefs.h. */
22905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22907 #define $ac_func innocuous_$ac_func
22908
22909 /* System header to define __stub macros and hopefully few prototypes,
22910 which can conflict with char $ac_func (); below.
22911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22912 <limits.h> exists even on freestanding compilers. */
22913
22914 #ifdef __STDC__
22915 # include <limits.h>
22916 #else
22917 # include <assert.h>
22918 #endif
22919
22920 #undef $ac_func
22921
22922 /* Override any gcc2 internal prototype to avoid an error. */
22923 #ifdef __cplusplus
22924 extern "C"
22925 {
22926 #endif
22927 /* We use char because int might match the return type of a gcc2
22928 builtin and then its argument prototype would still apply. */
22929 char $ac_func ();
22930 /* The GNU C library defines this for functions which it implements
22931 to always fail with ENOSYS. Some functions are actually named
22932 something starting with __ and the normal name is an alias. */
22933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22934 choke me
22935 #else
22936 char (*f) () = $ac_func;
22937 #endif
22938 #ifdef __cplusplus
22939 }
22940 #endif
22941
22942 int
22943 main ()
22944 {
22945 return f != $ac_func;
22946 ;
22947 return 0;
22948 }
22949 _ACEOF
22950 rm -f conftest.$ac_objext conftest$ac_exeext
22951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22952 (eval $ac_link) 2>conftest.er1
22953 ac_status=$?
22954 grep -v '^ *+' conftest.er1 >conftest.err
22955 rm -f conftest.er1
22956 cat conftest.err >&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); } &&
22959 { ac_try='test -z "$ac_c_werror_flag"
22960 || test ! -s conftest.err'
22961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22962 (eval $ac_try) 2>&5
22963 ac_status=$?
22964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 (exit $ac_status); }; } &&
22966 { ac_try='test -s conftest$ac_exeext'
22967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22968 (eval $ac_try) 2>&5
22969 ac_status=$?
22970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971 (exit $ac_status); }; }; then
22972 eval "$as_ac_var=yes"
22973 else
22974 echo "$as_me: failed program was:" >&5
22975 sed 's/^/| /' conftest.$ac_ext >&5
22976
22977 eval "$as_ac_var=no"
22978 fi
22979 rm -f conftest.err conftest.$ac_objext \
22980 conftest$ac_exeext conftest.$ac_ext
22981 fi
22982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22984 if test `eval echo '${'$as_ac_var'}'` = yes; then
22985 cat >>confdefs.h <<_ACEOF
22986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22987 _ACEOF
22988
22989 fi
22990 done
22991
22992 else
22993
22994 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
22995 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
22996 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22997 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
22998 echo $ECHO_N "(cached) $ECHO_C" >&6
22999 else
23000
23001
23002
23003 ac_ext=cc
23004 ac_cpp='$CXXCPP $CPPFLAGS'
23005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23008
23009 cat >conftest.$ac_ext <<_ACEOF
23010 /* confdefs.h. */
23011 _ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 #include <math.h>
23016 int
23017 main ()
23018 {
23019 _atan2f(0, 0);
23020 ;
23021 return 0;
23022 }
23023 _ACEOF
23024 rm -f conftest.$ac_objext
23025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23026 (eval $ac_compile) 2>conftest.er1
23027 ac_status=$?
23028 grep -v '^ *+' conftest.er1 >conftest.err
23029 rm -f conftest.er1
23030 cat conftest.err >&5
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); } &&
23033 { ac_try='test -z "$ac_cxx_werror_flag"
23034 || test ! -s conftest.err'
23035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23036 (eval $ac_try) 2>&5
23037 ac_status=$?
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); }; } &&
23040 { ac_try='test -s conftest.$ac_objext'
23041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23042 (eval $ac_try) 2>&5
23043 ac_status=$?
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); }; }; then
23046 glibcxx_cv_func__atan2f_use=yes
23047 else
23048 echo "$as_me: failed program was:" >&5
23049 sed 's/^/| /' conftest.$ac_ext >&5
23050
23051 glibcxx_cv_func__atan2f_use=no
23052 fi
23053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23054 ac_ext=c
23055 ac_cpp='$CPP $CPPFLAGS'
23056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23059
23060
23061 fi
23062
23063 fi
23064 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23065 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23066
23067 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23068
23069 for ac_func in _atan2f
23070 do
23071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23072 echo "$as_me:$LINENO: checking for $ac_func" >&5
23073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23074 if eval "test \"\${$as_ac_var+set}\" = set"; then
23075 echo $ECHO_N "(cached) $ECHO_C" >&6
23076 else
23077 if test x$gcc_no_link = xyes; then
23078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23080 { (exit 1); exit 1; }; }
23081 fi
23082 cat >conftest.$ac_ext <<_ACEOF
23083 /* confdefs.h. */
23084 _ACEOF
23085 cat confdefs.h >>conftest.$ac_ext
23086 cat >>conftest.$ac_ext <<_ACEOF
23087 /* end confdefs.h. */
23088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23090 #define $ac_func innocuous_$ac_func
23091
23092 /* System header to define __stub macros and hopefully few prototypes,
23093 which can conflict with char $ac_func (); below.
23094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23095 <limits.h> exists even on freestanding compilers. */
23096
23097 #ifdef __STDC__
23098 # include <limits.h>
23099 #else
23100 # include <assert.h>
23101 #endif
23102
23103 #undef $ac_func
23104
23105 /* Override any gcc2 internal prototype to avoid an error. */
23106 #ifdef __cplusplus
23107 extern "C"
23108 {
23109 #endif
23110 /* We use char because int might match the return type of a gcc2
23111 builtin and then its argument prototype would still apply. */
23112 char $ac_func ();
23113 /* The GNU C library defines this for functions which it implements
23114 to always fail with ENOSYS. Some functions are actually named
23115 something starting with __ and the normal name is an alias. */
23116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23117 choke me
23118 #else
23119 char (*f) () = $ac_func;
23120 #endif
23121 #ifdef __cplusplus
23122 }
23123 #endif
23124
23125 int
23126 main ()
23127 {
23128 return f != $ac_func;
23129 ;
23130 return 0;
23131 }
23132 _ACEOF
23133 rm -f conftest.$ac_objext conftest$ac_exeext
23134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23135 (eval $ac_link) 2>conftest.er1
23136 ac_status=$?
23137 grep -v '^ *+' conftest.er1 >conftest.err
23138 rm -f conftest.er1
23139 cat conftest.err >&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); } &&
23142 { ac_try='test -z "$ac_c_werror_flag"
23143 || test ! -s conftest.err'
23144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145 (eval $ac_try) 2>&5
23146 ac_status=$?
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; } &&
23149 { ac_try='test -s conftest$ac_exeext'
23150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23151 (eval $ac_try) 2>&5
23152 ac_status=$?
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); }; }; then
23155 eval "$as_ac_var=yes"
23156 else
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.$ac_ext >&5
23159
23160 eval "$as_ac_var=no"
23161 fi
23162 rm -f conftest.err conftest.$ac_objext \
23163 conftest$ac_exeext conftest.$ac_ext
23164 fi
23165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23167 if test `eval echo '${'$as_ac_var'}'` = yes; then
23168 cat >>confdefs.h <<_ACEOF
23169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23170 _ACEOF
23171
23172 fi
23173 done
23174
23175 fi
23176 fi
23177
23178
23179
23180
23181
23182
23183 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
23184 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
23185 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23186 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
23187 echo $ECHO_N "(cached) $ECHO_C" >&6
23188 else
23189
23190
23191
23192 ac_ext=cc
23193 ac_cpp='$CXXCPP $CPPFLAGS'
23194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23197
23198 cat >conftest.$ac_ext <<_ACEOF
23199 /* confdefs.h. */
23200 _ACEOF
23201 cat confdefs.h >>conftest.$ac_ext
23202 cat >>conftest.$ac_ext <<_ACEOF
23203 /* end confdefs.h. */
23204 #include <math.h>
23205 #ifdef HAVE_IEEEFP_H
23206 #include <ieeefp.h>
23207 #endif
23208
23209 int
23210 main ()
23211 {
23212 fabsf(0);
23213 ;
23214 return 0;
23215 }
23216 _ACEOF
23217 rm -f conftest.$ac_objext
23218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23219 (eval $ac_compile) 2>conftest.er1
23220 ac_status=$?
23221 grep -v '^ *+' conftest.er1 >conftest.err
23222 rm -f conftest.er1
23223 cat conftest.err >&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); } &&
23226 { ac_try='test -z "$ac_cxx_werror_flag"
23227 || test ! -s conftest.err'
23228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23229 (eval $ac_try) 2>&5
23230 ac_status=$?
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); }; } &&
23233 { ac_try='test -s conftest.$ac_objext'
23234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23235 (eval $ac_try) 2>&5
23236 ac_status=$?
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); }; }; then
23239 glibcxx_cv_func_fabsf_use=yes
23240 else
23241 echo "$as_me: failed program was:" >&5
23242 sed 's/^/| /' conftest.$ac_ext >&5
23243
23244 glibcxx_cv_func_fabsf_use=no
23245 fi
23246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23247 ac_ext=c
23248 ac_cpp='$CPP $CPPFLAGS'
23249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23252
23253
23254 fi
23255
23256 fi
23257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
23258 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
23259
23260 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23261
23262 for ac_func in fabsf
23263 do
23264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23265 echo "$as_me:$LINENO: checking for $ac_func" >&5
23266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23267 if eval "test \"\${$as_ac_var+set}\" = set"; then
23268 echo $ECHO_N "(cached) $ECHO_C" >&6
23269 else
23270 if test x$gcc_no_link = xyes; then
23271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23273 { (exit 1); exit 1; }; }
23274 fi
23275 cat >conftest.$ac_ext <<_ACEOF
23276 /* confdefs.h. */
23277 _ACEOF
23278 cat confdefs.h >>conftest.$ac_ext
23279 cat >>conftest.$ac_ext <<_ACEOF
23280 /* end confdefs.h. */
23281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23283 #define $ac_func innocuous_$ac_func
23284
23285 /* System header to define __stub macros and hopefully few prototypes,
23286 which can conflict with char $ac_func (); below.
23287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23288 <limits.h> exists even on freestanding compilers. */
23289
23290 #ifdef __STDC__
23291 # include <limits.h>
23292 #else
23293 # include <assert.h>
23294 #endif
23295
23296 #undef $ac_func
23297
23298 /* Override any gcc2 internal prototype to avoid an error. */
23299 #ifdef __cplusplus
23300 extern "C"
23301 {
23302 #endif
23303 /* We use char because int might match the return type of a gcc2
23304 builtin and then its argument prototype would still apply. */
23305 char $ac_func ();
23306 /* The GNU C library defines this for functions which it implements
23307 to always fail with ENOSYS. Some functions are actually named
23308 something starting with __ and the normal name is an alias. */
23309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23310 choke me
23311 #else
23312 char (*f) () = $ac_func;
23313 #endif
23314 #ifdef __cplusplus
23315 }
23316 #endif
23317
23318 int
23319 main ()
23320 {
23321 return f != $ac_func;
23322 ;
23323 return 0;
23324 }
23325 _ACEOF
23326 rm -f conftest.$ac_objext conftest$ac_exeext
23327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23328 (eval $ac_link) 2>conftest.er1
23329 ac_status=$?
23330 grep -v '^ *+' conftest.er1 >conftest.err
23331 rm -f conftest.er1
23332 cat conftest.err >&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); } &&
23335 { ac_try='test -z "$ac_c_werror_flag"
23336 || test ! -s conftest.err'
23337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23338 (eval $ac_try) 2>&5
23339 ac_status=$?
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); }; } &&
23342 { ac_try='test -s conftest$ac_exeext'
23343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23344 (eval $ac_try) 2>&5
23345 ac_status=$?
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); }; }; then
23348 eval "$as_ac_var=yes"
23349 else
23350 echo "$as_me: failed program was:" >&5
23351 sed 's/^/| /' conftest.$ac_ext >&5
23352
23353 eval "$as_ac_var=no"
23354 fi
23355 rm -f conftest.err conftest.$ac_objext \
23356 conftest$ac_exeext conftest.$ac_ext
23357 fi
23358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23360 if test `eval echo '${'$as_ac_var'}'` = yes; then
23361 cat >>confdefs.h <<_ACEOF
23362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23363 _ACEOF
23364
23365 fi
23366 done
23367
23368 else
23369
23370 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
23371 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
23372 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23373 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
23374 echo $ECHO_N "(cached) $ECHO_C" >&6
23375 else
23376
23377
23378
23379 ac_ext=cc
23380 ac_cpp='$CXXCPP $CPPFLAGS'
23381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23384
23385 cat >conftest.$ac_ext <<_ACEOF
23386 /* confdefs.h. */
23387 _ACEOF
23388 cat confdefs.h >>conftest.$ac_ext
23389 cat >>conftest.$ac_ext <<_ACEOF
23390 /* end confdefs.h. */
23391 #include <math.h>
23392 #ifdef HAVE_IEEEFP_H
23393 #include <ieeefp.h>
23394 #endif
23395
23396 int
23397 main ()
23398 {
23399 _fabsf(0);
23400 ;
23401 return 0;
23402 }
23403 _ACEOF
23404 rm -f conftest.$ac_objext
23405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23406 (eval $ac_compile) 2>conftest.er1
23407 ac_status=$?
23408 grep -v '^ *+' conftest.er1 >conftest.err
23409 rm -f conftest.er1
23410 cat conftest.err >&5
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); } &&
23413 { ac_try='test -z "$ac_cxx_werror_flag"
23414 || test ! -s conftest.err'
23415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23416 (eval $ac_try) 2>&5
23417 ac_status=$?
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); }; } &&
23420 { ac_try='test -s conftest.$ac_objext'
23421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23422 (eval $ac_try) 2>&5
23423 ac_status=$?
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); }; }; then
23426 glibcxx_cv_func__fabsf_use=yes
23427 else
23428 echo "$as_me: failed program was:" >&5
23429 sed 's/^/| /' conftest.$ac_ext >&5
23430
23431 glibcxx_cv_func__fabsf_use=no
23432 fi
23433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23434 ac_ext=c
23435 ac_cpp='$CPP $CPPFLAGS'
23436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23439
23440
23441 fi
23442
23443 fi
23444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
23445 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
23446
23447 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23448
23449 for ac_func in _fabsf
23450 do
23451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23452 echo "$as_me:$LINENO: checking for $ac_func" >&5
23453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23454 if eval "test \"\${$as_ac_var+set}\" = set"; then
23455 echo $ECHO_N "(cached) $ECHO_C" >&6
23456 else
23457 if test x$gcc_no_link = xyes; then
23458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23460 { (exit 1); exit 1; }; }
23461 fi
23462 cat >conftest.$ac_ext <<_ACEOF
23463 /* confdefs.h. */
23464 _ACEOF
23465 cat confdefs.h >>conftest.$ac_ext
23466 cat >>conftest.$ac_ext <<_ACEOF
23467 /* end confdefs.h. */
23468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23470 #define $ac_func innocuous_$ac_func
23471
23472 /* System header to define __stub macros and hopefully few prototypes,
23473 which can conflict with char $ac_func (); below.
23474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23475 <limits.h> exists even on freestanding compilers. */
23476
23477 #ifdef __STDC__
23478 # include <limits.h>
23479 #else
23480 # include <assert.h>
23481 #endif
23482
23483 #undef $ac_func
23484
23485 /* Override any gcc2 internal prototype to avoid an error. */
23486 #ifdef __cplusplus
23487 extern "C"
23488 {
23489 #endif
23490 /* We use char because int might match the return type of a gcc2
23491 builtin and then its argument prototype would still apply. */
23492 char $ac_func ();
23493 /* The GNU C library defines this for functions which it implements
23494 to always fail with ENOSYS. Some functions are actually named
23495 something starting with __ and the normal name is an alias. */
23496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23497 choke me
23498 #else
23499 char (*f) () = $ac_func;
23500 #endif
23501 #ifdef __cplusplus
23502 }
23503 #endif
23504
23505 int
23506 main ()
23507 {
23508 return f != $ac_func;
23509 ;
23510 return 0;
23511 }
23512 _ACEOF
23513 rm -f conftest.$ac_objext conftest$ac_exeext
23514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23515 (eval $ac_link) 2>conftest.er1
23516 ac_status=$?
23517 grep -v '^ *+' conftest.er1 >conftest.err
23518 rm -f conftest.er1
23519 cat conftest.err >&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } &&
23522 { ac_try='test -z "$ac_c_werror_flag"
23523 || test ! -s conftest.err'
23524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23525 (eval $ac_try) 2>&5
23526 ac_status=$?
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); }; } &&
23529 { ac_try='test -s conftest$ac_exeext'
23530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23531 (eval $ac_try) 2>&5
23532 ac_status=$?
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); }; }; then
23535 eval "$as_ac_var=yes"
23536 else
23537 echo "$as_me: failed program was:" >&5
23538 sed 's/^/| /' conftest.$ac_ext >&5
23539
23540 eval "$as_ac_var=no"
23541 fi
23542 rm -f conftest.err conftest.$ac_objext \
23543 conftest$ac_exeext conftest.$ac_ext
23544 fi
23545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23547 if test `eval echo '${'$as_ac_var'}'` = yes; then
23548 cat >>confdefs.h <<_ACEOF
23549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23550 _ACEOF
23551
23552 fi
23553 done
23554
23555 fi
23556 fi
23557
23558
23559
23560
23561
23562
23563 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
23564 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
23565 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23566 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
23567 echo $ECHO_N "(cached) $ECHO_C" >&6
23568 else
23569
23570
23571
23572 ac_ext=cc
23573 ac_cpp='$CXXCPP $CPPFLAGS'
23574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23577
23578 cat >conftest.$ac_ext <<_ACEOF
23579 /* confdefs.h. */
23580 _ACEOF
23581 cat confdefs.h >>conftest.$ac_ext
23582 cat >>conftest.$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23584 #include <math.h>
23585 int
23586 main ()
23587 {
23588 fmodf(0, 0);
23589 ;
23590 return 0;
23591 }
23592 _ACEOF
23593 rm -f conftest.$ac_objext
23594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23595 (eval $ac_compile) 2>conftest.er1
23596 ac_status=$?
23597 grep -v '^ *+' conftest.er1 >conftest.err
23598 rm -f conftest.er1
23599 cat conftest.err >&5
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); } &&
23602 { ac_try='test -z "$ac_cxx_werror_flag"
23603 || test ! -s conftest.err'
23604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23605 (eval $ac_try) 2>&5
23606 ac_status=$?
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); }; } &&
23609 { ac_try='test -s conftest.$ac_objext'
23610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23611 (eval $ac_try) 2>&5
23612 ac_status=$?
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); }; }; then
23615 glibcxx_cv_func_fmodf_use=yes
23616 else
23617 echo "$as_me: failed program was:" >&5
23618 sed 's/^/| /' conftest.$ac_ext >&5
23619
23620 glibcxx_cv_func_fmodf_use=no
23621 fi
23622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23623 ac_ext=c
23624 ac_cpp='$CPP $CPPFLAGS'
23625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23628
23629
23630 fi
23631
23632 fi
23633 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
23634 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
23635
23636 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23637
23638 for ac_func in fmodf
23639 do
23640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23641 echo "$as_me:$LINENO: checking for $ac_func" >&5
23642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23643 if eval "test \"\${$as_ac_var+set}\" = set"; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 else
23646 if test x$gcc_no_link = xyes; then
23647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23649 { (exit 1); exit 1; }; }
23650 fi
23651 cat >conftest.$ac_ext <<_ACEOF
23652 /* confdefs.h. */
23653 _ACEOF
23654 cat confdefs.h >>conftest.$ac_ext
23655 cat >>conftest.$ac_ext <<_ACEOF
23656 /* end confdefs.h. */
23657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23659 #define $ac_func innocuous_$ac_func
23660
23661 /* System header to define __stub macros and hopefully few prototypes,
23662 which can conflict with char $ac_func (); below.
23663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23664 <limits.h> exists even on freestanding compilers. */
23665
23666 #ifdef __STDC__
23667 # include <limits.h>
23668 #else
23669 # include <assert.h>
23670 #endif
23671
23672 #undef $ac_func
23673
23674 /* Override any gcc2 internal prototype to avoid an error. */
23675 #ifdef __cplusplus
23676 extern "C"
23677 {
23678 #endif
23679 /* We use char because int might match the return type of a gcc2
23680 builtin and then its argument prototype would still apply. */
23681 char $ac_func ();
23682 /* The GNU C library defines this for functions which it implements
23683 to always fail with ENOSYS. Some functions are actually named
23684 something starting with __ and the normal name is an alias. */
23685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23686 choke me
23687 #else
23688 char (*f) () = $ac_func;
23689 #endif
23690 #ifdef __cplusplus
23691 }
23692 #endif
23693
23694 int
23695 main ()
23696 {
23697 return f != $ac_func;
23698 ;
23699 return 0;
23700 }
23701 _ACEOF
23702 rm -f conftest.$ac_objext conftest$ac_exeext
23703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23704 (eval $ac_link) 2>conftest.er1
23705 ac_status=$?
23706 grep -v '^ *+' conftest.er1 >conftest.err
23707 rm -f conftest.er1
23708 cat conftest.err >&5
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 (exit $ac_status); } &&
23711 { ac_try='test -z "$ac_c_werror_flag"
23712 || test ! -s conftest.err'
23713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23714 (eval $ac_try) 2>&5
23715 ac_status=$?
23716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717 (exit $ac_status); }; } &&
23718 { ac_try='test -s conftest$ac_exeext'
23719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23720 (eval $ac_try) 2>&5
23721 ac_status=$?
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); }; }; then
23724 eval "$as_ac_var=yes"
23725 else
23726 echo "$as_me: failed program was:" >&5
23727 sed 's/^/| /' conftest.$ac_ext >&5
23728
23729 eval "$as_ac_var=no"
23730 fi
23731 rm -f conftest.err conftest.$ac_objext \
23732 conftest$ac_exeext conftest.$ac_ext
23733 fi
23734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23736 if test `eval echo '${'$as_ac_var'}'` = yes; then
23737 cat >>confdefs.h <<_ACEOF
23738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23739 _ACEOF
23740
23741 fi
23742 done
23743
23744 else
23745
23746 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
23747 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
23748 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23749 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
23750 echo $ECHO_N "(cached) $ECHO_C" >&6
23751 else
23752
23753
23754
23755 ac_ext=cc
23756 ac_cpp='$CXXCPP $CPPFLAGS'
23757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23760
23761 cat >conftest.$ac_ext <<_ACEOF
23762 /* confdefs.h. */
23763 _ACEOF
23764 cat confdefs.h >>conftest.$ac_ext
23765 cat >>conftest.$ac_ext <<_ACEOF
23766 /* end confdefs.h. */
23767 #include <math.h>
23768 int
23769 main ()
23770 {
23771 _fmodf(0, 0);
23772 ;
23773 return 0;
23774 }
23775 _ACEOF
23776 rm -f conftest.$ac_objext
23777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23778 (eval $ac_compile) 2>conftest.er1
23779 ac_status=$?
23780 grep -v '^ *+' conftest.er1 >conftest.err
23781 rm -f conftest.er1
23782 cat conftest.err >&5
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); } &&
23785 { ac_try='test -z "$ac_cxx_werror_flag"
23786 || test ! -s conftest.err'
23787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23788 (eval $ac_try) 2>&5
23789 ac_status=$?
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); }; } &&
23792 { ac_try='test -s conftest.$ac_objext'
23793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23794 (eval $ac_try) 2>&5
23795 ac_status=$?
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); }; }; then
23798 glibcxx_cv_func__fmodf_use=yes
23799 else
23800 echo "$as_me: failed program was:" >&5
23801 sed 's/^/| /' conftest.$ac_ext >&5
23802
23803 glibcxx_cv_func__fmodf_use=no
23804 fi
23805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23806 ac_ext=c
23807 ac_cpp='$CPP $CPPFLAGS'
23808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23811
23812
23813 fi
23814
23815 fi
23816 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
23817 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
23818
23819 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23820
23821 for ac_func in _fmodf
23822 do
23823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23824 echo "$as_me:$LINENO: checking for $ac_func" >&5
23825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23826 if eval "test \"\${$as_ac_var+set}\" = set"; then
23827 echo $ECHO_N "(cached) $ECHO_C" >&6
23828 else
23829 if test x$gcc_no_link = xyes; then
23830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23832 { (exit 1); exit 1; }; }
23833 fi
23834 cat >conftest.$ac_ext <<_ACEOF
23835 /* confdefs.h. */
23836 _ACEOF
23837 cat confdefs.h >>conftest.$ac_ext
23838 cat >>conftest.$ac_ext <<_ACEOF
23839 /* end confdefs.h. */
23840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23842 #define $ac_func innocuous_$ac_func
23843
23844 /* System header to define __stub macros and hopefully few prototypes,
23845 which can conflict with char $ac_func (); below.
23846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23847 <limits.h> exists even on freestanding compilers. */
23848
23849 #ifdef __STDC__
23850 # include <limits.h>
23851 #else
23852 # include <assert.h>
23853 #endif
23854
23855 #undef $ac_func
23856
23857 /* Override any gcc2 internal prototype to avoid an error. */
23858 #ifdef __cplusplus
23859 extern "C"
23860 {
23861 #endif
23862 /* We use char because int might match the return type of a gcc2
23863 builtin and then its argument prototype would still apply. */
23864 char $ac_func ();
23865 /* The GNU C library defines this for functions which it implements
23866 to always fail with ENOSYS. Some functions are actually named
23867 something starting with __ and the normal name is an alias. */
23868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23869 choke me
23870 #else
23871 char (*f) () = $ac_func;
23872 #endif
23873 #ifdef __cplusplus
23874 }
23875 #endif
23876
23877 int
23878 main ()
23879 {
23880 return f != $ac_func;
23881 ;
23882 return 0;
23883 }
23884 _ACEOF
23885 rm -f conftest.$ac_objext conftest$ac_exeext
23886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23887 (eval $ac_link) 2>conftest.er1
23888 ac_status=$?
23889 grep -v '^ *+' conftest.er1 >conftest.err
23890 rm -f conftest.er1
23891 cat conftest.err >&5
23892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23893 (exit $ac_status); } &&
23894 { ac_try='test -z "$ac_c_werror_flag"
23895 || test ! -s conftest.err'
23896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23897 (eval $ac_try) 2>&5
23898 ac_status=$?
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); }; } &&
23901 { ac_try='test -s conftest$ac_exeext'
23902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23903 (eval $ac_try) 2>&5
23904 ac_status=$?
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); }; }; then
23907 eval "$as_ac_var=yes"
23908 else
23909 echo "$as_me: failed program was:" >&5
23910 sed 's/^/| /' conftest.$ac_ext >&5
23911
23912 eval "$as_ac_var=no"
23913 fi
23914 rm -f conftest.err conftest.$ac_objext \
23915 conftest$ac_exeext conftest.$ac_ext
23916 fi
23917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23919 if test `eval echo '${'$as_ac_var'}'` = yes; then
23920 cat >>confdefs.h <<_ACEOF
23921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23922 _ACEOF
23923
23924 fi
23925 done
23926
23927 fi
23928 fi
23929
23930
23931
23932
23933
23934
23935 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
23936 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
23937 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23938 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
23939 echo $ECHO_N "(cached) $ECHO_C" >&6
23940 else
23941
23942
23943
23944 ac_ext=cc
23945 ac_cpp='$CXXCPP $CPPFLAGS'
23946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23949
23950 cat >conftest.$ac_ext <<_ACEOF
23951 /* confdefs.h. */
23952 _ACEOF
23953 cat confdefs.h >>conftest.$ac_ext
23954 cat >>conftest.$ac_ext <<_ACEOF
23955 /* end confdefs.h. */
23956 #include <math.h>
23957 int
23958 main ()
23959 {
23960 frexpf(0, 0);
23961 ;
23962 return 0;
23963 }
23964 _ACEOF
23965 rm -f conftest.$ac_objext
23966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23967 (eval $ac_compile) 2>conftest.er1
23968 ac_status=$?
23969 grep -v '^ *+' conftest.er1 >conftest.err
23970 rm -f conftest.er1
23971 cat conftest.err >&5
23972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23973 (exit $ac_status); } &&
23974 { ac_try='test -z "$ac_cxx_werror_flag"
23975 || test ! -s conftest.err'
23976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23977 (eval $ac_try) 2>&5
23978 ac_status=$?
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); }; } &&
23981 { ac_try='test -s conftest.$ac_objext'
23982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23983 (eval $ac_try) 2>&5
23984 ac_status=$?
23985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); }; }; then
23987 glibcxx_cv_func_frexpf_use=yes
23988 else
23989 echo "$as_me: failed program was:" >&5
23990 sed 's/^/| /' conftest.$ac_ext >&5
23991
23992 glibcxx_cv_func_frexpf_use=no
23993 fi
23994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23995 ac_ext=c
23996 ac_cpp='$CPP $CPPFLAGS'
23997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24000
24001
24002 fi
24003
24004 fi
24005 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24006 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24007
24008 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24009
24010 for ac_func in frexpf
24011 do
24012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24013 echo "$as_me:$LINENO: checking for $ac_func" >&5
24014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24015 if eval "test \"\${$as_ac_var+set}\" = set"; then
24016 echo $ECHO_N "(cached) $ECHO_C" >&6
24017 else
24018 if test x$gcc_no_link = xyes; then
24019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24021 { (exit 1); exit 1; }; }
24022 fi
24023 cat >conftest.$ac_ext <<_ACEOF
24024 /* confdefs.h. */
24025 _ACEOF
24026 cat confdefs.h >>conftest.$ac_ext
24027 cat >>conftest.$ac_ext <<_ACEOF
24028 /* end confdefs.h. */
24029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24031 #define $ac_func innocuous_$ac_func
24032
24033 /* System header to define __stub macros and hopefully few prototypes,
24034 which can conflict with char $ac_func (); below.
24035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24036 <limits.h> exists even on freestanding compilers. */
24037
24038 #ifdef __STDC__
24039 # include <limits.h>
24040 #else
24041 # include <assert.h>
24042 #endif
24043
24044 #undef $ac_func
24045
24046 /* Override any gcc2 internal prototype to avoid an error. */
24047 #ifdef __cplusplus
24048 extern "C"
24049 {
24050 #endif
24051 /* We use char because int might match the return type of a gcc2
24052 builtin and then its argument prototype would still apply. */
24053 char $ac_func ();
24054 /* The GNU C library defines this for functions which it implements
24055 to always fail with ENOSYS. Some functions are actually named
24056 something starting with __ and the normal name is an alias. */
24057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24058 choke me
24059 #else
24060 char (*f) () = $ac_func;
24061 #endif
24062 #ifdef __cplusplus
24063 }
24064 #endif
24065
24066 int
24067 main ()
24068 {
24069 return f != $ac_func;
24070 ;
24071 return 0;
24072 }
24073 _ACEOF
24074 rm -f conftest.$ac_objext conftest$ac_exeext
24075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24076 (eval $ac_link) 2>conftest.er1
24077 ac_status=$?
24078 grep -v '^ *+' conftest.er1 >conftest.err
24079 rm -f conftest.er1
24080 cat conftest.err >&5
24081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24082 (exit $ac_status); } &&
24083 { ac_try='test -z "$ac_c_werror_flag"
24084 || test ! -s conftest.err'
24085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24086 (eval $ac_try) 2>&5
24087 ac_status=$?
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); }; } &&
24090 { ac_try='test -s conftest$ac_exeext'
24091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24092 (eval $ac_try) 2>&5
24093 ac_status=$?
24094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095 (exit $ac_status); }; }; then
24096 eval "$as_ac_var=yes"
24097 else
24098 echo "$as_me: failed program was:" >&5
24099 sed 's/^/| /' conftest.$ac_ext >&5
24100
24101 eval "$as_ac_var=no"
24102 fi
24103 rm -f conftest.err conftest.$ac_objext \
24104 conftest$ac_exeext conftest.$ac_ext
24105 fi
24106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24108 if test `eval echo '${'$as_ac_var'}'` = yes; then
24109 cat >>confdefs.h <<_ACEOF
24110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24111 _ACEOF
24112
24113 fi
24114 done
24115
24116 else
24117
24118 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24119 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
24120 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24121 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24122 echo $ECHO_N "(cached) $ECHO_C" >&6
24123 else
24124
24125
24126
24127 ac_ext=cc
24128 ac_cpp='$CXXCPP $CPPFLAGS'
24129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24132
24133 cat >conftest.$ac_ext <<_ACEOF
24134 /* confdefs.h. */
24135 _ACEOF
24136 cat confdefs.h >>conftest.$ac_ext
24137 cat >>conftest.$ac_ext <<_ACEOF
24138 /* end confdefs.h. */
24139 #include <math.h>
24140 int
24141 main ()
24142 {
24143 _frexpf(0, 0);
24144 ;
24145 return 0;
24146 }
24147 _ACEOF
24148 rm -f conftest.$ac_objext
24149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24150 (eval $ac_compile) 2>conftest.er1
24151 ac_status=$?
24152 grep -v '^ *+' conftest.er1 >conftest.err
24153 rm -f conftest.er1
24154 cat conftest.err >&5
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); } &&
24157 { ac_try='test -z "$ac_cxx_werror_flag"
24158 || test ! -s conftest.err'
24159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24160 (eval $ac_try) 2>&5
24161 ac_status=$?
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); }; } &&
24164 { ac_try='test -s conftest.$ac_objext'
24165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24166 (eval $ac_try) 2>&5
24167 ac_status=$?
24168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24169 (exit $ac_status); }; }; then
24170 glibcxx_cv_func__frexpf_use=yes
24171 else
24172 echo "$as_me: failed program was:" >&5
24173 sed 's/^/| /' conftest.$ac_ext >&5
24174
24175 glibcxx_cv_func__frexpf_use=no
24176 fi
24177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24178 ac_ext=c
24179 ac_cpp='$CPP $CPPFLAGS'
24180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24183
24184
24185 fi
24186
24187 fi
24188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
24189 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
24190
24191 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24192
24193 for ac_func in _frexpf
24194 do
24195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24196 echo "$as_me:$LINENO: checking for $ac_func" >&5
24197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24198 if eval "test \"\${$as_ac_var+set}\" = set"; then
24199 echo $ECHO_N "(cached) $ECHO_C" >&6
24200 else
24201 if test x$gcc_no_link = xyes; then
24202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24204 { (exit 1); exit 1; }; }
24205 fi
24206 cat >conftest.$ac_ext <<_ACEOF
24207 /* confdefs.h. */
24208 _ACEOF
24209 cat confdefs.h >>conftest.$ac_ext
24210 cat >>conftest.$ac_ext <<_ACEOF
24211 /* end confdefs.h. */
24212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24214 #define $ac_func innocuous_$ac_func
24215
24216 /* System header to define __stub macros and hopefully few prototypes,
24217 which can conflict with char $ac_func (); below.
24218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24219 <limits.h> exists even on freestanding compilers. */
24220
24221 #ifdef __STDC__
24222 # include <limits.h>
24223 #else
24224 # include <assert.h>
24225 #endif
24226
24227 #undef $ac_func
24228
24229 /* Override any gcc2 internal prototype to avoid an error. */
24230 #ifdef __cplusplus
24231 extern "C"
24232 {
24233 #endif
24234 /* We use char because int might match the return type of a gcc2
24235 builtin and then its argument prototype would still apply. */
24236 char $ac_func ();
24237 /* The GNU C library defines this for functions which it implements
24238 to always fail with ENOSYS. Some functions are actually named
24239 something starting with __ and the normal name is an alias. */
24240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24241 choke me
24242 #else
24243 char (*f) () = $ac_func;
24244 #endif
24245 #ifdef __cplusplus
24246 }
24247 #endif
24248
24249 int
24250 main ()
24251 {
24252 return f != $ac_func;
24253 ;
24254 return 0;
24255 }
24256 _ACEOF
24257 rm -f conftest.$ac_objext conftest$ac_exeext
24258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24259 (eval $ac_link) 2>conftest.er1
24260 ac_status=$?
24261 grep -v '^ *+' conftest.er1 >conftest.err
24262 rm -f conftest.er1
24263 cat conftest.err >&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); } &&
24266 { ac_try='test -z "$ac_c_werror_flag"
24267 || test ! -s conftest.err'
24268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24269 (eval $ac_try) 2>&5
24270 ac_status=$?
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); }; } &&
24273 { ac_try='test -s conftest$ac_exeext'
24274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24275 (eval $ac_try) 2>&5
24276 ac_status=$?
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); }; }; then
24279 eval "$as_ac_var=yes"
24280 else
24281 echo "$as_me: failed program was:" >&5
24282 sed 's/^/| /' conftest.$ac_ext >&5
24283
24284 eval "$as_ac_var=no"
24285 fi
24286 rm -f conftest.err conftest.$ac_objext \
24287 conftest$ac_exeext conftest.$ac_ext
24288 fi
24289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24291 if test `eval echo '${'$as_ac_var'}'` = yes; then
24292 cat >>confdefs.h <<_ACEOF
24293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24294 _ACEOF
24295
24296 fi
24297 done
24298
24299 fi
24300 fi
24301
24302
24303
24304
24305
24306
24307 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
24308 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
24309 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24310 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
24311 echo $ECHO_N "(cached) $ECHO_C" >&6
24312 else
24313
24314
24315
24316 ac_ext=cc
24317 ac_cpp='$CXXCPP $CPPFLAGS'
24318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24321
24322 cat >conftest.$ac_ext <<_ACEOF
24323 /* confdefs.h. */
24324 _ACEOF
24325 cat confdefs.h >>conftest.$ac_ext
24326 cat >>conftest.$ac_ext <<_ACEOF
24327 /* end confdefs.h. */
24328 #include <math.h>
24329 int
24330 main ()
24331 {
24332 hypotf(0, 0);
24333 ;
24334 return 0;
24335 }
24336 _ACEOF
24337 rm -f conftest.$ac_objext
24338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24339 (eval $ac_compile) 2>conftest.er1
24340 ac_status=$?
24341 grep -v '^ *+' conftest.er1 >conftest.err
24342 rm -f conftest.er1
24343 cat conftest.err >&5
24344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24345 (exit $ac_status); } &&
24346 { ac_try='test -z "$ac_cxx_werror_flag"
24347 || test ! -s conftest.err'
24348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24349 (eval $ac_try) 2>&5
24350 ac_status=$?
24351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352 (exit $ac_status); }; } &&
24353 { ac_try='test -s conftest.$ac_objext'
24354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24355 (eval $ac_try) 2>&5
24356 ac_status=$?
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); }; }; then
24359 glibcxx_cv_func_hypotf_use=yes
24360 else
24361 echo "$as_me: failed program was:" >&5
24362 sed 's/^/| /' conftest.$ac_ext >&5
24363
24364 glibcxx_cv_func_hypotf_use=no
24365 fi
24366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24367 ac_ext=c
24368 ac_cpp='$CPP $CPPFLAGS'
24369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24372
24373
24374 fi
24375
24376 fi
24377 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
24378 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
24379
24380 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24381
24382 for ac_func in hypotf
24383 do
24384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24385 echo "$as_me:$LINENO: checking for $ac_func" >&5
24386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24387 if eval "test \"\${$as_ac_var+set}\" = set"; then
24388 echo $ECHO_N "(cached) $ECHO_C" >&6
24389 else
24390 if test x$gcc_no_link = xyes; then
24391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24393 { (exit 1); exit 1; }; }
24394 fi
24395 cat >conftest.$ac_ext <<_ACEOF
24396 /* confdefs.h. */
24397 _ACEOF
24398 cat confdefs.h >>conftest.$ac_ext
24399 cat >>conftest.$ac_ext <<_ACEOF
24400 /* end confdefs.h. */
24401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24403 #define $ac_func innocuous_$ac_func
24404
24405 /* System header to define __stub macros and hopefully few prototypes,
24406 which can conflict with char $ac_func (); below.
24407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24408 <limits.h> exists even on freestanding compilers. */
24409
24410 #ifdef __STDC__
24411 # include <limits.h>
24412 #else
24413 # include <assert.h>
24414 #endif
24415
24416 #undef $ac_func
24417
24418 /* Override any gcc2 internal prototype to avoid an error. */
24419 #ifdef __cplusplus
24420 extern "C"
24421 {
24422 #endif
24423 /* We use char because int might match the return type of a gcc2
24424 builtin and then its argument prototype would still apply. */
24425 char $ac_func ();
24426 /* The GNU C library defines this for functions which it implements
24427 to always fail with ENOSYS. Some functions are actually named
24428 something starting with __ and the normal name is an alias. */
24429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24430 choke me
24431 #else
24432 char (*f) () = $ac_func;
24433 #endif
24434 #ifdef __cplusplus
24435 }
24436 #endif
24437
24438 int
24439 main ()
24440 {
24441 return f != $ac_func;
24442 ;
24443 return 0;
24444 }
24445 _ACEOF
24446 rm -f conftest.$ac_objext conftest$ac_exeext
24447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24448 (eval $ac_link) 2>conftest.er1
24449 ac_status=$?
24450 grep -v '^ *+' conftest.er1 >conftest.err
24451 rm -f conftest.er1
24452 cat conftest.err >&5
24453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24454 (exit $ac_status); } &&
24455 { ac_try='test -z "$ac_c_werror_flag"
24456 || test ! -s conftest.err'
24457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24458 (eval $ac_try) 2>&5
24459 ac_status=$?
24460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461 (exit $ac_status); }; } &&
24462 { ac_try='test -s conftest$ac_exeext'
24463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24464 (eval $ac_try) 2>&5
24465 ac_status=$?
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); }; }; then
24468 eval "$as_ac_var=yes"
24469 else
24470 echo "$as_me: failed program was:" >&5
24471 sed 's/^/| /' conftest.$ac_ext >&5
24472
24473 eval "$as_ac_var=no"
24474 fi
24475 rm -f conftest.err conftest.$ac_objext \
24476 conftest$ac_exeext conftest.$ac_ext
24477 fi
24478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24480 if test `eval echo '${'$as_ac_var'}'` = yes; then
24481 cat >>confdefs.h <<_ACEOF
24482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24483 _ACEOF
24484
24485 fi
24486 done
24487
24488 else
24489
24490 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
24491 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
24492 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24493 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
24494 echo $ECHO_N "(cached) $ECHO_C" >&6
24495 else
24496
24497
24498
24499 ac_ext=cc
24500 ac_cpp='$CXXCPP $CPPFLAGS'
24501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24504
24505 cat >conftest.$ac_ext <<_ACEOF
24506 /* confdefs.h. */
24507 _ACEOF
24508 cat confdefs.h >>conftest.$ac_ext
24509 cat >>conftest.$ac_ext <<_ACEOF
24510 /* end confdefs.h. */
24511 #include <math.h>
24512 int
24513 main ()
24514 {
24515 _hypotf(0, 0);
24516 ;
24517 return 0;
24518 }
24519 _ACEOF
24520 rm -f conftest.$ac_objext
24521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24522 (eval $ac_compile) 2>conftest.er1
24523 ac_status=$?
24524 grep -v '^ *+' conftest.er1 >conftest.err
24525 rm -f conftest.er1
24526 cat conftest.err >&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } &&
24529 { ac_try='test -z "$ac_cxx_werror_flag"
24530 || test ! -s conftest.err'
24531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24532 (eval $ac_try) 2>&5
24533 ac_status=$?
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); }; } &&
24536 { ac_try='test -s conftest.$ac_objext'
24537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24538 (eval $ac_try) 2>&5
24539 ac_status=$?
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); }; }; then
24542 glibcxx_cv_func__hypotf_use=yes
24543 else
24544 echo "$as_me: failed program was:" >&5
24545 sed 's/^/| /' conftest.$ac_ext >&5
24546
24547 glibcxx_cv_func__hypotf_use=no
24548 fi
24549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24550 ac_ext=c
24551 ac_cpp='$CPP $CPPFLAGS'
24552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24555
24556
24557 fi
24558
24559 fi
24560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
24561 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
24562
24563 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24564
24565 for ac_func in _hypotf
24566 do
24567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24568 echo "$as_me:$LINENO: checking for $ac_func" >&5
24569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24570 if eval "test \"\${$as_ac_var+set}\" = set"; then
24571 echo $ECHO_N "(cached) $ECHO_C" >&6
24572 else
24573 if test x$gcc_no_link = xyes; then
24574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24576 { (exit 1); exit 1; }; }
24577 fi
24578 cat >conftest.$ac_ext <<_ACEOF
24579 /* confdefs.h. */
24580 _ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24586 #define $ac_func innocuous_$ac_func
24587
24588 /* System header to define __stub macros and hopefully few prototypes,
24589 which can conflict with char $ac_func (); below.
24590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24591 <limits.h> exists even on freestanding compilers. */
24592
24593 #ifdef __STDC__
24594 # include <limits.h>
24595 #else
24596 # include <assert.h>
24597 #endif
24598
24599 #undef $ac_func
24600
24601 /* Override any gcc2 internal prototype to avoid an error. */
24602 #ifdef __cplusplus
24603 extern "C"
24604 {
24605 #endif
24606 /* We use char because int might match the return type of a gcc2
24607 builtin and then its argument prototype would still apply. */
24608 char $ac_func ();
24609 /* The GNU C library defines this for functions which it implements
24610 to always fail with ENOSYS. Some functions are actually named
24611 something starting with __ and the normal name is an alias. */
24612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24613 choke me
24614 #else
24615 char (*f) () = $ac_func;
24616 #endif
24617 #ifdef __cplusplus
24618 }
24619 #endif
24620
24621 int
24622 main ()
24623 {
24624 return f != $ac_func;
24625 ;
24626 return 0;
24627 }
24628 _ACEOF
24629 rm -f conftest.$ac_objext conftest$ac_exeext
24630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24631 (eval $ac_link) 2>conftest.er1
24632 ac_status=$?
24633 grep -v '^ *+' conftest.er1 >conftest.err
24634 rm -f conftest.er1
24635 cat conftest.err >&5
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); } &&
24638 { ac_try='test -z "$ac_c_werror_flag"
24639 || test ! -s conftest.err'
24640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24641 (eval $ac_try) 2>&5
24642 ac_status=$?
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); }; } &&
24645 { ac_try='test -s conftest$ac_exeext'
24646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24647 (eval $ac_try) 2>&5
24648 ac_status=$?
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); }; }; then
24651 eval "$as_ac_var=yes"
24652 else
24653 echo "$as_me: failed program was:" >&5
24654 sed 's/^/| /' conftest.$ac_ext >&5
24655
24656 eval "$as_ac_var=no"
24657 fi
24658 rm -f conftest.err conftest.$ac_objext \
24659 conftest$ac_exeext conftest.$ac_ext
24660 fi
24661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24663 if test `eval echo '${'$as_ac_var'}'` = yes; then
24664 cat >>confdefs.h <<_ACEOF
24665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24666 _ACEOF
24667
24668 fi
24669 done
24670
24671 fi
24672 fi
24673
24674
24675
24676
24677
24678
24679 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
24680 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
24681 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24682 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
24683 echo $ECHO_N "(cached) $ECHO_C" >&6
24684 else
24685
24686
24687
24688 ac_ext=cc
24689 ac_cpp='$CXXCPP $CPPFLAGS'
24690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24693
24694 cat >conftest.$ac_ext <<_ACEOF
24695 /* confdefs.h. */
24696 _ACEOF
24697 cat confdefs.h >>conftest.$ac_ext
24698 cat >>conftest.$ac_ext <<_ACEOF
24699 /* end confdefs.h. */
24700 #include <math.h>
24701 int
24702 main ()
24703 {
24704 ldexpf(0, 0);
24705 ;
24706 return 0;
24707 }
24708 _ACEOF
24709 rm -f conftest.$ac_objext
24710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24711 (eval $ac_compile) 2>conftest.er1
24712 ac_status=$?
24713 grep -v '^ *+' conftest.er1 >conftest.err
24714 rm -f conftest.er1
24715 cat conftest.err >&5
24716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24717 (exit $ac_status); } &&
24718 { ac_try='test -z "$ac_cxx_werror_flag"
24719 || test ! -s conftest.err'
24720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24721 (eval $ac_try) 2>&5
24722 ac_status=$?
24723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724 (exit $ac_status); }; } &&
24725 { ac_try='test -s conftest.$ac_objext'
24726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24727 (eval $ac_try) 2>&5
24728 ac_status=$?
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); }; }; then
24731 glibcxx_cv_func_ldexpf_use=yes
24732 else
24733 echo "$as_me: failed program was:" >&5
24734 sed 's/^/| /' conftest.$ac_ext >&5
24735
24736 glibcxx_cv_func_ldexpf_use=no
24737 fi
24738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24739 ac_ext=c
24740 ac_cpp='$CPP $CPPFLAGS'
24741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24744
24745
24746 fi
24747
24748 fi
24749 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
24750 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
24751
24752 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24753
24754 for ac_func in ldexpf
24755 do
24756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24757 echo "$as_me:$LINENO: checking for $ac_func" >&5
24758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24759 if eval "test \"\${$as_ac_var+set}\" = set"; then
24760 echo $ECHO_N "(cached) $ECHO_C" >&6
24761 else
24762 if test x$gcc_no_link = xyes; then
24763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24765 { (exit 1); exit 1; }; }
24766 fi
24767 cat >conftest.$ac_ext <<_ACEOF
24768 /* confdefs.h. */
24769 _ACEOF
24770 cat confdefs.h >>conftest.$ac_ext
24771 cat >>conftest.$ac_ext <<_ACEOF
24772 /* end confdefs.h. */
24773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24775 #define $ac_func innocuous_$ac_func
24776
24777 /* System header to define __stub macros and hopefully few prototypes,
24778 which can conflict with char $ac_func (); below.
24779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24780 <limits.h> exists even on freestanding compilers. */
24781
24782 #ifdef __STDC__
24783 # include <limits.h>
24784 #else
24785 # include <assert.h>
24786 #endif
24787
24788 #undef $ac_func
24789
24790 /* Override any gcc2 internal prototype to avoid an error. */
24791 #ifdef __cplusplus
24792 extern "C"
24793 {
24794 #endif
24795 /* We use char because int might match the return type of a gcc2
24796 builtin and then its argument prototype would still apply. */
24797 char $ac_func ();
24798 /* The GNU C library defines this for functions which it implements
24799 to always fail with ENOSYS. Some functions are actually named
24800 something starting with __ and the normal name is an alias. */
24801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24802 choke me
24803 #else
24804 char (*f) () = $ac_func;
24805 #endif
24806 #ifdef __cplusplus
24807 }
24808 #endif
24809
24810 int
24811 main ()
24812 {
24813 return f != $ac_func;
24814 ;
24815 return 0;
24816 }
24817 _ACEOF
24818 rm -f conftest.$ac_objext conftest$ac_exeext
24819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24820 (eval $ac_link) 2>conftest.er1
24821 ac_status=$?
24822 grep -v '^ *+' conftest.er1 >conftest.err
24823 rm -f conftest.er1
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } &&
24827 { ac_try='test -z "$ac_c_werror_flag"
24828 || test ! -s conftest.err'
24829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24830 (eval $ac_try) 2>&5
24831 ac_status=$?
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); }; } &&
24834 { ac_try='test -s conftest$ac_exeext'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24837 ac_status=$?
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; }; then
24840 eval "$as_ac_var=yes"
24841 else
24842 echo "$as_me: failed program was:" >&5
24843 sed 's/^/| /' conftest.$ac_ext >&5
24844
24845 eval "$as_ac_var=no"
24846 fi
24847 rm -f conftest.err conftest.$ac_objext \
24848 conftest$ac_exeext conftest.$ac_ext
24849 fi
24850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24852 if test `eval echo '${'$as_ac_var'}'` = yes; then
24853 cat >>confdefs.h <<_ACEOF
24854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24855 _ACEOF
24856
24857 fi
24858 done
24859
24860 else
24861
24862 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
24863 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
24864 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24865 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
24866 echo $ECHO_N "(cached) $ECHO_C" >&6
24867 else
24868
24869
24870
24871 ac_ext=cc
24872 ac_cpp='$CXXCPP $CPPFLAGS'
24873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24876
24877 cat >conftest.$ac_ext <<_ACEOF
24878 /* confdefs.h. */
24879 _ACEOF
24880 cat confdefs.h >>conftest.$ac_ext
24881 cat >>conftest.$ac_ext <<_ACEOF
24882 /* end confdefs.h. */
24883 #include <math.h>
24884 int
24885 main ()
24886 {
24887 _ldexpf(0, 0);
24888 ;
24889 return 0;
24890 }
24891 _ACEOF
24892 rm -f conftest.$ac_objext
24893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24894 (eval $ac_compile) 2>conftest.er1
24895 ac_status=$?
24896 grep -v '^ *+' conftest.er1 >conftest.err
24897 rm -f conftest.er1
24898 cat conftest.err >&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); } &&
24901 { ac_try='test -z "$ac_cxx_werror_flag"
24902 || test ! -s conftest.err'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24905 ac_status=$?
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; } &&
24908 { ac_try='test -s conftest.$ac_objext'
24909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24910 (eval $ac_try) 2>&5
24911 ac_status=$?
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); }; }; then
24914 glibcxx_cv_func__ldexpf_use=yes
24915 else
24916 echo "$as_me: failed program was:" >&5
24917 sed 's/^/| /' conftest.$ac_ext >&5
24918
24919 glibcxx_cv_func__ldexpf_use=no
24920 fi
24921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24922 ac_ext=c
24923 ac_cpp='$CPP $CPPFLAGS'
24924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24927
24928
24929 fi
24930
24931 fi
24932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
24933 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
24934
24935 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24936
24937 for ac_func in _ldexpf
24938 do
24939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24940 echo "$as_me:$LINENO: checking for $ac_func" >&5
24941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24942 if eval "test \"\${$as_ac_var+set}\" = set"; then
24943 echo $ECHO_N "(cached) $ECHO_C" >&6
24944 else
24945 if test x$gcc_no_link = xyes; then
24946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24948 { (exit 1); exit 1; }; }
24949 fi
24950 cat >conftest.$ac_ext <<_ACEOF
24951 /* confdefs.h. */
24952 _ACEOF
24953 cat confdefs.h >>conftest.$ac_ext
24954 cat >>conftest.$ac_ext <<_ACEOF
24955 /* end confdefs.h. */
24956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24958 #define $ac_func innocuous_$ac_func
24959
24960 /* System header to define __stub macros and hopefully few prototypes,
24961 which can conflict with char $ac_func (); below.
24962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24963 <limits.h> exists even on freestanding compilers. */
24964
24965 #ifdef __STDC__
24966 # include <limits.h>
24967 #else
24968 # include <assert.h>
24969 #endif
24970
24971 #undef $ac_func
24972
24973 /* Override any gcc2 internal prototype to avoid an error. */
24974 #ifdef __cplusplus
24975 extern "C"
24976 {
24977 #endif
24978 /* We use char because int might match the return type of a gcc2
24979 builtin and then its argument prototype would still apply. */
24980 char $ac_func ();
24981 /* The GNU C library defines this for functions which it implements
24982 to always fail with ENOSYS. Some functions are actually named
24983 something starting with __ and the normal name is an alias. */
24984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24985 choke me
24986 #else
24987 char (*f) () = $ac_func;
24988 #endif
24989 #ifdef __cplusplus
24990 }
24991 #endif
24992
24993 int
24994 main ()
24995 {
24996 return f != $ac_func;
24997 ;
24998 return 0;
24999 }
25000 _ACEOF
25001 rm -f conftest.$ac_objext conftest$ac_exeext
25002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25003 (eval $ac_link) 2>conftest.er1
25004 ac_status=$?
25005 grep -v '^ *+' conftest.er1 >conftest.err
25006 rm -f conftest.er1
25007 cat conftest.err >&5
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); } &&
25010 { ac_try='test -z "$ac_c_werror_flag"
25011 || test ! -s conftest.err'
25012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25013 (eval $ac_try) 2>&5
25014 ac_status=$?
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); }; } &&
25017 { ac_try='test -s conftest$ac_exeext'
25018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25019 (eval $ac_try) 2>&5
25020 ac_status=$?
25021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022 (exit $ac_status); }; }; then
25023 eval "$as_ac_var=yes"
25024 else
25025 echo "$as_me: failed program was:" >&5
25026 sed 's/^/| /' conftest.$ac_ext >&5
25027
25028 eval "$as_ac_var=no"
25029 fi
25030 rm -f conftest.err conftest.$ac_objext \
25031 conftest$ac_exeext conftest.$ac_ext
25032 fi
25033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25035 if test `eval echo '${'$as_ac_var'}'` = yes; then
25036 cat >>confdefs.h <<_ACEOF
25037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25038 _ACEOF
25039
25040 fi
25041 done
25042
25043 fi
25044 fi
25045
25046
25047
25048
25049
25050
25051 echo "$as_me:$LINENO: checking for logf declaration" >&5
25052 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25053 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25054 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25055 echo $ECHO_N "(cached) $ECHO_C" >&6
25056 else
25057
25058
25059
25060 ac_ext=cc
25061 ac_cpp='$CXXCPP $CPPFLAGS'
25062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25065
25066 cat >conftest.$ac_ext <<_ACEOF
25067 /* confdefs.h. */
25068 _ACEOF
25069 cat confdefs.h >>conftest.$ac_ext
25070 cat >>conftest.$ac_ext <<_ACEOF
25071 /* end confdefs.h. */
25072 #include <math.h>
25073 #ifdef HAVE_IEEEFP_H
25074 #include <ieeefp.h>
25075 #endif
25076
25077 int
25078 main ()
25079 {
25080 logf(0);
25081 ;
25082 return 0;
25083 }
25084 _ACEOF
25085 rm -f conftest.$ac_objext
25086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25087 (eval $ac_compile) 2>conftest.er1
25088 ac_status=$?
25089 grep -v '^ *+' conftest.er1 >conftest.err
25090 rm -f conftest.er1
25091 cat conftest.err >&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); } &&
25094 { ac_try='test -z "$ac_cxx_werror_flag"
25095 || test ! -s conftest.err'
25096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25097 (eval $ac_try) 2>&5
25098 ac_status=$?
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); }; } &&
25101 { ac_try='test -s conftest.$ac_objext'
25102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25103 (eval $ac_try) 2>&5
25104 ac_status=$?
25105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); }; }; then
25107 glibcxx_cv_func_logf_use=yes
25108 else
25109 echo "$as_me: failed program was:" >&5
25110 sed 's/^/| /' conftest.$ac_ext >&5
25111
25112 glibcxx_cv_func_logf_use=no
25113 fi
25114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25115 ac_ext=c
25116 ac_cpp='$CPP $CPPFLAGS'
25117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25120
25121
25122 fi
25123
25124 fi
25125 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25126 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
25127
25128 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25129
25130 for ac_func in logf
25131 do
25132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25133 echo "$as_me:$LINENO: checking for $ac_func" >&5
25134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25135 if eval "test \"\${$as_ac_var+set}\" = set"; then
25136 echo $ECHO_N "(cached) $ECHO_C" >&6
25137 else
25138 if test x$gcc_no_link = xyes; then
25139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25141 { (exit 1); exit 1; }; }
25142 fi
25143 cat >conftest.$ac_ext <<_ACEOF
25144 /* confdefs.h. */
25145 _ACEOF
25146 cat confdefs.h >>conftest.$ac_ext
25147 cat >>conftest.$ac_ext <<_ACEOF
25148 /* end confdefs.h. */
25149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25151 #define $ac_func innocuous_$ac_func
25152
25153 /* System header to define __stub macros and hopefully few prototypes,
25154 which can conflict with char $ac_func (); below.
25155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25156 <limits.h> exists even on freestanding compilers. */
25157
25158 #ifdef __STDC__
25159 # include <limits.h>
25160 #else
25161 # include <assert.h>
25162 #endif
25163
25164 #undef $ac_func
25165
25166 /* Override any gcc2 internal prototype to avoid an error. */
25167 #ifdef __cplusplus
25168 extern "C"
25169 {
25170 #endif
25171 /* We use char because int might match the return type of a gcc2
25172 builtin and then its argument prototype would still apply. */
25173 char $ac_func ();
25174 /* The GNU C library defines this for functions which it implements
25175 to always fail with ENOSYS. Some functions are actually named
25176 something starting with __ and the normal name is an alias. */
25177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25178 choke me
25179 #else
25180 char (*f) () = $ac_func;
25181 #endif
25182 #ifdef __cplusplus
25183 }
25184 #endif
25185
25186 int
25187 main ()
25188 {
25189 return f != $ac_func;
25190 ;
25191 return 0;
25192 }
25193 _ACEOF
25194 rm -f conftest.$ac_objext conftest$ac_exeext
25195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25196 (eval $ac_link) 2>conftest.er1
25197 ac_status=$?
25198 grep -v '^ *+' conftest.er1 >conftest.err
25199 rm -f conftest.er1
25200 cat conftest.err >&5
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); } &&
25203 { ac_try='test -z "$ac_c_werror_flag"
25204 || test ! -s conftest.err'
25205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25206 (eval $ac_try) 2>&5
25207 ac_status=$?
25208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25209 (exit $ac_status); }; } &&
25210 { ac_try='test -s conftest$ac_exeext'
25211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25212 (eval $ac_try) 2>&5
25213 ac_status=$?
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); }; }; then
25216 eval "$as_ac_var=yes"
25217 else
25218 echo "$as_me: failed program was:" >&5
25219 sed 's/^/| /' conftest.$ac_ext >&5
25220
25221 eval "$as_ac_var=no"
25222 fi
25223 rm -f conftest.err conftest.$ac_objext \
25224 conftest$ac_exeext conftest.$ac_ext
25225 fi
25226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25228 if test `eval echo '${'$as_ac_var'}'` = yes; then
25229 cat >>confdefs.h <<_ACEOF
25230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25231 _ACEOF
25232
25233 fi
25234 done
25235
25236 else
25237
25238 echo "$as_me:$LINENO: checking for _logf declaration" >&5
25239 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
25240 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25241 if test "${glibcxx_cv_func__logf_use+set}" = set; then
25242 echo $ECHO_N "(cached) $ECHO_C" >&6
25243 else
25244
25245
25246
25247 ac_ext=cc
25248 ac_cpp='$CXXCPP $CPPFLAGS'
25249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25252
25253 cat >conftest.$ac_ext <<_ACEOF
25254 /* confdefs.h. */
25255 _ACEOF
25256 cat confdefs.h >>conftest.$ac_ext
25257 cat >>conftest.$ac_ext <<_ACEOF
25258 /* end confdefs.h. */
25259 #include <math.h>
25260 #ifdef HAVE_IEEEFP_H
25261 #include <ieeefp.h>
25262 #endif
25263
25264 int
25265 main ()
25266 {
25267 _logf(0);
25268 ;
25269 return 0;
25270 }
25271 _ACEOF
25272 rm -f conftest.$ac_objext
25273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25274 (eval $ac_compile) 2>conftest.er1
25275 ac_status=$?
25276 grep -v '^ *+' conftest.er1 >conftest.err
25277 rm -f conftest.er1
25278 cat conftest.err >&5
25279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280 (exit $ac_status); } &&
25281 { ac_try='test -z "$ac_cxx_werror_flag"
25282 || test ! -s conftest.err'
25283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25284 (eval $ac_try) 2>&5
25285 ac_status=$?
25286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287 (exit $ac_status); }; } &&
25288 { ac_try='test -s conftest.$ac_objext'
25289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25290 (eval $ac_try) 2>&5
25291 ac_status=$?
25292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293 (exit $ac_status); }; }; then
25294 glibcxx_cv_func__logf_use=yes
25295 else
25296 echo "$as_me: failed program was:" >&5
25297 sed 's/^/| /' conftest.$ac_ext >&5
25298
25299 glibcxx_cv_func__logf_use=no
25300 fi
25301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25302 ac_ext=c
25303 ac_cpp='$CPP $CPPFLAGS'
25304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25307
25308
25309 fi
25310
25311 fi
25312 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
25313 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
25314
25315 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25316
25317 for ac_func in _logf
25318 do
25319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25320 echo "$as_me:$LINENO: checking for $ac_func" >&5
25321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25322 if eval "test \"\${$as_ac_var+set}\" = set"; then
25323 echo $ECHO_N "(cached) $ECHO_C" >&6
25324 else
25325 if test x$gcc_no_link = xyes; then
25326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25328 { (exit 1); exit 1; }; }
25329 fi
25330 cat >conftest.$ac_ext <<_ACEOF
25331 /* confdefs.h. */
25332 _ACEOF
25333 cat confdefs.h >>conftest.$ac_ext
25334 cat >>conftest.$ac_ext <<_ACEOF
25335 /* end confdefs.h. */
25336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25338 #define $ac_func innocuous_$ac_func
25339
25340 /* System header to define __stub macros and hopefully few prototypes,
25341 which can conflict with char $ac_func (); below.
25342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25343 <limits.h> exists even on freestanding compilers. */
25344
25345 #ifdef __STDC__
25346 # include <limits.h>
25347 #else
25348 # include <assert.h>
25349 #endif
25350
25351 #undef $ac_func
25352
25353 /* Override any gcc2 internal prototype to avoid an error. */
25354 #ifdef __cplusplus
25355 extern "C"
25356 {
25357 #endif
25358 /* We use char because int might match the return type of a gcc2
25359 builtin and then its argument prototype would still apply. */
25360 char $ac_func ();
25361 /* The GNU C library defines this for functions which it implements
25362 to always fail with ENOSYS. Some functions are actually named
25363 something starting with __ and the normal name is an alias. */
25364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25365 choke me
25366 #else
25367 char (*f) () = $ac_func;
25368 #endif
25369 #ifdef __cplusplus
25370 }
25371 #endif
25372
25373 int
25374 main ()
25375 {
25376 return f != $ac_func;
25377 ;
25378 return 0;
25379 }
25380 _ACEOF
25381 rm -f conftest.$ac_objext conftest$ac_exeext
25382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25383 (eval $ac_link) 2>conftest.er1
25384 ac_status=$?
25385 grep -v '^ *+' conftest.er1 >conftest.err
25386 rm -f conftest.er1
25387 cat conftest.err >&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } &&
25390 { ac_try='test -z "$ac_c_werror_flag"
25391 || test ! -s conftest.err'
25392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25393 (eval $ac_try) 2>&5
25394 ac_status=$?
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); }; } &&
25397 { ac_try='test -s conftest$ac_exeext'
25398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25399 (eval $ac_try) 2>&5
25400 ac_status=$?
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); }; }; then
25403 eval "$as_ac_var=yes"
25404 else
25405 echo "$as_me: failed program was:" >&5
25406 sed 's/^/| /' conftest.$ac_ext >&5
25407
25408 eval "$as_ac_var=no"
25409 fi
25410 rm -f conftest.err conftest.$ac_objext \
25411 conftest$ac_exeext conftest.$ac_ext
25412 fi
25413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25415 if test `eval echo '${'$as_ac_var'}'` = yes; then
25416 cat >>confdefs.h <<_ACEOF
25417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25418 _ACEOF
25419
25420 fi
25421 done
25422
25423 fi
25424 fi
25425
25426
25427
25428
25429
25430
25431 echo "$as_me:$LINENO: checking for log10f declaration" >&5
25432 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
25433 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25434 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
25435 echo $ECHO_N "(cached) $ECHO_C" >&6
25436 else
25437
25438
25439
25440 ac_ext=cc
25441 ac_cpp='$CXXCPP $CPPFLAGS'
25442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25445
25446 cat >conftest.$ac_ext <<_ACEOF
25447 /* confdefs.h. */
25448 _ACEOF
25449 cat confdefs.h >>conftest.$ac_ext
25450 cat >>conftest.$ac_ext <<_ACEOF
25451 /* end confdefs.h. */
25452 #include <math.h>
25453 #ifdef HAVE_IEEEFP_H
25454 #include <ieeefp.h>
25455 #endif
25456
25457 int
25458 main ()
25459 {
25460 log10f(0);
25461 ;
25462 return 0;
25463 }
25464 _ACEOF
25465 rm -f conftest.$ac_objext
25466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25467 (eval $ac_compile) 2>conftest.er1
25468 ac_status=$?
25469 grep -v '^ *+' conftest.er1 >conftest.err
25470 rm -f conftest.er1
25471 cat conftest.err >&5
25472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25473 (exit $ac_status); } &&
25474 { ac_try='test -z "$ac_cxx_werror_flag"
25475 || test ! -s conftest.err'
25476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25477 (eval $ac_try) 2>&5
25478 ac_status=$?
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); }; } &&
25481 { ac_try='test -s conftest.$ac_objext'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25484 ac_status=$?
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; }; then
25487 glibcxx_cv_func_log10f_use=yes
25488 else
25489 echo "$as_me: failed program was:" >&5
25490 sed 's/^/| /' conftest.$ac_ext >&5
25491
25492 glibcxx_cv_func_log10f_use=no
25493 fi
25494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25495 ac_ext=c
25496 ac_cpp='$CPP $CPPFLAGS'
25497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25500
25501
25502 fi
25503
25504 fi
25505 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
25506 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
25507
25508 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25509
25510 for ac_func in log10f
25511 do
25512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25513 echo "$as_me:$LINENO: checking for $ac_func" >&5
25514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25515 if eval "test \"\${$as_ac_var+set}\" = set"; then
25516 echo $ECHO_N "(cached) $ECHO_C" >&6
25517 else
25518 if test x$gcc_no_link = xyes; then
25519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25521 { (exit 1); exit 1; }; }
25522 fi
25523 cat >conftest.$ac_ext <<_ACEOF
25524 /* confdefs.h. */
25525 _ACEOF
25526 cat confdefs.h >>conftest.$ac_ext
25527 cat >>conftest.$ac_ext <<_ACEOF
25528 /* end confdefs.h. */
25529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25531 #define $ac_func innocuous_$ac_func
25532
25533 /* System header to define __stub macros and hopefully few prototypes,
25534 which can conflict with char $ac_func (); below.
25535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25536 <limits.h> exists even on freestanding compilers. */
25537
25538 #ifdef __STDC__
25539 # include <limits.h>
25540 #else
25541 # include <assert.h>
25542 #endif
25543
25544 #undef $ac_func
25545
25546 /* Override any gcc2 internal prototype to avoid an error. */
25547 #ifdef __cplusplus
25548 extern "C"
25549 {
25550 #endif
25551 /* We use char because int might match the return type of a gcc2
25552 builtin and then its argument prototype would still apply. */
25553 char $ac_func ();
25554 /* The GNU C library defines this for functions which it implements
25555 to always fail with ENOSYS. Some functions are actually named
25556 something starting with __ and the normal name is an alias. */
25557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25558 choke me
25559 #else
25560 char (*f) () = $ac_func;
25561 #endif
25562 #ifdef __cplusplus
25563 }
25564 #endif
25565
25566 int
25567 main ()
25568 {
25569 return f != $ac_func;
25570 ;
25571 return 0;
25572 }
25573 _ACEOF
25574 rm -f conftest.$ac_objext conftest$ac_exeext
25575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25576 (eval $ac_link) 2>conftest.er1
25577 ac_status=$?
25578 grep -v '^ *+' conftest.er1 >conftest.err
25579 rm -f conftest.er1
25580 cat conftest.err >&5
25581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25582 (exit $ac_status); } &&
25583 { ac_try='test -z "$ac_c_werror_flag"
25584 || test ! -s conftest.err'
25585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586 (eval $ac_try) 2>&5
25587 ac_status=$?
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); }; } &&
25590 { ac_try='test -s conftest$ac_exeext'
25591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25592 (eval $ac_try) 2>&5
25593 ac_status=$?
25594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25595 (exit $ac_status); }; }; then
25596 eval "$as_ac_var=yes"
25597 else
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.$ac_ext >&5
25600
25601 eval "$as_ac_var=no"
25602 fi
25603 rm -f conftest.err conftest.$ac_objext \
25604 conftest$ac_exeext conftest.$ac_ext
25605 fi
25606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25608 if test `eval echo '${'$as_ac_var'}'` = yes; then
25609 cat >>confdefs.h <<_ACEOF
25610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25611 _ACEOF
25612
25613 fi
25614 done
25615
25616 else
25617
25618 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
25619 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
25620 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25621 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25623 else
25624
25625
25626
25627 ac_ext=cc
25628 ac_cpp='$CXXCPP $CPPFLAGS'
25629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25632
25633 cat >conftest.$ac_ext <<_ACEOF
25634 /* confdefs.h. */
25635 _ACEOF
25636 cat confdefs.h >>conftest.$ac_ext
25637 cat >>conftest.$ac_ext <<_ACEOF
25638 /* end confdefs.h. */
25639 #include <math.h>
25640 #ifdef HAVE_IEEEFP_H
25641 #include <ieeefp.h>
25642 #endif
25643
25644 int
25645 main ()
25646 {
25647 _log10f(0);
25648 ;
25649 return 0;
25650 }
25651 _ACEOF
25652 rm -f conftest.$ac_objext
25653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25654 (eval $ac_compile) 2>conftest.er1
25655 ac_status=$?
25656 grep -v '^ *+' conftest.er1 >conftest.err
25657 rm -f conftest.er1
25658 cat conftest.err >&5
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); } &&
25661 { ac_try='test -z "$ac_cxx_werror_flag"
25662 || test ! -s conftest.err'
25663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25664 (eval $ac_try) 2>&5
25665 ac_status=$?
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); }; } &&
25668 { ac_try='test -s conftest.$ac_objext'
25669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25670 (eval $ac_try) 2>&5
25671 ac_status=$?
25672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673 (exit $ac_status); }; }; then
25674 glibcxx_cv_func__log10f_use=yes
25675 else
25676 echo "$as_me: failed program was:" >&5
25677 sed 's/^/| /' conftest.$ac_ext >&5
25678
25679 glibcxx_cv_func__log10f_use=no
25680 fi
25681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25682 ac_ext=c
25683 ac_cpp='$CPP $CPPFLAGS'
25684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25687
25688
25689 fi
25690
25691 fi
25692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
25693 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
25694
25695 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25696
25697 for ac_func in _log10f
25698 do
25699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25700 echo "$as_me:$LINENO: checking for $ac_func" >&5
25701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25702 if eval "test \"\${$as_ac_var+set}\" = set"; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25704 else
25705 if test x$gcc_no_link = xyes; then
25706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25708 { (exit 1); exit 1; }; }
25709 fi
25710 cat >conftest.$ac_ext <<_ACEOF
25711 /* confdefs.h. */
25712 _ACEOF
25713 cat confdefs.h >>conftest.$ac_ext
25714 cat >>conftest.$ac_ext <<_ACEOF
25715 /* end confdefs.h. */
25716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25718 #define $ac_func innocuous_$ac_func
25719
25720 /* System header to define __stub macros and hopefully few prototypes,
25721 which can conflict with char $ac_func (); below.
25722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25723 <limits.h> exists even on freestanding compilers. */
25724
25725 #ifdef __STDC__
25726 # include <limits.h>
25727 #else
25728 # include <assert.h>
25729 #endif
25730
25731 #undef $ac_func
25732
25733 /* Override any gcc2 internal prototype to avoid an error. */
25734 #ifdef __cplusplus
25735 extern "C"
25736 {
25737 #endif
25738 /* We use char because int might match the return type of a gcc2
25739 builtin and then its argument prototype would still apply. */
25740 char $ac_func ();
25741 /* The GNU C library defines this for functions which it implements
25742 to always fail with ENOSYS. Some functions are actually named
25743 something starting with __ and the normal name is an alias. */
25744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25745 choke me
25746 #else
25747 char (*f) () = $ac_func;
25748 #endif
25749 #ifdef __cplusplus
25750 }
25751 #endif
25752
25753 int
25754 main ()
25755 {
25756 return f != $ac_func;
25757 ;
25758 return 0;
25759 }
25760 _ACEOF
25761 rm -f conftest.$ac_objext conftest$ac_exeext
25762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25763 (eval $ac_link) 2>conftest.er1
25764 ac_status=$?
25765 grep -v '^ *+' conftest.er1 >conftest.err
25766 rm -f conftest.er1
25767 cat conftest.err >&5
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); } &&
25770 { ac_try='test -z "$ac_c_werror_flag"
25771 || test ! -s conftest.err'
25772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25773 (eval $ac_try) 2>&5
25774 ac_status=$?
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); }; } &&
25777 { ac_try='test -s conftest$ac_exeext'
25778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25779 (eval $ac_try) 2>&5
25780 ac_status=$?
25781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782 (exit $ac_status); }; }; then
25783 eval "$as_ac_var=yes"
25784 else
25785 echo "$as_me: failed program was:" >&5
25786 sed 's/^/| /' conftest.$ac_ext >&5
25787
25788 eval "$as_ac_var=no"
25789 fi
25790 rm -f conftest.err conftest.$ac_objext \
25791 conftest$ac_exeext conftest.$ac_ext
25792 fi
25793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25795 if test `eval echo '${'$as_ac_var'}'` = yes; then
25796 cat >>confdefs.h <<_ACEOF
25797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25798 _ACEOF
25799
25800 fi
25801 done
25802
25803 fi
25804 fi
25805
25806
25807
25808
25809
25810
25811 echo "$as_me:$LINENO: checking for modff declaration" >&5
25812 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
25813 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25814 if test "${glibcxx_cv_func_modff_use+set}" = set; then
25815 echo $ECHO_N "(cached) $ECHO_C" >&6
25816 else
25817
25818
25819
25820 ac_ext=cc
25821 ac_cpp='$CXXCPP $CPPFLAGS'
25822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25825
25826 cat >conftest.$ac_ext <<_ACEOF
25827 /* confdefs.h. */
25828 _ACEOF
25829 cat confdefs.h >>conftest.$ac_ext
25830 cat >>conftest.$ac_ext <<_ACEOF
25831 /* end confdefs.h. */
25832 #include <math.h>
25833 int
25834 main ()
25835 {
25836 modff(0, 0);
25837 ;
25838 return 0;
25839 }
25840 _ACEOF
25841 rm -f conftest.$ac_objext
25842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25843 (eval $ac_compile) 2>conftest.er1
25844 ac_status=$?
25845 grep -v '^ *+' conftest.er1 >conftest.err
25846 rm -f conftest.er1
25847 cat conftest.err >&5
25848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849 (exit $ac_status); } &&
25850 { ac_try='test -z "$ac_cxx_werror_flag"
25851 || test ! -s conftest.err'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25854 ac_status=$?
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; } &&
25857 { ac_try='test -s conftest.$ac_objext'
25858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25859 (eval $ac_try) 2>&5
25860 ac_status=$?
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); }; }; then
25863 glibcxx_cv_func_modff_use=yes
25864 else
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25867
25868 glibcxx_cv_func_modff_use=no
25869 fi
25870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25871 ac_ext=c
25872 ac_cpp='$CPP $CPPFLAGS'
25873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25876
25877
25878 fi
25879
25880 fi
25881 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
25882 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
25883
25884 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25885
25886 for ac_func in modff
25887 do
25888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25889 echo "$as_me:$LINENO: checking for $ac_func" >&5
25890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25891 if eval "test \"\${$as_ac_var+set}\" = set"; then
25892 echo $ECHO_N "(cached) $ECHO_C" >&6
25893 else
25894 if test x$gcc_no_link = xyes; then
25895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25897 { (exit 1); exit 1; }; }
25898 fi
25899 cat >conftest.$ac_ext <<_ACEOF
25900 /* confdefs.h. */
25901 _ACEOF
25902 cat confdefs.h >>conftest.$ac_ext
25903 cat >>conftest.$ac_ext <<_ACEOF
25904 /* end confdefs.h. */
25905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25907 #define $ac_func innocuous_$ac_func
25908
25909 /* System header to define __stub macros and hopefully few prototypes,
25910 which can conflict with char $ac_func (); below.
25911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25912 <limits.h> exists even on freestanding compilers. */
25913
25914 #ifdef __STDC__
25915 # include <limits.h>
25916 #else
25917 # include <assert.h>
25918 #endif
25919
25920 #undef $ac_func
25921
25922 /* Override any gcc2 internal prototype to avoid an error. */
25923 #ifdef __cplusplus
25924 extern "C"
25925 {
25926 #endif
25927 /* We use char because int might match the return type of a gcc2
25928 builtin and then its argument prototype would still apply. */
25929 char $ac_func ();
25930 /* The GNU C library defines this for functions which it implements
25931 to always fail with ENOSYS. Some functions are actually named
25932 something starting with __ and the normal name is an alias. */
25933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25934 choke me
25935 #else
25936 char (*f) () = $ac_func;
25937 #endif
25938 #ifdef __cplusplus
25939 }
25940 #endif
25941
25942 int
25943 main ()
25944 {
25945 return f != $ac_func;
25946 ;
25947 return 0;
25948 }
25949 _ACEOF
25950 rm -f conftest.$ac_objext conftest$ac_exeext
25951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25952 (eval $ac_link) 2>conftest.er1
25953 ac_status=$?
25954 grep -v '^ *+' conftest.er1 >conftest.err
25955 rm -f conftest.er1
25956 cat conftest.err >&5
25957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958 (exit $ac_status); } &&
25959 { ac_try='test -z "$ac_c_werror_flag"
25960 || test ! -s conftest.err'
25961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25962 (eval $ac_try) 2>&5
25963 ac_status=$?
25964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25965 (exit $ac_status); }; } &&
25966 { ac_try='test -s conftest$ac_exeext'
25967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25968 (eval $ac_try) 2>&5
25969 ac_status=$?
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); }; }; then
25972 eval "$as_ac_var=yes"
25973 else
25974 echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.$ac_ext >&5
25976
25977 eval "$as_ac_var=no"
25978 fi
25979 rm -f conftest.err conftest.$ac_objext \
25980 conftest$ac_exeext conftest.$ac_ext
25981 fi
25982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25984 if test `eval echo '${'$as_ac_var'}'` = yes; then
25985 cat >>confdefs.h <<_ACEOF
25986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25987 _ACEOF
25988
25989 fi
25990 done
25991
25992 else
25993
25994 echo "$as_me:$LINENO: checking for _modff declaration" >&5
25995 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
25996 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25997 if test "${glibcxx_cv_func__modff_use+set}" = set; then
25998 echo $ECHO_N "(cached) $ECHO_C" >&6
25999 else
26000
26001
26002
26003 ac_ext=cc
26004 ac_cpp='$CXXCPP $CPPFLAGS'
26005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26008
26009 cat >conftest.$ac_ext <<_ACEOF
26010 /* confdefs.h. */
26011 _ACEOF
26012 cat confdefs.h >>conftest.$ac_ext
26013 cat >>conftest.$ac_ext <<_ACEOF
26014 /* end confdefs.h. */
26015 #include <math.h>
26016 int
26017 main ()
26018 {
26019 _modff(0, 0);
26020 ;
26021 return 0;
26022 }
26023 _ACEOF
26024 rm -f conftest.$ac_objext
26025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26026 (eval $ac_compile) 2>conftest.er1
26027 ac_status=$?
26028 grep -v '^ *+' conftest.er1 >conftest.err
26029 rm -f conftest.er1
26030 cat conftest.err >&5
26031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26032 (exit $ac_status); } &&
26033 { ac_try='test -z "$ac_cxx_werror_flag"
26034 || test ! -s conftest.err'
26035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26036 (eval $ac_try) 2>&5
26037 ac_status=$?
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); }; } &&
26040 { ac_try='test -s conftest.$ac_objext'
26041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26042 (eval $ac_try) 2>&5
26043 ac_status=$?
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); }; }; then
26046 glibcxx_cv_func__modff_use=yes
26047 else
26048 echo "$as_me: failed program was:" >&5
26049 sed 's/^/| /' conftest.$ac_ext >&5
26050
26051 glibcxx_cv_func__modff_use=no
26052 fi
26053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26054 ac_ext=c
26055 ac_cpp='$CPP $CPPFLAGS'
26056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26059
26060
26061 fi
26062
26063 fi
26064 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26065 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26066
26067 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26068
26069 for ac_func in _modff
26070 do
26071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26072 echo "$as_me:$LINENO: checking for $ac_func" >&5
26073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26074 if eval "test \"\${$as_ac_var+set}\" = set"; then
26075 echo $ECHO_N "(cached) $ECHO_C" >&6
26076 else
26077 if test x$gcc_no_link = xyes; then
26078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26080 { (exit 1); exit 1; }; }
26081 fi
26082 cat >conftest.$ac_ext <<_ACEOF
26083 /* confdefs.h. */
26084 _ACEOF
26085 cat confdefs.h >>conftest.$ac_ext
26086 cat >>conftest.$ac_ext <<_ACEOF
26087 /* end confdefs.h. */
26088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26090 #define $ac_func innocuous_$ac_func
26091
26092 /* System header to define __stub macros and hopefully few prototypes,
26093 which can conflict with char $ac_func (); below.
26094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26095 <limits.h> exists even on freestanding compilers. */
26096
26097 #ifdef __STDC__
26098 # include <limits.h>
26099 #else
26100 # include <assert.h>
26101 #endif
26102
26103 #undef $ac_func
26104
26105 /* Override any gcc2 internal prototype to avoid an error. */
26106 #ifdef __cplusplus
26107 extern "C"
26108 {
26109 #endif
26110 /* We use char because int might match the return type of a gcc2
26111 builtin and then its argument prototype would still apply. */
26112 char $ac_func ();
26113 /* The GNU C library defines this for functions which it implements
26114 to always fail with ENOSYS. Some functions are actually named
26115 something starting with __ and the normal name is an alias. */
26116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26117 choke me
26118 #else
26119 char (*f) () = $ac_func;
26120 #endif
26121 #ifdef __cplusplus
26122 }
26123 #endif
26124
26125 int
26126 main ()
26127 {
26128 return f != $ac_func;
26129 ;
26130 return 0;
26131 }
26132 _ACEOF
26133 rm -f conftest.$ac_objext conftest$ac_exeext
26134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26135 (eval $ac_link) 2>conftest.er1
26136 ac_status=$?
26137 grep -v '^ *+' conftest.er1 >conftest.err
26138 rm -f conftest.er1
26139 cat conftest.err >&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); } &&
26142 { ac_try='test -z "$ac_c_werror_flag"
26143 || test ! -s conftest.err'
26144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26145 (eval $ac_try) 2>&5
26146 ac_status=$?
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); }; } &&
26149 { ac_try='test -s conftest$ac_exeext'
26150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26151 (eval $ac_try) 2>&5
26152 ac_status=$?
26153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26154 (exit $ac_status); }; }; then
26155 eval "$as_ac_var=yes"
26156 else
26157 echo "$as_me: failed program was:" >&5
26158 sed 's/^/| /' conftest.$ac_ext >&5
26159
26160 eval "$as_ac_var=no"
26161 fi
26162 rm -f conftest.err conftest.$ac_objext \
26163 conftest$ac_exeext conftest.$ac_ext
26164 fi
26165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26167 if test `eval echo '${'$as_ac_var'}'` = yes; then
26168 cat >>confdefs.h <<_ACEOF
26169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26170 _ACEOF
26171
26172 fi
26173 done
26174
26175 fi
26176 fi
26177
26178
26179
26180
26181
26182
26183 echo "$as_me:$LINENO: checking for modf declaration" >&5
26184 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
26185 if test x${glibcxx_cv_func_modf_use+set} != xset; then
26186 if test "${glibcxx_cv_func_modf_use+set}" = set; then
26187 echo $ECHO_N "(cached) $ECHO_C" >&6
26188 else
26189
26190
26191
26192 ac_ext=cc
26193 ac_cpp='$CXXCPP $CPPFLAGS'
26194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26197
26198 cat >conftest.$ac_ext <<_ACEOF
26199 /* confdefs.h. */
26200 _ACEOF
26201 cat confdefs.h >>conftest.$ac_ext
26202 cat >>conftest.$ac_ext <<_ACEOF
26203 /* end confdefs.h. */
26204 #include <math.h>
26205 int
26206 main ()
26207 {
26208 modf(0, 0);
26209 ;
26210 return 0;
26211 }
26212 _ACEOF
26213 rm -f conftest.$ac_objext
26214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26215 (eval $ac_compile) 2>conftest.er1
26216 ac_status=$?
26217 grep -v '^ *+' conftest.er1 >conftest.err
26218 rm -f conftest.er1
26219 cat conftest.err >&5
26220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26221 (exit $ac_status); } &&
26222 { ac_try='test -z "$ac_cxx_werror_flag"
26223 || test ! -s conftest.err'
26224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26225 (eval $ac_try) 2>&5
26226 ac_status=$?
26227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228 (exit $ac_status); }; } &&
26229 { ac_try='test -s conftest.$ac_objext'
26230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26231 (eval $ac_try) 2>&5
26232 ac_status=$?
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); }; }; then
26235 glibcxx_cv_func_modf_use=yes
26236 else
26237 echo "$as_me: failed program was:" >&5
26238 sed 's/^/| /' conftest.$ac_ext >&5
26239
26240 glibcxx_cv_func_modf_use=no
26241 fi
26242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26243 ac_ext=c
26244 ac_cpp='$CPP $CPPFLAGS'
26245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26248
26249
26250 fi
26251
26252 fi
26253 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
26254 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
26255
26256 if test x$glibcxx_cv_func_modf_use = x"yes"; then
26257
26258 for ac_func in modf
26259 do
26260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26261 echo "$as_me:$LINENO: checking for $ac_func" >&5
26262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26263 if eval "test \"\${$as_ac_var+set}\" = set"; then
26264 echo $ECHO_N "(cached) $ECHO_C" >&6
26265 else
26266 if test x$gcc_no_link = xyes; then
26267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26269 { (exit 1); exit 1; }; }
26270 fi
26271 cat >conftest.$ac_ext <<_ACEOF
26272 /* confdefs.h. */
26273 _ACEOF
26274 cat confdefs.h >>conftest.$ac_ext
26275 cat >>conftest.$ac_ext <<_ACEOF
26276 /* end confdefs.h. */
26277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26279 #define $ac_func innocuous_$ac_func
26280
26281 /* System header to define __stub macros and hopefully few prototypes,
26282 which can conflict with char $ac_func (); below.
26283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26284 <limits.h> exists even on freestanding compilers. */
26285
26286 #ifdef __STDC__
26287 # include <limits.h>
26288 #else
26289 # include <assert.h>
26290 #endif
26291
26292 #undef $ac_func
26293
26294 /* Override any gcc2 internal prototype to avoid an error. */
26295 #ifdef __cplusplus
26296 extern "C"
26297 {
26298 #endif
26299 /* We use char because int might match the return type of a gcc2
26300 builtin and then its argument prototype would still apply. */
26301 char $ac_func ();
26302 /* The GNU C library defines this for functions which it implements
26303 to always fail with ENOSYS. Some functions are actually named
26304 something starting with __ and the normal name is an alias. */
26305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26306 choke me
26307 #else
26308 char (*f) () = $ac_func;
26309 #endif
26310 #ifdef __cplusplus
26311 }
26312 #endif
26313
26314 int
26315 main ()
26316 {
26317 return f != $ac_func;
26318 ;
26319 return 0;
26320 }
26321 _ACEOF
26322 rm -f conftest.$ac_objext conftest$ac_exeext
26323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26324 (eval $ac_link) 2>conftest.er1
26325 ac_status=$?
26326 grep -v '^ *+' conftest.er1 >conftest.err
26327 rm -f conftest.er1
26328 cat conftest.err >&5
26329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26330 (exit $ac_status); } &&
26331 { ac_try='test -z "$ac_c_werror_flag"
26332 || test ! -s conftest.err'
26333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26334 (eval $ac_try) 2>&5
26335 ac_status=$?
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); }; } &&
26338 { ac_try='test -s conftest$ac_exeext'
26339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26340 (eval $ac_try) 2>&5
26341 ac_status=$?
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); }; }; then
26344 eval "$as_ac_var=yes"
26345 else
26346 echo "$as_me: failed program was:" >&5
26347 sed 's/^/| /' conftest.$ac_ext >&5
26348
26349 eval "$as_ac_var=no"
26350 fi
26351 rm -f conftest.err conftest.$ac_objext \
26352 conftest$ac_exeext conftest.$ac_ext
26353 fi
26354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26356 if test `eval echo '${'$as_ac_var'}'` = yes; then
26357 cat >>confdefs.h <<_ACEOF
26358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26359 _ACEOF
26360
26361 fi
26362 done
26363
26364 else
26365
26366 echo "$as_me:$LINENO: checking for _modf declaration" >&5
26367 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
26368 if test x${glibcxx_cv_func__modf_use+set} != xset; then
26369 if test "${glibcxx_cv_func__modf_use+set}" = set; then
26370 echo $ECHO_N "(cached) $ECHO_C" >&6
26371 else
26372
26373
26374
26375 ac_ext=cc
26376 ac_cpp='$CXXCPP $CPPFLAGS'
26377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26380
26381 cat >conftest.$ac_ext <<_ACEOF
26382 /* confdefs.h. */
26383 _ACEOF
26384 cat confdefs.h >>conftest.$ac_ext
26385 cat >>conftest.$ac_ext <<_ACEOF
26386 /* end confdefs.h. */
26387 #include <math.h>
26388 int
26389 main ()
26390 {
26391 _modf(0, 0);
26392 ;
26393 return 0;
26394 }
26395 _ACEOF
26396 rm -f conftest.$ac_objext
26397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26398 (eval $ac_compile) 2>conftest.er1
26399 ac_status=$?
26400 grep -v '^ *+' conftest.er1 >conftest.err
26401 rm -f conftest.er1
26402 cat conftest.err >&5
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); } &&
26405 { ac_try='test -z "$ac_cxx_werror_flag"
26406 || test ! -s conftest.err'
26407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26408 (eval $ac_try) 2>&5
26409 ac_status=$?
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); }; } &&
26412 { ac_try='test -s conftest.$ac_objext'
26413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26414 (eval $ac_try) 2>&5
26415 ac_status=$?
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); }; }; then
26418 glibcxx_cv_func__modf_use=yes
26419 else
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.$ac_ext >&5
26422
26423 glibcxx_cv_func__modf_use=no
26424 fi
26425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26426 ac_ext=c
26427 ac_cpp='$CPP $CPPFLAGS'
26428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26431
26432
26433 fi
26434
26435 fi
26436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
26437 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
26438
26439 if test x$glibcxx_cv_func__modf_use = x"yes"; then
26440
26441 for ac_func in _modf
26442 do
26443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26444 echo "$as_me:$LINENO: checking for $ac_func" >&5
26445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26446 if eval "test \"\${$as_ac_var+set}\" = set"; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 else
26449 if test x$gcc_no_link = xyes; then
26450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26452 { (exit 1); exit 1; }; }
26453 fi
26454 cat >conftest.$ac_ext <<_ACEOF
26455 /* confdefs.h. */
26456 _ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26462 #define $ac_func innocuous_$ac_func
26463
26464 /* System header to define __stub macros and hopefully few prototypes,
26465 which can conflict with char $ac_func (); below.
26466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26467 <limits.h> exists even on freestanding compilers. */
26468
26469 #ifdef __STDC__
26470 # include <limits.h>
26471 #else
26472 # include <assert.h>
26473 #endif
26474
26475 #undef $ac_func
26476
26477 /* Override any gcc2 internal prototype to avoid an error. */
26478 #ifdef __cplusplus
26479 extern "C"
26480 {
26481 #endif
26482 /* We use char because int might match the return type of a gcc2
26483 builtin and then its argument prototype would still apply. */
26484 char $ac_func ();
26485 /* The GNU C library defines this for functions which it implements
26486 to always fail with ENOSYS. Some functions are actually named
26487 something starting with __ and the normal name is an alias. */
26488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26489 choke me
26490 #else
26491 char (*f) () = $ac_func;
26492 #endif
26493 #ifdef __cplusplus
26494 }
26495 #endif
26496
26497 int
26498 main ()
26499 {
26500 return f != $ac_func;
26501 ;
26502 return 0;
26503 }
26504 _ACEOF
26505 rm -f conftest.$ac_objext conftest$ac_exeext
26506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26507 (eval $ac_link) 2>conftest.er1
26508 ac_status=$?
26509 grep -v '^ *+' conftest.er1 >conftest.err
26510 rm -f conftest.er1
26511 cat conftest.err >&5
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); } &&
26514 { ac_try='test -z "$ac_c_werror_flag"
26515 || test ! -s conftest.err'
26516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26517 (eval $ac_try) 2>&5
26518 ac_status=$?
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); }; } &&
26521 { ac_try='test -s conftest$ac_exeext'
26522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26523 (eval $ac_try) 2>&5
26524 ac_status=$?
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); }; }; then
26527 eval "$as_ac_var=yes"
26528 else
26529 echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.$ac_ext >&5
26531
26532 eval "$as_ac_var=no"
26533 fi
26534 rm -f conftest.err conftest.$ac_objext \
26535 conftest$ac_exeext conftest.$ac_ext
26536 fi
26537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26539 if test `eval echo '${'$as_ac_var'}'` = yes; then
26540 cat >>confdefs.h <<_ACEOF
26541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26542 _ACEOF
26543
26544 fi
26545 done
26546
26547 fi
26548 fi
26549
26550
26551
26552
26553
26554
26555 echo "$as_me:$LINENO: checking for powf declaration" >&5
26556 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
26557 if test x${glibcxx_cv_func_powf_use+set} != xset; then
26558 if test "${glibcxx_cv_func_powf_use+set}" = set; then
26559 echo $ECHO_N "(cached) $ECHO_C" >&6
26560 else
26561
26562
26563
26564 ac_ext=cc
26565 ac_cpp='$CXXCPP $CPPFLAGS'
26566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26569
26570 cat >conftest.$ac_ext <<_ACEOF
26571 /* confdefs.h. */
26572 _ACEOF
26573 cat confdefs.h >>conftest.$ac_ext
26574 cat >>conftest.$ac_ext <<_ACEOF
26575 /* end confdefs.h. */
26576 #include <math.h>
26577 int
26578 main ()
26579 {
26580 powf(0, 0);
26581 ;
26582 return 0;
26583 }
26584 _ACEOF
26585 rm -f conftest.$ac_objext
26586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26587 (eval $ac_compile) 2>conftest.er1
26588 ac_status=$?
26589 grep -v '^ *+' conftest.er1 >conftest.err
26590 rm -f conftest.er1
26591 cat conftest.err >&5
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); } &&
26594 { ac_try='test -z "$ac_cxx_werror_flag"
26595 || test ! -s conftest.err'
26596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26597 (eval $ac_try) 2>&5
26598 ac_status=$?
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); }; } &&
26601 { ac_try='test -s conftest.$ac_objext'
26602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26603 (eval $ac_try) 2>&5
26604 ac_status=$?
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); }; }; then
26607 glibcxx_cv_func_powf_use=yes
26608 else
26609 echo "$as_me: failed program was:" >&5
26610 sed 's/^/| /' conftest.$ac_ext >&5
26611
26612 glibcxx_cv_func_powf_use=no
26613 fi
26614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26615 ac_ext=c
26616 ac_cpp='$CPP $CPPFLAGS'
26617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26620
26621
26622 fi
26623
26624 fi
26625 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
26626 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
26627
26628 if test x$glibcxx_cv_func_powf_use = x"yes"; then
26629
26630 for ac_func in powf
26631 do
26632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26633 echo "$as_me:$LINENO: checking for $ac_func" >&5
26634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26635 if eval "test \"\${$as_ac_var+set}\" = set"; then
26636 echo $ECHO_N "(cached) $ECHO_C" >&6
26637 else
26638 if test x$gcc_no_link = xyes; then
26639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26641 { (exit 1); exit 1; }; }
26642 fi
26643 cat >conftest.$ac_ext <<_ACEOF
26644 /* confdefs.h. */
26645 _ACEOF
26646 cat confdefs.h >>conftest.$ac_ext
26647 cat >>conftest.$ac_ext <<_ACEOF
26648 /* end confdefs.h. */
26649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26651 #define $ac_func innocuous_$ac_func
26652
26653 /* System header to define __stub macros and hopefully few prototypes,
26654 which can conflict with char $ac_func (); below.
26655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26656 <limits.h> exists even on freestanding compilers. */
26657
26658 #ifdef __STDC__
26659 # include <limits.h>
26660 #else
26661 # include <assert.h>
26662 #endif
26663
26664 #undef $ac_func
26665
26666 /* Override any gcc2 internal prototype to avoid an error. */
26667 #ifdef __cplusplus
26668 extern "C"
26669 {
26670 #endif
26671 /* We use char because int might match the return type of a gcc2
26672 builtin and then its argument prototype would still apply. */
26673 char $ac_func ();
26674 /* The GNU C library defines this for functions which it implements
26675 to always fail with ENOSYS. Some functions are actually named
26676 something starting with __ and the normal name is an alias. */
26677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26678 choke me
26679 #else
26680 char (*f) () = $ac_func;
26681 #endif
26682 #ifdef __cplusplus
26683 }
26684 #endif
26685
26686 int
26687 main ()
26688 {
26689 return f != $ac_func;
26690 ;
26691 return 0;
26692 }
26693 _ACEOF
26694 rm -f conftest.$ac_objext conftest$ac_exeext
26695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26696 (eval $ac_link) 2>conftest.er1
26697 ac_status=$?
26698 grep -v '^ *+' conftest.er1 >conftest.err
26699 rm -f conftest.er1
26700 cat conftest.err >&5
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); } &&
26703 { ac_try='test -z "$ac_c_werror_flag"
26704 || test ! -s conftest.err'
26705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26706 (eval $ac_try) 2>&5
26707 ac_status=$?
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); }; } &&
26710 { ac_try='test -s conftest$ac_exeext'
26711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26712 (eval $ac_try) 2>&5
26713 ac_status=$?
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); }; }; then
26716 eval "$as_ac_var=yes"
26717 else
26718 echo "$as_me: failed program was:" >&5
26719 sed 's/^/| /' conftest.$ac_ext >&5
26720
26721 eval "$as_ac_var=no"
26722 fi
26723 rm -f conftest.err conftest.$ac_objext \
26724 conftest$ac_exeext conftest.$ac_ext
26725 fi
26726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26728 if test `eval echo '${'$as_ac_var'}'` = yes; then
26729 cat >>confdefs.h <<_ACEOF
26730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26731 _ACEOF
26732
26733 fi
26734 done
26735
26736 else
26737
26738 echo "$as_me:$LINENO: checking for _powf declaration" >&5
26739 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
26740 if test x${glibcxx_cv_func__powf_use+set} != xset; then
26741 if test "${glibcxx_cv_func__powf_use+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 else
26744
26745
26746
26747 ac_ext=cc
26748 ac_cpp='$CXXCPP $CPPFLAGS'
26749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26752
26753 cat >conftest.$ac_ext <<_ACEOF
26754 /* confdefs.h. */
26755 _ACEOF
26756 cat confdefs.h >>conftest.$ac_ext
26757 cat >>conftest.$ac_ext <<_ACEOF
26758 /* end confdefs.h. */
26759 #include <math.h>
26760 int
26761 main ()
26762 {
26763 _powf(0, 0);
26764 ;
26765 return 0;
26766 }
26767 _ACEOF
26768 rm -f conftest.$ac_objext
26769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26770 (eval $ac_compile) 2>conftest.er1
26771 ac_status=$?
26772 grep -v '^ *+' conftest.er1 >conftest.err
26773 rm -f conftest.er1
26774 cat conftest.err >&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); } &&
26777 { ac_try='test -z "$ac_cxx_werror_flag"
26778 || test ! -s conftest.err'
26779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26780 (eval $ac_try) 2>&5
26781 ac_status=$?
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); }; } &&
26784 { ac_try='test -s conftest.$ac_objext'
26785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26786 (eval $ac_try) 2>&5
26787 ac_status=$?
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); }; }; then
26790 glibcxx_cv_func__powf_use=yes
26791 else
26792 echo "$as_me: failed program was:" >&5
26793 sed 's/^/| /' conftest.$ac_ext >&5
26794
26795 glibcxx_cv_func__powf_use=no
26796 fi
26797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26798 ac_ext=c
26799 ac_cpp='$CPP $CPPFLAGS'
26800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26803
26804
26805 fi
26806
26807 fi
26808 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
26809 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
26810
26811 if test x$glibcxx_cv_func__powf_use = x"yes"; then
26812
26813 for ac_func in _powf
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 fi
26920 fi
26921
26922
26923
26924
26925
26926
26927 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
26928 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
26929 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
26930 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
26931 echo $ECHO_N "(cached) $ECHO_C" >&6
26932 else
26933
26934
26935
26936 ac_ext=cc
26937 ac_cpp='$CXXCPP $CPPFLAGS'
26938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26941
26942 cat >conftest.$ac_ext <<_ACEOF
26943 /* confdefs.h. */
26944 _ACEOF
26945 cat confdefs.h >>conftest.$ac_ext
26946 cat >>conftest.$ac_ext <<_ACEOF
26947 /* end confdefs.h. */
26948 #include <math.h>
26949 #ifdef HAVE_IEEEFP_H
26950 #include <ieeefp.h>
26951 #endif
26952
26953 int
26954 main ()
26955 {
26956 sqrtf(0);
26957 ;
26958 return 0;
26959 }
26960 _ACEOF
26961 rm -f conftest.$ac_objext
26962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26963 (eval $ac_compile) 2>conftest.er1
26964 ac_status=$?
26965 grep -v '^ *+' conftest.er1 >conftest.err
26966 rm -f conftest.er1
26967 cat conftest.err >&5
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); } &&
26970 { ac_try='test -z "$ac_cxx_werror_flag"
26971 || test ! -s conftest.err'
26972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26973 (eval $ac_try) 2>&5
26974 ac_status=$?
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); }; } &&
26977 { ac_try='test -s conftest.$ac_objext'
26978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26979 (eval $ac_try) 2>&5
26980 ac_status=$?
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); }; }; then
26983 glibcxx_cv_func_sqrtf_use=yes
26984 else
26985 echo "$as_me: failed program was:" >&5
26986 sed 's/^/| /' conftest.$ac_ext >&5
26987
26988 glibcxx_cv_func_sqrtf_use=no
26989 fi
26990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26991 ac_ext=c
26992 ac_cpp='$CPP $CPPFLAGS'
26993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26996
26997
26998 fi
26999
27000 fi
27001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27002 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27003
27004 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27005
27006 for ac_func in sqrtf
27007 do
27008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27009 echo "$as_me:$LINENO: checking for $ac_func" >&5
27010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27011 if eval "test \"\${$as_ac_var+set}\" = set"; then
27012 echo $ECHO_N "(cached) $ECHO_C" >&6
27013 else
27014 if test x$gcc_no_link = xyes; then
27015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27017 { (exit 1); exit 1; }; }
27018 fi
27019 cat >conftest.$ac_ext <<_ACEOF
27020 /* confdefs.h. */
27021 _ACEOF
27022 cat confdefs.h >>conftest.$ac_ext
27023 cat >>conftest.$ac_ext <<_ACEOF
27024 /* end confdefs.h. */
27025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27027 #define $ac_func innocuous_$ac_func
27028
27029 /* System header to define __stub macros and hopefully few prototypes,
27030 which can conflict with char $ac_func (); below.
27031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27032 <limits.h> exists even on freestanding compilers. */
27033
27034 #ifdef __STDC__
27035 # include <limits.h>
27036 #else
27037 # include <assert.h>
27038 #endif
27039
27040 #undef $ac_func
27041
27042 /* Override any gcc2 internal prototype to avoid an error. */
27043 #ifdef __cplusplus
27044 extern "C"
27045 {
27046 #endif
27047 /* We use char because int might match the return type of a gcc2
27048 builtin and then its argument prototype would still apply. */
27049 char $ac_func ();
27050 /* The GNU C library defines this for functions which it implements
27051 to always fail with ENOSYS. Some functions are actually named
27052 something starting with __ and the normal name is an alias. */
27053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27054 choke me
27055 #else
27056 char (*f) () = $ac_func;
27057 #endif
27058 #ifdef __cplusplus
27059 }
27060 #endif
27061
27062 int
27063 main ()
27064 {
27065 return f != $ac_func;
27066 ;
27067 return 0;
27068 }
27069 _ACEOF
27070 rm -f conftest.$ac_objext conftest$ac_exeext
27071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27072 (eval $ac_link) 2>conftest.er1
27073 ac_status=$?
27074 grep -v '^ *+' conftest.er1 >conftest.err
27075 rm -f conftest.er1
27076 cat conftest.err >&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); } &&
27079 { ac_try='test -z "$ac_c_werror_flag"
27080 || test ! -s conftest.err'
27081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27082 (eval $ac_try) 2>&5
27083 ac_status=$?
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); }; } &&
27086 { ac_try='test -s conftest$ac_exeext'
27087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27088 (eval $ac_try) 2>&5
27089 ac_status=$?
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); }; }; then
27092 eval "$as_ac_var=yes"
27093 else
27094 echo "$as_me: failed program was:" >&5
27095 sed 's/^/| /' conftest.$ac_ext >&5
27096
27097 eval "$as_ac_var=no"
27098 fi
27099 rm -f conftest.err conftest.$ac_objext \
27100 conftest$ac_exeext conftest.$ac_ext
27101 fi
27102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27104 if test `eval echo '${'$as_ac_var'}'` = yes; then
27105 cat >>confdefs.h <<_ACEOF
27106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27107 _ACEOF
27108
27109 fi
27110 done
27111
27112 else
27113
27114 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
27115 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
27116 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
27117 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
27118 echo $ECHO_N "(cached) $ECHO_C" >&6
27119 else
27120
27121
27122
27123 ac_ext=cc
27124 ac_cpp='$CXXCPP $CPPFLAGS'
27125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27128
27129 cat >conftest.$ac_ext <<_ACEOF
27130 /* confdefs.h. */
27131 _ACEOF
27132 cat confdefs.h >>conftest.$ac_ext
27133 cat >>conftest.$ac_ext <<_ACEOF
27134 /* end confdefs.h. */
27135 #include <math.h>
27136 #ifdef HAVE_IEEEFP_H
27137 #include <ieeefp.h>
27138 #endif
27139
27140 int
27141 main ()
27142 {
27143 _sqrtf(0);
27144 ;
27145 return 0;
27146 }
27147 _ACEOF
27148 rm -f conftest.$ac_objext
27149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27150 (eval $ac_compile) 2>conftest.er1
27151 ac_status=$?
27152 grep -v '^ *+' conftest.er1 >conftest.err
27153 rm -f conftest.er1
27154 cat conftest.err >&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); } &&
27157 { ac_try='test -z "$ac_cxx_werror_flag"
27158 || test ! -s conftest.err'
27159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27160 (eval $ac_try) 2>&5
27161 ac_status=$?
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); }; } &&
27164 { ac_try='test -s conftest.$ac_objext'
27165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27166 (eval $ac_try) 2>&5
27167 ac_status=$?
27168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27169 (exit $ac_status); }; }; then
27170 glibcxx_cv_func__sqrtf_use=yes
27171 else
27172 echo "$as_me: failed program was:" >&5
27173 sed 's/^/| /' conftest.$ac_ext >&5
27174
27175 glibcxx_cv_func__sqrtf_use=no
27176 fi
27177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27178 ac_ext=c
27179 ac_cpp='$CPP $CPPFLAGS'
27180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27183
27184
27185 fi
27186
27187 fi
27188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
27189 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
27190
27191 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
27192
27193 for ac_func in _sqrtf
27194 do
27195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27196 echo "$as_me:$LINENO: checking for $ac_func" >&5
27197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27198 if eval "test \"\${$as_ac_var+set}\" = set"; then
27199 echo $ECHO_N "(cached) $ECHO_C" >&6
27200 else
27201 if test x$gcc_no_link = xyes; then
27202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27204 { (exit 1); exit 1; }; }
27205 fi
27206 cat >conftest.$ac_ext <<_ACEOF
27207 /* confdefs.h. */
27208 _ACEOF
27209 cat confdefs.h >>conftest.$ac_ext
27210 cat >>conftest.$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27214 #define $ac_func innocuous_$ac_func
27215
27216 /* System header to define __stub macros and hopefully few prototypes,
27217 which can conflict with char $ac_func (); below.
27218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27219 <limits.h> exists even on freestanding compilers. */
27220
27221 #ifdef __STDC__
27222 # include <limits.h>
27223 #else
27224 # include <assert.h>
27225 #endif
27226
27227 #undef $ac_func
27228
27229 /* Override any gcc2 internal prototype to avoid an error. */
27230 #ifdef __cplusplus
27231 extern "C"
27232 {
27233 #endif
27234 /* We use char because int might match the return type of a gcc2
27235 builtin and then its argument prototype would still apply. */
27236 char $ac_func ();
27237 /* The GNU C library defines this for functions which it implements
27238 to always fail with ENOSYS. Some functions are actually named
27239 something starting with __ and the normal name is an alias. */
27240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27241 choke me
27242 #else
27243 char (*f) () = $ac_func;
27244 #endif
27245 #ifdef __cplusplus
27246 }
27247 #endif
27248
27249 int
27250 main ()
27251 {
27252 return f != $ac_func;
27253 ;
27254 return 0;
27255 }
27256 _ACEOF
27257 rm -f conftest.$ac_objext conftest$ac_exeext
27258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27259 (eval $ac_link) 2>conftest.er1
27260 ac_status=$?
27261 grep -v '^ *+' conftest.er1 >conftest.err
27262 rm -f conftest.er1
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } &&
27266 { ac_try='test -z "$ac_c_werror_flag"
27267 || test ! -s conftest.err'
27268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27269 (eval $ac_try) 2>&5
27270 ac_status=$?
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); }; } &&
27273 { ac_try='test -s conftest$ac_exeext'
27274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27275 (eval $ac_try) 2>&5
27276 ac_status=$?
27277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278 (exit $ac_status); }; }; then
27279 eval "$as_ac_var=yes"
27280 else
27281 echo "$as_me: failed program was:" >&5
27282 sed 's/^/| /' conftest.$ac_ext >&5
27283
27284 eval "$as_ac_var=no"
27285 fi
27286 rm -f conftest.err conftest.$ac_objext \
27287 conftest$ac_exeext conftest.$ac_ext
27288 fi
27289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27291 if test `eval echo '${'$as_ac_var'}'` = yes; then
27292 cat >>confdefs.h <<_ACEOF
27293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27294 _ACEOF
27295
27296 fi
27297 done
27298
27299 fi
27300 fi
27301
27302
27303
27304
27305
27306
27307 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
27308 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
27309 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
27310 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
27311 echo $ECHO_N "(cached) $ECHO_C" >&6
27312 else
27313
27314
27315
27316 ac_ext=cc
27317 ac_cpp='$CXXCPP $CPPFLAGS'
27318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27321
27322 cat >conftest.$ac_ext <<_ACEOF
27323 /* confdefs.h. */
27324 _ACEOF
27325 cat confdefs.h >>conftest.$ac_ext
27326 cat >>conftest.$ac_ext <<_ACEOF
27327 /* end confdefs.h. */
27328 #include <math.h>
27329 int
27330 main ()
27331 {
27332 sincosf(0, 0, 0);
27333 ;
27334 return 0;
27335 }
27336 _ACEOF
27337 rm -f conftest.$ac_objext
27338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27339 (eval $ac_compile) 2>conftest.er1
27340 ac_status=$?
27341 grep -v '^ *+' conftest.er1 >conftest.err
27342 rm -f conftest.er1
27343 cat conftest.err >&5
27344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345 (exit $ac_status); } &&
27346 { ac_try='test -z "$ac_cxx_werror_flag"
27347 || test ! -s conftest.err'
27348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27349 (eval $ac_try) 2>&5
27350 ac_status=$?
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); }; } &&
27353 { ac_try='test -s conftest.$ac_objext'
27354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27355 (eval $ac_try) 2>&5
27356 ac_status=$?
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); }; }; then
27359 glibcxx_cv_func_sincosf_use=yes
27360 else
27361 echo "$as_me: failed program was:" >&5
27362 sed 's/^/| /' conftest.$ac_ext >&5
27363
27364 glibcxx_cv_func_sincosf_use=no
27365 fi
27366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27367 ac_ext=c
27368 ac_cpp='$CPP $CPPFLAGS'
27369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27372
27373
27374 fi
27375
27376 fi
27377 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
27378 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
27379
27380 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
27381
27382 for ac_func in sincosf
27383 do
27384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27385 echo "$as_me:$LINENO: checking for $ac_func" >&5
27386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27387 if eval "test \"\${$as_ac_var+set}\" = set"; then
27388 echo $ECHO_N "(cached) $ECHO_C" >&6
27389 else
27390 if test x$gcc_no_link = xyes; then
27391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27393 { (exit 1); exit 1; }; }
27394 fi
27395 cat >conftest.$ac_ext <<_ACEOF
27396 /* confdefs.h. */
27397 _ACEOF
27398 cat confdefs.h >>conftest.$ac_ext
27399 cat >>conftest.$ac_ext <<_ACEOF
27400 /* end confdefs.h. */
27401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27403 #define $ac_func innocuous_$ac_func
27404
27405 /* System header to define __stub macros and hopefully few prototypes,
27406 which can conflict with char $ac_func (); below.
27407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27408 <limits.h> exists even on freestanding compilers. */
27409
27410 #ifdef __STDC__
27411 # include <limits.h>
27412 #else
27413 # include <assert.h>
27414 #endif
27415
27416 #undef $ac_func
27417
27418 /* Override any gcc2 internal prototype to avoid an error. */
27419 #ifdef __cplusplus
27420 extern "C"
27421 {
27422 #endif
27423 /* We use char because int might match the return type of a gcc2
27424 builtin and then its argument prototype would still apply. */
27425 char $ac_func ();
27426 /* The GNU C library defines this for functions which it implements
27427 to always fail with ENOSYS. Some functions are actually named
27428 something starting with __ and the normal name is an alias. */
27429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27430 choke me
27431 #else
27432 char (*f) () = $ac_func;
27433 #endif
27434 #ifdef __cplusplus
27435 }
27436 #endif
27437
27438 int
27439 main ()
27440 {
27441 return f != $ac_func;
27442 ;
27443 return 0;
27444 }
27445 _ACEOF
27446 rm -f conftest.$ac_objext conftest$ac_exeext
27447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27448 (eval $ac_link) 2>conftest.er1
27449 ac_status=$?
27450 grep -v '^ *+' conftest.er1 >conftest.err
27451 rm -f conftest.er1
27452 cat conftest.err >&5
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); } &&
27455 { ac_try='test -z "$ac_c_werror_flag"
27456 || test ! -s conftest.err'
27457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27458 (eval $ac_try) 2>&5
27459 ac_status=$?
27460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27461 (exit $ac_status); }; } &&
27462 { ac_try='test -s conftest$ac_exeext'
27463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27464 (eval $ac_try) 2>&5
27465 ac_status=$?
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); }; }; then
27468 eval "$as_ac_var=yes"
27469 else
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.$ac_ext >&5
27472
27473 eval "$as_ac_var=no"
27474 fi
27475 rm -f conftest.err conftest.$ac_objext \
27476 conftest$ac_exeext conftest.$ac_ext
27477 fi
27478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27480 if test `eval echo '${'$as_ac_var'}'` = yes; then
27481 cat >>confdefs.h <<_ACEOF
27482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27483 _ACEOF
27484
27485 fi
27486 done
27487
27488 else
27489
27490 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
27491 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
27492 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
27493 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
27494 echo $ECHO_N "(cached) $ECHO_C" >&6
27495 else
27496
27497
27498
27499 ac_ext=cc
27500 ac_cpp='$CXXCPP $CPPFLAGS'
27501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27504
27505 cat >conftest.$ac_ext <<_ACEOF
27506 /* confdefs.h. */
27507 _ACEOF
27508 cat confdefs.h >>conftest.$ac_ext
27509 cat >>conftest.$ac_ext <<_ACEOF
27510 /* end confdefs.h. */
27511 #include <math.h>
27512 int
27513 main ()
27514 {
27515 _sincosf(0, 0, 0);
27516 ;
27517 return 0;
27518 }
27519 _ACEOF
27520 rm -f conftest.$ac_objext
27521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27522 (eval $ac_compile) 2>conftest.er1
27523 ac_status=$?
27524 grep -v '^ *+' conftest.er1 >conftest.err
27525 rm -f conftest.er1
27526 cat conftest.err >&5
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); } &&
27529 { ac_try='test -z "$ac_cxx_werror_flag"
27530 || test ! -s conftest.err'
27531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27532 (eval $ac_try) 2>&5
27533 ac_status=$?
27534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535 (exit $ac_status); }; } &&
27536 { ac_try='test -s conftest.$ac_objext'
27537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27538 (eval $ac_try) 2>&5
27539 ac_status=$?
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); }; }; then
27542 glibcxx_cv_func__sincosf_use=yes
27543 else
27544 echo "$as_me: failed program was:" >&5
27545 sed 's/^/| /' conftest.$ac_ext >&5
27546
27547 glibcxx_cv_func__sincosf_use=no
27548 fi
27549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27550 ac_ext=c
27551 ac_cpp='$CPP $CPPFLAGS'
27552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27555
27556
27557 fi
27558
27559 fi
27560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
27561 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
27562
27563 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
27564
27565 for ac_func in _sincosf
27566 do
27567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27568 echo "$as_me:$LINENO: checking for $ac_func" >&5
27569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27570 if eval "test \"\${$as_ac_var+set}\" = set"; then
27571 echo $ECHO_N "(cached) $ECHO_C" >&6
27572 else
27573 if test x$gcc_no_link = xyes; then
27574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27576 { (exit 1); exit 1; }; }
27577 fi
27578 cat >conftest.$ac_ext <<_ACEOF
27579 /* confdefs.h. */
27580 _ACEOF
27581 cat confdefs.h >>conftest.$ac_ext
27582 cat >>conftest.$ac_ext <<_ACEOF
27583 /* end confdefs.h. */
27584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27586 #define $ac_func innocuous_$ac_func
27587
27588 /* System header to define __stub macros and hopefully few prototypes,
27589 which can conflict with char $ac_func (); below.
27590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27591 <limits.h> exists even on freestanding compilers. */
27592
27593 #ifdef __STDC__
27594 # include <limits.h>
27595 #else
27596 # include <assert.h>
27597 #endif
27598
27599 #undef $ac_func
27600
27601 /* Override any gcc2 internal prototype to avoid an error. */
27602 #ifdef __cplusplus
27603 extern "C"
27604 {
27605 #endif
27606 /* We use char because int might match the return type of a gcc2
27607 builtin and then its argument prototype would still apply. */
27608 char $ac_func ();
27609 /* The GNU C library defines this for functions which it implements
27610 to always fail with ENOSYS. Some functions are actually named
27611 something starting with __ and the normal name is an alias. */
27612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27613 choke me
27614 #else
27615 char (*f) () = $ac_func;
27616 #endif
27617 #ifdef __cplusplus
27618 }
27619 #endif
27620
27621 int
27622 main ()
27623 {
27624 return f != $ac_func;
27625 ;
27626 return 0;
27627 }
27628 _ACEOF
27629 rm -f conftest.$ac_objext conftest$ac_exeext
27630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27631 (eval $ac_link) 2>conftest.er1
27632 ac_status=$?
27633 grep -v '^ *+' conftest.er1 >conftest.err
27634 rm -f conftest.er1
27635 cat conftest.err >&5
27636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27637 (exit $ac_status); } &&
27638 { ac_try='test -z "$ac_c_werror_flag"
27639 || test ! -s conftest.err'
27640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27641 (eval $ac_try) 2>&5
27642 ac_status=$?
27643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27644 (exit $ac_status); }; } &&
27645 { ac_try='test -s conftest$ac_exeext'
27646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27647 (eval $ac_try) 2>&5
27648 ac_status=$?
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); }; }; then
27651 eval "$as_ac_var=yes"
27652 else
27653 echo "$as_me: failed program was:" >&5
27654 sed 's/^/| /' conftest.$ac_ext >&5
27655
27656 eval "$as_ac_var=no"
27657 fi
27658 rm -f conftest.err conftest.$ac_objext \
27659 conftest$ac_exeext conftest.$ac_ext
27660 fi
27661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27663 if test `eval echo '${'$as_ac_var'}'` = yes; then
27664 cat >>confdefs.h <<_ACEOF
27665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27666 _ACEOF
27667
27668 fi
27669 done
27670
27671 fi
27672 fi
27673
27674
27675
27676
27677
27678
27679 echo "$as_me:$LINENO: checking for finitef declaration" >&5
27680 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
27681 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
27682 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
27683 echo $ECHO_N "(cached) $ECHO_C" >&6
27684 else
27685
27686
27687
27688 ac_ext=cc
27689 ac_cpp='$CXXCPP $CPPFLAGS'
27690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27693
27694 cat >conftest.$ac_ext <<_ACEOF
27695 /* confdefs.h. */
27696 _ACEOF
27697 cat confdefs.h >>conftest.$ac_ext
27698 cat >>conftest.$ac_ext <<_ACEOF
27699 /* end confdefs.h. */
27700 #include <math.h>
27701 #ifdef HAVE_IEEEFP_H
27702 #include <ieeefp.h>
27703 #endif
27704
27705 int
27706 main ()
27707 {
27708 finitef(0);
27709 ;
27710 return 0;
27711 }
27712 _ACEOF
27713 rm -f conftest.$ac_objext
27714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27715 (eval $ac_compile) 2>conftest.er1
27716 ac_status=$?
27717 grep -v '^ *+' conftest.er1 >conftest.err
27718 rm -f conftest.er1
27719 cat conftest.err >&5
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); } &&
27722 { ac_try='test -z "$ac_cxx_werror_flag"
27723 || test ! -s conftest.err'
27724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27725 (eval $ac_try) 2>&5
27726 ac_status=$?
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); }; } &&
27729 { ac_try='test -s conftest.$ac_objext'
27730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731 (eval $ac_try) 2>&5
27732 ac_status=$?
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); }; }; then
27735 glibcxx_cv_func_finitef_use=yes
27736 else
27737 echo "$as_me: failed program was:" >&5
27738 sed 's/^/| /' conftest.$ac_ext >&5
27739
27740 glibcxx_cv_func_finitef_use=no
27741 fi
27742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27743 ac_ext=c
27744 ac_cpp='$CPP $CPPFLAGS'
27745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27748
27749
27750 fi
27751
27752 fi
27753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
27754 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
27755
27756 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
27757
27758 for ac_func in finitef
27759 do
27760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27761 echo "$as_me:$LINENO: checking for $ac_func" >&5
27762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27763 if eval "test \"\${$as_ac_var+set}\" = set"; then
27764 echo $ECHO_N "(cached) $ECHO_C" >&6
27765 else
27766 if test x$gcc_no_link = xyes; then
27767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27769 { (exit 1); exit 1; }; }
27770 fi
27771 cat >conftest.$ac_ext <<_ACEOF
27772 /* confdefs.h. */
27773 _ACEOF
27774 cat confdefs.h >>conftest.$ac_ext
27775 cat >>conftest.$ac_ext <<_ACEOF
27776 /* end confdefs.h. */
27777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27779 #define $ac_func innocuous_$ac_func
27780
27781 /* System header to define __stub macros and hopefully few prototypes,
27782 which can conflict with char $ac_func (); below.
27783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27784 <limits.h> exists even on freestanding compilers. */
27785
27786 #ifdef __STDC__
27787 # include <limits.h>
27788 #else
27789 # include <assert.h>
27790 #endif
27791
27792 #undef $ac_func
27793
27794 /* Override any gcc2 internal prototype to avoid an error. */
27795 #ifdef __cplusplus
27796 extern "C"
27797 {
27798 #endif
27799 /* We use char because int might match the return type of a gcc2
27800 builtin and then its argument prototype would still apply. */
27801 char $ac_func ();
27802 /* The GNU C library defines this for functions which it implements
27803 to always fail with ENOSYS. Some functions are actually named
27804 something starting with __ and the normal name is an alias. */
27805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27806 choke me
27807 #else
27808 char (*f) () = $ac_func;
27809 #endif
27810 #ifdef __cplusplus
27811 }
27812 #endif
27813
27814 int
27815 main ()
27816 {
27817 return f != $ac_func;
27818 ;
27819 return 0;
27820 }
27821 _ACEOF
27822 rm -f conftest.$ac_objext conftest$ac_exeext
27823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27824 (eval $ac_link) 2>conftest.er1
27825 ac_status=$?
27826 grep -v '^ *+' conftest.er1 >conftest.err
27827 rm -f conftest.er1
27828 cat conftest.err >&5
27829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27830 (exit $ac_status); } &&
27831 { ac_try='test -z "$ac_c_werror_flag"
27832 || test ! -s conftest.err'
27833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27834 (eval $ac_try) 2>&5
27835 ac_status=$?
27836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27837 (exit $ac_status); }; } &&
27838 { ac_try='test -s conftest$ac_exeext'
27839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27840 (eval $ac_try) 2>&5
27841 ac_status=$?
27842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27843 (exit $ac_status); }; }; then
27844 eval "$as_ac_var=yes"
27845 else
27846 echo "$as_me: failed program was:" >&5
27847 sed 's/^/| /' conftest.$ac_ext >&5
27848
27849 eval "$as_ac_var=no"
27850 fi
27851 rm -f conftest.err conftest.$ac_objext \
27852 conftest$ac_exeext conftest.$ac_ext
27853 fi
27854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27856 if test `eval echo '${'$as_ac_var'}'` = yes; then
27857 cat >>confdefs.h <<_ACEOF
27858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27859 _ACEOF
27860
27861 fi
27862 done
27863
27864 else
27865
27866 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
27867 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
27868 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
27869 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
27870 echo $ECHO_N "(cached) $ECHO_C" >&6
27871 else
27872
27873
27874
27875 ac_ext=cc
27876 ac_cpp='$CXXCPP $CPPFLAGS'
27877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27880
27881 cat >conftest.$ac_ext <<_ACEOF
27882 /* confdefs.h. */
27883 _ACEOF
27884 cat confdefs.h >>conftest.$ac_ext
27885 cat >>conftest.$ac_ext <<_ACEOF
27886 /* end confdefs.h. */
27887 #include <math.h>
27888 #ifdef HAVE_IEEEFP_H
27889 #include <ieeefp.h>
27890 #endif
27891
27892 int
27893 main ()
27894 {
27895 _finitef(0);
27896 ;
27897 return 0;
27898 }
27899 _ACEOF
27900 rm -f conftest.$ac_objext
27901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27902 (eval $ac_compile) 2>conftest.er1
27903 ac_status=$?
27904 grep -v '^ *+' conftest.er1 >conftest.err
27905 rm -f conftest.er1
27906 cat conftest.err >&5
27907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908 (exit $ac_status); } &&
27909 { ac_try='test -z "$ac_cxx_werror_flag"
27910 || test ! -s conftest.err'
27911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27912 (eval $ac_try) 2>&5
27913 ac_status=$?
27914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27915 (exit $ac_status); }; } &&
27916 { ac_try='test -s conftest.$ac_objext'
27917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27918 (eval $ac_try) 2>&5
27919 ac_status=$?
27920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27921 (exit $ac_status); }; }; then
27922 glibcxx_cv_func__finitef_use=yes
27923 else
27924 echo "$as_me: failed program was:" >&5
27925 sed 's/^/| /' conftest.$ac_ext >&5
27926
27927 glibcxx_cv_func__finitef_use=no
27928 fi
27929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27930 ac_ext=c
27931 ac_cpp='$CPP $CPPFLAGS'
27932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27935
27936
27937 fi
27938
27939 fi
27940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
27941 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
27942
27943 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
27944
27945 for ac_func in _finitef
27946 do
27947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27948 echo "$as_me:$LINENO: checking for $ac_func" >&5
27949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27950 if eval "test \"\${$as_ac_var+set}\" = set"; then
27951 echo $ECHO_N "(cached) $ECHO_C" >&6
27952 else
27953 if test x$gcc_no_link = xyes; then
27954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27956 { (exit 1); exit 1; }; }
27957 fi
27958 cat >conftest.$ac_ext <<_ACEOF
27959 /* confdefs.h. */
27960 _ACEOF
27961 cat confdefs.h >>conftest.$ac_ext
27962 cat >>conftest.$ac_ext <<_ACEOF
27963 /* end confdefs.h. */
27964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27966 #define $ac_func innocuous_$ac_func
27967
27968 /* System header to define __stub macros and hopefully few prototypes,
27969 which can conflict with char $ac_func (); below.
27970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27971 <limits.h> exists even on freestanding compilers. */
27972
27973 #ifdef __STDC__
27974 # include <limits.h>
27975 #else
27976 # include <assert.h>
27977 #endif
27978
27979 #undef $ac_func
27980
27981 /* Override any gcc2 internal prototype to avoid an error. */
27982 #ifdef __cplusplus
27983 extern "C"
27984 {
27985 #endif
27986 /* We use char because int might match the return type of a gcc2
27987 builtin and then its argument prototype would still apply. */
27988 char $ac_func ();
27989 /* The GNU C library defines this for functions which it implements
27990 to always fail with ENOSYS. Some functions are actually named
27991 something starting with __ and the normal name is an alias. */
27992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27993 choke me
27994 #else
27995 char (*f) () = $ac_func;
27996 #endif
27997 #ifdef __cplusplus
27998 }
27999 #endif
28000
28001 int
28002 main ()
28003 {
28004 return f != $ac_func;
28005 ;
28006 return 0;
28007 }
28008 _ACEOF
28009 rm -f conftest.$ac_objext conftest$ac_exeext
28010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28011 (eval $ac_link) 2>conftest.er1
28012 ac_status=$?
28013 grep -v '^ *+' conftest.er1 >conftest.err
28014 rm -f conftest.er1
28015 cat conftest.err >&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } &&
28018 { ac_try='test -z "$ac_c_werror_flag"
28019 || test ! -s conftest.err'
28020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28021 (eval $ac_try) 2>&5
28022 ac_status=$?
28023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024 (exit $ac_status); }; } &&
28025 { ac_try='test -s conftest$ac_exeext'
28026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28027 (eval $ac_try) 2>&5
28028 ac_status=$?
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); }; }; then
28031 eval "$as_ac_var=yes"
28032 else
28033 echo "$as_me: failed program was:" >&5
28034 sed 's/^/| /' conftest.$ac_ext >&5
28035
28036 eval "$as_ac_var=no"
28037 fi
28038 rm -f conftest.err conftest.$ac_objext \
28039 conftest$ac_exeext conftest.$ac_ext
28040 fi
28041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28043 if test `eval echo '${'$as_ac_var'}'` = yes; then
28044 cat >>confdefs.h <<_ACEOF
28045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28046 _ACEOF
28047
28048 fi
28049 done
28050
28051 fi
28052 fi
28053
28054
28055
28056
28057
28058
28059 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28060 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28061 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28062 echo $ECHO_N "(cached) $ECHO_C" >&6
28063 else
28064
28065
28066
28067 ac_ext=cc
28068 ac_cpp='$CXXCPP $CPPFLAGS'
28069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28072
28073 cat >conftest.$ac_ext <<_ACEOF
28074 /* confdefs.h. */
28075 _ACEOF
28076 cat confdefs.h >>conftest.$ac_ext
28077 cat >>conftest.$ac_ext <<_ACEOF
28078 /* end confdefs.h. */
28079 #include <math.h>
28080 int
28081 main ()
28082 {
28083 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28084 ;
28085 return 0;
28086 }
28087 _ACEOF
28088 rm -f conftest.$ac_objext
28089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28090 (eval $ac_compile) 2>conftest.er1
28091 ac_status=$?
28092 grep -v '^ *+' conftest.er1 >conftest.err
28093 rm -f conftest.er1
28094 cat conftest.err >&5
28095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28096 (exit $ac_status); } &&
28097 { ac_try='test -z "$ac_cxx_werror_flag"
28098 || test ! -s conftest.err'
28099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28100 (eval $ac_try) 2>&5
28101 ac_status=$?
28102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28103 (exit $ac_status); }; } &&
28104 { ac_try='test -s conftest.$ac_objext'
28105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28106 (eval $ac_try) 2>&5
28107 ac_status=$?
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); }; }; then
28110 glibcxx_cv_func_long_double_trig_use=yes
28111 else
28112 echo "$as_me: failed program was:" >&5
28113 sed 's/^/| /' conftest.$ac_ext >&5
28114
28115 glibcxx_cv_func_long_double_trig_use=no
28116 fi
28117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28118 ac_ext=c
28119 ac_cpp='$CPP $CPPFLAGS'
28120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28123
28124 fi
28125
28126 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
28127 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
28128 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
28129
28130
28131
28132
28133
28134
28135
28136
28137
28138 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
28139 do
28140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28141 echo "$as_me:$LINENO: checking for $ac_func" >&5
28142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28143 if eval "test \"\${$as_ac_var+set}\" = set"; then
28144 echo $ECHO_N "(cached) $ECHO_C" >&6
28145 else
28146 if test x$gcc_no_link = xyes; then
28147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28149 { (exit 1); exit 1; }; }
28150 fi
28151 cat >conftest.$ac_ext <<_ACEOF
28152 /* confdefs.h. */
28153 _ACEOF
28154 cat confdefs.h >>conftest.$ac_ext
28155 cat >>conftest.$ac_ext <<_ACEOF
28156 /* end confdefs.h. */
28157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28159 #define $ac_func innocuous_$ac_func
28160
28161 /* System header to define __stub macros and hopefully few prototypes,
28162 which can conflict with char $ac_func (); below.
28163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28164 <limits.h> exists even on freestanding compilers. */
28165
28166 #ifdef __STDC__
28167 # include <limits.h>
28168 #else
28169 # include <assert.h>
28170 #endif
28171
28172 #undef $ac_func
28173
28174 /* Override any gcc2 internal prototype to avoid an error. */
28175 #ifdef __cplusplus
28176 extern "C"
28177 {
28178 #endif
28179 /* We use char because int might match the return type of a gcc2
28180 builtin and then its argument prototype would still apply. */
28181 char $ac_func ();
28182 /* The GNU C library defines this for functions which it implements
28183 to always fail with ENOSYS. Some functions are actually named
28184 something starting with __ and the normal name is an alias. */
28185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28186 choke me
28187 #else
28188 char (*f) () = $ac_func;
28189 #endif
28190 #ifdef __cplusplus
28191 }
28192 #endif
28193
28194 int
28195 main ()
28196 {
28197 return f != $ac_func;
28198 ;
28199 return 0;
28200 }
28201 _ACEOF
28202 rm -f conftest.$ac_objext conftest$ac_exeext
28203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28204 (eval $ac_link) 2>conftest.er1
28205 ac_status=$?
28206 grep -v '^ *+' conftest.er1 >conftest.err
28207 rm -f conftest.er1
28208 cat conftest.err >&5
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); } &&
28211 { ac_try='test -z "$ac_c_werror_flag"
28212 || test ! -s conftest.err'
28213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28214 (eval $ac_try) 2>&5
28215 ac_status=$?
28216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28217 (exit $ac_status); }; } &&
28218 { ac_try='test -s conftest$ac_exeext'
28219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28220 (eval $ac_try) 2>&5
28221 ac_status=$?
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); }; }; then
28224 eval "$as_ac_var=yes"
28225 else
28226 echo "$as_me: failed program was:" >&5
28227 sed 's/^/| /' conftest.$ac_ext >&5
28228
28229 eval "$as_ac_var=no"
28230 fi
28231 rm -f conftest.err conftest.$ac_objext \
28232 conftest$ac_exeext conftest.$ac_ext
28233 fi
28234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28236 if test `eval echo '${'$as_ac_var'}'` = yes; then
28237 cat >>confdefs.h <<_ACEOF
28238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28239 _ACEOF
28240
28241 fi
28242 done
28243
28244 else
28245 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
28246 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
28247 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
28248 echo $ECHO_N "(cached) $ECHO_C" >&6
28249 else
28250
28251
28252
28253 ac_ext=cc
28254 ac_cpp='$CXXCPP $CPPFLAGS'
28255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28258
28259 cat >conftest.$ac_ext <<_ACEOF
28260 /* confdefs.h. */
28261 _ACEOF
28262 cat confdefs.h >>conftest.$ac_ext
28263 cat >>conftest.$ac_ext <<_ACEOF
28264 /* end confdefs.h. */
28265 #include <math.h>
28266 int
28267 main ()
28268 {
28269 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
28270 ;
28271 return 0;
28272 }
28273 _ACEOF
28274 rm -f conftest.$ac_objext
28275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28276 (eval $ac_compile) 2>conftest.er1
28277 ac_status=$?
28278 grep -v '^ *+' conftest.er1 >conftest.err
28279 rm -f conftest.er1
28280 cat conftest.err >&5
28281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28282 (exit $ac_status); } &&
28283 { ac_try='test -z "$ac_cxx_werror_flag"
28284 || test ! -s conftest.err'
28285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28286 (eval $ac_try) 2>&5
28287 ac_status=$?
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); }; } &&
28290 { ac_try='test -s conftest.$ac_objext'
28291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28292 (eval $ac_try) 2>&5
28293 ac_status=$?
28294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28295 (exit $ac_status); }; }; then
28296 glibcxx_cv_func__long_double_trig_use=yes
28297 else
28298 echo "$as_me: failed program was:" >&5
28299 sed 's/^/| /' conftest.$ac_ext >&5
28300
28301 glibcxx_cv_func__long_double_trig_use=no
28302 fi
28303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28304 ac_ext=c
28305 ac_cpp='$CPP $CPPFLAGS'
28306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28309
28310 fi
28311
28312 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
28313 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
28314 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
28315
28316
28317
28318
28319
28320
28321
28322
28323
28324 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
28325 do
28326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28327 echo "$as_me:$LINENO: checking for $ac_func" >&5
28328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28329 if eval "test \"\${$as_ac_var+set}\" = set"; then
28330 echo $ECHO_N "(cached) $ECHO_C" >&6
28331 else
28332 if test x$gcc_no_link = xyes; then
28333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28335 { (exit 1); exit 1; }; }
28336 fi
28337 cat >conftest.$ac_ext <<_ACEOF
28338 /* confdefs.h. */
28339 _ACEOF
28340 cat confdefs.h >>conftest.$ac_ext
28341 cat >>conftest.$ac_ext <<_ACEOF
28342 /* end confdefs.h. */
28343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28345 #define $ac_func innocuous_$ac_func
28346
28347 /* System header to define __stub macros and hopefully few prototypes,
28348 which can conflict with char $ac_func (); below.
28349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28350 <limits.h> exists even on freestanding compilers. */
28351
28352 #ifdef __STDC__
28353 # include <limits.h>
28354 #else
28355 # include <assert.h>
28356 #endif
28357
28358 #undef $ac_func
28359
28360 /* Override any gcc2 internal prototype to avoid an error. */
28361 #ifdef __cplusplus
28362 extern "C"
28363 {
28364 #endif
28365 /* We use char because int might match the return type of a gcc2
28366 builtin and then its argument prototype would still apply. */
28367 char $ac_func ();
28368 /* The GNU C library defines this for functions which it implements
28369 to always fail with ENOSYS. Some functions are actually named
28370 something starting with __ and the normal name is an alias. */
28371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28372 choke me
28373 #else
28374 char (*f) () = $ac_func;
28375 #endif
28376 #ifdef __cplusplus
28377 }
28378 #endif
28379
28380 int
28381 main ()
28382 {
28383 return f != $ac_func;
28384 ;
28385 return 0;
28386 }
28387 _ACEOF
28388 rm -f conftest.$ac_objext conftest$ac_exeext
28389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28390 (eval $ac_link) 2>conftest.er1
28391 ac_status=$?
28392 grep -v '^ *+' conftest.er1 >conftest.err
28393 rm -f conftest.er1
28394 cat conftest.err >&5
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); } &&
28397 { ac_try='test -z "$ac_c_werror_flag"
28398 || test ! -s conftest.err'
28399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28400 (eval $ac_try) 2>&5
28401 ac_status=$?
28402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28403 (exit $ac_status); }; } &&
28404 { ac_try='test -s conftest$ac_exeext'
28405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28406 (eval $ac_try) 2>&5
28407 ac_status=$?
28408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28409 (exit $ac_status); }; }; then
28410 eval "$as_ac_var=yes"
28411 else
28412 echo "$as_me: failed program was:" >&5
28413 sed 's/^/| /' conftest.$ac_ext >&5
28414
28415 eval "$as_ac_var=no"
28416 fi
28417 rm -f conftest.err conftest.$ac_objext \
28418 conftest$ac_exeext conftest.$ac_ext
28419 fi
28420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28422 if test `eval echo '${'$as_ac_var'}'` = yes; then
28423 cat >>confdefs.h <<_ACEOF
28424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28425 _ACEOF
28426
28427 fi
28428 done
28429
28430 fi
28431 fi
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446 echo "$as_me:$LINENO: checking for long double round functions" >&5
28447 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
28448 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
28449 echo $ECHO_N "(cached) $ECHO_C" >&6
28450 else
28451
28452
28453
28454 ac_ext=cc
28455 ac_cpp='$CXXCPP $CPPFLAGS'
28456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28459
28460 cat >conftest.$ac_ext <<_ACEOF
28461 /* confdefs.h. */
28462 _ACEOF
28463 cat confdefs.h >>conftest.$ac_ext
28464 cat >>conftest.$ac_ext <<_ACEOF
28465 /* end confdefs.h. */
28466 #include <math.h>
28467 int
28468 main ()
28469 {
28470 ceill (0); floorl (0);
28471 ;
28472 return 0;
28473 }
28474 _ACEOF
28475 rm -f conftest.$ac_objext
28476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28477 (eval $ac_compile) 2>conftest.er1
28478 ac_status=$?
28479 grep -v '^ *+' conftest.er1 >conftest.err
28480 rm -f conftest.er1
28481 cat conftest.err >&5
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); } &&
28484 { ac_try='test -z "$ac_cxx_werror_flag"
28485 || test ! -s conftest.err'
28486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28487 (eval $ac_try) 2>&5
28488 ac_status=$?
28489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28490 (exit $ac_status); }; } &&
28491 { ac_try='test -s conftest.$ac_objext'
28492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28493 (eval $ac_try) 2>&5
28494 ac_status=$?
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); }; }; then
28497 glibcxx_cv_func_long_double_round_use=yes
28498 else
28499 echo "$as_me: failed program was:" >&5
28500 sed 's/^/| /' conftest.$ac_ext >&5
28501
28502 glibcxx_cv_func_long_double_round_use=no
28503 fi
28504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28505 ac_ext=c
28506 ac_cpp='$CPP $CPPFLAGS'
28507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28510
28511 fi
28512
28513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
28514 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
28515 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
28516
28517
28518 for ac_func in ceill floorl
28519 do
28520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28521 echo "$as_me:$LINENO: checking for $ac_func" >&5
28522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28523 if eval "test \"\${$as_ac_var+set}\" = set"; then
28524 echo $ECHO_N "(cached) $ECHO_C" >&6
28525 else
28526 if test x$gcc_no_link = xyes; then
28527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28529 { (exit 1); exit 1; }; }
28530 fi
28531 cat >conftest.$ac_ext <<_ACEOF
28532 /* confdefs.h. */
28533 _ACEOF
28534 cat confdefs.h >>conftest.$ac_ext
28535 cat >>conftest.$ac_ext <<_ACEOF
28536 /* end confdefs.h. */
28537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28539 #define $ac_func innocuous_$ac_func
28540
28541 /* System header to define __stub macros and hopefully few prototypes,
28542 which can conflict with char $ac_func (); below.
28543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28544 <limits.h> exists even on freestanding compilers. */
28545
28546 #ifdef __STDC__
28547 # include <limits.h>
28548 #else
28549 # include <assert.h>
28550 #endif
28551
28552 #undef $ac_func
28553
28554 /* Override any gcc2 internal prototype to avoid an error. */
28555 #ifdef __cplusplus
28556 extern "C"
28557 {
28558 #endif
28559 /* We use char because int might match the return type of a gcc2
28560 builtin and then its argument prototype would still apply. */
28561 char $ac_func ();
28562 /* The GNU C library defines this for functions which it implements
28563 to always fail with ENOSYS. Some functions are actually named
28564 something starting with __ and the normal name is an alias. */
28565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28566 choke me
28567 #else
28568 char (*f) () = $ac_func;
28569 #endif
28570 #ifdef __cplusplus
28571 }
28572 #endif
28573
28574 int
28575 main ()
28576 {
28577 return f != $ac_func;
28578 ;
28579 return 0;
28580 }
28581 _ACEOF
28582 rm -f conftest.$ac_objext conftest$ac_exeext
28583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28584 (eval $ac_link) 2>conftest.er1
28585 ac_status=$?
28586 grep -v '^ *+' conftest.er1 >conftest.err
28587 rm -f conftest.er1
28588 cat conftest.err >&5
28589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590 (exit $ac_status); } &&
28591 { ac_try='test -z "$ac_c_werror_flag"
28592 || test ! -s conftest.err'
28593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28594 (eval $ac_try) 2>&5
28595 ac_status=$?
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); }; } &&
28598 { ac_try='test -s conftest$ac_exeext'
28599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28600 (eval $ac_try) 2>&5
28601 ac_status=$?
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); }; }; then
28604 eval "$as_ac_var=yes"
28605 else
28606 echo "$as_me: failed program was:" >&5
28607 sed 's/^/| /' conftest.$ac_ext >&5
28608
28609 eval "$as_ac_var=no"
28610 fi
28611 rm -f conftest.err conftest.$ac_objext \
28612 conftest$ac_exeext conftest.$ac_ext
28613 fi
28614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28616 if test `eval echo '${'$as_ac_var'}'` = yes; then
28617 cat >>confdefs.h <<_ACEOF
28618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28619 _ACEOF
28620
28621 fi
28622 done
28623
28624 else
28625 echo "$as_me:$LINENO: checking for _long double round functions" >&5
28626 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
28627 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
28628 echo $ECHO_N "(cached) $ECHO_C" >&6
28629 else
28630
28631
28632
28633 ac_ext=cc
28634 ac_cpp='$CXXCPP $CPPFLAGS'
28635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28638
28639 cat >conftest.$ac_ext <<_ACEOF
28640 /* confdefs.h. */
28641 _ACEOF
28642 cat confdefs.h >>conftest.$ac_ext
28643 cat >>conftest.$ac_ext <<_ACEOF
28644 /* end confdefs.h. */
28645 #include <math.h>
28646 int
28647 main ()
28648 {
28649 _ceill (0); _floorl (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__long_double_round_use=yes
28677 else
28678 echo "$as_me: failed program was:" >&5
28679 sed 's/^/| /' conftest.$ac_ext >&5
28680
28681 glibcxx_cv_func__long_double_round_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 fi
28691
28692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
28693 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
28694 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
28695
28696
28697 for ac_func in _ceill _floorl
28698 do
28699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28700 echo "$as_me:$LINENO: checking for $ac_func" >&5
28701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28702 if eval "test \"\${$as_ac_var+set}\" = set"; then
28703 echo $ECHO_N "(cached) $ECHO_C" >&6
28704 else
28705 if test x$gcc_no_link = xyes; then
28706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28708 { (exit 1); exit 1; }; }
28709 fi
28710 cat >conftest.$ac_ext <<_ACEOF
28711 /* confdefs.h. */
28712 _ACEOF
28713 cat confdefs.h >>conftest.$ac_ext
28714 cat >>conftest.$ac_ext <<_ACEOF
28715 /* end confdefs.h. */
28716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28718 #define $ac_func innocuous_$ac_func
28719
28720 /* System header to define __stub macros and hopefully few prototypes,
28721 which can conflict with char $ac_func (); below.
28722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28723 <limits.h> exists even on freestanding compilers. */
28724
28725 #ifdef __STDC__
28726 # include <limits.h>
28727 #else
28728 # include <assert.h>
28729 #endif
28730
28731 #undef $ac_func
28732
28733 /* Override any gcc2 internal prototype to avoid an error. */
28734 #ifdef __cplusplus
28735 extern "C"
28736 {
28737 #endif
28738 /* We use char because int might match the return type of a gcc2
28739 builtin and then its argument prototype would still apply. */
28740 char $ac_func ();
28741 /* The GNU C library defines this for functions which it implements
28742 to always fail with ENOSYS. Some functions are actually named
28743 something starting with __ and the normal name is an alias. */
28744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28745 choke me
28746 #else
28747 char (*f) () = $ac_func;
28748 #endif
28749 #ifdef __cplusplus
28750 }
28751 #endif
28752
28753 int
28754 main ()
28755 {
28756 return f != $ac_func;
28757 ;
28758 return 0;
28759 }
28760 _ACEOF
28761 rm -f conftest.$ac_objext conftest$ac_exeext
28762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28763 (eval $ac_link) 2>conftest.er1
28764 ac_status=$?
28765 grep -v '^ *+' conftest.er1 >conftest.err
28766 rm -f conftest.er1
28767 cat conftest.err >&5
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); } &&
28770 { ac_try='test -z "$ac_c_werror_flag"
28771 || test ! -s conftest.err'
28772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28773 (eval $ac_try) 2>&5
28774 ac_status=$?
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); }; } &&
28777 { ac_try='test -s conftest$ac_exeext'
28778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28779 (eval $ac_try) 2>&5
28780 ac_status=$?
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); }; }; then
28783 eval "$as_ac_var=yes"
28784 else
28785 echo "$as_me: failed program was:" >&5
28786 sed 's/^/| /' conftest.$ac_ext >&5
28787
28788 eval "$as_ac_var=no"
28789 fi
28790 rm -f conftest.err conftest.$ac_objext \
28791 conftest$ac_exeext conftest.$ac_ext
28792 fi
28793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28795 if test `eval echo '${'$as_ac_var'}'` = yes; then
28796 cat >>confdefs.h <<_ACEOF
28797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28798 _ACEOF
28799
28800 fi
28801 done
28802
28803 fi
28804 fi
28805
28806
28807
28808
28809
28810
28811
28812
28813 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
28814 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
28815 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
28816 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
28817 echo $ECHO_N "(cached) $ECHO_C" >&6
28818 else
28819
28820
28821
28822 ac_ext=cc
28823 ac_cpp='$CXXCPP $CPPFLAGS'
28824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28827
28828 cat >conftest.$ac_ext <<_ACEOF
28829 /* confdefs.h. */
28830 _ACEOF
28831 cat confdefs.h >>conftest.$ac_ext
28832 cat >>conftest.$ac_ext <<_ACEOF
28833 /* end confdefs.h. */
28834 #include <math.h>
28835 #ifdef HAVE_IEEEFP_H
28836 #include <ieeefp.h>
28837 #endif
28838
28839 int
28840 main ()
28841 {
28842 isnanl(0);
28843 ;
28844 return 0;
28845 }
28846 _ACEOF
28847 rm -f conftest.$ac_objext
28848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28849 (eval $ac_compile) 2>conftest.er1
28850 ac_status=$?
28851 grep -v '^ *+' conftest.er1 >conftest.err
28852 rm -f conftest.er1
28853 cat conftest.err >&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); } &&
28856 { ac_try='test -z "$ac_cxx_werror_flag"
28857 || test ! -s conftest.err'
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); }; } &&
28863 { ac_try='test -s conftest.$ac_objext'
28864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28865 (eval $ac_try) 2>&5
28866 ac_status=$?
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); }; }; then
28869 glibcxx_cv_func_isnanl_use=yes
28870 else
28871 echo "$as_me: failed program was:" >&5
28872 sed 's/^/| /' conftest.$ac_ext >&5
28873
28874 glibcxx_cv_func_isnanl_use=no
28875 fi
28876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28877 ac_ext=c
28878 ac_cpp='$CPP $CPPFLAGS'
28879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28882
28883
28884 fi
28885
28886 fi
28887 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
28888 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
28889
28890 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
28891
28892 for ac_func in isnanl
28893 do
28894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28895 echo "$as_me:$LINENO: checking for $ac_func" >&5
28896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28897 if eval "test \"\${$as_ac_var+set}\" = set"; then
28898 echo $ECHO_N "(cached) $ECHO_C" >&6
28899 else
28900 if test x$gcc_no_link = xyes; then
28901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28903 { (exit 1); exit 1; }; }
28904 fi
28905 cat >conftest.$ac_ext <<_ACEOF
28906 /* confdefs.h. */
28907 _ACEOF
28908 cat confdefs.h >>conftest.$ac_ext
28909 cat >>conftest.$ac_ext <<_ACEOF
28910 /* end confdefs.h. */
28911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28913 #define $ac_func innocuous_$ac_func
28914
28915 /* System header to define __stub macros and hopefully few prototypes,
28916 which can conflict with char $ac_func (); below.
28917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28918 <limits.h> exists even on freestanding compilers. */
28919
28920 #ifdef __STDC__
28921 # include <limits.h>
28922 #else
28923 # include <assert.h>
28924 #endif
28925
28926 #undef $ac_func
28927
28928 /* Override any gcc2 internal prototype to avoid an error. */
28929 #ifdef __cplusplus
28930 extern "C"
28931 {
28932 #endif
28933 /* We use char because int might match the return type of a gcc2
28934 builtin and then its argument prototype would still apply. */
28935 char $ac_func ();
28936 /* The GNU C library defines this for functions which it implements
28937 to always fail with ENOSYS. Some functions are actually named
28938 something starting with __ and the normal name is an alias. */
28939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28940 choke me
28941 #else
28942 char (*f) () = $ac_func;
28943 #endif
28944 #ifdef __cplusplus
28945 }
28946 #endif
28947
28948 int
28949 main ()
28950 {
28951 return f != $ac_func;
28952 ;
28953 return 0;
28954 }
28955 _ACEOF
28956 rm -f conftest.$ac_objext conftest$ac_exeext
28957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28958 (eval $ac_link) 2>conftest.er1
28959 ac_status=$?
28960 grep -v '^ *+' conftest.er1 >conftest.err
28961 rm -f conftest.er1
28962 cat conftest.err >&5
28963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964 (exit $ac_status); } &&
28965 { ac_try='test -z "$ac_c_werror_flag"
28966 || test ! -s conftest.err'
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); }; } &&
28972 { ac_try='test -s conftest$ac_exeext'
28973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28974 (eval $ac_try) 2>&5
28975 ac_status=$?
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); }; }; then
28978 eval "$as_ac_var=yes"
28979 else
28980 echo "$as_me: failed program was:" >&5
28981 sed 's/^/| /' conftest.$ac_ext >&5
28982
28983 eval "$as_ac_var=no"
28984 fi
28985 rm -f conftest.err conftest.$ac_objext \
28986 conftest$ac_exeext conftest.$ac_ext
28987 fi
28988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28990 if test `eval echo '${'$as_ac_var'}'` = yes; then
28991 cat >>confdefs.h <<_ACEOF
28992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28993 _ACEOF
28994
28995 fi
28996 done
28997
28998 else
28999
29000 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29001 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29002 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29003 if test "${glibcxx_cv_func__isnanl_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 #ifdef HAVE_IEEEFP_H
29023 #include <ieeefp.h>
29024 #endif
29025
29026 int
29027 main ()
29028 {
29029 _isnanl(0);
29030 ;
29031 return 0;
29032 }
29033 _ACEOF
29034 rm -f conftest.$ac_objext
29035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29036 (eval $ac_compile) 2>conftest.er1
29037 ac_status=$?
29038 grep -v '^ *+' conftest.er1 >conftest.err
29039 rm -f conftest.er1
29040 cat conftest.err >&5
29041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29042 (exit $ac_status); } &&
29043 { ac_try='test -z "$ac_cxx_werror_flag"
29044 || test ! -s conftest.err'
29045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29046 (eval $ac_try) 2>&5
29047 ac_status=$?
29048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29049 (exit $ac_status); }; } &&
29050 { ac_try='test -s conftest.$ac_objext'
29051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29052 (eval $ac_try) 2>&5
29053 ac_status=$?
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); }; }; then
29056 glibcxx_cv_func__isnanl_use=yes
29057 else
29058 echo "$as_me: failed program was:" >&5
29059 sed 's/^/| /' conftest.$ac_ext >&5
29060
29061 glibcxx_cv_func__isnanl_use=no
29062 fi
29063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29064 ac_ext=c
29065 ac_cpp='$CPP $CPPFLAGS'
29066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29069
29070
29071 fi
29072
29073 fi
29074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29075 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29076
29077 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29078
29079 for ac_func in _isnanl
29080 do
29081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29082 echo "$as_me:$LINENO: checking for $ac_func" >&5
29083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29084 if eval "test \"\${$as_ac_var+set}\" = set"; then
29085 echo $ECHO_N "(cached) $ECHO_C" >&6
29086 else
29087 if test x$gcc_no_link = xyes; then
29088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29090 { (exit 1); exit 1; }; }
29091 fi
29092 cat >conftest.$ac_ext <<_ACEOF
29093 /* confdefs.h. */
29094 _ACEOF
29095 cat confdefs.h >>conftest.$ac_ext
29096 cat >>conftest.$ac_ext <<_ACEOF
29097 /* end confdefs.h. */
29098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29100 #define $ac_func innocuous_$ac_func
29101
29102 /* System header to define __stub macros and hopefully few prototypes,
29103 which can conflict with char $ac_func (); below.
29104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29105 <limits.h> exists even on freestanding compilers. */
29106
29107 #ifdef __STDC__
29108 # include <limits.h>
29109 #else
29110 # include <assert.h>
29111 #endif
29112
29113 #undef $ac_func
29114
29115 /* Override any gcc2 internal prototype to avoid an error. */
29116 #ifdef __cplusplus
29117 extern "C"
29118 {
29119 #endif
29120 /* We use char because int might match the return type of a gcc2
29121 builtin and then its argument prototype would still apply. */
29122 char $ac_func ();
29123 /* The GNU C library defines this for functions which it implements
29124 to always fail with ENOSYS. Some functions are actually named
29125 something starting with __ and the normal name is an alias. */
29126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29127 choke me
29128 #else
29129 char (*f) () = $ac_func;
29130 #endif
29131 #ifdef __cplusplus
29132 }
29133 #endif
29134
29135 int
29136 main ()
29137 {
29138 return f != $ac_func;
29139 ;
29140 return 0;
29141 }
29142 _ACEOF
29143 rm -f conftest.$ac_objext conftest$ac_exeext
29144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29145 (eval $ac_link) 2>conftest.er1
29146 ac_status=$?
29147 grep -v '^ *+' conftest.er1 >conftest.err
29148 rm -f conftest.er1
29149 cat conftest.err >&5
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); } &&
29152 { ac_try='test -z "$ac_c_werror_flag"
29153 || test ! -s conftest.err'
29154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29155 (eval $ac_try) 2>&5
29156 ac_status=$?
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); }; } &&
29159 { ac_try='test -s conftest$ac_exeext'
29160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29161 (eval $ac_try) 2>&5
29162 ac_status=$?
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); }; }; then
29165 eval "$as_ac_var=yes"
29166 else
29167 echo "$as_me: failed program was:" >&5
29168 sed 's/^/| /' conftest.$ac_ext >&5
29169
29170 eval "$as_ac_var=no"
29171 fi
29172 rm -f conftest.err conftest.$ac_objext \
29173 conftest$ac_exeext conftest.$ac_ext
29174 fi
29175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29177 if test `eval echo '${'$as_ac_var'}'` = yes; then
29178 cat >>confdefs.h <<_ACEOF
29179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29180 _ACEOF
29181
29182 fi
29183 done
29184
29185 fi
29186 fi
29187
29188
29189
29190
29191
29192
29193 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
29194 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
29195 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
29196 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
29197 echo $ECHO_N "(cached) $ECHO_C" >&6
29198 else
29199
29200
29201
29202 ac_ext=cc
29203 ac_cpp='$CXXCPP $CPPFLAGS'
29204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29207
29208 cat >conftest.$ac_ext <<_ACEOF
29209 /* confdefs.h. */
29210 _ACEOF
29211 cat confdefs.h >>conftest.$ac_ext
29212 cat >>conftest.$ac_ext <<_ACEOF
29213 /* end confdefs.h. */
29214 #include <math.h>
29215 #ifdef HAVE_IEEEFP_H
29216 #include <ieeefp.h>
29217 #endif
29218
29219 int
29220 main ()
29221 {
29222 isinfl(0);
29223 ;
29224 return 0;
29225 }
29226 _ACEOF
29227 rm -f conftest.$ac_objext
29228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29229 (eval $ac_compile) 2>conftest.er1
29230 ac_status=$?
29231 grep -v '^ *+' conftest.er1 >conftest.err
29232 rm -f conftest.er1
29233 cat conftest.err >&5
29234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29235 (exit $ac_status); } &&
29236 { ac_try='test -z "$ac_cxx_werror_flag"
29237 || test ! -s conftest.err'
29238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29239 (eval $ac_try) 2>&5
29240 ac_status=$?
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); }; } &&
29243 { ac_try='test -s conftest.$ac_objext'
29244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245 (eval $ac_try) 2>&5
29246 ac_status=$?
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; }; then
29249 glibcxx_cv_func_isinfl_use=yes
29250 else
29251 echo "$as_me: failed program was:" >&5
29252 sed 's/^/| /' conftest.$ac_ext >&5
29253
29254 glibcxx_cv_func_isinfl_use=no
29255 fi
29256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29257 ac_ext=c
29258 ac_cpp='$CPP $CPPFLAGS'
29259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29262
29263
29264 fi
29265
29266 fi
29267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
29268 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
29269
29270 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
29271
29272 for ac_func in isinfl
29273 do
29274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29275 echo "$as_me:$LINENO: checking for $ac_func" >&5
29276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29277 if eval "test \"\${$as_ac_var+set}\" = set"; then
29278 echo $ECHO_N "(cached) $ECHO_C" >&6
29279 else
29280 if test x$gcc_no_link = xyes; then
29281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29283 { (exit 1); exit 1; }; }
29284 fi
29285 cat >conftest.$ac_ext <<_ACEOF
29286 /* confdefs.h. */
29287 _ACEOF
29288 cat confdefs.h >>conftest.$ac_ext
29289 cat >>conftest.$ac_ext <<_ACEOF
29290 /* end confdefs.h. */
29291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29293 #define $ac_func innocuous_$ac_func
29294
29295 /* System header to define __stub macros and hopefully few prototypes,
29296 which can conflict with char $ac_func (); below.
29297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29298 <limits.h> exists even on freestanding compilers. */
29299
29300 #ifdef __STDC__
29301 # include <limits.h>
29302 #else
29303 # include <assert.h>
29304 #endif
29305
29306 #undef $ac_func
29307
29308 /* Override any gcc2 internal prototype to avoid an error. */
29309 #ifdef __cplusplus
29310 extern "C"
29311 {
29312 #endif
29313 /* We use char because int might match the return type of a gcc2
29314 builtin and then its argument prototype would still apply. */
29315 char $ac_func ();
29316 /* The GNU C library defines this for functions which it implements
29317 to always fail with ENOSYS. Some functions are actually named
29318 something starting with __ and the normal name is an alias. */
29319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29320 choke me
29321 #else
29322 char (*f) () = $ac_func;
29323 #endif
29324 #ifdef __cplusplus
29325 }
29326 #endif
29327
29328 int
29329 main ()
29330 {
29331 return f != $ac_func;
29332 ;
29333 return 0;
29334 }
29335 _ACEOF
29336 rm -f conftest.$ac_objext conftest$ac_exeext
29337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29338 (eval $ac_link) 2>conftest.er1
29339 ac_status=$?
29340 grep -v '^ *+' conftest.er1 >conftest.err
29341 rm -f conftest.er1
29342 cat conftest.err >&5
29343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29344 (exit $ac_status); } &&
29345 { ac_try='test -z "$ac_c_werror_flag"
29346 || test ! -s conftest.err'
29347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29348 (eval $ac_try) 2>&5
29349 ac_status=$?
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); }; } &&
29352 { ac_try='test -s conftest$ac_exeext'
29353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29354 (eval $ac_try) 2>&5
29355 ac_status=$?
29356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29357 (exit $ac_status); }; }; then
29358 eval "$as_ac_var=yes"
29359 else
29360 echo "$as_me: failed program was:" >&5
29361 sed 's/^/| /' conftest.$ac_ext >&5
29362
29363 eval "$as_ac_var=no"
29364 fi
29365 rm -f conftest.err conftest.$ac_objext \
29366 conftest$ac_exeext conftest.$ac_ext
29367 fi
29368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29370 if test `eval echo '${'$as_ac_var'}'` = yes; then
29371 cat >>confdefs.h <<_ACEOF
29372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29373 _ACEOF
29374
29375 fi
29376 done
29377
29378 else
29379
29380 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
29381 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
29382 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
29383 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
29384 echo $ECHO_N "(cached) $ECHO_C" >&6
29385 else
29386
29387
29388
29389 ac_ext=cc
29390 ac_cpp='$CXXCPP $CPPFLAGS'
29391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29394
29395 cat >conftest.$ac_ext <<_ACEOF
29396 /* confdefs.h. */
29397 _ACEOF
29398 cat confdefs.h >>conftest.$ac_ext
29399 cat >>conftest.$ac_ext <<_ACEOF
29400 /* end confdefs.h. */
29401 #include <math.h>
29402 #ifdef HAVE_IEEEFP_H
29403 #include <ieeefp.h>
29404 #endif
29405
29406 int
29407 main ()
29408 {
29409 _isinfl(0);
29410 ;
29411 return 0;
29412 }
29413 _ACEOF
29414 rm -f conftest.$ac_objext
29415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29416 (eval $ac_compile) 2>conftest.er1
29417 ac_status=$?
29418 grep -v '^ *+' conftest.er1 >conftest.err
29419 rm -f conftest.er1
29420 cat conftest.err >&5
29421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29422 (exit $ac_status); } &&
29423 { ac_try='test -z "$ac_cxx_werror_flag"
29424 || test ! -s conftest.err'
29425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29426 (eval $ac_try) 2>&5
29427 ac_status=$?
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); }; } &&
29430 { ac_try='test -s conftest.$ac_objext'
29431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29432 (eval $ac_try) 2>&5
29433 ac_status=$?
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); }; }; then
29436 glibcxx_cv_func__isinfl_use=yes
29437 else
29438 echo "$as_me: failed program was:" >&5
29439 sed 's/^/| /' conftest.$ac_ext >&5
29440
29441 glibcxx_cv_func__isinfl_use=no
29442 fi
29443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29444 ac_ext=c
29445 ac_cpp='$CPP $CPPFLAGS'
29446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29449
29450
29451 fi
29452
29453 fi
29454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
29455 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
29456
29457 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
29458
29459 for ac_func in _isinfl
29460 do
29461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29462 echo "$as_me:$LINENO: checking for $ac_func" >&5
29463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29464 if eval "test \"\${$as_ac_var+set}\" = set"; then
29465 echo $ECHO_N "(cached) $ECHO_C" >&6
29466 else
29467 if test x$gcc_no_link = xyes; then
29468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29470 { (exit 1); exit 1; }; }
29471 fi
29472 cat >conftest.$ac_ext <<_ACEOF
29473 /* confdefs.h. */
29474 _ACEOF
29475 cat confdefs.h >>conftest.$ac_ext
29476 cat >>conftest.$ac_ext <<_ACEOF
29477 /* end confdefs.h. */
29478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29480 #define $ac_func innocuous_$ac_func
29481
29482 /* System header to define __stub macros and hopefully few prototypes,
29483 which can conflict with char $ac_func (); below.
29484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29485 <limits.h> exists even on freestanding compilers. */
29486
29487 #ifdef __STDC__
29488 # include <limits.h>
29489 #else
29490 # include <assert.h>
29491 #endif
29492
29493 #undef $ac_func
29494
29495 /* Override any gcc2 internal prototype to avoid an error. */
29496 #ifdef __cplusplus
29497 extern "C"
29498 {
29499 #endif
29500 /* We use char because int might match the return type of a gcc2
29501 builtin and then its argument prototype would still apply. */
29502 char $ac_func ();
29503 /* The GNU C library defines this for functions which it implements
29504 to always fail with ENOSYS. Some functions are actually named
29505 something starting with __ and the normal name is an alias. */
29506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29507 choke me
29508 #else
29509 char (*f) () = $ac_func;
29510 #endif
29511 #ifdef __cplusplus
29512 }
29513 #endif
29514
29515 int
29516 main ()
29517 {
29518 return f != $ac_func;
29519 ;
29520 return 0;
29521 }
29522 _ACEOF
29523 rm -f conftest.$ac_objext conftest$ac_exeext
29524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29525 (eval $ac_link) 2>conftest.er1
29526 ac_status=$?
29527 grep -v '^ *+' conftest.er1 >conftest.err
29528 rm -f conftest.er1
29529 cat conftest.err >&5
29530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29531 (exit $ac_status); } &&
29532 { ac_try='test -z "$ac_c_werror_flag"
29533 || test ! -s conftest.err'
29534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29535 (eval $ac_try) 2>&5
29536 ac_status=$?
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); }; } &&
29539 { ac_try='test -s conftest$ac_exeext'
29540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29541 (eval $ac_try) 2>&5
29542 ac_status=$?
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); }; }; then
29545 eval "$as_ac_var=yes"
29546 else
29547 echo "$as_me: failed program was:" >&5
29548 sed 's/^/| /' conftest.$ac_ext >&5
29549
29550 eval "$as_ac_var=no"
29551 fi
29552 rm -f conftest.err conftest.$ac_objext \
29553 conftest$ac_exeext conftest.$ac_ext
29554 fi
29555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29557 if test `eval echo '${'$as_ac_var'}'` = yes; then
29558 cat >>confdefs.h <<_ACEOF
29559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29560 _ACEOF
29561
29562 fi
29563 done
29564
29565 fi
29566 fi
29567
29568
29569
29570
29571
29572
29573 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
29574 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
29575 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
29576 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
29577 echo $ECHO_N "(cached) $ECHO_C" >&6
29578 else
29579
29580
29581
29582 ac_ext=cc
29583 ac_cpp='$CXXCPP $CPPFLAGS'
29584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29587
29588 cat >conftest.$ac_ext <<_ACEOF
29589 /* confdefs.h. */
29590 _ACEOF
29591 cat confdefs.h >>conftest.$ac_ext
29592 cat >>conftest.$ac_ext <<_ACEOF
29593 /* end confdefs.h. */
29594 #include <math.h>
29595 int
29596 main ()
29597 {
29598 copysignl(0, 0);
29599 ;
29600 return 0;
29601 }
29602 _ACEOF
29603 rm -f conftest.$ac_objext
29604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29605 (eval $ac_compile) 2>conftest.er1
29606 ac_status=$?
29607 grep -v '^ *+' conftest.er1 >conftest.err
29608 rm -f conftest.er1
29609 cat conftest.err >&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); } &&
29612 { ac_try='test -z "$ac_cxx_werror_flag"
29613 || test ! -s conftest.err'
29614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29615 (eval $ac_try) 2>&5
29616 ac_status=$?
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); }; } &&
29619 { ac_try='test -s conftest.$ac_objext'
29620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29621 (eval $ac_try) 2>&5
29622 ac_status=$?
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); }; }; then
29625 glibcxx_cv_func_copysignl_use=yes
29626 else
29627 echo "$as_me: failed program was:" >&5
29628 sed 's/^/| /' conftest.$ac_ext >&5
29629
29630 glibcxx_cv_func_copysignl_use=no
29631 fi
29632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29633 ac_ext=c
29634 ac_cpp='$CPP $CPPFLAGS'
29635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29638
29639
29640 fi
29641
29642 fi
29643 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
29644 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
29645
29646 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
29647
29648 for ac_func in copysignl
29649 do
29650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29651 echo "$as_me:$LINENO: checking for $ac_func" >&5
29652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29653 if eval "test \"\${$as_ac_var+set}\" = set"; then
29654 echo $ECHO_N "(cached) $ECHO_C" >&6
29655 else
29656 if test x$gcc_no_link = xyes; then
29657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29659 { (exit 1); exit 1; }; }
29660 fi
29661 cat >conftest.$ac_ext <<_ACEOF
29662 /* confdefs.h. */
29663 _ACEOF
29664 cat confdefs.h >>conftest.$ac_ext
29665 cat >>conftest.$ac_ext <<_ACEOF
29666 /* end confdefs.h. */
29667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29669 #define $ac_func innocuous_$ac_func
29670
29671 /* System header to define __stub macros and hopefully few prototypes,
29672 which can conflict with char $ac_func (); below.
29673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29674 <limits.h> exists even on freestanding compilers. */
29675
29676 #ifdef __STDC__
29677 # include <limits.h>
29678 #else
29679 # include <assert.h>
29680 #endif
29681
29682 #undef $ac_func
29683
29684 /* Override any gcc2 internal prototype to avoid an error. */
29685 #ifdef __cplusplus
29686 extern "C"
29687 {
29688 #endif
29689 /* We use char because int might match the return type of a gcc2
29690 builtin and then its argument prototype would still apply. */
29691 char $ac_func ();
29692 /* The GNU C library defines this for functions which it implements
29693 to always fail with ENOSYS. Some functions are actually named
29694 something starting with __ and the normal name is an alias. */
29695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29696 choke me
29697 #else
29698 char (*f) () = $ac_func;
29699 #endif
29700 #ifdef __cplusplus
29701 }
29702 #endif
29703
29704 int
29705 main ()
29706 {
29707 return f != $ac_func;
29708 ;
29709 return 0;
29710 }
29711 _ACEOF
29712 rm -f conftest.$ac_objext conftest$ac_exeext
29713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29714 (eval $ac_link) 2>conftest.er1
29715 ac_status=$?
29716 grep -v '^ *+' conftest.er1 >conftest.err
29717 rm -f conftest.er1
29718 cat conftest.err >&5
29719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720 (exit $ac_status); } &&
29721 { ac_try='test -z "$ac_c_werror_flag"
29722 || test ! -s conftest.err'
29723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29724 (eval $ac_try) 2>&5
29725 ac_status=$?
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); }; } &&
29728 { ac_try='test -s conftest$ac_exeext'
29729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29730 (eval $ac_try) 2>&5
29731 ac_status=$?
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); }; }; then
29734 eval "$as_ac_var=yes"
29735 else
29736 echo "$as_me: failed program was:" >&5
29737 sed 's/^/| /' conftest.$ac_ext >&5
29738
29739 eval "$as_ac_var=no"
29740 fi
29741 rm -f conftest.err conftest.$ac_objext \
29742 conftest$ac_exeext conftest.$ac_ext
29743 fi
29744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29746 if test `eval echo '${'$as_ac_var'}'` = yes; then
29747 cat >>confdefs.h <<_ACEOF
29748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29749 _ACEOF
29750
29751 fi
29752 done
29753
29754 else
29755
29756 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
29757 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
29758 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
29759 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
29760 echo $ECHO_N "(cached) $ECHO_C" >&6
29761 else
29762
29763
29764
29765 ac_ext=cc
29766 ac_cpp='$CXXCPP $CPPFLAGS'
29767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29770
29771 cat >conftest.$ac_ext <<_ACEOF
29772 /* confdefs.h. */
29773 _ACEOF
29774 cat confdefs.h >>conftest.$ac_ext
29775 cat >>conftest.$ac_ext <<_ACEOF
29776 /* end confdefs.h. */
29777 #include <math.h>
29778 int
29779 main ()
29780 {
29781 _copysignl(0, 0);
29782 ;
29783 return 0;
29784 }
29785 _ACEOF
29786 rm -f conftest.$ac_objext
29787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29788 (eval $ac_compile) 2>conftest.er1
29789 ac_status=$?
29790 grep -v '^ *+' conftest.er1 >conftest.err
29791 rm -f conftest.er1
29792 cat conftest.err >&5
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); } &&
29795 { ac_try='test -z "$ac_cxx_werror_flag"
29796 || test ! -s conftest.err'
29797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29798 (eval $ac_try) 2>&5
29799 ac_status=$?
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); }; } &&
29802 { ac_try='test -s conftest.$ac_objext'
29803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29804 (eval $ac_try) 2>&5
29805 ac_status=$?
29806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807 (exit $ac_status); }; }; then
29808 glibcxx_cv_func__copysignl_use=yes
29809 else
29810 echo "$as_me: failed program was:" >&5
29811 sed 's/^/| /' conftest.$ac_ext >&5
29812
29813 glibcxx_cv_func__copysignl_use=no
29814 fi
29815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29816 ac_ext=c
29817 ac_cpp='$CPP $CPPFLAGS'
29818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29821
29822
29823 fi
29824
29825 fi
29826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
29827 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
29828
29829 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
29830
29831 for ac_func in _copysignl
29832 do
29833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29834 echo "$as_me:$LINENO: checking for $ac_func" >&5
29835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29836 if eval "test \"\${$as_ac_var+set}\" = set"; then
29837 echo $ECHO_N "(cached) $ECHO_C" >&6
29838 else
29839 if test x$gcc_no_link = xyes; then
29840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29842 { (exit 1); exit 1; }; }
29843 fi
29844 cat >conftest.$ac_ext <<_ACEOF
29845 /* confdefs.h. */
29846 _ACEOF
29847 cat confdefs.h >>conftest.$ac_ext
29848 cat >>conftest.$ac_ext <<_ACEOF
29849 /* end confdefs.h. */
29850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29852 #define $ac_func innocuous_$ac_func
29853
29854 /* System header to define __stub macros and hopefully few prototypes,
29855 which can conflict with char $ac_func (); below.
29856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29857 <limits.h> exists even on freestanding compilers. */
29858
29859 #ifdef __STDC__
29860 # include <limits.h>
29861 #else
29862 # include <assert.h>
29863 #endif
29864
29865 #undef $ac_func
29866
29867 /* Override any gcc2 internal prototype to avoid an error. */
29868 #ifdef __cplusplus
29869 extern "C"
29870 {
29871 #endif
29872 /* We use char because int might match the return type of a gcc2
29873 builtin and then its argument prototype would still apply. */
29874 char $ac_func ();
29875 /* The GNU C library defines this for functions which it implements
29876 to always fail with ENOSYS. Some functions are actually named
29877 something starting with __ and the normal name is an alias. */
29878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29879 choke me
29880 #else
29881 char (*f) () = $ac_func;
29882 #endif
29883 #ifdef __cplusplus
29884 }
29885 #endif
29886
29887 int
29888 main ()
29889 {
29890 return f != $ac_func;
29891 ;
29892 return 0;
29893 }
29894 _ACEOF
29895 rm -f conftest.$ac_objext conftest$ac_exeext
29896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29897 (eval $ac_link) 2>conftest.er1
29898 ac_status=$?
29899 grep -v '^ *+' conftest.er1 >conftest.err
29900 rm -f conftest.er1
29901 cat conftest.err >&5
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); } &&
29904 { ac_try='test -z "$ac_c_werror_flag"
29905 || test ! -s conftest.err'
29906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29907 (eval $ac_try) 2>&5
29908 ac_status=$?
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); }; } &&
29911 { ac_try='test -s conftest$ac_exeext'
29912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29913 (eval $ac_try) 2>&5
29914 ac_status=$?
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); }; }; then
29917 eval "$as_ac_var=yes"
29918 else
29919 echo "$as_me: failed program was:" >&5
29920 sed 's/^/| /' conftest.$ac_ext >&5
29921
29922 eval "$as_ac_var=no"
29923 fi
29924 rm -f conftest.err conftest.$ac_objext \
29925 conftest$ac_exeext conftest.$ac_ext
29926 fi
29927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29929 if test `eval echo '${'$as_ac_var'}'` = yes; then
29930 cat >>confdefs.h <<_ACEOF
29931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29932 _ACEOF
29933
29934 fi
29935 done
29936
29937 fi
29938 fi
29939
29940
29941
29942
29943
29944
29945 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
29946 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
29947 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
29948 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
29949 echo $ECHO_N "(cached) $ECHO_C" >&6
29950 else
29951
29952
29953
29954 ac_ext=cc
29955 ac_cpp='$CXXCPP $CPPFLAGS'
29956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29959
29960 cat >conftest.$ac_ext <<_ACEOF
29961 /* confdefs.h. */
29962 _ACEOF
29963 cat confdefs.h >>conftest.$ac_ext
29964 cat >>conftest.$ac_ext <<_ACEOF
29965 /* end confdefs.h. */
29966 #include <math.h>
29967 int
29968 main ()
29969 {
29970 atan2l(0, 0);
29971 ;
29972 return 0;
29973 }
29974 _ACEOF
29975 rm -f conftest.$ac_objext
29976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29977 (eval $ac_compile) 2>conftest.er1
29978 ac_status=$?
29979 grep -v '^ *+' conftest.er1 >conftest.err
29980 rm -f conftest.er1
29981 cat conftest.err >&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); } &&
29984 { ac_try='test -z "$ac_cxx_werror_flag"
29985 || test ! -s conftest.err'
29986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29987 (eval $ac_try) 2>&5
29988 ac_status=$?
29989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29990 (exit $ac_status); }; } &&
29991 { ac_try='test -s conftest.$ac_objext'
29992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29993 (eval $ac_try) 2>&5
29994 ac_status=$?
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); }; }; then
29997 glibcxx_cv_func_atan2l_use=yes
29998 else
29999 echo "$as_me: failed program was:" >&5
30000 sed 's/^/| /' conftest.$ac_ext >&5
30001
30002 glibcxx_cv_func_atan2l_use=no
30003 fi
30004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30005 ac_ext=c
30006 ac_cpp='$CPP $CPPFLAGS'
30007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30010
30011
30012 fi
30013
30014 fi
30015 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30016 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30017
30018 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30019
30020 for ac_func in atan2l
30021 do
30022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30023 echo "$as_me:$LINENO: checking for $ac_func" >&5
30024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30025 if eval "test \"\${$as_ac_var+set}\" = set"; then
30026 echo $ECHO_N "(cached) $ECHO_C" >&6
30027 else
30028 if test x$gcc_no_link = xyes; then
30029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30031 { (exit 1); exit 1; }; }
30032 fi
30033 cat >conftest.$ac_ext <<_ACEOF
30034 /* confdefs.h. */
30035 _ACEOF
30036 cat confdefs.h >>conftest.$ac_ext
30037 cat >>conftest.$ac_ext <<_ACEOF
30038 /* end confdefs.h. */
30039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30041 #define $ac_func innocuous_$ac_func
30042
30043 /* System header to define __stub macros and hopefully few prototypes,
30044 which can conflict with char $ac_func (); below.
30045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30046 <limits.h> exists even on freestanding compilers. */
30047
30048 #ifdef __STDC__
30049 # include <limits.h>
30050 #else
30051 # include <assert.h>
30052 #endif
30053
30054 #undef $ac_func
30055
30056 /* Override any gcc2 internal prototype to avoid an error. */
30057 #ifdef __cplusplus
30058 extern "C"
30059 {
30060 #endif
30061 /* We use char because int might match the return type of a gcc2
30062 builtin and then its argument prototype would still apply. */
30063 char $ac_func ();
30064 /* The GNU C library defines this for functions which it implements
30065 to always fail with ENOSYS. Some functions are actually named
30066 something starting with __ and the normal name is an alias. */
30067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30068 choke me
30069 #else
30070 char (*f) () = $ac_func;
30071 #endif
30072 #ifdef __cplusplus
30073 }
30074 #endif
30075
30076 int
30077 main ()
30078 {
30079 return f != $ac_func;
30080 ;
30081 return 0;
30082 }
30083 _ACEOF
30084 rm -f conftest.$ac_objext conftest$ac_exeext
30085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30086 (eval $ac_link) 2>conftest.er1
30087 ac_status=$?
30088 grep -v '^ *+' conftest.er1 >conftest.err
30089 rm -f conftest.er1
30090 cat conftest.err >&5
30091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092 (exit $ac_status); } &&
30093 { ac_try='test -z "$ac_c_werror_flag"
30094 || test ! -s conftest.err'
30095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30096 (eval $ac_try) 2>&5
30097 ac_status=$?
30098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30099 (exit $ac_status); }; } &&
30100 { ac_try='test -s conftest$ac_exeext'
30101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30102 (eval $ac_try) 2>&5
30103 ac_status=$?
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); }; }; then
30106 eval "$as_ac_var=yes"
30107 else
30108 echo "$as_me: failed program was:" >&5
30109 sed 's/^/| /' conftest.$ac_ext >&5
30110
30111 eval "$as_ac_var=no"
30112 fi
30113 rm -f conftest.err conftest.$ac_objext \
30114 conftest$ac_exeext conftest.$ac_ext
30115 fi
30116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30118 if test `eval echo '${'$as_ac_var'}'` = yes; then
30119 cat >>confdefs.h <<_ACEOF
30120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30121 _ACEOF
30122
30123 fi
30124 done
30125
30126 else
30127
30128 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
30129 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
30130 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30131 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
30132 echo $ECHO_N "(cached) $ECHO_C" >&6
30133 else
30134
30135
30136
30137 ac_ext=cc
30138 ac_cpp='$CXXCPP $CPPFLAGS'
30139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30142
30143 cat >conftest.$ac_ext <<_ACEOF
30144 /* confdefs.h. */
30145 _ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149 #include <math.h>
30150 int
30151 main ()
30152 {
30153 _atan2l(0, 0);
30154 ;
30155 return 0;
30156 }
30157 _ACEOF
30158 rm -f conftest.$ac_objext
30159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30160 (eval $ac_compile) 2>conftest.er1
30161 ac_status=$?
30162 grep -v '^ *+' conftest.er1 >conftest.err
30163 rm -f conftest.er1
30164 cat conftest.err >&5
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); } &&
30167 { ac_try='test -z "$ac_cxx_werror_flag"
30168 || test ! -s conftest.err'
30169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30170 (eval $ac_try) 2>&5
30171 ac_status=$?
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); }; } &&
30174 { ac_try='test -s conftest.$ac_objext'
30175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30176 (eval $ac_try) 2>&5
30177 ac_status=$?
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); }; }; then
30180 glibcxx_cv_func__atan2l_use=yes
30181 else
30182 echo "$as_me: failed program was:" >&5
30183 sed 's/^/| /' conftest.$ac_ext >&5
30184
30185 glibcxx_cv_func__atan2l_use=no
30186 fi
30187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30188 ac_ext=c
30189 ac_cpp='$CPP $CPPFLAGS'
30190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30193
30194
30195 fi
30196
30197 fi
30198 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
30199 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
30200
30201 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30202
30203 for ac_func in _atan2l
30204 do
30205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30206 echo "$as_me:$LINENO: checking for $ac_func" >&5
30207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30208 if eval "test \"\${$as_ac_var+set}\" = set"; then
30209 echo $ECHO_N "(cached) $ECHO_C" >&6
30210 else
30211 if test x$gcc_no_link = xyes; then
30212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30214 { (exit 1); exit 1; }; }
30215 fi
30216 cat >conftest.$ac_ext <<_ACEOF
30217 /* confdefs.h. */
30218 _ACEOF
30219 cat confdefs.h >>conftest.$ac_ext
30220 cat >>conftest.$ac_ext <<_ACEOF
30221 /* end confdefs.h. */
30222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30224 #define $ac_func innocuous_$ac_func
30225
30226 /* System header to define __stub macros and hopefully few prototypes,
30227 which can conflict with char $ac_func (); below.
30228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30229 <limits.h> exists even on freestanding compilers. */
30230
30231 #ifdef __STDC__
30232 # include <limits.h>
30233 #else
30234 # include <assert.h>
30235 #endif
30236
30237 #undef $ac_func
30238
30239 /* Override any gcc2 internal prototype to avoid an error. */
30240 #ifdef __cplusplus
30241 extern "C"
30242 {
30243 #endif
30244 /* We use char because int might match the return type of a gcc2
30245 builtin and then its argument prototype would still apply. */
30246 char $ac_func ();
30247 /* The GNU C library defines this for functions which it implements
30248 to always fail with ENOSYS. Some functions are actually named
30249 something starting with __ and the normal name is an alias. */
30250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30251 choke me
30252 #else
30253 char (*f) () = $ac_func;
30254 #endif
30255 #ifdef __cplusplus
30256 }
30257 #endif
30258
30259 int
30260 main ()
30261 {
30262 return f != $ac_func;
30263 ;
30264 return 0;
30265 }
30266 _ACEOF
30267 rm -f conftest.$ac_objext conftest$ac_exeext
30268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30269 (eval $ac_link) 2>conftest.er1
30270 ac_status=$?
30271 grep -v '^ *+' conftest.er1 >conftest.err
30272 rm -f conftest.er1
30273 cat conftest.err >&5
30274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275 (exit $ac_status); } &&
30276 { ac_try='test -z "$ac_c_werror_flag"
30277 || test ! -s conftest.err'
30278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30279 (eval $ac_try) 2>&5
30280 ac_status=$?
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); }; } &&
30283 { ac_try='test -s conftest$ac_exeext'
30284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30285 (eval $ac_try) 2>&5
30286 ac_status=$?
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); }; }; then
30289 eval "$as_ac_var=yes"
30290 else
30291 echo "$as_me: failed program was:" >&5
30292 sed 's/^/| /' conftest.$ac_ext >&5
30293
30294 eval "$as_ac_var=no"
30295 fi
30296 rm -f conftest.err conftest.$ac_objext \
30297 conftest$ac_exeext conftest.$ac_ext
30298 fi
30299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30301 if test `eval echo '${'$as_ac_var'}'` = yes; then
30302 cat >>confdefs.h <<_ACEOF
30303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30304 _ACEOF
30305
30306 fi
30307 done
30308
30309 fi
30310 fi
30311
30312
30313
30314
30315
30316
30317 echo "$as_me:$LINENO: checking for expl declaration" >&5
30318 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
30319 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30320 if test "${glibcxx_cv_func_expl_use+set}" = set; then
30321 echo $ECHO_N "(cached) $ECHO_C" >&6
30322 else
30323
30324
30325
30326 ac_ext=cc
30327 ac_cpp='$CXXCPP $CPPFLAGS'
30328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30331
30332 cat >conftest.$ac_ext <<_ACEOF
30333 /* confdefs.h. */
30334 _ACEOF
30335 cat confdefs.h >>conftest.$ac_ext
30336 cat >>conftest.$ac_ext <<_ACEOF
30337 /* end confdefs.h. */
30338 #include <math.h>
30339 #ifdef HAVE_IEEEFP_H
30340 #include <ieeefp.h>
30341 #endif
30342
30343 int
30344 main ()
30345 {
30346 expl(0);
30347 ;
30348 return 0;
30349 }
30350 _ACEOF
30351 rm -f conftest.$ac_objext
30352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30353 (eval $ac_compile) 2>conftest.er1
30354 ac_status=$?
30355 grep -v '^ *+' conftest.er1 >conftest.err
30356 rm -f conftest.er1
30357 cat conftest.err >&5
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); } &&
30360 { ac_try='test -z "$ac_cxx_werror_flag"
30361 || test ! -s conftest.err'
30362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30363 (eval $ac_try) 2>&5
30364 ac_status=$?
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); }; } &&
30367 { ac_try='test -s conftest.$ac_objext'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; }; then
30373 glibcxx_cv_func_expl_use=yes
30374 else
30375 echo "$as_me: failed program was:" >&5
30376 sed 's/^/| /' conftest.$ac_ext >&5
30377
30378 glibcxx_cv_func_expl_use=no
30379 fi
30380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30381 ac_ext=c
30382 ac_cpp='$CPP $CPPFLAGS'
30383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30386
30387
30388 fi
30389
30390 fi
30391 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
30392 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
30393
30394 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30395
30396 for ac_func in expl
30397 do
30398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30399 echo "$as_me:$LINENO: checking for $ac_func" >&5
30400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30401 if eval "test \"\${$as_ac_var+set}\" = set"; then
30402 echo $ECHO_N "(cached) $ECHO_C" >&6
30403 else
30404 if test x$gcc_no_link = xyes; then
30405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30407 { (exit 1); exit 1; }; }
30408 fi
30409 cat >conftest.$ac_ext <<_ACEOF
30410 /* confdefs.h. */
30411 _ACEOF
30412 cat confdefs.h >>conftest.$ac_ext
30413 cat >>conftest.$ac_ext <<_ACEOF
30414 /* end confdefs.h. */
30415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30417 #define $ac_func innocuous_$ac_func
30418
30419 /* System header to define __stub macros and hopefully few prototypes,
30420 which can conflict with char $ac_func (); below.
30421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30422 <limits.h> exists even on freestanding compilers. */
30423
30424 #ifdef __STDC__
30425 # include <limits.h>
30426 #else
30427 # include <assert.h>
30428 #endif
30429
30430 #undef $ac_func
30431
30432 /* Override any gcc2 internal prototype to avoid an error. */
30433 #ifdef __cplusplus
30434 extern "C"
30435 {
30436 #endif
30437 /* We use char because int might match the return type of a gcc2
30438 builtin and then its argument prototype would still apply. */
30439 char $ac_func ();
30440 /* The GNU C library defines this for functions which it implements
30441 to always fail with ENOSYS. Some functions are actually named
30442 something starting with __ and the normal name is an alias. */
30443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30444 choke me
30445 #else
30446 char (*f) () = $ac_func;
30447 #endif
30448 #ifdef __cplusplus
30449 }
30450 #endif
30451
30452 int
30453 main ()
30454 {
30455 return f != $ac_func;
30456 ;
30457 return 0;
30458 }
30459 _ACEOF
30460 rm -f conftest.$ac_objext conftest$ac_exeext
30461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30462 (eval $ac_link) 2>conftest.er1
30463 ac_status=$?
30464 grep -v '^ *+' conftest.er1 >conftest.err
30465 rm -f conftest.er1
30466 cat conftest.err >&5
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); } &&
30469 { ac_try='test -z "$ac_c_werror_flag"
30470 || test ! -s conftest.err'
30471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30472 (eval $ac_try) 2>&5
30473 ac_status=$?
30474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30475 (exit $ac_status); }; } &&
30476 { ac_try='test -s conftest$ac_exeext'
30477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30478 (eval $ac_try) 2>&5
30479 ac_status=$?
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); }; }; then
30482 eval "$as_ac_var=yes"
30483 else
30484 echo "$as_me: failed program was:" >&5
30485 sed 's/^/| /' conftest.$ac_ext >&5
30486
30487 eval "$as_ac_var=no"
30488 fi
30489 rm -f conftest.err conftest.$ac_objext \
30490 conftest$ac_exeext conftest.$ac_ext
30491 fi
30492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30494 if test `eval echo '${'$as_ac_var'}'` = yes; then
30495 cat >>confdefs.h <<_ACEOF
30496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30497 _ACEOF
30498
30499 fi
30500 done
30501
30502 else
30503
30504 echo "$as_me:$LINENO: checking for _expl declaration" >&5
30505 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
30506 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30507 if test "${glibcxx_cv_func__expl_use+set}" = set; then
30508 echo $ECHO_N "(cached) $ECHO_C" >&6
30509 else
30510
30511
30512
30513 ac_ext=cc
30514 ac_cpp='$CXXCPP $CPPFLAGS'
30515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30518
30519 cat >conftest.$ac_ext <<_ACEOF
30520 /* confdefs.h. */
30521 _ACEOF
30522 cat confdefs.h >>conftest.$ac_ext
30523 cat >>conftest.$ac_ext <<_ACEOF
30524 /* end confdefs.h. */
30525 #include <math.h>
30526 #ifdef HAVE_IEEEFP_H
30527 #include <ieeefp.h>
30528 #endif
30529
30530 int
30531 main ()
30532 {
30533 _expl(0);
30534 ;
30535 return 0;
30536 }
30537 _ACEOF
30538 rm -f conftest.$ac_objext
30539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30540 (eval $ac_compile) 2>conftest.er1
30541 ac_status=$?
30542 grep -v '^ *+' conftest.er1 >conftest.err
30543 rm -f conftest.er1
30544 cat conftest.err >&5
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); } &&
30547 { ac_try='test -z "$ac_cxx_werror_flag"
30548 || test ! -s conftest.err'
30549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30550 (eval $ac_try) 2>&5
30551 ac_status=$?
30552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553 (exit $ac_status); }; } &&
30554 { ac_try='test -s conftest.$ac_objext'
30555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30556 (eval $ac_try) 2>&5
30557 ac_status=$?
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); }; }; then
30560 glibcxx_cv_func__expl_use=yes
30561 else
30562 echo "$as_me: failed program was:" >&5
30563 sed 's/^/| /' conftest.$ac_ext >&5
30564
30565 glibcxx_cv_func__expl_use=no
30566 fi
30567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30568 ac_ext=c
30569 ac_cpp='$CPP $CPPFLAGS'
30570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30573
30574
30575 fi
30576
30577 fi
30578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
30579 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
30580
30581 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30582
30583 for ac_func in _expl
30584 do
30585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30586 echo "$as_me:$LINENO: checking for $ac_func" >&5
30587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30588 if eval "test \"\${$as_ac_var+set}\" = set"; then
30589 echo $ECHO_N "(cached) $ECHO_C" >&6
30590 else
30591 if test x$gcc_no_link = xyes; then
30592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30594 { (exit 1); exit 1; }; }
30595 fi
30596 cat >conftest.$ac_ext <<_ACEOF
30597 /* confdefs.h. */
30598 _ACEOF
30599 cat confdefs.h >>conftest.$ac_ext
30600 cat >>conftest.$ac_ext <<_ACEOF
30601 /* end confdefs.h. */
30602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30604 #define $ac_func innocuous_$ac_func
30605
30606 /* System header to define __stub macros and hopefully few prototypes,
30607 which can conflict with char $ac_func (); below.
30608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30609 <limits.h> exists even on freestanding compilers. */
30610
30611 #ifdef __STDC__
30612 # include <limits.h>
30613 #else
30614 # include <assert.h>
30615 #endif
30616
30617 #undef $ac_func
30618
30619 /* Override any gcc2 internal prototype to avoid an error. */
30620 #ifdef __cplusplus
30621 extern "C"
30622 {
30623 #endif
30624 /* We use char because int might match the return type of a gcc2
30625 builtin and then its argument prototype would still apply. */
30626 char $ac_func ();
30627 /* The GNU C library defines this for functions which it implements
30628 to always fail with ENOSYS. Some functions are actually named
30629 something starting with __ and the normal name is an alias. */
30630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30631 choke me
30632 #else
30633 char (*f) () = $ac_func;
30634 #endif
30635 #ifdef __cplusplus
30636 }
30637 #endif
30638
30639 int
30640 main ()
30641 {
30642 return f != $ac_func;
30643 ;
30644 return 0;
30645 }
30646 _ACEOF
30647 rm -f conftest.$ac_objext conftest$ac_exeext
30648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30649 (eval $ac_link) 2>conftest.er1
30650 ac_status=$?
30651 grep -v '^ *+' conftest.er1 >conftest.err
30652 rm -f conftest.er1
30653 cat conftest.err >&5
30654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30655 (exit $ac_status); } &&
30656 { ac_try='test -z "$ac_c_werror_flag"
30657 || test ! -s conftest.err'
30658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30659 (eval $ac_try) 2>&5
30660 ac_status=$?
30661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662 (exit $ac_status); }; } &&
30663 { ac_try='test -s conftest$ac_exeext'
30664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30665 (eval $ac_try) 2>&5
30666 ac_status=$?
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); }; }; then
30669 eval "$as_ac_var=yes"
30670 else
30671 echo "$as_me: failed program was:" >&5
30672 sed 's/^/| /' conftest.$ac_ext >&5
30673
30674 eval "$as_ac_var=no"
30675 fi
30676 rm -f conftest.err conftest.$ac_objext \
30677 conftest$ac_exeext conftest.$ac_ext
30678 fi
30679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30681 if test `eval echo '${'$as_ac_var'}'` = yes; then
30682 cat >>confdefs.h <<_ACEOF
30683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30684 _ACEOF
30685
30686 fi
30687 done
30688
30689 fi
30690 fi
30691
30692
30693
30694
30695
30696
30697 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
30698 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
30699 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30700 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
30701 echo $ECHO_N "(cached) $ECHO_C" >&6
30702 else
30703
30704
30705
30706 ac_ext=cc
30707 ac_cpp='$CXXCPP $CPPFLAGS'
30708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30711
30712 cat >conftest.$ac_ext <<_ACEOF
30713 /* confdefs.h. */
30714 _ACEOF
30715 cat confdefs.h >>conftest.$ac_ext
30716 cat >>conftest.$ac_ext <<_ACEOF
30717 /* end confdefs.h. */
30718 #include <math.h>
30719 #ifdef HAVE_IEEEFP_H
30720 #include <ieeefp.h>
30721 #endif
30722
30723 int
30724 main ()
30725 {
30726 fabsl(0);
30727 ;
30728 return 0;
30729 }
30730 _ACEOF
30731 rm -f conftest.$ac_objext
30732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30733 (eval $ac_compile) 2>conftest.er1
30734 ac_status=$?
30735 grep -v '^ *+' conftest.er1 >conftest.err
30736 rm -f conftest.er1
30737 cat conftest.err >&5
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); } &&
30740 { ac_try='test -z "$ac_cxx_werror_flag"
30741 || test ! -s conftest.err'
30742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30743 (eval $ac_try) 2>&5
30744 ac_status=$?
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); }; } &&
30747 { ac_try='test -s conftest.$ac_objext'
30748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30749 (eval $ac_try) 2>&5
30750 ac_status=$?
30751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30752 (exit $ac_status); }; }; then
30753 glibcxx_cv_func_fabsl_use=yes
30754 else
30755 echo "$as_me: failed program was:" >&5
30756 sed 's/^/| /' conftest.$ac_ext >&5
30757
30758 glibcxx_cv_func_fabsl_use=no
30759 fi
30760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30761 ac_ext=c
30762 ac_cpp='$CPP $CPPFLAGS'
30763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30766
30767
30768 fi
30769
30770 fi
30771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
30772 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
30773
30774 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30775
30776 for ac_func in fabsl
30777 do
30778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30779 echo "$as_me:$LINENO: checking for $ac_func" >&5
30780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30781 if eval "test \"\${$as_ac_var+set}\" = set"; then
30782 echo $ECHO_N "(cached) $ECHO_C" >&6
30783 else
30784 if test x$gcc_no_link = xyes; then
30785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30787 { (exit 1); exit 1; }; }
30788 fi
30789 cat >conftest.$ac_ext <<_ACEOF
30790 /* confdefs.h. */
30791 _ACEOF
30792 cat confdefs.h >>conftest.$ac_ext
30793 cat >>conftest.$ac_ext <<_ACEOF
30794 /* end confdefs.h. */
30795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30797 #define $ac_func innocuous_$ac_func
30798
30799 /* System header to define __stub macros and hopefully few prototypes,
30800 which can conflict with char $ac_func (); below.
30801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30802 <limits.h> exists even on freestanding compilers. */
30803
30804 #ifdef __STDC__
30805 # include <limits.h>
30806 #else
30807 # include <assert.h>
30808 #endif
30809
30810 #undef $ac_func
30811
30812 /* Override any gcc2 internal prototype to avoid an error. */
30813 #ifdef __cplusplus
30814 extern "C"
30815 {
30816 #endif
30817 /* We use char because int might match the return type of a gcc2
30818 builtin and then its argument prototype would still apply. */
30819 char $ac_func ();
30820 /* The GNU C library defines this for functions which it implements
30821 to always fail with ENOSYS. Some functions are actually named
30822 something starting with __ and the normal name is an alias. */
30823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30824 choke me
30825 #else
30826 char (*f) () = $ac_func;
30827 #endif
30828 #ifdef __cplusplus
30829 }
30830 #endif
30831
30832 int
30833 main ()
30834 {
30835 return f != $ac_func;
30836 ;
30837 return 0;
30838 }
30839 _ACEOF
30840 rm -f conftest.$ac_objext conftest$ac_exeext
30841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30842 (eval $ac_link) 2>conftest.er1
30843 ac_status=$?
30844 grep -v '^ *+' conftest.er1 >conftest.err
30845 rm -f conftest.er1
30846 cat conftest.err >&5
30847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30848 (exit $ac_status); } &&
30849 { ac_try='test -z "$ac_c_werror_flag"
30850 || test ! -s conftest.err'
30851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30852 (eval $ac_try) 2>&5
30853 ac_status=$?
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); }; } &&
30856 { ac_try='test -s conftest$ac_exeext'
30857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30858 (eval $ac_try) 2>&5
30859 ac_status=$?
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); }; }; then
30862 eval "$as_ac_var=yes"
30863 else
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.$ac_ext >&5
30866
30867 eval "$as_ac_var=no"
30868 fi
30869 rm -f conftest.err conftest.$ac_objext \
30870 conftest$ac_exeext conftest.$ac_ext
30871 fi
30872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30874 if test `eval echo '${'$as_ac_var'}'` = yes; then
30875 cat >>confdefs.h <<_ACEOF
30876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30877 _ACEOF
30878
30879 fi
30880 done
30881
30882 else
30883
30884 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
30885 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
30886 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30887 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
30888 echo $ECHO_N "(cached) $ECHO_C" >&6
30889 else
30890
30891
30892
30893 ac_ext=cc
30894 ac_cpp='$CXXCPP $CPPFLAGS'
30895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30898
30899 cat >conftest.$ac_ext <<_ACEOF
30900 /* confdefs.h. */
30901 _ACEOF
30902 cat confdefs.h >>conftest.$ac_ext
30903 cat >>conftest.$ac_ext <<_ACEOF
30904 /* end confdefs.h. */
30905 #include <math.h>
30906 #ifdef HAVE_IEEEFP_H
30907 #include <ieeefp.h>
30908 #endif
30909
30910 int
30911 main ()
30912 {
30913 _fabsl(0);
30914 ;
30915 return 0;
30916 }
30917 _ACEOF
30918 rm -f conftest.$ac_objext
30919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30920 (eval $ac_compile) 2>conftest.er1
30921 ac_status=$?
30922 grep -v '^ *+' conftest.er1 >conftest.err
30923 rm -f conftest.er1
30924 cat conftest.err >&5
30925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30926 (exit $ac_status); } &&
30927 { ac_try='test -z "$ac_cxx_werror_flag"
30928 || test ! -s conftest.err'
30929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30930 (eval $ac_try) 2>&5
30931 ac_status=$?
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); }; } &&
30934 { ac_try='test -s conftest.$ac_objext'
30935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30936 (eval $ac_try) 2>&5
30937 ac_status=$?
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); }; }; then
30940 glibcxx_cv_func__fabsl_use=yes
30941 else
30942 echo "$as_me: failed program was:" >&5
30943 sed 's/^/| /' conftest.$ac_ext >&5
30944
30945 glibcxx_cv_func__fabsl_use=no
30946 fi
30947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30948 ac_ext=c
30949 ac_cpp='$CPP $CPPFLAGS'
30950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30953
30954
30955 fi
30956
30957 fi
30958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
30959 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
30960
30961 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30962
30963 for ac_func in _fabsl
30964 do
30965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30966 echo "$as_me:$LINENO: checking for $ac_func" >&5
30967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30968 if eval "test \"\${$as_ac_var+set}\" = set"; then
30969 echo $ECHO_N "(cached) $ECHO_C" >&6
30970 else
30971 if test x$gcc_no_link = xyes; then
30972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30974 { (exit 1); exit 1; }; }
30975 fi
30976 cat >conftest.$ac_ext <<_ACEOF
30977 /* confdefs.h. */
30978 _ACEOF
30979 cat confdefs.h >>conftest.$ac_ext
30980 cat >>conftest.$ac_ext <<_ACEOF
30981 /* end confdefs.h. */
30982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30984 #define $ac_func innocuous_$ac_func
30985
30986 /* System header to define __stub macros and hopefully few prototypes,
30987 which can conflict with char $ac_func (); below.
30988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30989 <limits.h> exists even on freestanding compilers. */
30990
30991 #ifdef __STDC__
30992 # include <limits.h>
30993 #else
30994 # include <assert.h>
30995 #endif
30996
30997 #undef $ac_func
30998
30999 /* Override any gcc2 internal prototype to avoid an error. */
31000 #ifdef __cplusplus
31001 extern "C"
31002 {
31003 #endif
31004 /* We use char because int might match the return type of a gcc2
31005 builtin and then its argument prototype would still apply. */
31006 char $ac_func ();
31007 /* The GNU C library defines this for functions which it implements
31008 to always fail with ENOSYS. Some functions are actually named
31009 something starting with __ and the normal name is an alias. */
31010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31011 choke me
31012 #else
31013 char (*f) () = $ac_func;
31014 #endif
31015 #ifdef __cplusplus
31016 }
31017 #endif
31018
31019 int
31020 main ()
31021 {
31022 return f != $ac_func;
31023 ;
31024 return 0;
31025 }
31026 _ACEOF
31027 rm -f conftest.$ac_objext conftest$ac_exeext
31028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31029 (eval $ac_link) 2>conftest.er1
31030 ac_status=$?
31031 grep -v '^ *+' conftest.er1 >conftest.err
31032 rm -f conftest.er1
31033 cat conftest.err >&5
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } &&
31036 { ac_try='test -z "$ac_c_werror_flag"
31037 || test ! -s conftest.err'
31038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31039 (eval $ac_try) 2>&5
31040 ac_status=$?
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); }; } &&
31043 { ac_try='test -s conftest$ac_exeext'
31044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045 (eval $ac_try) 2>&5
31046 ac_status=$?
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; }; then
31049 eval "$as_ac_var=yes"
31050 else
31051 echo "$as_me: failed program was:" >&5
31052 sed 's/^/| /' conftest.$ac_ext >&5
31053
31054 eval "$as_ac_var=no"
31055 fi
31056 rm -f conftest.err conftest.$ac_objext \
31057 conftest$ac_exeext conftest.$ac_ext
31058 fi
31059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31061 if test `eval echo '${'$as_ac_var'}'` = yes; then
31062 cat >>confdefs.h <<_ACEOF
31063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31064 _ACEOF
31065
31066 fi
31067 done
31068
31069 fi
31070 fi
31071
31072
31073
31074
31075
31076
31077 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31078 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31079 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31080 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31081 echo $ECHO_N "(cached) $ECHO_C" >&6
31082 else
31083
31084
31085
31086 ac_ext=cc
31087 ac_cpp='$CXXCPP $CPPFLAGS'
31088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31091
31092 cat >conftest.$ac_ext <<_ACEOF
31093 /* confdefs.h. */
31094 _ACEOF
31095 cat confdefs.h >>conftest.$ac_ext
31096 cat >>conftest.$ac_ext <<_ACEOF
31097 /* end confdefs.h. */
31098 #include <math.h>
31099 int
31100 main ()
31101 {
31102 fmodl(0, 0);
31103 ;
31104 return 0;
31105 }
31106 _ACEOF
31107 rm -f conftest.$ac_objext
31108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31109 (eval $ac_compile) 2>conftest.er1
31110 ac_status=$?
31111 grep -v '^ *+' conftest.er1 >conftest.err
31112 rm -f conftest.er1
31113 cat conftest.err >&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); } &&
31116 { ac_try='test -z "$ac_cxx_werror_flag"
31117 || test ! -s conftest.err'
31118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31119 (eval $ac_try) 2>&5
31120 ac_status=$?
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); }; } &&
31123 { ac_try='test -s conftest.$ac_objext'
31124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31125 (eval $ac_try) 2>&5
31126 ac_status=$?
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); }; }; then
31129 glibcxx_cv_func_fmodl_use=yes
31130 else
31131 echo "$as_me: failed program was:" >&5
31132 sed 's/^/| /' conftest.$ac_ext >&5
31133
31134 glibcxx_cv_func_fmodl_use=no
31135 fi
31136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31137 ac_ext=c
31138 ac_cpp='$CPP $CPPFLAGS'
31139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31142
31143
31144 fi
31145
31146 fi
31147 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
31148 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
31149
31150 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31151
31152 for ac_func in fmodl
31153 do
31154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31155 echo "$as_me:$LINENO: checking for $ac_func" >&5
31156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31157 if eval "test \"\${$as_ac_var+set}\" = set"; then
31158 echo $ECHO_N "(cached) $ECHO_C" >&6
31159 else
31160 if test x$gcc_no_link = xyes; then
31161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31163 { (exit 1); exit 1; }; }
31164 fi
31165 cat >conftest.$ac_ext <<_ACEOF
31166 /* confdefs.h. */
31167 _ACEOF
31168 cat confdefs.h >>conftest.$ac_ext
31169 cat >>conftest.$ac_ext <<_ACEOF
31170 /* end confdefs.h. */
31171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31173 #define $ac_func innocuous_$ac_func
31174
31175 /* System header to define __stub macros and hopefully few prototypes,
31176 which can conflict with char $ac_func (); below.
31177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31178 <limits.h> exists even on freestanding compilers. */
31179
31180 #ifdef __STDC__
31181 # include <limits.h>
31182 #else
31183 # include <assert.h>
31184 #endif
31185
31186 #undef $ac_func
31187
31188 /* Override any gcc2 internal prototype to avoid an error. */
31189 #ifdef __cplusplus
31190 extern "C"
31191 {
31192 #endif
31193 /* We use char because int might match the return type of a gcc2
31194 builtin and then its argument prototype would still apply. */
31195 char $ac_func ();
31196 /* The GNU C library defines this for functions which it implements
31197 to always fail with ENOSYS. Some functions are actually named
31198 something starting with __ and the normal name is an alias. */
31199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31200 choke me
31201 #else
31202 char (*f) () = $ac_func;
31203 #endif
31204 #ifdef __cplusplus
31205 }
31206 #endif
31207
31208 int
31209 main ()
31210 {
31211 return f != $ac_func;
31212 ;
31213 return 0;
31214 }
31215 _ACEOF
31216 rm -f conftest.$ac_objext conftest$ac_exeext
31217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31218 (eval $ac_link) 2>conftest.er1
31219 ac_status=$?
31220 grep -v '^ *+' conftest.er1 >conftest.err
31221 rm -f conftest.er1
31222 cat conftest.err >&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); } &&
31225 { ac_try='test -z "$ac_c_werror_flag"
31226 || test ! -s conftest.err'
31227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31228 (eval $ac_try) 2>&5
31229 ac_status=$?
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; } &&
31232 { ac_try='test -s conftest$ac_exeext'
31233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31234 (eval $ac_try) 2>&5
31235 ac_status=$?
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); }; }; then
31238 eval "$as_ac_var=yes"
31239 else
31240 echo "$as_me: failed program was:" >&5
31241 sed 's/^/| /' conftest.$ac_ext >&5
31242
31243 eval "$as_ac_var=no"
31244 fi
31245 rm -f conftest.err conftest.$ac_objext \
31246 conftest$ac_exeext conftest.$ac_ext
31247 fi
31248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31250 if test `eval echo '${'$as_ac_var'}'` = yes; then
31251 cat >>confdefs.h <<_ACEOF
31252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31253 _ACEOF
31254
31255 fi
31256 done
31257
31258 else
31259
31260 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
31261 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
31262 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31263 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
31264 echo $ECHO_N "(cached) $ECHO_C" >&6
31265 else
31266
31267
31268
31269 ac_ext=cc
31270 ac_cpp='$CXXCPP $CPPFLAGS'
31271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31274
31275 cat >conftest.$ac_ext <<_ACEOF
31276 /* confdefs.h. */
31277 _ACEOF
31278 cat confdefs.h >>conftest.$ac_ext
31279 cat >>conftest.$ac_ext <<_ACEOF
31280 /* end confdefs.h. */
31281 #include <math.h>
31282 int
31283 main ()
31284 {
31285 _fmodl(0, 0);
31286 ;
31287 return 0;
31288 }
31289 _ACEOF
31290 rm -f conftest.$ac_objext
31291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31292 (eval $ac_compile) 2>conftest.er1
31293 ac_status=$?
31294 grep -v '^ *+' conftest.er1 >conftest.err
31295 rm -f conftest.er1
31296 cat conftest.err >&5
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); } &&
31299 { ac_try='test -z "$ac_cxx_werror_flag"
31300 || test ! -s conftest.err'
31301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31302 (eval $ac_try) 2>&5
31303 ac_status=$?
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); }; } &&
31306 { ac_try='test -s conftest.$ac_objext'
31307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31308 (eval $ac_try) 2>&5
31309 ac_status=$?
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; }; then
31312 glibcxx_cv_func__fmodl_use=yes
31313 else
31314 echo "$as_me: failed program was:" >&5
31315 sed 's/^/| /' conftest.$ac_ext >&5
31316
31317 glibcxx_cv_func__fmodl_use=no
31318 fi
31319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31320 ac_ext=c
31321 ac_cpp='$CPP $CPPFLAGS'
31322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31325
31326
31327 fi
31328
31329 fi
31330 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
31331 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
31332
31333 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31334
31335 for ac_func in _fmodl
31336 do
31337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31338 echo "$as_me:$LINENO: checking for $ac_func" >&5
31339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31340 if eval "test \"\${$as_ac_var+set}\" = set"; then
31341 echo $ECHO_N "(cached) $ECHO_C" >&6
31342 else
31343 if test x$gcc_no_link = xyes; then
31344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31346 { (exit 1); exit 1; }; }
31347 fi
31348 cat >conftest.$ac_ext <<_ACEOF
31349 /* confdefs.h. */
31350 _ACEOF
31351 cat confdefs.h >>conftest.$ac_ext
31352 cat >>conftest.$ac_ext <<_ACEOF
31353 /* end confdefs.h. */
31354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31356 #define $ac_func innocuous_$ac_func
31357
31358 /* System header to define __stub macros and hopefully few prototypes,
31359 which can conflict with char $ac_func (); below.
31360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31361 <limits.h> exists even on freestanding compilers. */
31362
31363 #ifdef __STDC__
31364 # include <limits.h>
31365 #else
31366 # include <assert.h>
31367 #endif
31368
31369 #undef $ac_func
31370
31371 /* Override any gcc2 internal prototype to avoid an error. */
31372 #ifdef __cplusplus
31373 extern "C"
31374 {
31375 #endif
31376 /* We use char because int might match the return type of a gcc2
31377 builtin and then its argument prototype would still apply. */
31378 char $ac_func ();
31379 /* The GNU C library defines this for functions which it implements
31380 to always fail with ENOSYS. Some functions are actually named
31381 something starting with __ and the normal name is an alias. */
31382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31383 choke me
31384 #else
31385 char (*f) () = $ac_func;
31386 #endif
31387 #ifdef __cplusplus
31388 }
31389 #endif
31390
31391 int
31392 main ()
31393 {
31394 return f != $ac_func;
31395 ;
31396 return 0;
31397 }
31398 _ACEOF
31399 rm -f conftest.$ac_objext conftest$ac_exeext
31400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31401 (eval $ac_link) 2>conftest.er1
31402 ac_status=$?
31403 grep -v '^ *+' conftest.er1 >conftest.err
31404 rm -f conftest.er1
31405 cat conftest.err >&5
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } &&
31408 { ac_try='test -z "$ac_c_werror_flag"
31409 || test ! -s conftest.err'
31410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31411 (eval $ac_try) 2>&5
31412 ac_status=$?
31413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31414 (exit $ac_status); }; } &&
31415 { ac_try='test -s conftest$ac_exeext'
31416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31417 (eval $ac_try) 2>&5
31418 ac_status=$?
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); }; }; then
31421 eval "$as_ac_var=yes"
31422 else
31423 echo "$as_me: failed program was:" >&5
31424 sed 's/^/| /' conftest.$ac_ext >&5
31425
31426 eval "$as_ac_var=no"
31427 fi
31428 rm -f conftest.err conftest.$ac_objext \
31429 conftest$ac_exeext conftest.$ac_ext
31430 fi
31431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31433 if test `eval echo '${'$as_ac_var'}'` = yes; then
31434 cat >>confdefs.h <<_ACEOF
31435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31436 _ACEOF
31437
31438 fi
31439 done
31440
31441 fi
31442 fi
31443
31444
31445
31446
31447
31448
31449 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
31450 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
31451 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31452 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
31453 echo $ECHO_N "(cached) $ECHO_C" >&6
31454 else
31455
31456
31457
31458 ac_ext=cc
31459 ac_cpp='$CXXCPP $CPPFLAGS'
31460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31463
31464 cat >conftest.$ac_ext <<_ACEOF
31465 /* confdefs.h. */
31466 _ACEOF
31467 cat confdefs.h >>conftest.$ac_ext
31468 cat >>conftest.$ac_ext <<_ACEOF
31469 /* end confdefs.h. */
31470 #include <math.h>
31471 int
31472 main ()
31473 {
31474 frexpl(0, 0);
31475 ;
31476 return 0;
31477 }
31478 _ACEOF
31479 rm -f conftest.$ac_objext
31480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31481 (eval $ac_compile) 2>conftest.er1
31482 ac_status=$?
31483 grep -v '^ *+' conftest.er1 >conftest.err
31484 rm -f conftest.er1
31485 cat conftest.err >&5
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); } &&
31488 { ac_try='test -z "$ac_cxx_werror_flag"
31489 || test ! -s conftest.err'
31490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31491 (eval $ac_try) 2>&5
31492 ac_status=$?
31493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31494 (exit $ac_status); }; } &&
31495 { ac_try='test -s conftest.$ac_objext'
31496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31497 (eval $ac_try) 2>&5
31498 ac_status=$?
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); }; }; then
31501 glibcxx_cv_func_frexpl_use=yes
31502 else
31503 echo "$as_me: failed program was:" >&5
31504 sed 's/^/| /' conftest.$ac_ext >&5
31505
31506 glibcxx_cv_func_frexpl_use=no
31507 fi
31508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31509 ac_ext=c
31510 ac_cpp='$CPP $CPPFLAGS'
31511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31514
31515
31516 fi
31517
31518 fi
31519 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
31520 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
31521
31522 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31523
31524 for ac_func in frexpl
31525 do
31526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31527 echo "$as_me:$LINENO: checking for $ac_func" >&5
31528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31529 if eval "test \"\${$as_ac_var+set}\" = set"; then
31530 echo $ECHO_N "(cached) $ECHO_C" >&6
31531 else
31532 if test x$gcc_no_link = xyes; then
31533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31535 { (exit 1); exit 1; }; }
31536 fi
31537 cat >conftest.$ac_ext <<_ACEOF
31538 /* confdefs.h. */
31539 _ACEOF
31540 cat confdefs.h >>conftest.$ac_ext
31541 cat >>conftest.$ac_ext <<_ACEOF
31542 /* end confdefs.h. */
31543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31545 #define $ac_func innocuous_$ac_func
31546
31547 /* System header to define __stub macros and hopefully few prototypes,
31548 which can conflict with char $ac_func (); below.
31549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31550 <limits.h> exists even on freestanding compilers. */
31551
31552 #ifdef __STDC__
31553 # include <limits.h>
31554 #else
31555 # include <assert.h>
31556 #endif
31557
31558 #undef $ac_func
31559
31560 /* Override any gcc2 internal prototype to avoid an error. */
31561 #ifdef __cplusplus
31562 extern "C"
31563 {
31564 #endif
31565 /* We use char because int might match the return type of a gcc2
31566 builtin and then its argument prototype would still apply. */
31567 char $ac_func ();
31568 /* The GNU C library defines this for functions which it implements
31569 to always fail with ENOSYS. Some functions are actually named
31570 something starting with __ and the normal name is an alias. */
31571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31572 choke me
31573 #else
31574 char (*f) () = $ac_func;
31575 #endif
31576 #ifdef __cplusplus
31577 }
31578 #endif
31579
31580 int
31581 main ()
31582 {
31583 return f != $ac_func;
31584 ;
31585 return 0;
31586 }
31587 _ACEOF
31588 rm -f conftest.$ac_objext conftest$ac_exeext
31589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31590 (eval $ac_link) 2>conftest.er1
31591 ac_status=$?
31592 grep -v '^ *+' conftest.er1 >conftest.err
31593 rm -f conftest.er1
31594 cat conftest.err >&5
31595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31596 (exit $ac_status); } &&
31597 { ac_try='test -z "$ac_c_werror_flag"
31598 || test ! -s conftest.err'
31599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31600 (eval $ac_try) 2>&5
31601 ac_status=$?
31602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 (exit $ac_status); }; } &&
31604 { ac_try='test -s conftest$ac_exeext'
31605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31606 (eval $ac_try) 2>&5
31607 ac_status=$?
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); }; }; then
31610 eval "$as_ac_var=yes"
31611 else
31612 echo "$as_me: failed program was:" >&5
31613 sed 's/^/| /' conftest.$ac_ext >&5
31614
31615 eval "$as_ac_var=no"
31616 fi
31617 rm -f conftest.err conftest.$ac_objext \
31618 conftest$ac_exeext conftest.$ac_ext
31619 fi
31620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31622 if test `eval echo '${'$as_ac_var'}'` = yes; then
31623 cat >>confdefs.h <<_ACEOF
31624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31625 _ACEOF
31626
31627 fi
31628 done
31629
31630 else
31631
31632 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
31633 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
31634 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31635 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
31636 echo $ECHO_N "(cached) $ECHO_C" >&6
31637 else
31638
31639
31640
31641 ac_ext=cc
31642 ac_cpp='$CXXCPP $CPPFLAGS'
31643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31646
31647 cat >conftest.$ac_ext <<_ACEOF
31648 /* confdefs.h. */
31649 _ACEOF
31650 cat confdefs.h >>conftest.$ac_ext
31651 cat >>conftest.$ac_ext <<_ACEOF
31652 /* end confdefs.h. */
31653 #include <math.h>
31654 int
31655 main ()
31656 {
31657 _frexpl(0, 0);
31658 ;
31659 return 0;
31660 }
31661 _ACEOF
31662 rm -f conftest.$ac_objext
31663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31664 (eval $ac_compile) 2>conftest.er1
31665 ac_status=$?
31666 grep -v '^ *+' conftest.er1 >conftest.err
31667 rm -f conftest.er1
31668 cat conftest.err >&5
31669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31670 (exit $ac_status); } &&
31671 { ac_try='test -z "$ac_cxx_werror_flag"
31672 || test ! -s conftest.err'
31673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31674 (eval $ac_try) 2>&5
31675 ac_status=$?
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); }; } &&
31678 { ac_try='test -s conftest.$ac_objext'
31679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31680 (eval $ac_try) 2>&5
31681 ac_status=$?
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); }; }; then
31684 glibcxx_cv_func__frexpl_use=yes
31685 else
31686 echo "$as_me: failed program was:" >&5
31687 sed 's/^/| /' conftest.$ac_ext >&5
31688
31689 glibcxx_cv_func__frexpl_use=no
31690 fi
31691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31692 ac_ext=c
31693 ac_cpp='$CPP $CPPFLAGS'
31694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31697
31698
31699 fi
31700
31701 fi
31702 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
31703 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
31704
31705 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31706
31707 for ac_func in _frexpl
31708 do
31709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31710 echo "$as_me:$LINENO: checking for $ac_func" >&5
31711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31712 if eval "test \"\${$as_ac_var+set}\" = set"; then
31713 echo $ECHO_N "(cached) $ECHO_C" >&6
31714 else
31715 if test x$gcc_no_link = xyes; then
31716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31718 { (exit 1); exit 1; }; }
31719 fi
31720 cat >conftest.$ac_ext <<_ACEOF
31721 /* confdefs.h. */
31722 _ACEOF
31723 cat confdefs.h >>conftest.$ac_ext
31724 cat >>conftest.$ac_ext <<_ACEOF
31725 /* end confdefs.h. */
31726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31728 #define $ac_func innocuous_$ac_func
31729
31730 /* System header to define __stub macros and hopefully few prototypes,
31731 which can conflict with char $ac_func (); below.
31732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31733 <limits.h> exists even on freestanding compilers. */
31734
31735 #ifdef __STDC__
31736 # include <limits.h>
31737 #else
31738 # include <assert.h>
31739 #endif
31740
31741 #undef $ac_func
31742
31743 /* Override any gcc2 internal prototype to avoid an error. */
31744 #ifdef __cplusplus
31745 extern "C"
31746 {
31747 #endif
31748 /* We use char because int might match the return type of a gcc2
31749 builtin and then its argument prototype would still apply. */
31750 char $ac_func ();
31751 /* The GNU C library defines this for functions which it implements
31752 to always fail with ENOSYS. Some functions are actually named
31753 something starting with __ and the normal name is an alias. */
31754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31755 choke me
31756 #else
31757 char (*f) () = $ac_func;
31758 #endif
31759 #ifdef __cplusplus
31760 }
31761 #endif
31762
31763 int
31764 main ()
31765 {
31766 return f != $ac_func;
31767 ;
31768 return 0;
31769 }
31770 _ACEOF
31771 rm -f conftest.$ac_objext conftest$ac_exeext
31772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31773 (eval $ac_link) 2>conftest.er1
31774 ac_status=$?
31775 grep -v '^ *+' conftest.er1 >conftest.err
31776 rm -f conftest.er1
31777 cat conftest.err >&5
31778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31779 (exit $ac_status); } &&
31780 { ac_try='test -z "$ac_c_werror_flag"
31781 || test ! -s conftest.err'
31782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31783 (eval $ac_try) 2>&5
31784 ac_status=$?
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); }; } &&
31787 { ac_try='test -s conftest$ac_exeext'
31788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31789 (eval $ac_try) 2>&5
31790 ac_status=$?
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); }; }; then
31793 eval "$as_ac_var=yes"
31794 else
31795 echo "$as_me: failed program was:" >&5
31796 sed 's/^/| /' conftest.$ac_ext >&5
31797
31798 eval "$as_ac_var=no"
31799 fi
31800 rm -f conftest.err conftest.$ac_objext \
31801 conftest$ac_exeext conftest.$ac_ext
31802 fi
31803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31805 if test `eval echo '${'$as_ac_var'}'` = yes; then
31806 cat >>confdefs.h <<_ACEOF
31807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31808 _ACEOF
31809
31810 fi
31811 done
31812
31813 fi
31814 fi
31815
31816
31817
31818
31819
31820
31821 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
31822 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
31823 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31824 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
31825 echo $ECHO_N "(cached) $ECHO_C" >&6
31826 else
31827
31828
31829
31830 ac_ext=cc
31831 ac_cpp='$CXXCPP $CPPFLAGS'
31832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31835
31836 cat >conftest.$ac_ext <<_ACEOF
31837 /* confdefs.h. */
31838 _ACEOF
31839 cat confdefs.h >>conftest.$ac_ext
31840 cat >>conftest.$ac_ext <<_ACEOF
31841 /* end confdefs.h. */
31842 #include <math.h>
31843 int
31844 main ()
31845 {
31846 hypotl(0, 0);
31847 ;
31848 return 0;
31849 }
31850 _ACEOF
31851 rm -f conftest.$ac_objext
31852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31853 (eval $ac_compile) 2>conftest.er1
31854 ac_status=$?
31855 grep -v '^ *+' conftest.er1 >conftest.err
31856 rm -f conftest.er1
31857 cat conftest.err >&5
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); } &&
31860 { ac_try='test -z "$ac_cxx_werror_flag"
31861 || test ! -s conftest.err'
31862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31863 (eval $ac_try) 2>&5
31864 ac_status=$?
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); }; } &&
31867 { ac_try='test -s conftest.$ac_objext'
31868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31869 (eval $ac_try) 2>&5
31870 ac_status=$?
31871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31872 (exit $ac_status); }; }; then
31873 glibcxx_cv_func_hypotl_use=yes
31874 else
31875 echo "$as_me: failed program was:" >&5
31876 sed 's/^/| /' conftest.$ac_ext >&5
31877
31878 glibcxx_cv_func_hypotl_use=no
31879 fi
31880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31881 ac_ext=c
31882 ac_cpp='$CPP $CPPFLAGS'
31883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31886
31887
31888 fi
31889
31890 fi
31891 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
31892 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
31893
31894 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31895
31896 for ac_func in hypotl
31897 do
31898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31899 echo "$as_me:$LINENO: checking for $ac_func" >&5
31900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31901 if eval "test \"\${$as_ac_var+set}\" = set"; then
31902 echo $ECHO_N "(cached) $ECHO_C" >&6
31903 else
31904 if test x$gcc_no_link = xyes; then
31905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31907 { (exit 1); exit 1; }; }
31908 fi
31909 cat >conftest.$ac_ext <<_ACEOF
31910 /* confdefs.h. */
31911 _ACEOF
31912 cat confdefs.h >>conftest.$ac_ext
31913 cat >>conftest.$ac_ext <<_ACEOF
31914 /* end confdefs.h. */
31915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31917 #define $ac_func innocuous_$ac_func
31918
31919 /* System header to define __stub macros and hopefully few prototypes,
31920 which can conflict with char $ac_func (); below.
31921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31922 <limits.h> exists even on freestanding compilers. */
31923
31924 #ifdef __STDC__
31925 # include <limits.h>
31926 #else
31927 # include <assert.h>
31928 #endif
31929
31930 #undef $ac_func
31931
31932 /* Override any gcc2 internal prototype to avoid an error. */
31933 #ifdef __cplusplus
31934 extern "C"
31935 {
31936 #endif
31937 /* We use char because int might match the return type of a gcc2
31938 builtin and then its argument prototype would still apply. */
31939 char $ac_func ();
31940 /* The GNU C library defines this for functions which it implements
31941 to always fail with ENOSYS. Some functions are actually named
31942 something starting with __ and the normal name is an alias. */
31943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31944 choke me
31945 #else
31946 char (*f) () = $ac_func;
31947 #endif
31948 #ifdef __cplusplus
31949 }
31950 #endif
31951
31952 int
31953 main ()
31954 {
31955 return f != $ac_func;
31956 ;
31957 return 0;
31958 }
31959 _ACEOF
31960 rm -f conftest.$ac_objext conftest$ac_exeext
31961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31962 (eval $ac_link) 2>conftest.er1
31963 ac_status=$?
31964 grep -v '^ *+' conftest.er1 >conftest.err
31965 rm -f conftest.er1
31966 cat conftest.err >&5
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); } &&
31969 { ac_try='test -z "$ac_c_werror_flag"
31970 || test ! -s conftest.err'
31971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31972 (eval $ac_try) 2>&5
31973 ac_status=$?
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); }; } &&
31976 { ac_try='test -s conftest$ac_exeext'
31977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31978 (eval $ac_try) 2>&5
31979 ac_status=$?
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); }; }; then
31982 eval "$as_ac_var=yes"
31983 else
31984 echo "$as_me: failed program was:" >&5
31985 sed 's/^/| /' conftest.$ac_ext >&5
31986
31987 eval "$as_ac_var=no"
31988 fi
31989 rm -f conftest.err conftest.$ac_objext \
31990 conftest$ac_exeext conftest.$ac_ext
31991 fi
31992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31994 if test `eval echo '${'$as_ac_var'}'` = yes; then
31995 cat >>confdefs.h <<_ACEOF
31996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31997 _ACEOF
31998
31999 fi
32000 done
32001
32002 else
32003
32004 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32005 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32006 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32007 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32008 echo $ECHO_N "(cached) $ECHO_C" >&6
32009 else
32010
32011
32012
32013 ac_ext=cc
32014 ac_cpp='$CXXCPP $CPPFLAGS'
32015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32018
32019 cat >conftest.$ac_ext <<_ACEOF
32020 /* confdefs.h. */
32021 _ACEOF
32022 cat confdefs.h >>conftest.$ac_ext
32023 cat >>conftest.$ac_ext <<_ACEOF
32024 /* end confdefs.h. */
32025 #include <math.h>
32026 int
32027 main ()
32028 {
32029 _hypotl(0, 0);
32030 ;
32031 return 0;
32032 }
32033 _ACEOF
32034 rm -f conftest.$ac_objext
32035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32036 (eval $ac_compile) 2>conftest.er1
32037 ac_status=$?
32038 grep -v '^ *+' conftest.er1 >conftest.err
32039 rm -f conftest.er1
32040 cat conftest.err >&5
32041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 (exit $ac_status); } &&
32043 { ac_try='test -z "$ac_cxx_werror_flag"
32044 || test ! -s conftest.err'
32045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32046 (eval $ac_try) 2>&5
32047 ac_status=$?
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); }; } &&
32050 { ac_try='test -s conftest.$ac_objext'
32051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32052 (eval $ac_try) 2>&5
32053 ac_status=$?
32054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32055 (exit $ac_status); }; }; then
32056 glibcxx_cv_func__hypotl_use=yes
32057 else
32058 echo "$as_me: failed program was:" >&5
32059 sed 's/^/| /' conftest.$ac_ext >&5
32060
32061 glibcxx_cv_func__hypotl_use=no
32062 fi
32063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32064 ac_ext=c
32065 ac_cpp='$CPP $CPPFLAGS'
32066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32069
32070
32071 fi
32072
32073 fi
32074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32075 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32076
32077 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32078
32079 for ac_func in _hypotl
32080 do
32081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32082 echo "$as_me:$LINENO: checking for $ac_func" >&5
32083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32084 if eval "test \"\${$as_ac_var+set}\" = set"; then
32085 echo $ECHO_N "(cached) $ECHO_C" >&6
32086 else
32087 if test x$gcc_no_link = xyes; then
32088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32090 { (exit 1); exit 1; }; }
32091 fi
32092 cat >conftest.$ac_ext <<_ACEOF
32093 /* confdefs.h. */
32094 _ACEOF
32095 cat confdefs.h >>conftest.$ac_ext
32096 cat >>conftest.$ac_ext <<_ACEOF
32097 /* end confdefs.h. */
32098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32100 #define $ac_func innocuous_$ac_func
32101
32102 /* System header to define __stub macros and hopefully few prototypes,
32103 which can conflict with char $ac_func (); below.
32104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32105 <limits.h> exists even on freestanding compilers. */
32106
32107 #ifdef __STDC__
32108 # include <limits.h>
32109 #else
32110 # include <assert.h>
32111 #endif
32112
32113 #undef $ac_func
32114
32115 /* Override any gcc2 internal prototype to avoid an error. */
32116 #ifdef __cplusplus
32117 extern "C"
32118 {
32119 #endif
32120 /* We use char because int might match the return type of a gcc2
32121 builtin and then its argument prototype would still apply. */
32122 char $ac_func ();
32123 /* The GNU C library defines this for functions which it implements
32124 to always fail with ENOSYS. Some functions are actually named
32125 something starting with __ and the normal name is an alias. */
32126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32127 choke me
32128 #else
32129 char (*f) () = $ac_func;
32130 #endif
32131 #ifdef __cplusplus
32132 }
32133 #endif
32134
32135 int
32136 main ()
32137 {
32138 return f != $ac_func;
32139 ;
32140 return 0;
32141 }
32142 _ACEOF
32143 rm -f conftest.$ac_objext conftest$ac_exeext
32144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32145 (eval $ac_link) 2>conftest.er1
32146 ac_status=$?
32147 grep -v '^ *+' conftest.er1 >conftest.err
32148 rm -f conftest.er1
32149 cat conftest.err >&5
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); } &&
32152 { ac_try='test -z "$ac_c_werror_flag"
32153 || test ! -s conftest.err'
32154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32155 (eval $ac_try) 2>&5
32156 ac_status=$?
32157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32158 (exit $ac_status); }; } &&
32159 { ac_try='test -s conftest$ac_exeext'
32160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32161 (eval $ac_try) 2>&5
32162 ac_status=$?
32163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32164 (exit $ac_status); }; }; then
32165 eval "$as_ac_var=yes"
32166 else
32167 echo "$as_me: failed program was:" >&5
32168 sed 's/^/| /' conftest.$ac_ext >&5
32169
32170 eval "$as_ac_var=no"
32171 fi
32172 rm -f conftest.err conftest.$ac_objext \
32173 conftest$ac_exeext conftest.$ac_ext
32174 fi
32175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32177 if test `eval echo '${'$as_ac_var'}'` = yes; then
32178 cat >>confdefs.h <<_ACEOF
32179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32180 _ACEOF
32181
32182 fi
32183 done
32184
32185 fi
32186 fi
32187
32188
32189
32190
32191
32192
32193 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
32194 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
32195 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32196 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
32197 echo $ECHO_N "(cached) $ECHO_C" >&6
32198 else
32199
32200
32201
32202 ac_ext=cc
32203 ac_cpp='$CXXCPP $CPPFLAGS'
32204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32207
32208 cat >conftest.$ac_ext <<_ACEOF
32209 /* confdefs.h. */
32210 _ACEOF
32211 cat confdefs.h >>conftest.$ac_ext
32212 cat >>conftest.$ac_ext <<_ACEOF
32213 /* end confdefs.h. */
32214 #include <math.h>
32215 int
32216 main ()
32217 {
32218 ldexpl(0, 0);
32219 ;
32220 return 0;
32221 }
32222 _ACEOF
32223 rm -f conftest.$ac_objext
32224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32225 (eval $ac_compile) 2>conftest.er1
32226 ac_status=$?
32227 grep -v '^ *+' conftest.er1 >conftest.err
32228 rm -f conftest.er1
32229 cat conftest.err >&5
32230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32231 (exit $ac_status); } &&
32232 { ac_try='test -z "$ac_cxx_werror_flag"
32233 || test ! -s conftest.err'
32234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32235 (eval $ac_try) 2>&5
32236 ac_status=$?
32237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32238 (exit $ac_status); }; } &&
32239 { ac_try='test -s conftest.$ac_objext'
32240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32241 (eval $ac_try) 2>&5
32242 ac_status=$?
32243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244 (exit $ac_status); }; }; then
32245 glibcxx_cv_func_ldexpl_use=yes
32246 else
32247 echo "$as_me: failed program was:" >&5
32248 sed 's/^/| /' conftest.$ac_ext >&5
32249
32250 glibcxx_cv_func_ldexpl_use=no
32251 fi
32252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32253 ac_ext=c
32254 ac_cpp='$CPP $CPPFLAGS'
32255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32258
32259
32260 fi
32261
32262 fi
32263 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
32264 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
32265
32266 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32267
32268 for ac_func in ldexpl
32269 do
32270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32271 echo "$as_me:$LINENO: checking for $ac_func" >&5
32272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32273 if eval "test \"\${$as_ac_var+set}\" = set"; then
32274 echo $ECHO_N "(cached) $ECHO_C" >&6
32275 else
32276 if test x$gcc_no_link = xyes; then
32277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32279 { (exit 1); exit 1; }; }
32280 fi
32281 cat >conftest.$ac_ext <<_ACEOF
32282 /* confdefs.h. */
32283 _ACEOF
32284 cat confdefs.h >>conftest.$ac_ext
32285 cat >>conftest.$ac_ext <<_ACEOF
32286 /* end confdefs.h. */
32287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32289 #define $ac_func innocuous_$ac_func
32290
32291 /* System header to define __stub macros and hopefully few prototypes,
32292 which can conflict with char $ac_func (); below.
32293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32294 <limits.h> exists even on freestanding compilers. */
32295
32296 #ifdef __STDC__
32297 # include <limits.h>
32298 #else
32299 # include <assert.h>
32300 #endif
32301
32302 #undef $ac_func
32303
32304 /* Override any gcc2 internal prototype to avoid an error. */
32305 #ifdef __cplusplus
32306 extern "C"
32307 {
32308 #endif
32309 /* We use char because int might match the return type of a gcc2
32310 builtin and then its argument prototype would still apply. */
32311 char $ac_func ();
32312 /* The GNU C library defines this for functions which it implements
32313 to always fail with ENOSYS. Some functions are actually named
32314 something starting with __ and the normal name is an alias. */
32315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32316 choke me
32317 #else
32318 char (*f) () = $ac_func;
32319 #endif
32320 #ifdef __cplusplus
32321 }
32322 #endif
32323
32324 int
32325 main ()
32326 {
32327 return f != $ac_func;
32328 ;
32329 return 0;
32330 }
32331 _ACEOF
32332 rm -f conftest.$ac_objext conftest$ac_exeext
32333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32334 (eval $ac_link) 2>conftest.er1
32335 ac_status=$?
32336 grep -v '^ *+' conftest.er1 >conftest.err
32337 rm -f conftest.er1
32338 cat conftest.err >&5
32339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32340 (exit $ac_status); } &&
32341 { ac_try='test -z "$ac_c_werror_flag"
32342 || test ! -s conftest.err'
32343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32344 (eval $ac_try) 2>&5
32345 ac_status=$?
32346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32347 (exit $ac_status); }; } &&
32348 { ac_try='test -s conftest$ac_exeext'
32349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32350 (eval $ac_try) 2>&5
32351 ac_status=$?
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); }; }; then
32354 eval "$as_ac_var=yes"
32355 else
32356 echo "$as_me: failed program was:" >&5
32357 sed 's/^/| /' conftest.$ac_ext >&5
32358
32359 eval "$as_ac_var=no"
32360 fi
32361 rm -f conftest.err conftest.$ac_objext \
32362 conftest$ac_exeext conftest.$ac_ext
32363 fi
32364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32366 if test `eval echo '${'$as_ac_var'}'` = yes; then
32367 cat >>confdefs.h <<_ACEOF
32368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32369 _ACEOF
32370
32371 fi
32372 done
32373
32374 else
32375
32376 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
32377 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
32378 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32379 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
32380 echo $ECHO_N "(cached) $ECHO_C" >&6
32381 else
32382
32383
32384
32385 ac_ext=cc
32386 ac_cpp='$CXXCPP $CPPFLAGS'
32387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32390
32391 cat >conftest.$ac_ext <<_ACEOF
32392 /* confdefs.h. */
32393 _ACEOF
32394 cat confdefs.h >>conftest.$ac_ext
32395 cat >>conftest.$ac_ext <<_ACEOF
32396 /* end confdefs.h. */
32397 #include <math.h>
32398 int
32399 main ()
32400 {
32401 _ldexpl(0, 0);
32402 ;
32403 return 0;
32404 }
32405 _ACEOF
32406 rm -f conftest.$ac_objext
32407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32408 (eval $ac_compile) 2>conftest.er1
32409 ac_status=$?
32410 grep -v '^ *+' conftest.er1 >conftest.err
32411 rm -f conftest.er1
32412 cat conftest.err >&5
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); } &&
32415 { ac_try='test -z "$ac_cxx_werror_flag"
32416 || test ! -s conftest.err'
32417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32418 (eval $ac_try) 2>&5
32419 ac_status=$?
32420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32421 (exit $ac_status); }; } &&
32422 { ac_try='test -s conftest.$ac_objext'
32423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32424 (eval $ac_try) 2>&5
32425 ac_status=$?
32426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32427 (exit $ac_status); }; }; then
32428 glibcxx_cv_func__ldexpl_use=yes
32429 else
32430 echo "$as_me: failed program was:" >&5
32431 sed 's/^/| /' conftest.$ac_ext >&5
32432
32433 glibcxx_cv_func__ldexpl_use=no
32434 fi
32435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32436 ac_ext=c
32437 ac_cpp='$CPP $CPPFLAGS'
32438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32441
32442
32443 fi
32444
32445 fi
32446 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
32447 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
32448
32449 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32450
32451 for ac_func in _ldexpl
32452 do
32453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32454 echo "$as_me:$LINENO: checking for $ac_func" >&5
32455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32456 if eval "test \"\${$as_ac_var+set}\" = set"; then
32457 echo $ECHO_N "(cached) $ECHO_C" >&6
32458 else
32459 if test x$gcc_no_link = xyes; then
32460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32462 { (exit 1); exit 1; }; }
32463 fi
32464 cat >conftest.$ac_ext <<_ACEOF
32465 /* confdefs.h. */
32466 _ACEOF
32467 cat confdefs.h >>conftest.$ac_ext
32468 cat >>conftest.$ac_ext <<_ACEOF
32469 /* end confdefs.h. */
32470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32472 #define $ac_func innocuous_$ac_func
32473
32474 /* System header to define __stub macros and hopefully few prototypes,
32475 which can conflict with char $ac_func (); below.
32476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32477 <limits.h> exists even on freestanding compilers. */
32478
32479 #ifdef __STDC__
32480 # include <limits.h>
32481 #else
32482 # include <assert.h>
32483 #endif
32484
32485 #undef $ac_func
32486
32487 /* Override any gcc2 internal prototype to avoid an error. */
32488 #ifdef __cplusplus
32489 extern "C"
32490 {
32491 #endif
32492 /* We use char because int might match the return type of a gcc2
32493 builtin and then its argument prototype would still apply. */
32494 char $ac_func ();
32495 /* The GNU C library defines this for functions which it implements
32496 to always fail with ENOSYS. Some functions are actually named
32497 something starting with __ and the normal name is an alias. */
32498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32499 choke me
32500 #else
32501 char (*f) () = $ac_func;
32502 #endif
32503 #ifdef __cplusplus
32504 }
32505 #endif
32506
32507 int
32508 main ()
32509 {
32510 return f != $ac_func;
32511 ;
32512 return 0;
32513 }
32514 _ACEOF
32515 rm -f conftest.$ac_objext conftest$ac_exeext
32516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32517 (eval $ac_link) 2>conftest.er1
32518 ac_status=$?
32519 grep -v '^ *+' conftest.er1 >conftest.err
32520 rm -f conftest.er1
32521 cat conftest.err >&5
32522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32523 (exit $ac_status); } &&
32524 { ac_try='test -z "$ac_c_werror_flag"
32525 || test ! -s conftest.err'
32526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32527 (eval $ac_try) 2>&5
32528 ac_status=$?
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); }; } &&
32531 { ac_try='test -s conftest$ac_exeext'
32532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32533 (eval $ac_try) 2>&5
32534 ac_status=$?
32535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32536 (exit $ac_status); }; }; then
32537 eval "$as_ac_var=yes"
32538 else
32539 echo "$as_me: failed program was:" >&5
32540 sed 's/^/| /' conftest.$ac_ext >&5
32541
32542 eval "$as_ac_var=no"
32543 fi
32544 rm -f conftest.err conftest.$ac_objext \
32545 conftest$ac_exeext conftest.$ac_ext
32546 fi
32547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32549 if test `eval echo '${'$as_ac_var'}'` = yes; then
32550 cat >>confdefs.h <<_ACEOF
32551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32552 _ACEOF
32553
32554 fi
32555 done
32556
32557 fi
32558 fi
32559
32560
32561
32562
32563
32564
32565 echo "$as_me:$LINENO: checking for logl declaration" >&5
32566 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
32567 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32568 if test "${glibcxx_cv_func_logl_use+set}" = set; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32570 else
32571
32572
32573
32574 ac_ext=cc
32575 ac_cpp='$CXXCPP $CPPFLAGS'
32576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32579
32580 cat >conftest.$ac_ext <<_ACEOF
32581 /* confdefs.h. */
32582 _ACEOF
32583 cat confdefs.h >>conftest.$ac_ext
32584 cat >>conftest.$ac_ext <<_ACEOF
32585 /* end confdefs.h. */
32586 #include <math.h>
32587 #ifdef HAVE_IEEEFP_H
32588 #include <ieeefp.h>
32589 #endif
32590
32591 int
32592 main ()
32593 {
32594 logl(0);
32595 ;
32596 return 0;
32597 }
32598 _ACEOF
32599 rm -f conftest.$ac_objext
32600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32601 (eval $ac_compile) 2>conftest.er1
32602 ac_status=$?
32603 grep -v '^ *+' conftest.er1 >conftest.err
32604 rm -f conftest.er1
32605 cat conftest.err >&5
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); } &&
32608 { ac_try='test -z "$ac_cxx_werror_flag"
32609 || test ! -s conftest.err'
32610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32611 (eval $ac_try) 2>&5
32612 ac_status=$?
32613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32614 (exit $ac_status); }; } &&
32615 { ac_try='test -s conftest.$ac_objext'
32616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32617 (eval $ac_try) 2>&5
32618 ac_status=$?
32619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620 (exit $ac_status); }; }; then
32621 glibcxx_cv_func_logl_use=yes
32622 else
32623 echo "$as_me: failed program was:" >&5
32624 sed 's/^/| /' conftest.$ac_ext >&5
32625
32626 glibcxx_cv_func_logl_use=no
32627 fi
32628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32629 ac_ext=c
32630 ac_cpp='$CPP $CPPFLAGS'
32631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32634
32635
32636 fi
32637
32638 fi
32639 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
32640 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
32641
32642 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32643
32644 for ac_func in logl
32645 do
32646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32647 echo "$as_me:$LINENO: checking for $ac_func" >&5
32648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32649 if eval "test \"\${$as_ac_var+set}\" = set"; then
32650 echo $ECHO_N "(cached) $ECHO_C" >&6
32651 else
32652 if test x$gcc_no_link = xyes; then
32653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32655 { (exit 1); exit 1; }; }
32656 fi
32657 cat >conftest.$ac_ext <<_ACEOF
32658 /* confdefs.h. */
32659 _ACEOF
32660 cat confdefs.h >>conftest.$ac_ext
32661 cat >>conftest.$ac_ext <<_ACEOF
32662 /* end confdefs.h. */
32663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32665 #define $ac_func innocuous_$ac_func
32666
32667 /* System header to define __stub macros and hopefully few prototypes,
32668 which can conflict with char $ac_func (); below.
32669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32670 <limits.h> exists even on freestanding compilers. */
32671
32672 #ifdef __STDC__
32673 # include <limits.h>
32674 #else
32675 # include <assert.h>
32676 #endif
32677
32678 #undef $ac_func
32679
32680 /* Override any gcc2 internal prototype to avoid an error. */
32681 #ifdef __cplusplus
32682 extern "C"
32683 {
32684 #endif
32685 /* We use char because int might match the return type of a gcc2
32686 builtin and then its argument prototype would still apply. */
32687 char $ac_func ();
32688 /* The GNU C library defines this for functions which it implements
32689 to always fail with ENOSYS. Some functions are actually named
32690 something starting with __ and the normal name is an alias. */
32691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32692 choke me
32693 #else
32694 char (*f) () = $ac_func;
32695 #endif
32696 #ifdef __cplusplus
32697 }
32698 #endif
32699
32700 int
32701 main ()
32702 {
32703 return f != $ac_func;
32704 ;
32705 return 0;
32706 }
32707 _ACEOF
32708 rm -f conftest.$ac_objext conftest$ac_exeext
32709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32710 (eval $ac_link) 2>conftest.er1
32711 ac_status=$?
32712 grep -v '^ *+' conftest.er1 >conftest.err
32713 rm -f conftest.er1
32714 cat conftest.err >&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); } &&
32717 { ac_try='test -z "$ac_c_werror_flag"
32718 || test ! -s conftest.err'
32719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32720 (eval $ac_try) 2>&5
32721 ac_status=$?
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); }; } &&
32724 { ac_try='test -s conftest$ac_exeext'
32725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32726 (eval $ac_try) 2>&5
32727 ac_status=$?
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); }; }; then
32730 eval "$as_ac_var=yes"
32731 else
32732 echo "$as_me: failed program was:" >&5
32733 sed 's/^/| /' conftest.$ac_ext >&5
32734
32735 eval "$as_ac_var=no"
32736 fi
32737 rm -f conftest.err conftest.$ac_objext \
32738 conftest$ac_exeext conftest.$ac_ext
32739 fi
32740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32742 if test `eval echo '${'$as_ac_var'}'` = yes; then
32743 cat >>confdefs.h <<_ACEOF
32744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32745 _ACEOF
32746
32747 fi
32748 done
32749
32750 else
32751
32752 echo "$as_me:$LINENO: checking for _logl declaration" >&5
32753 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
32754 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32755 if test "${glibcxx_cv_func__logl_use+set}" = set; then
32756 echo $ECHO_N "(cached) $ECHO_C" >&6
32757 else
32758
32759
32760
32761 ac_ext=cc
32762 ac_cpp='$CXXCPP $CPPFLAGS'
32763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32766
32767 cat >conftest.$ac_ext <<_ACEOF
32768 /* confdefs.h. */
32769 _ACEOF
32770 cat confdefs.h >>conftest.$ac_ext
32771 cat >>conftest.$ac_ext <<_ACEOF
32772 /* end confdefs.h. */
32773 #include <math.h>
32774 #ifdef HAVE_IEEEFP_H
32775 #include <ieeefp.h>
32776 #endif
32777
32778 int
32779 main ()
32780 {
32781 _logl(0);
32782 ;
32783 return 0;
32784 }
32785 _ACEOF
32786 rm -f conftest.$ac_objext
32787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32788 (eval $ac_compile) 2>conftest.er1
32789 ac_status=$?
32790 grep -v '^ *+' conftest.er1 >conftest.err
32791 rm -f conftest.er1
32792 cat conftest.err >&5
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); } &&
32795 { ac_try='test -z "$ac_cxx_werror_flag"
32796 || test ! -s conftest.err'
32797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32798 (eval $ac_try) 2>&5
32799 ac_status=$?
32800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32801 (exit $ac_status); }; } &&
32802 { ac_try='test -s conftest.$ac_objext'
32803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32804 (eval $ac_try) 2>&5
32805 ac_status=$?
32806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32807 (exit $ac_status); }; }; then
32808 glibcxx_cv_func__logl_use=yes
32809 else
32810 echo "$as_me: failed program was:" >&5
32811 sed 's/^/| /' conftest.$ac_ext >&5
32812
32813 glibcxx_cv_func__logl_use=no
32814 fi
32815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32816 ac_ext=c
32817 ac_cpp='$CPP $CPPFLAGS'
32818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32821
32822
32823 fi
32824
32825 fi
32826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
32827 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
32828
32829 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32830
32831 for ac_func in _logl
32832 do
32833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32834 echo "$as_me:$LINENO: checking for $ac_func" >&5
32835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32836 if eval "test \"\${$as_ac_var+set}\" = set"; then
32837 echo $ECHO_N "(cached) $ECHO_C" >&6
32838 else
32839 if test x$gcc_no_link = xyes; then
32840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32842 { (exit 1); exit 1; }; }
32843 fi
32844 cat >conftest.$ac_ext <<_ACEOF
32845 /* confdefs.h. */
32846 _ACEOF
32847 cat confdefs.h >>conftest.$ac_ext
32848 cat >>conftest.$ac_ext <<_ACEOF
32849 /* end confdefs.h. */
32850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32852 #define $ac_func innocuous_$ac_func
32853
32854 /* System header to define __stub macros and hopefully few prototypes,
32855 which can conflict with char $ac_func (); below.
32856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32857 <limits.h> exists even on freestanding compilers. */
32858
32859 #ifdef __STDC__
32860 # include <limits.h>
32861 #else
32862 # include <assert.h>
32863 #endif
32864
32865 #undef $ac_func
32866
32867 /* Override any gcc2 internal prototype to avoid an error. */
32868 #ifdef __cplusplus
32869 extern "C"
32870 {
32871 #endif
32872 /* We use char because int might match the return type of a gcc2
32873 builtin and then its argument prototype would still apply. */
32874 char $ac_func ();
32875 /* The GNU C library defines this for functions which it implements
32876 to always fail with ENOSYS. Some functions are actually named
32877 something starting with __ and the normal name is an alias. */
32878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32879 choke me
32880 #else
32881 char (*f) () = $ac_func;
32882 #endif
32883 #ifdef __cplusplus
32884 }
32885 #endif
32886
32887 int
32888 main ()
32889 {
32890 return f != $ac_func;
32891 ;
32892 return 0;
32893 }
32894 _ACEOF
32895 rm -f conftest.$ac_objext conftest$ac_exeext
32896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32897 (eval $ac_link) 2>conftest.er1
32898 ac_status=$?
32899 grep -v '^ *+' conftest.er1 >conftest.err
32900 rm -f conftest.er1
32901 cat conftest.err >&5
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 (exit $ac_status); } &&
32904 { ac_try='test -z "$ac_c_werror_flag"
32905 || test ! -s conftest.err'
32906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32907 (eval $ac_try) 2>&5
32908 ac_status=$?
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); }; } &&
32911 { ac_try='test -s conftest$ac_exeext'
32912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32913 (eval $ac_try) 2>&5
32914 ac_status=$?
32915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916 (exit $ac_status); }; }; then
32917 eval "$as_ac_var=yes"
32918 else
32919 echo "$as_me: failed program was:" >&5
32920 sed 's/^/| /' conftest.$ac_ext >&5
32921
32922 eval "$as_ac_var=no"
32923 fi
32924 rm -f conftest.err conftest.$ac_objext \
32925 conftest$ac_exeext conftest.$ac_ext
32926 fi
32927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32929 if test `eval echo '${'$as_ac_var'}'` = yes; then
32930 cat >>confdefs.h <<_ACEOF
32931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32932 _ACEOF
32933
32934 fi
32935 done
32936
32937 fi
32938 fi
32939
32940
32941
32942
32943
32944
32945 echo "$as_me:$LINENO: checking for log10l declaration" >&5
32946 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
32947 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32948 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
32949 echo $ECHO_N "(cached) $ECHO_C" >&6
32950 else
32951
32952
32953
32954 ac_ext=cc
32955 ac_cpp='$CXXCPP $CPPFLAGS'
32956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32959
32960 cat >conftest.$ac_ext <<_ACEOF
32961 /* confdefs.h. */
32962 _ACEOF
32963 cat confdefs.h >>conftest.$ac_ext
32964 cat >>conftest.$ac_ext <<_ACEOF
32965 /* end confdefs.h. */
32966 #include <math.h>
32967 #ifdef HAVE_IEEEFP_H
32968 #include <ieeefp.h>
32969 #endif
32970
32971 int
32972 main ()
32973 {
32974 log10l(0);
32975 ;
32976 return 0;
32977 }
32978 _ACEOF
32979 rm -f conftest.$ac_objext
32980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32981 (eval $ac_compile) 2>conftest.er1
32982 ac_status=$?
32983 grep -v '^ *+' conftest.er1 >conftest.err
32984 rm -f conftest.er1
32985 cat conftest.err >&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); } &&
32988 { ac_try='test -z "$ac_cxx_werror_flag"
32989 || test ! -s conftest.err'
32990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32991 (eval $ac_try) 2>&5
32992 ac_status=$?
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); }; } &&
32995 { ac_try='test -s conftest.$ac_objext'
32996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32997 (eval $ac_try) 2>&5
32998 ac_status=$?
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); }; }; then
33001 glibcxx_cv_func_log10l_use=yes
33002 else
33003 echo "$as_me: failed program was:" >&5
33004 sed 's/^/| /' conftest.$ac_ext >&5
33005
33006 glibcxx_cv_func_log10l_use=no
33007 fi
33008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33009 ac_ext=c
33010 ac_cpp='$CPP $CPPFLAGS'
33011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33014
33015
33016 fi
33017
33018 fi
33019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33020 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33021
33022 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33023
33024 for ac_func in log10l
33025 do
33026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33027 echo "$as_me:$LINENO: checking for $ac_func" >&5
33028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33029 if eval "test \"\${$as_ac_var+set}\" = set"; then
33030 echo $ECHO_N "(cached) $ECHO_C" >&6
33031 else
33032 if test x$gcc_no_link = xyes; then
33033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33035 { (exit 1); exit 1; }; }
33036 fi
33037 cat >conftest.$ac_ext <<_ACEOF
33038 /* confdefs.h. */
33039 _ACEOF
33040 cat confdefs.h >>conftest.$ac_ext
33041 cat >>conftest.$ac_ext <<_ACEOF
33042 /* end confdefs.h. */
33043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33045 #define $ac_func innocuous_$ac_func
33046
33047 /* System header to define __stub macros and hopefully few prototypes,
33048 which can conflict with char $ac_func (); below.
33049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33050 <limits.h> exists even on freestanding compilers. */
33051
33052 #ifdef __STDC__
33053 # include <limits.h>
33054 #else
33055 # include <assert.h>
33056 #endif
33057
33058 #undef $ac_func
33059
33060 /* Override any gcc2 internal prototype to avoid an error. */
33061 #ifdef __cplusplus
33062 extern "C"
33063 {
33064 #endif
33065 /* We use char because int might match the return type of a gcc2
33066 builtin and then its argument prototype would still apply. */
33067 char $ac_func ();
33068 /* The GNU C library defines this for functions which it implements
33069 to always fail with ENOSYS. Some functions are actually named
33070 something starting with __ and the normal name is an alias. */
33071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33072 choke me
33073 #else
33074 char (*f) () = $ac_func;
33075 #endif
33076 #ifdef __cplusplus
33077 }
33078 #endif
33079
33080 int
33081 main ()
33082 {
33083 return f != $ac_func;
33084 ;
33085 return 0;
33086 }
33087 _ACEOF
33088 rm -f conftest.$ac_objext conftest$ac_exeext
33089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33090 (eval $ac_link) 2>conftest.er1
33091 ac_status=$?
33092 grep -v '^ *+' conftest.er1 >conftest.err
33093 rm -f conftest.er1
33094 cat conftest.err >&5
33095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33096 (exit $ac_status); } &&
33097 { ac_try='test -z "$ac_c_werror_flag"
33098 || test ! -s conftest.err'
33099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33100 (eval $ac_try) 2>&5
33101 ac_status=$?
33102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33103 (exit $ac_status); }; } &&
33104 { ac_try='test -s conftest$ac_exeext'
33105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33106 (eval $ac_try) 2>&5
33107 ac_status=$?
33108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33109 (exit $ac_status); }; }; then
33110 eval "$as_ac_var=yes"
33111 else
33112 echo "$as_me: failed program was:" >&5
33113 sed 's/^/| /' conftest.$ac_ext >&5
33114
33115 eval "$as_ac_var=no"
33116 fi
33117 rm -f conftest.err conftest.$ac_objext \
33118 conftest$ac_exeext conftest.$ac_ext
33119 fi
33120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33122 if test `eval echo '${'$as_ac_var'}'` = yes; then
33123 cat >>confdefs.h <<_ACEOF
33124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33125 _ACEOF
33126
33127 fi
33128 done
33129
33130 else
33131
33132 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
33133 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
33134 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33135 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
33136 echo $ECHO_N "(cached) $ECHO_C" >&6
33137 else
33138
33139
33140
33141 ac_ext=cc
33142 ac_cpp='$CXXCPP $CPPFLAGS'
33143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33146
33147 cat >conftest.$ac_ext <<_ACEOF
33148 /* confdefs.h. */
33149 _ACEOF
33150 cat confdefs.h >>conftest.$ac_ext
33151 cat >>conftest.$ac_ext <<_ACEOF
33152 /* end confdefs.h. */
33153 #include <math.h>
33154 #ifdef HAVE_IEEEFP_H
33155 #include <ieeefp.h>
33156 #endif
33157
33158 int
33159 main ()
33160 {
33161 _log10l(0);
33162 ;
33163 return 0;
33164 }
33165 _ACEOF
33166 rm -f conftest.$ac_objext
33167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33168 (eval $ac_compile) 2>conftest.er1
33169 ac_status=$?
33170 grep -v '^ *+' conftest.er1 >conftest.err
33171 rm -f conftest.er1
33172 cat conftest.err >&5
33173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33174 (exit $ac_status); } &&
33175 { ac_try='test -z "$ac_cxx_werror_flag"
33176 || test ! -s conftest.err'
33177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33178 (eval $ac_try) 2>&5
33179 ac_status=$?
33180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33181 (exit $ac_status); }; } &&
33182 { ac_try='test -s conftest.$ac_objext'
33183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33184 (eval $ac_try) 2>&5
33185 ac_status=$?
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); }; }; then
33188 glibcxx_cv_func__log10l_use=yes
33189 else
33190 echo "$as_me: failed program was:" >&5
33191 sed 's/^/| /' conftest.$ac_ext >&5
33192
33193 glibcxx_cv_func__log10l_use=no
33194 fi
33195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33196 ac_ext=c
33197 ac_cpp='$CPP $CPPFLAGS'
33198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33201
33202
33203 fi
33204
33205 fi
33206 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
33207 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
33208
33209 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33210
33211 for ac_func in _log10l
33212 do
33213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33214 echo "$as_me:$LINENO: checking for $ac_func" >&5
33215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33216 if eval "test \"\${$as_ac_var+set}\" = set"; then
33217 echo $ECHO_N "(cached) $ECHO_C" >&6
33218 else
33219 if test x$gcc_no_link = xyes; then
33220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33222 { (exit 1); exit 1; }; }
33223 fi
33224 cat >conftest.$ac_ext <<_ACEOF
33225 /* confdefs.h. */
33226 _ACEOF
33227 cat confdefs.h >>conftest.$ac_ext
33228 cat >>conftest.$ac_ext <<_ACEOF
33229 /* end confdefs.h. */
33230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33232 #define $ac_func innocuous_$ac_func
33233
33234 /* System header to define __stub macros and hopefully few prototypes,
33235 which can conflict with char $ac_func (); below.
33236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33237 <limits.h> exists even on freestanding compilers. */
33238
33239 #ifdef __STDC__
33240 # include <limits.h>
33241 #else
33242 # include <assert.h>
33243 #endif
33244
33245 #undef $ac_func
33246
33247 /* Override any gcc2 internal prototype to avoid an error. */
33248 #ifdef __cplusplus
33249 extern "C"
33250 {
33251 #endif
33252 /* We use char because int might match the return type of a gcc2
33253 builtin and then its argument prototype would still apply. */
33254 char $ac_func ();
33255 /* The GNU C library defines this for functions which it implements
33256 to always fail with ENOSYS. Some functions are actually named
33257 something starting with __ and the normal name is an alias. */
33258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33259 choke me
33260 #else
33261 char (*f) () = $ac_func;
33262 #endif
33263 #ifdef __cplusplus
33264 }
33265 #endif
33266
33267 int
33268 main ()
33269 {
33270 return f != $ac_func;
33271 ;
33272 return 0;
33273 }
33274 _ACEOF
33275 rm -f conftest.$ac_objext conftest$ac_exeext
33276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33277 (eval $ac_link) 2>conftest.er1
33278 ac_status=$?
33279 grep -v '^ *+' conftest.er1 >conftest.err
33280 rm -f conftest.er1
33281 cat conftest.err >&5
33282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33283 (exit $ac_status); } &&
33284 { ac_try='test -z "$ac_c_werror_flag"
33285 || test ! -s conftest.err'
33286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33287 (eval $ac_try) 2>&5
33288 ac_status=$?
33289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290 (exit $ac_status); }; } &&
33291 { ac_try='test -s conftest$ac_exeext'
33292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33293 (eval $ac_try) 2>&5
33294 ac_status=$?
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); }; }; then
33297 eval "$as_ac_var=yes"
33298 else
33299 echo "$as_me: failed program was:" >&5
33300 sed 's/^/| /' conftest.$ac_ext >&5
33301
33302 eval "$as_ac_var=no"
33303 fi
33304 rm -f conftest.err conftest.$ac_objext \
33305 conftest$ac_exeext conftest.$ac_ext
33306 fi
33307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33309 if test `eval echo '${'$as_ac_var'}'` = yes; then
33310 cat >>confdefs.h <<_ACEOF
33311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33312 _ACEOF
33313
33314 fi
33315 done
33316
33317 fi
33318 fi
33319
33320
33321
33322
33323
33324
33325 echo "$as_me:$LINENO: checking for modfl declaration" >&5
33326 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
33327 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33328 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
33329 echo $ECHO_N "(cached) $ECHO_C" >&6
33330 else
33331
33332
33333
33334 ac_ext=cc
33335 ac_cpp='$CXXCPP $CPPFLAGS'
33336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33339
33340 cat >conftest.$ac_ext <<_ACEOF
33341 /* confdefs.h. */
33342 _ACEOF
33343 cat confdefs.h >>conftest.$ac_ext
33344 cat >>conftest.$ac_ext <<_ACEOF
33345 /* end confdefs.h. */
33346 #include <math.h>
33347 int
33348 main ()
33349 {
33350 modfl(0, 0);
33351 ;
33352 return 0;
33353 }
33354 _ACEOF
33355 rm -f conftest.$ac_objext
33356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33357 (eval $ac_compile) 2>conftest.er1
33358 ac_status=$?
33359 grep -v '^ *+' conftest.er1 >conftest.err
33360 rm -f conftest.er1
33361 cat conftest.err >&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); } &&
33364 { ac_try='test -z "$ac_cxx_werror_flag"
33365 || test ! -s conftest.err'
33366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33367 (eval $ac_try) 2>&5
33368 ac_status=$?
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); }; } &&
33371 { ac_try='test -s conftest.$ac_objext'
33372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33373 (eval $ac_try) 2>&5
33374 ac_status=$?
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 (exit $ac_status); }; }; then
33377 glibcxx_cv_func_modfl_use=yes
33378 else
33379 echo "$as_me: failed program was:" >&5
33380 sed 's/^/| /' conftest.$ac_ext >&5
33381
33382 glibcxx_cv_func_modfl_use=no
33383 fi
33384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33385 ac_ext=c
33386 ac_cpp='$CPP $CPPFLAGS'
33387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33390
33391
33392 fi
33393
33394 fi
33395 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
33396 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
33397
33398 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33399
33400 for ac_func in modfl
33401 do
33402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33403 echo "$as_me:$LINENO: checking for $ac_func" >&5
33404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33405 if eval "test \"\${$as_ac_var+set}\" = set"; then
33406 echo $ECHO_N "(cached) $ECHO_C" >&6
33407 else
33408 if test x$gcc_no_link = xyes; then
33409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33411 { (exit 1); exit 1; }; }
33412 fi
33413 cat >conftest.$ac_ext <<_ACEOF
33414 /* confdefs.h. */
33415 _ACEOF
33416 cat confdefs.h >>conftest.$ac_ext
33417 cat >>conftest.$ac_ext <<_ACEOF
33418 /* end confdefs.h. */
33419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33421 #define $ac_func innocuous_$ac_func
33422
33423 /* System header to define __stub macros and hopefully few prototypes,
33424 which can conflict with char $ac_func (); below.
33425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33426 <limits.h> exists even on freestanding compilers. */
33427
33428 #ifdef __STDC__
33429 # include <limits.h>
33430 #else
33431 # include <assert.h>
33432 #endif
33433
33434 #undef $ac_func
33435
33436 /* Override any gcc2 internal prototype to avoid an error. */
33437 #ifdef __cplusplus
33438 extern "C"
33439 {
33440 #endif
33441 /* We use char because int might match the return type of a gcc2
33442 builtin and then its argument prototype would still apply. */
33443 char $ac_func ();
33444 /* The GNU C library defines this for functions which it implements
33445 to always fail with ENOSYS. Some functions are actually named
33446 something starting with __ and the normal name is an alias. */
33447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33448 choke me
33449 #else
33450 char (*f) () = $ac_func;
33451 #endif
33452 #ifdef __cplusplus
33453 }
33454 #endif
33455
33456 int
33457 main ()
33458 {
33459 return f != $ac_func;
33460 ;
33461 return 0;
33462 }
33463 _ACEOF
33464 rm -f conftest.$ac_objext conftest$ac_exeext
33465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33466 (eval $ac_link) 2>conftest.er1
33467 ac_status=$?
33468 grep -v '^ *+' conftest.er1 >conftest.err
33469 rm -f conftest.er1
33470 cat conftest.err >&5
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); } &&
33473 { ac_try='test -z "$ac_c_werror_flag"
33474 || test ! -s conftest.err'
33475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33476 (eval $ac_try) 2>&5
33477 ac_status=$?
33478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33479 (exit $ac_status); }; } &&
33480 { ac_try='test -s conftest$ac_exeext'
33481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33482 (eval $ac_try) 2>&5
33483 ac_status=$?
33484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33485 (exit $ac_status); }; }; then
33486 eval "$as_ac_var=yes"
33487 else
33488 echo "$as_me: failed program was:" >&5
33489 sed 's/^/| /' conftest.$ac_ext >&5
33490
33491 eval "$as_ac_var=no"
33492 fi
33493 rm -f conftest.err conftest.$ac_objext \
33494 conftest$ac_exeext conftest.$ac_ext
33495 fi
33496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33498 if test `eval echo '${'$as_ac_var'}'` = yes; then
33499 cat >>confdefs.h <<_ACEOF
33500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33501 _ACEOF
33502
33503 fi
33504 done
33505
33506 else
33507
33508 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
33509 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
33510 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33511 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
33512 echo $ECHO_N "(cached) $ECHO_C" >&6
33513 else
33514
33515
33516
33517 ac_ext=cc
33518 ac_cpp='$CXXCPP $CPPFLAGS'
33519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33522
33523 cat >conftest.$ac_ext <<_ACEOF
33524 /* confdefs.h. */
33525 _ACEOF
33526 cat confdefs.h >>conftest.$ac_ext
33527 cat >>conftest.$ac_ext <<_ACEOF
33528 /* end confdefs.h. */
33529 #include <math.h>
33530 int
33531 main ()
33532 {
33533 _modfl(0, 0);
33534 ;
33535 return 0;
33536 }
33537 _ACEOF
33538 rm -f conftest.$ac_objext
33539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33540 (eval $ac_compile) 2>conftest.er1
33541 ac_status=$?
33542 grep -v '^ *+' conftest.er1 >conftest.err
33543 rm -f conftest.er1
33544 cat conftest.err >&5
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); } &&
33547 { ac_try='test -z "$ac_cxx_werror_flag"
33548 || test ! -s conftest.err'
33549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33550 (eval $ac_try) 2>&5
33551 ac_status=$?
33552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33553 (exit $ac_status); }; } &&
33554 { ac_try='test -s conftest.$ac_objext'
33555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33556 (eval $ac_try) 2>&5
33557 ac_status=$?
33558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33559 (exit $ac_status); }; }; then
33560 glibcxx_cv_func__modfl_use=yes
33561 else
33562 echo "$as_me: failed program was:" >&5
33563 sed 's/^/| /' conftest.$ac_ext >&5
33564
33565 glibcxx_cv_func__modfl_use=no
33566 fi
33567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33568 ac_ext=c
33569 ac_cpp='$CPP $CPPFLAGS'
33570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33573
33574
33575 fi
33576
33577 fi
33578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
33579 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
33580
33581 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33582
33583 for ac_func in _modfl
33584 do
33585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33586 echo "$as_me:$LINENO: checking for $ac_func" >&5
33587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33588 if eval "test \"\${$as_ac_var+set}\" = set"; then
33589 echo $ECHO_N "(cached) $ECHO_C" >&6
33590 else
33591 if test x$gcc_no_link = xyes; then
33592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33594 { (exit 1); exit 1; }; }
33595 fi
33596 cat >conftest.$ac_ext <<_ACEOF
33597 /* confdefs.h. */
33598 _ACEOF
33599 cat confdefs.h >>conftest.$ac_ext
33600 cat >>conftest.$ac_ext <<_ACEOF
33601 /* end confdefs.h. */
33602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33604 #define $ac_func innocuous_$ac_func
33605
33606 /* System header to define __stub macros and hopefully few prototypes,
33607 which can conflict with char $ac_func (); below.
33608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33609 <limits.h> exists even on freestanding compilers. */
33610
33611 #ifdef __STDC__
33612 # include <limits.h>
33613 #else
33614 # include <assert.h>
33615 #endif
33616
33617 #undef $ac_func
33618
33619 /* Override any gcc2 internal prototype to avoid an error. */
33620 #ifdef __cplusplus
33621 extern "C"
33622 {
33623 #endif
33624 /* We use char because int might match the return type of a gcc2
33625 builtin and then its argument prototype would still apply. */
33626 char $ac_func ();
33627 /* The GNU C library defines this for functions which it implements
33628 to always fail with ENOSYS. Some functions are actually named
33629 something starting with __ and the normal name is an alias. */
33630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33631 choke me
33632 #else
33633 char (*f) () = $ac_func;
33634 #endif
33635 #ifdef __cplusplus
33636 }
33637 #endif
33638
33639 int
33640 main ()
33641 {
33642 return f != $ac_func;
33643 ;
33644 return 0;
33645 }
33646 _ACEOF
33647 rm -f conftest.$ac_objext conftest$ac_exeext
33648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33649 (eval $ac_link) 2>conftest.er1
33650 ac_status=$?
33651 grep -v '^ *+' conftest.er1 >conftest.err
33652 rm -f conftest.er1
33653 cat conftest.err >&5
33654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33655 (exit $ac_status); } &&
33656 { ac_try='test -z "$ac_c_werror_flag"
33657 || test ! -s conftest.err'
33658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33659 (eval $ac_try) 2>&5
33660 ac_status=$?
33661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33662 (exit $ac_status); }; } &&
33663 { ac_try='test -s conftest$ac_exeext'
33664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33665 (eval $ac_try) 2>&5
33666 ac_status=$?
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); }; }; then
33669 eval "$as_ac_var=yes"
33670 else
33671 echo "$as_me: failed program was:" >&5
33672 sed 's/^/| /' conftest.$ac_ext >&5
33673
33674 eval "$as_ac_var=no"
33675 fi
33676 rm -f conftest.err conftest.$ac_objext \
33677 conftest$ac_exeext conftest.$ac_ext
33678 fi
33679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33681 if test `eval echo '${'$as_ac_var'}'` = yes; then
33682 cat >>confdefs.h <<_ACEOF
33683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33684 _ACEOF
33685
33686 fi
33687 done
33688
33689 fi
33690 fi
33691
33692
33693
33694
33695
33696
33697 echo "$as_me:$LINENO: checking for powl declaration" >&5
33698 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
33699 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33700 if test "${glibcxx_cv_func_powl_use+set}" = set; then
33701 echo $ECHO_N "(cached) $ECHO_C" >&6
33702 else
33703
33704
33705
33706 ac_ext=cc
33707 ac_cpp='$CXXCPP $CPPFLAGS'
33708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33711
33712 cat >conftest.$ac_ext <<_ACEOF
33713 /* confdefs.h. */
33714 _ACEOF
33715 cat confdefs.h >>conftest.$ac_ext
33716 cat >>conftest.$ac_ext <<_ACEOF
33717 /* end confdefs.h. */
33718 #include <math.h>
33719 int
33720 main ()
33721 {
33722 powl(0, 0);
33723 ;
33724 return 0;
33725 }
33726 _ACEOF
33727 rm -f conftest.$ac_objext
33728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33729 (eval $ac_compile) 2>conftest.er1
33730 ac_status=$?
33731 grep -v '^ *+' conftest.er1 >conftest.err
33732 rm -f conftest.er1
33733 cat conftest.err >&5
33734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33735 (exit $ac_status); } &&
33736 { ac_try='test -z "$ac_cxx_werror_flag"
33737 || test ! -s conftest.err'
33738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33739 (eval $ac_try) 2>&5
33740 ac_status=$?
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); }; } &&
33743 { ac_try='test -s conftest.$ac_objext'
33744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33745 (eval $ac_try) 2>&5
33746 ac_status=$?
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); }; }; then
33749 glibcxx_cv_func_powl_use=yes
33750 else
33751 echo "$as_me: failed program was:" >&5
33752 sed 's/^/| /' conftest.$ac_ext >&5
33753
33754 glibcxx_cv_func_powl_use=no
33755 fi
33756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33757 ac_ext=c
33758 ac_cpp='$CPP $CPPFLAGS'
33759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33762
33763
33764 fi
33765
33766 fi
33767 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
33768 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
33769
33770 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33771
33772 for ac_func in powl
33773 do
33774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33775 echo "$as_me:$LINENO: checking for $ac_func" >&5
33776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33777 if eval "test \"\${$as_ac_var+set}\" = set"; then
33778 echo $ECHO_N "(cached) $ECHO_C" >&6
33779 else
33780 if test x$gcc_no_link = xyes; then
33781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33783 { (exit 1); exit 1; }; }
33784 fi
33785 cat >conftest.$ac_ext <<_ACEOF
33786 /* confdefs.h. */
33787 _ACEOF
33788 cat confdefs.h >>conftest.$ac_ext
33789 cat >>conftest.$ac_ext <<_ACEOF
33790 /* end confdefs.h. */
33791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33793 #define $ac_func innocuous_$ac_func
33794
33795 /* System header to define __stub macros and hopefully few prototypes,
33796 which can conflict with char $ac_func (); below.
33797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33798 <limits.h> exists even on freestanding compilers. */
33799
33800 #ifdef __STDC__
33801 # include <limits.h>
33802 #else
33803 # include <assert.h>
33804 #endif
33805
33806 #undef $ac_func
33807
33808 /* Override any gcc2 internal prototype to avoid an error. */
33809 #ifdef __cplusplus
33810 extern "C"
33811 {
33812 #endif
33813 /* We use char because int might match the return type of a gcc2
33814 builtin and then its argument prototype would still apply. */
33815 char $ac_func ();
33816 /* The GNU C library defines this for functions which it implements
33817 to always fail with ENOSYS. Some functions are actually named
33818 something starting with __ and the normal name is an alias. */
33819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33820 choke me
33821 #else
33822 char (*f) () = $ac_func;
33823 #endif
33824 #ifdef __cplusplus
33825 }
33826 #endif
33827
33828 int
33829 main ()
33830 {
33831 return f != $ac_func;
33832 ;
33833 return 0;
33834 }
33835 _ACEOF
33836 rm -f conftest.$ac_objext conftest$ac_exeext
33837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33838 (eval $ac_link) 2>conftest.er1
33839 ac_status=$?
33840 grep -v '^ *+' conftest.er1 >conftest.err
33841 rm -f conftest.er1
33842 cat conftest.err >&5
33843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33844 (exit $ac_status); } &&
33845 { ac_try='test -z "$ac_c_werror_flag"
33846 || test ! -s conftest.err'
33847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33848 (eval $ac_try) 2>&5
33849 ac_status=$?
33850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33851 (exit $ac_status); }; } &&
33852 { ac_try='test -s conftest$ac_exeext'
33853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33854 (eval $ac_try) 2>&5
33855 ac_status=$?
33856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33857 (exit $ac_status); }; }; then
33858 eval "$as_ac_var=yes"
33859 else
33860 echo "$as_me: failed program was:" >&5
33861 sed 's/^/| /' conftest.$ac_ext >&5
33862
33863 eval "$as_ac_var=no"
33864 fi
33865 rm -f conftest.err conftest.$ac_objext \
33866 conftest$ac_exeext conftest.$ac_ext
33867 fi
33868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33870 if test `eval echo '${'$as_ac_var'}'` = yes; then
33871 cat >>confdefs.h <<_ACEOF
33872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33873 _ACEOF
33874
33875 fi
33876 done
33877
33878 else
33879
33880 echo "$as_me:$LINENO: checking for _powl declaration" >&5
33881 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
33882 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33883 if test "${glibcxx_cv_func__powl_use+set}" = set; then
33884 echo $ECHO_N "(cached) $ECHO_C" >&6
33885 else
33886
33887
33888
33889 ac_ext=cc
33890 ac_cpp='$CXXCPP $CPPFLAGS'
33891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33894
33895 cat >conftest.$ac_ext <<_ACEOF
33896 /* confdefs.h. */
33897 _ACEOF
33898 cat confdefs.h >>conftest.$ac_ext
33899 cat >>conftest.$ac_ext <<_ACEOF
33900 /* end confdefs.h. */
33901 #include <math.h>
33902 int
33903 main ()
33904 {
33905 _powl(0, 0);
33906 ;
33907 return 0;
33908 }
33909 _ACEOF
33910 rm -f conftest.$ac_objext
33911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33912 (eval $ac_compile) 2>conftest.er1
33913 ac_status=$?
33914 grep -v '^ *+' conftest.er1 >conftest.err
33915 rm -f conftest.er1
33916 cat conftest.err >&5
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); } &&
33919 { ac_try='test -z "$ac_cxx_werror_flag"
33920 || test ! -s conftest.err'
33921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33922 (eval $ac_try) 2>&5
33923 ac_status=$?
33924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33925 (exit $ac_status); }; } &&
33926 { ac_try='test -s conftest.$ac_objext'
33927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33928 (eval $ac_try) 2>&5
33929 ac_status=$?
33930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33931 (exit $ac_status); }; }; then
33932 glibcxx_cv_func__powl_use=yes
33933 else
33934 echo "$as_me: failed program was:" >&5
33935 sed 's/^/| /' conftest.$ac_ext >&5
33936
33937 glibcxx_cv_func__powl_use=no
33938 fi
33939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33940 ac_ext=c
33941 ac_cpp='$CPP $CPPFLAGS'
33942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33945
33946
33947 fi
33948
33949 fi
33950 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
33951 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
33952
33953 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33954
33955 for ac_func in _powl
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 fi
34062 fi
34063
34064
34065
34066
34067
34068
34069 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34070 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34071 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34072 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34073 echo $ECHO_N "(cached) $ECHO_C" >&6
34074 else
34075
34076
34077
34078 ac_ext=cc
34079 ac_cpp='$CXXCPP $CPPFLAGS'
34080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34083
34084 cat >conftest.$ac_ext <<_ACEOF
34085 /* confdefs.h. */
34086 _ACEOF
34087 cat confdefs.h >>conftest.$ac_ext
34088 cat >>conftest.$ac_ext <<_ACEOF
34089 /* end confdefs.h. */
34090 #include <math.h>
34091 #ifdef HAVE_IEEEFP_H
34092 #include <ieeefp.h>
34093 #endif
34094
34095 int
34096 main ()
34097 {
34098 sqrtl(0);
34099 ;
34100 return 0;
34101 }
34102 _ACEOF
34103 rm -f conftest.$ac_objext
34104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34105 (eval $ac_compile) 2>conftest.er1
34106 ac_status=$?
34107 grep -v '^ *+' conftest.er1 >conftest.err
34108 rm -f conftest.er1
34109 cat conftest.err >&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } &&
34112 { ac_try='test -z "$ac_cxx_werror_flag"
34113 || test ! -s conftest.err'
34114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34115 (eval $ac_try) 2>&5
34116 ac_status=$?
34117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34118 (exit $ac_status); }; } &&
34119 { ac_try='test -s conftest.$ac_objext'
34120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34121 (eval $ac_try) 2>&5
34122 ac_status=$?
34123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124 (exit $ac_status); }; }; then
34125 glibcxx_cv_func_sqrtl_use=yes
34126 else
34127 echo "$as_me: failed program was:" >&5
34128 sed 's/^/| /' conftest.$ac_ext >&5
34129
34130 glibcxx_cv_func_sqrtl_use=no
34131 fi
34132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34133 ac_ext=c
34134 ac_cpp='$CPP $CPPFLAGS'
34135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34138
34139
34140 fi
34141
34142 fi
34143 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
34144 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
34145
34146 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34147
34148 for ac_func in sqrtl
34149 do
34150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34151 echo "$as_me:$LINENO: checking for $ac_func" >&5
34152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34153 if eval "test \"\${$as_ac_var+set}\" = set"; then
34154 echo $ECHO_N "(cached) $ECHO_C" >&6
34155 else
34156 if test x$gcc_no_link = xyes; then
34157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34159 { (exit 1); exit 1; }; }
34160 fi
34161 cat >conftest.$ac_ext <<_ACEOF
34162 /* confdefs.h. */
34163 _ACEOF
34164 cat confdefs.h >>conftest.$ac_ext
34165 cat >>conftest.$ac_ext <<_ACEOF
34166 /* end confdefs.h. */
34167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34169 #define $ac_func innocuous_$ac_func
34170
34171 /* System header to define __stub macros and hopefully few prototypes,
34172 which can conflict with char $ac_func (); below.
34173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34174 <limits.h> exists even on freestanding compilers. */
34175
34176 #ifdef __STDC__
34177 # include <limits.h>
34178 #else
34179 # include <assert.h>
34180 #endif
34181
34182 #undef $ac_func
34183
34184 /* Override any gcc2 internal prototype to avoid an error. */
34185 #ifdef __cplusplus
34186 extern "C"
34187 {
34188 #endif
34189 /* We use char because int might match the return type of a gcc2
34190 builtin and then its argument prototype would still apply. */
34191 char $ac_func ();
34192 /* The GNU C library defines this for functions which it implements
34193 to always fail with ENOSYS. Some functions are actually named
34194 something starting with __ and the normal name is an alias. */
34195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34196 choke me
34197 #else
34198 char (*f) () = $ac_func;
34199 #endif
34200 #ifdef __cplusplus
34201 }
34202 #endif
34203
34204 int
34205 main ()
34206 {
34207 return f != $ac_func;
34208 ;
34209 return 0;
34210 }
34211 _ACEOF
34212 rm -f conftest.$ac_objext conftest$ac_exeext
34213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34214 (eval $ac_link) 2>conftest.er1
34215 ac_status=$?
34216 grep -v '^ *+' conftest.er1 >conftest.err
34217 rm -f conftest.er1
34218 cat conftest.err >&5
34219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34220 (exit $ac_status); } &&
34221 { ac_try='test -z "$ac_c_werror_flag"
34222 || test ! -s conftest.err'
34223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34224 (eval $ac_try) 2>&5
34225 ac_status=$?
34226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227 (exit $ac_status); }; } &&
34228 { ac_try='test -s conftest$ac_exeext'
34229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34230 (eval $ac_try) 2>&5
34231 ac_status=$?
34232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34233 (exit $ac_status); }; }; then
34234 eval "$as_ac_var=yes"
34235 else
34236 echo "$as_me: failed program was:" >&5
34237 sed 's/^/| /' conftest.$ac_ext >&5
34238
34239 eval "$as_ac_var=no"
34240 fi
34241 rm -f conftest.err conftest.$ac_objext \
34242 conftest$ac_exeext conftest.$ac_ext
34243 fi
34244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34246 if test `eval echo '${'$as_ac_var'}'` = yes; then
34247 cat >>confdefs.h <<_ACEOF
34248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34249 _ACEOF
34250
34251 fi
34252 done
34253
34254 else
34255
34256 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
34257 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
34258 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34259 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
34260 echo $ECHO_N "(cached) $ECHO_C" >&6
34261 else
34262
34263
34264
34265 ac_ext=cc
34266 ac_cpp='$CXXCPP $CPPFLAGS'
34267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34270
34271 cat >conftest.$ac_ext <<_ACEOF
34272 /* confdefs.h. */
34273 _ACEOF
34274 cat confdefs.h >>conftest.$ac_ext
34275 cat >>conftest.$ac_ext <<_ACEOF
34276 /* end confdefs.h. */
34277 #include <math.h>
34278 #ifdef HAVE_IEEEFP_H
34279 #include <ieeefp.h>
34280 #endif
34281
34282 int
34283 main ()
34284 {
34285 _sqrtl(0);
34286 ;
34287 return 0;
34288 }
34289 _ACEOF
34290 rm -f conftest.$ac_objext
34291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34292 (eval $ac_compile) 2>conftest.er1
34293 ac_status=$?
34294 grep -v '^ *+' conftest.er1 >conftest.err
34295 rm -f conftest.er1
34296 cat conftest.err >&5
34297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34298 (exit $ac_status); } &&
34299 { ac_try='test -z "$ac_cxx_werror_flag"
34300 || test ! -s conftest.err'
34301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34302 (eval $ac_try) 2>&5
34303 ac_status=$?
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); }; } &&
34306 { ac_try='test -s conftest.$ac_objext'
34307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34308 (eval $ac_try) 2>&5
34309 ac_status=$?
34310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311 (exit $ac_status); }; }; then
34312 glibcxx_cv_func__sqrtl_use=yes
34313 else
34314 echo "$as_me: failed program was:" >&5
34315 sed 's/^/| /' conftest.$ac_ext >&5
34316
34317 glibcxx_cv_func__sqrtl_use=no
34318 fi
34319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34320 ac_ext=c
34321 ac_cpp='$CPP $CPPFLAGS'
34322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34325
34326
34327 fi
34328
34329 fi
34330 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
34331 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
34332
34333 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34334
34335 for ac_func in _sqrtl
34336 do
34337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34338 echo "$as_me:$LINENO: checking for $ac_func" >&5
34339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34340 if eval "test \"\${$as_ac_var+set}\" = set"; then
34341 echo $ECHO_N "(cached) $ECHO_C" >&6
34342 else
34343 if test x$gcc_no_link = xyes; then
34344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34346 { (exit 1); exit 1; }; }
34347 fi
34348 cat >conftest.$ac_ext <<_ACEOF
34349 /* confdefs.h. */
34350 _ACEOF
34351 cat confdefs.h >>conftest.$ac_ext
34352 cat >>conftest.$ac_ext <<_ACEOF
34353 /* end confdefs.h. */
34354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34356 #define $ac_func innocuous_$ac_func
34357
34358 /* System header to define __stub macros and hopefully few prototypes,
34359 which can conflict with char $ac_func (); below.
34360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34361 <limits.h> exists even on freestanding compilers. */
34362
34363 #ifdef __STDC__
34364 # include <limits.h>
34365 #else
34366 # include <assert.h>
34367 #endif
34368
34369 #undef $ac_func
34370
34371 /* Override any gcc2 internal prototype to avoid an error. */
34372 #ifdef __cplusplus
34373 extern "C"
34374 {
34375 #endif
34376 /* We use char because int might match the return type of a gcc2
34377 builtin and then its argument prototype would still apply. */
34378 char $ac_func ();
34379 /* The GNU C library defines this for functions which it implements
34380 to always fail with ENOSYS. Some functions are actually named
34381 something starting with __ and the normal name is an alias. */
34382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34383 choke me
34384 #else
34385 char (*f) () = $ac_func;
34386 #endif
34387 #ifdef __cplusplus
34388 }
34389 #endif
34390
34391 int
34392 main ()
34393 {
34394 return f != $ac_func;
34395 ;
34396 return 0;
34397 }
34398 _ACEOF
34399 rm -f conftest.$ac_objext conftest$ac_exeext
34400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34401 (eval $ac_link) 2>conftest.er1
34402 ac_status=$?
34403 grep -v '^ *+' conftest.er1 >conftest.err
34404 rm -f conftest.er1
34405 cat conftest.err >&5
34406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407 (exit $ac_status); } &&
34408 { ac_try='test -z "$ac_c_werror_flag"
34409 || test ! -s conftest.err'
34410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34411 (eval $ac_try) 2>&5
34412 ac_status=$?
34413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34414 (exit $ac_status); }; } &&
34415 { ac_try='test -s conftest$ac_exeext'
34416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34417 (eval $ac_try) 2>&5
34418 ac_status=$?
34419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34420 (exit $ac_status); }; }; then
34421 eval "$as_ac_var=yes"
34422 else
34423 echo "$as_me: failed program was:" >&5
34424 sed 's/^/| /' conftest.$ac_ext >&5
34425
34426 eval "$as_ac_var=no"
34427 fi
34428 rm -f conftest.err conftest.$ac_objext \
34429 conftest$ac_exeext conftest.$ac_ext
34430 fi
34431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34433 if test `eval echo '${'$as_ac_var'}'` = yes; then
34434 cat >>confdefs.h <<_ACEOF
34435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34436 _ACEOF
34437
34438 fi
34439 done
34440
34441 fi
34442 fi
34443
34444
34445
34446
34447
34448
34449 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
34450 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
34451 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34452 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
34453 echo $ECHO_N "(cached) $ECHO_C" >&6
34454 else
34455
34456
34457
34458 ac_ext=cc
34459 ac_cpp='$CXXCPP $CPPFLAGS'
34460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34463
34464 cat >conftest.$ac_ext <<_ACEOF
34465 /* confdefs.h. */
34466 _ACEOF
34467 cat confdefs.h >>conftest.$ac_ext
34468 cat >>conftest.$ac_ext <<_ACEOF
34469 /* end confdefs.h. */
34470 #include <math.h>
34471 int
34472 main ()
34473 {
34474 sincosl(0, 0, 0);
34475 ;
34476 return 0;
34477 }
34478 _ACEOF
34479 rm -f conftest.$ac_objext
34480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34481 (eval $ac_compile) 2>conftest.er1
34482 ac_status=$?
34483 grep -v '^ *+' conftest.er1 >conftest.err
34484 rm -f conftest.er1
34485 cat conftest.err >&5
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); } &&
34488 { ac_try='test -z "$ac_cxx_werror_flag"
34489 || test ! -s conftest.err'
34490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34491 (eval $ac_try) 2>&5
34492 ac_status=$?
34493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34494 (exit $ac_status); }; } &&
34495 { ac_try='test -s conftest.$ac_objext'
34496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34497 (eval $ac_try) 2>&5
34498 ac_status=$?
34499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34500 (exit $ac_status); }; }; then
34501 glibcxx_cv_func_sincosl_use=yes
34502 else
34503 echo "$as_me: failed program was:" >&5
34504 sed 's/^/| /' conftest.$ac_ext >&5
34505
34506 glibcxx_cv_func_sincosl_use=no
34507 fi
34508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34509 ac_ext=c
34510 ac_cpp='$CPP $CPPFLAGS'
34511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34514
34515
34516 fi
34517
34518 fi
34519 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
34520 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
34521
34522 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34523
34524 for ac_func in sincosl
34525 do
34526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34527 echo "$as_me:$LINENO: checking for $ac_func" >&5
34528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34529 if eval "test \"\${$as_ac_var+set}\" = set"; then
34530 echo $ECHO_N "(cached) $ECHO_C" >&6
34531 else
34532 if test x$gcc_no_link = xyes; then
34533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34535 { (exit 1); exit 1; }; }
34536 fi
34537 cat >conftest.$ac_ext <<_ACEOF
34538 /* confdefs.h. */
34539 _ACEOF
34540 cat confdefs.h >>conftest.$ac_ext
34541 cat >>conftest.$ac_ext <<_ACEOF
34542 /* end confdefs.h. */
34543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34545 #define $ac_func innocuous_$ac_func
34546
34547 /* System header to define __stub macros and hopefully few prototypes,
34548 which can conflict with char $ac_func (); below.
34549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34550 <limits.h> exists even on freestanding compilers. */
34551
34552 #ifdef __STDC__
34553 # include <limits.h>
34554 #else
34555 # include <assert.h>
34556 #endif
34557
34558 #undef $ac_func
34559
34560 /* Override any gcc2 internal prototype to avoid an error. */
34561 #ifdef __cplusplus
34562 extern "C"
34563 {
34564 #endif
34565 /* We use char because int might match the return type of a gcc2
34566 builtin and then its argument prototype would still apply. */
34567 char $ac_func ();
34568 /* The GNU C library defines this for functions which it implements
34569 to always fail with ENOSYS. Some functions are actually named
34570 something starting with __ and the normal name is an alias. */
34571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34572 choke me
34573 #else
34574 char (*f) () = $ac_func;
34575 #endif
34576 #ifdef __cplusplus
34577 }
34578 #endif
34579
34580 int
34581 main ()
34582 {
34583 return f != $ac_func;
34584 ;
34585 return 0;
34586 }
34587 _ACEOF
34588 rm -f conftest.$ac_objext conftest$ac_exeext
34589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34590 (eval $ac_link) 2>conftest.er1
34591 ac_status=$?
34592 grep -v '^ *+' conftest.er1 >conftest.err
34593 rm -f conftest.er1
34594 cat conftest.err >&5
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); } &&
34597 { ac_try='test -z "$ac_c_werror_flag"
34598 || test ! -s conftest.err'
34599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34600 (eval $ac_try) 2>&5
34601 ac_status=$?
34602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34603 (exit $ac_status); }; } &&
34604 { ac_try='test -s conftest$ac_exeext'
34605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34606 (eval $ac_try) 2>&5
34607 ac_status=$?
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); }; }; then
34610 eval "$as_ac_var=yes"
34611 else
34612 echo "$as_me: failed program was:" >&5
34613 sed 's/^/| /' conftest.$ac_ext >&5
34614
34615 eval "$as_ac_var=no"
34616 fi
34617 rm -f conftest.err conftest.$ac_objext \
34618 conftest$ac_exeext conftest.$ac_ext
34619 fi
34620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34622 if test `eval echo '${'$as_ac_var'}'` = yes; then
34623 cat >>confdefs.h <<_ACEOF
34624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34625 _ACEOF
34626
34627 fi
34628 done
34629
34630 else
34631
34632 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
34633 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
34634 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34635 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
34636 echo $ECHO_N "(cached) $ECHO_C" >&6
34637 else
34638
34639
34640
34641 ac_ext=cc
34642 ac_cpp='$CXXCPP $CPPFLAGS'
34643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34646
34647 cat >conftest.$ac_ext <<_ACEOF
34648 /* confdefs.h. */
34649 _ACEOF
34650 cat confdefs.h >>conftest.$ac_ext
34651 cat >>conftest.$ac_ext <<_ACEOF
34652 /* end confdefs.h. */
34653 #include <math.h>
34654 int
34655 main ()
34656 {
34657 _sincosl(0, 0, 0);
34658 ;
34659 return 0;
34660 }
34661 _ACEOF
34662 rm -f conftest.$ac_objext
34663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34664 (eval $ac_compile) 2>conftest.er1
34665 ac_status=$?
34666 grep -v '^ *+' conftest.er1 >conftest.err
34667 rm -f conftest.er1
34668 cat conftest.err >&5
34669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34670 (exit $ac_status); } &&
34671 { ac_try='test -z "$ac_cxx_werror_flag"
34672 || test ! -s conftest.err'
34673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34674 (eval $ac_try) 2>&5
34675 ac_status=$?
34676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34677 (exit $ac_status); }; } &&
34678 { ac_try='test -s conftest.$ac_objext'
34679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34680 (eval $ac_try) 2>&5
34681 ac_status=$?
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); }; }; then
34684 glibcxx_cv_func__sincosl_use=yes
34685 else
34686 echo "$as_me: failed program was:" >&5
34687 sed 's/^/| /' conftest.$ac_ext >&5
34688
34689 glibcxx_cv_func__sincosl_use=no
34690 fi
34691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34692 ac_ext=c
34693 ac_cpp='$CPP $CPPFLAGS'
34694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34697
34698
34699 fi
34700
34701 fi
34702 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
34703 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
34704
34705 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34706
34707 for ac_func in _sincosl
34708 do
34709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34710 echo "$as_me:$LINENO: checking for $ac_func" >&5
34711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34712 if eval "test \"\${$as_ac_var+set}\" = set"; then
34713 echo $ECHO_N "(cached) $ECHO_C" >&6
34714 else
34715 if test x$gcc_no_link = xyes; then
34716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34718 { (exit 1); exit 1; }; }
34719 fi
34720 cat >conftest.$ac_ext <<_ACEOF
34721 /* confdefs.h. */
34722 _ACEOF
34723 cat confdefs.h >>conftest.$ac_ext
34724 cat >>conftest.$ac_ext <<_ACEOF
34725 /* end confdefs.h. */
34726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34728 #define $ac_func innocuous_$ac_func
34729
34730 /* System header to define __stub macros and hopefully few prototypes,
34731 which can conflict with char $ac_func (); below.
34732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34733 <limits.h> exists even on freestanding compilers. */
34734
34735 #ifdef __STDC__
34736 # include <limits.h>
34737 #else
34738 # include <assert.h>
34739 #endif
34740
34741 #undef $ac_func
34742
34743 /* Override any gcc2 internal prototype to avoid an error. */
34744 #ifdef __cplusplus
34745 extern "C"
34746 {
34747 #endif
34748 /* We use char because int might match the return type of a gcc2
34749 builtin and then its argument prototype would still apply. */
34750 char $ac_func ();
34751 /* The GNU C library defines this for functions which it implements
34752 to always fail with ENOSYS. Some functions are actually named
34753 something starting with __ and the normal name is an alias. */
34754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34755 choke me
34756 #else
34757 char (*f) () = $ac_func;
34758 #endif
34759 #ifdef __cplusplus
34760 }
34761 #endif
34762
34763 int
34764 main ()
34765 {
34766 return f != $ac_func;
34767 ;
34768 return 0;
34769 }
34770 _ACEOF
34771 rm -f conftest.$ac_objext conftest$ac_exeext
34772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34773 (eval $ac_link) 2>conftest.er1
34774 ac_status=$?
34775 grep -v '^ *+' conftest.er1 >conftest.err
34776 rm -f conftest.er1
34777 cat conftest.err >&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); } &&
34780 { ac_try='test -z "$ac_c_werror_flag"
34781 || test ! -s conftest.err'
34782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34783 (eval $ac_try) 2>&5
34784 ac_status=$?
34785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34786 (exit $ac_status); }; } &&
34787 { ac_try='test -s conftest$ac_exeext'
34788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34789 (eval $ac_try) 2>&5
34790 ac_status=$?
34791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34792 (exit $ac_status); }; }; then
34793 eval "$as_ac_var=yes"
34794 else
34795 echo "$as_me: failed program was:" >&5
34796 sed 's/^/| /' conftest.$ac_ext >&5
34797
34798 eval "$as_ac_var=no"
34799 fi
34800 rm -f conftest.err conftest.$ac_objext \
34801 conftest$ac_exeext conftest.$ac_ext
34802 fi
34803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34805 if test `eval echo '${'$as_ac_var'}'` = yes; then
34806 cat >>confdefs.h <<_ACEOF
34807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34808 _ACEOF
34809
34810 fi
34811 done
34812
34813 fi
34814 fi
34815
34816
34817
34818
34819
34820
34821 echo "$as_me:$LINENO: checking for finitel declaration" >&5
34822 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
34823 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34824 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
34825 echo $ECHO_N "(cached) $ECHO_C" >&6
34826 else
34827
34828
34829
34830 ac_ext=cc
34831 ac_cpp='$CXXCPP $CPPFLAGS'
34832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34835
34836 cat >conftest.$ac_ext <<_ACEOF
34837 /* confdefs.h. */
34838 _ACEOF
34839 cat confdefs.h >>conftest.$ac_ext
34840 cat >>conftest.$ac_ext <<_ACEOF
34841 /* end confdefs.h. */
34842 #include <math.h>
34843 #ifdef HAVE_IEEEFP_H
34844 #include <ieeefp.h>
34845 #endif
34846
34847 int
34848 main ()
34849 {
34850 finitel(0);
34851 ;
34852 return 0;
34853 }
34854 _ACEOF
34855 rm -f conftest.$ac_objext
34856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34857 (eval $ac_compile) 2>conftest.er1
34858 ac_status=$?
34859 grep -v '^ *+' conftest.er1 >conftest.err
34860 rm -f conftest.er1
34861 cat conftest.err >&5
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); } &&
34864 { ac_try='test -z "$ac_cxx_werror_flag"
34865 || test ! -s conftest.err'
34866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34867 (eval $ac_try) 2>&5
34868 ac_status=$?
34869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34870 (exit $ac_status); }; } &&
34871 { ac_try='test -s conftest.$ac_objext'
34872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34873 (eval $ac_try) 2>&5
34874 ac_status=$?
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); }; }; then
34877 glibcxx_cv_func_finitel_use=yes
34878 else
34879 echo "$as_me: failed program was:" >&5
34880 sed 's/^/| /' conftest.$ac_ext >&5
34881
34882 glibcxx_cv_func_finitel_use=no
34883 fi
34884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34885 ac_ext=c
34886 ac_cpp='$CPP $CPPFLAGS'
34887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34890
34891
34892 fi
34893
34894 fi
34895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
34896 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
34897
34898 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34899
34900 for ac_func in finitel
34901 do
34902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34903 echo "$as_me:$LINENO: checking for $ac_func" >&5
34904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34905 if eval "test \"\${$as_ac_var+set}\" = set"; then
34906 echo $ECHO_N "(cached) $ECHO_C" >&6
34907 else
34908 if test x$gcc_no_link = xyes; then
34909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34911 { (exit 1); exit 1; }; }
34912 fi
34913 cat >conftest.$ac_ext <<_ACEOF
34914 /* confdefs.h. */
34915 _ACEOF
34916 cat confdefs.h >>conftest.$ac_ext
34917 cat >>conftest.$ac_ext <<_ACEOF
34918 /* end confdefs.h. */
34919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34921 #define $ac_func innocuous_$ac_func
34922
34923 /* System header to define __stub macros and hopefully few prototypes,
34924 which can conflict with char $ac_func (); below.
34925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34926 <limits.h> exists even on freestanding compilers. */
34927
34928 #ifdef __STDC__
34929 # include <limits.h>
34930 #else
34931 # include <assert.h>
34932 #endif
34933
34934 #undef $ac_func
34935
34936 /* Override any gcc2 internal prototype to avoid an error. */
34937 #ifdef __cplusplus
34938 extern "C"
34939 {
34940 #endif
34941 /* We use char because int might match the return type of a gcc2
34942 builtin and then its argument prototype would still apply. */
34943 char $ac_func ();
34944 /* The GNU C library defines this for functions which it implements
34945 to always fail with ENOSYS. Some functions are actually named
34946 something starting with __ and the normal name is an alias. */
34947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34948 choke me
34949 #else
34950 char (*f) () = $ac_func;
34951 #endif
34952 #ifdef __cplusplus
34953 }
34954 #endif
34955
34956 int
34957 main ()
34958 {
34959 return f != $ac_func;
34960 ;
34961 return 0;
34962 }
34963 _ACEOF
34964 rm -f conftest.$ac_objext conftest$ac_exeext
34965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34966 (eval $ac_link) 2>conftest.er1
34967 ac_status=$?
34968 grep -v '^ *+' conftest.er1 >conftest.err
34969 rm -f conftest.er1
34970 cat conftest.err >&5
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); } &&
34973 { ac_try='test -z "$ac_c_werror_flag"
34974 || test ! -s conftest.err'
34975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34976 (eval $ac_try) 2>&5
34977 ac_status=$?
34978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34979 (exit $ac_status); }; } &&
34980 { ac_try='test -s conftest$ac_exeext'
34981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34982 (eval $ac_try) 2>&5
34983 ac_status=$?
34984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985 (exit $ac_status); }; }; then
34986 eval "$as_ac_var=yes"
34987 else
34988 echo "$as_me: failed program was:" >&5
34989 sed 's/^/| /' conftest.$ac_ext >&5
34990
34991 eval "$as_ac_var=no"
34992 fi
34993 rm -f conftest.err conftest.$ac_objext \
34994 conftest$ac_exeext conftest.$ac_ext
34995 fi
34996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34998 if test `eval echo '${'$as_ac_var'}'` = yes; then
34999 cat >>confdefs.h <<_ACEOF
35000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35001 _ACEOF
35002
35003 fi
35004 done
35005
35006 else
35007
35008 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35009 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35010 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35011 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35012 echo $ECHO_N "(cached) $ECHO_C" >&6
35013 else
35014
35015
35016
35017 ac_ext=cc
35018 ac_cpp='$CXXCPP $CPPFLAGS'
35019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35022
35023 cat >conftest.$ac_ext <<_ACEOF
35024 /* confdefs.h. */
35025 _ACEOF
35026 cat confdefs.h >>conftest.$ac_ext
35027 cat >>conftest.$ac_ext <<_ACEOF
35028 /* end confdefs.h. */
35029 #include <math.h>
35030 #ifdef HAVE_IEEEFP_H
35031 #include <ieeefp.h>
35032 #endif
35033
35034 int
35035 main ()
35036 {
35037 _finitel(0);
35038 ;
35039 return 0;
35040 }
35041 _ACEOF
35042 rm -f conftest.$ac_objext
35043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35044 (eval $ac_compile) 2>conftest.er1
35045 ac_status=$?
35046 grep -v '^ *+' conftest.er1 >conftest.err
35047 rm -f conftest.er1
35048 cat conftest.err >&5
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); } &&
35051 { ac_try='test -z "$ac_cxx_werror_flag"
35052 || test ! -s conftest.err'
35053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35054 (eval $ac_try) 2>&5
35055 ac_status=$?
35056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35057 (exit $ac_status); }; } &&
35058 { ac_try='test -s conftest.$ac_objext'
35059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35060 (eval $ac_try) 2>&5
35061 ac_status=$?
35062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35063 (exit $ac_status); }; }; then
35064 glibcxx_cv_func__finitel_use=yes
35065 else
35066 echo "$as_me: failed program was:" >&5
35067 sed 's/^/| /' conftest.$ac_ext >&5
35068
35069 glibcxx_cv_func__finitel_use=no
35070 fi
35071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35072 ac_ext=c
35073 ac_cpp='$CPP $CPPFLAGS'
35074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35077
35078
35079 fi
35080
35081 fi
35082 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35083 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35084
35085 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35086
35087 for ac_func in _finitel
35088 do
35089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35090 echo "$as_me:$LINENO: checking for $ac_func" >&5
35091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35092 if eval "test \"\${$as_ac_var+set}\" = set"; then
35093 echo $ECHO_N "(cached) $ECHO_C" >&6
35094 else
35095 if test x$gcc_no_link = xyes; then
35096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35098 { (exit 1); exit 1; }; }
35099 fi
35100 cat >conftest.$ac_ext <<_ACEOF
35101 /* confdefs.h. */
35102 _ACEOF
35103 cat confdefs.h >>conftest.$ac_ext
35104 cat >>conftest.$ac_ext <<_ACEOF
35105 /* end confdefs.h. */
35106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35108 #define $ac_func innocuous_$ac_func
35109
35110 /* System header to define __stub macros and hopefully few prototypes,
35111 which can conflict with char $ac_func (); below.
35112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35113 <limits.h> exists even on freestanding compilers. */
35114
35115 #ifdef __STDC__
35116 # include <limits.h>
35117 #else
35118 # include <assert.h>
35119 #endif
35120
35121 #undef $ac_func
35122
35123 /* Override any gcc2 internal prototype to avoid an error. */
35124 #ifdef __cplusplus
35125 extern "C"
35126 {
35127 #endif
35128 /* We use char because int might match the return type of a gcc2
35129 builtin and then its argument prototype would still apply. */
35130 char $ac_func ();
35131 /* The GNU C library defines this for functions which it implements
35132 to always fail with ENOSYS. Some functions are actually named
35133 something starting with __ and the normal name is an alias. */
35134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35135 choke me
35136 #else
35137 char (*f) () = $ac_func;
35138 #endif
35139 #ifdef __cplusplus
35140 }
35141 #endif
35142
35143 int
35144 main ()
35145 {
35146 return f != $ac_func;
35147 ;
35148 return 0;
35149 }
35150 _ACEOF
35151 rm -f conftest.$ac_objext conftest$ac_exeext
35152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35153 (eval $ac_link) 2>conftest.er1
35154 ac_status=$?
35155 grep -v '^ *+' conftest.er1 >conftest.err
35156 rm -f conftest.er1
35157 cat conftest.err >&5
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); } &&
35160 { ac_try='test -z "$ac_c_werror_flag"
35161 || test ! -s conftest.err'
35162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35163 (eval $ac_try) 2>&5
35164 ac_status=$?
35165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35166 (exit $ac_status); }; } &&
35167 { ac_try='test -s conftest$ac_exeext'
35168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35169 (eval $ac_try) 2>&5
35170 ac_status=$?
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); }; }; then
35173 eval "$as_ac_var=yes"
35174 else
35175 echo "$as_me: failed program was:" >&5
35176 sed 's/^/| /' conftest.$ac_ext >&5
35177
35178 eval "$as_ac_var=no"
35179 fi
35180 rm -f conftest.err conftest.$ac_objext \
35181 conftest$ac_exeext conftest.$ac_ext
35182 fi
35183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35185 if test `eval echo '${'$as_ac_var'}'` = yes; then
35186 cat >>confdefs.h <<_ACEOF
35187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35188 _ACEOF
35189
35190 fi
35191 done
35192
35193 fi
35194 fi
35195
35196
35197
35198
35199
35200 LIBS="$ac_save_LIBS"
35201 CXXFLAGS="$ac_save_CXXFLAGS"
35202
35203
35204
35205 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
35206 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
35207 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
35208 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
35209 echo $ECHO_N "(cached) $ECHO_C" >&6
35210 else
35211
35212
35213
35214 ac_ext=cc
35215 ac_cpp='$CXXCPP $CPPFLAGS'
35216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35219
35220 cat >conftest.$ac_ext <<_ACEOF
35221 /* confdefs.h. */
35222 _ACEOF
35223 cat confdefs.h >>conftest.$ac_ext
35224 cat >>conftest.$ac_ext <<_ACEOF
35225 /* end confdefs.h. */
35226 #include <math.h>
35227 int
35228 main ()
35229 {
35230 __builtin_abs(0);
35231 ;
35232 return 0;
35233 }
35234 _ACEOF
35235 rm -f conftest.$ac_objext
35236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35237 (eval $ac_compile) 2>conftest.er1
35238 ac_status=$?
35239 grep -v '^ *+' conftest.er1 >conftest.err
35240 rm -f conftest.er1
35241 cat conftest.err >&5
35242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35243 (exit $ac_status); } &&
35244 { ac_try='test -z "$ac_cxx_werror_flag"
35245 || test ! -s conftest.err'
35246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35247 (eval $ac_try) 2>&5
35248 ac_status=$?
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); }; } &&
35251 { ac_try='test -s conftest.$ac_objext'
35252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35253 (eval $ac_try) 2>&5
35254 ac_status=$?
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); }; }; then
35257 glibcxx_cv_func___builtin_abs_use=yes
35258 else
35259 echo "$as_me: failed program was:" >&5
35260 sed 's/^/| /' conftest.$ac_ext >&5
35261
35262 glibcxx_cv_func___builtin_abs_use=no
35263 fi
35264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35265 ac_ext=c
35266 ac_cpp='$CPP $CPPFLAGS'
35267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35270
35271
35272 fi
35273
35274 fi
35275 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
35276 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
35277 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
35278 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
35279 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
35280 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
35281 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
35282 echo $ECHO_N "(cached) $ECHO_C" >&6
35283 else
35284
35285 if test x$gcc_no_link = xyes; then
35286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35288 { (exit 1); exit 1; }; }
35289 fi
35290 cat >conftest.$ac_ext <<_ACEOF
35291 /* confdefs.h. */
35292 _ACEOF
35293 cat confdefs.h >>conftest.$ac_ext
35294 cat >>conftest.$ac_ext <<_ACEOF
35295 /* end confdefs.h. */
35296 #include <math.h>
35297 int
35298 main ()
35299 {
35300 __builtin_abs(0);
35301 ;
35302 return 0;
35303 }
35304 _ACEOF
35305 rm -f conftest.$ac_objext conftest$ac_exeext
35306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35307 (eval $ac_link) 2>conftest.er1
35308 ac_status=$?
35309 grep -v '^ *+' conftest.er1 >conftest.err
35310 rm -f conftest.er1
35311 cat conftest.err >&5
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); } &&
35314 { ac_try='test -z "$ac_c_werror_flag"
35315 || test ! -s conftest.err'
35316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35317 (eval $ac_try) 2>&5
35318 ac_status=$?
35319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35320 (exit $ac_status); }; } &&
35321 { ac_try='test -s conftest$ac_exeext'
35322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35323 (eval $ac_try) 2>&5
35324 ac_status=$?
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); }; }; then
35327 glibcxx_cv_func___builtin_abs_link=yes
35328 else
35329 echo "$as_me: failed program was:" >&5
35330 sed 's/^/| /' conftest.$ac_ext >&5
35331
35332 glibcxx_cv_func___builtin_abs_link=no
35333 fi
35334 rm -f conftest.err conftest.$ac_objext \
35335 conftest$ac_exeext conftest.$ac_ext
35336
35337 fi
35338
35339 fi
35340 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
35341 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
35342
35343 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
35344
35345 cat >>confdefs.h <<\_ACEOF
35346 #define HAVE___BUILTIN_ABS 1
35347 _ACEOF
35348
35349 fi
35350
35351 fi
35352
35353
35354 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
35355 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
35356 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
35357 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
35358 echo $ECHO_N "(cached) $ECHO_C" >&6
35359 else
35360
35361
35362
35363 ac_ext=cc
35364 ac_cpp='$CXXCPP $CPPFLAGS'
35365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35368
35369 cat >conftest.$ac_ext <<_ACEOF
35370 /* confdefs.h. */
35371 _ACEOF
35372 cat confdefs.h >>conftest.$ac_ext
35373 cat >>conftest.$ac_ext <<_ACEOF
35374 /* end confdefs.h. */
35375 #include <math.h>
35376 int
35377 main ()
35378 {
35379 __builtin_fabsf(0);
35380 ;
35381 return 0;
35382 }
35383 _ACEOF
35384 rm -f conftest.$ac_objext
35385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35386 (eval $ac_compile) 2>conftest.er1
35387 ac_status=$?
35388 grep -v '^ *+' conftest.er1 >conftest.err
35389 rm -f conftest.er1
35390 cat conftest.err >&5
35391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35392 (exit $ac_status); } &&
35393 { ac_try='test -z "$ac_cxx_werror_flag"
35394 || test ! -s conftest.err'
35395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35396 (eval $ac_try) 2>&5
35397 ac_status=$?
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); }; } &&
35400 { ac_try='test -s conftest.$ac_objext'
35401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35402 (eval $ac_try) 2>&5
35403 ac_status=$?
35404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35405 (exit $ac_status); }; }; then
35406 glibcxx_cv_func___builtin_fabsf_use=yes
35407 else
35408 echo "$as_me: failed program was:" >&5
35409 sed 's/^/| /' conftest.$ac_ext >&5
35410
35411 glibcxx_cv_func___builtin_fabsf_use=no
35412 fi
35413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35414 ac_ext=c
35415 ac_cpp='$CPP $CPPFLAGS'
35416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35419
35420
35421 fi
35422
35423 fi
35424 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
35425 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
35426 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
35427 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
35428 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
35429 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
35430 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
35431 echo $ECHO_N "(cached) $ECHO_C" >&6
35432 else
35433
35434 if test x$gcc_no_link = xyes; then
35435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35437 { (exit 1); exit 1; }; }
35438 fi
35439 cat >conftest.$ac_ext <<_ACEOF
35440 /* confdefs.h. */
35441 _ACEOF
35442 cat confdefs.h >>conftest.$ac_ext
35443 cat >>conftest.$ac_ext <<_ACEOF
35444 /* end confdefs.h. */
35445 #include <math.h>
35446 int
35447 main ()
35448 {
35449 __builtin_fabsf(0);
35450 ;
35451 return 0;
35452 }
35453 _ACEOF
35454 rm -f conftest.$ac_objext conftest$ac_exeext
35455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35456 (eval $ac_link) 2>conftest.er1
35457 ac_status=$?
35458 grep -v '^ *+' conftest.er1 >conftest.err
35459 rm -f conftest.er1
35460 cat conftest.err >&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); } &&
35463 { ac_try='test -z "$ac_c_werror_flag"
35464 || test ! -s conftest.err'
35465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35466 (eval $ac_try) 2>&5
35467 ac_status=$?
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); }; } &&
35470 { ac_try='test -s conftest$ac_exeext'
35471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35472 (eval $ac_try) 2>&5
35473 ac_status=$?
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); }; }; then
35476 glibcxx_cv_func___builtin_fabsf_link=yes
35477 else
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.$ac_ext >&5
35480
35481 glibcxx_cv_func___builtin_fabsf_link=no
35482 fi
35483 rm -f conftest.err conftest.$ac_objext \
35484 conftest$ac_exeext conftest.$ac_ext
35485
35486 fi
35487
35488 fi
35489 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
35490 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
35491
35492 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
35493
35494 cat >>confdefs.h <<\_ACEOF
35495 #define HAVE___BUILTIN_FABSF 1
35496 _ACEOF
35497
35498 fi
35499
35500 fi
35501
35502
35503 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
35504 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
35505 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
35506 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
35507 echo $ECHO_N "(cached) $ECHO_C" >&6
35508 else
35509
35510
35511
35512 ac_ext=cc
35513 ac_cpp='$CXXCPP $CPPFLAGS'
35514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35517
35518 cat >conftest.$ac_ext <<_ACEOF
35519 /* confdefs.h. */
35520 _ACEOF
35521 cat confdefs.h >>conftest.$ac_ext
35522 cat >>conftest.$ac_ext <<_ACEOF
35523 /* end confdefs.h. */
35524 #include <math.h>
35525 int
35526 main ()
35527 {
35528 __builtin_fabs(0);
35529 ;
35530 return 0;
35531 }
35532 _ACEOF
35533 rm -f conftest.$ac_objext
35534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35535 (eval $ac_compile) 2>conftest.er1
35536 ac_status=$?
35537 grep -v '^ *+' conftest.er1 >conftest.err
35538 rm -f conftest.er1
35539 cat conftest.err >&5
35540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35541 (exit $ac_status); } &&
35542 { ac_try='test -z "$ac_cxx_werror_flag"
35543 || test ! -s conftest.err'
35544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35545 (eval $ac_try) 2>&5
35546 ac_status=$?
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); }; } &&
35549 { ac_try='test -s conftest.$ac_objext'
35550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35551 (eval $ac_try) 2>&5
35552 ac_status=$?
35553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35554 (exit $ac_status); }; }; then
35555 glibcxx_cv_func___builtin_fabs_use=yes
35556 else
35557 echo "$as_me: failed program was:" >&5
35558 sed 's/^/| /' conftest.$ac_ext >&5
35559
35560 glibcxx_cv_func___builtin_fabs_use=no
35561 fi
35562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35563 ac_ext=c
35564 ac_cpp='$CPP $CPPFLAGS'
35565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35568
35569
35570 fi
35571
35572 fi
35573 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
35574 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
35575 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
35576 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
35577 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
35578 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
35579 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
35580 echo $ECHO_N "(cached) $ECHO_C" >&6
35581 else
35582
35583 if test x$gcc_no_link = xyes; then
35584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35586 { (exit 1); exit 1; }; }
35587 fi
35588 cat >conftest.$ac_ext <<_ACEOF
35589 /* confdefs.h. */
35590 _ACEOF
35591 cat confdefs.h >>conftest.$ac_ext
35592 cat >>conftest.$ac_ext <<_ACEOF
35593 /* end confdefs.h. */
35594 #include <math.h>
35595 int
35596 main ()
35597 {
35598 __builtin_fabs(0);
35599 ;
35600 return 0;
35601 }
35602 _ACEOF
35603 rm -f conftest.$ac_objext conftest$ac_exeext
35604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35605 (eval $ac_link) 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_c_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_exeext'
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___builtin_fabs_link=yes
35626 else
35627 echo "$as_me: failed program was:" >&5
35628 sed 's/^/| /' conftest.$ac_ext >&5
35629
35630 glibcxx_cv_func___builtin_fabs_link=no
35631 fi
35632 rm -f conftest.err conftest.$ac_objext \
35633 conftest$ac_exeext conftest.$ac_ext
35634
35635 fi
35636
35637 fi
35638 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
35639 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
35640
35641 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
35642
35643 cat >>confdefs.h <<\_ACEOF
35644 #define HAVE___BUILTIN_FABS 1
35645 _ACEOF
35646
35647 fi
35648
35649 fi
35650
35651
35652 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
35653 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
35654 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
35655 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
35656 echo $ECHO_N "(cached) $ECHO_C" >&6
35657 else
35658
35659
35660
35661 ac_ext=cc
35662 ac_cpp='$CXXCPP $CPPFLAGS'
35663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35666
35667 cat >conftest.$ac_ext <<_ACEOF
35668 /* confdefs.h. */
35669 _ACEOF
35670 cat confdefs.h >>conftest.$ac_ext
35671 cat >>conftest.$ac_ext <<_ACEOF
35672 /* end confdefs.h. */
35673 #include <math.h>
35674 int
35675 main ()
35676 {
35677 __builtin_fabsl(0);
35678 ;
35679 return 0;
35680 }
35681 _ACEOF
35682 rm -f conftest.$ac_objext
35683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35684 (eval $ac_compile) 2>conftest.er1
35685 ac_status=$?
35686 grep -v '^ *+' conftest.er1 >conftest.err
35687 rm -f conftest.er1
35688 cat conftest.err >&5
35689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35690 (exit $ac_status); } &&
35691 { ac_try='test -z "$ac_cxx_werror_flag"
35692 || test ! -s conftest.err'
35693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35694 (eval $ac_try) 2>&5
35695 ac_status=$?
35696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35697 (exit $ac_status); }; } &&
35698 { ac_try='test -s conftest.$ac_objext'
35699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35700 (eval $ac_try) 2>&5
35701 ac_status=$?
35702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35703 (exit $ac_status); }; }; then
35704 glibcxx_cv_func___builtin_fabsl_use=yes
35705 else
35706 echo "$as_me: failed program was:" >&5
35707 sed 's/^/| /' conftest.$ac_ext >&5
35708
35709 glibcxx_cv_func___builtin_fabsl_use=no
35710 fi
35711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35712 ac_ext=c
35713 ac_cpp='$CPP $CPPFLAGS'
35714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35717
35718
35719 fi
35720
35721 fi
35722 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
35723 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
35724 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
35725 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
35726 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
35727 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
35728 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
35729 echo $ECHO_N "(cached) $ECHO_C" >&6
35730 else
35731
35732 if test x$gcc_no_link = xyes; then
35733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35735 { (exit 1); exit 1; }; }
35736 fi
35737 cat >conftest.$ac_ext <<_ACEOF
35738 /* confdefs.h. */
35739 _ACEOF
35740 cat confdefs.h >>conftest.$ac_ext
35741 cat >>conftest.$ac_ext <<_ACEOF
35742 /* end confdefs.h. */
35743 #include <math.h>
35744 int
35745 main ()
35746 {
35747 __builtin_fabsl(0);
35748 ;
35749 return 0;
35750 }
35751 _ACEOF
35752 rm -f conftest.$ac_objext conftest$ac_exeext
35753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35754 (eval $ac_link) 2>conftest.er1
35755 ac_status=$?
35756 grep -v '^ *+' conftest.er1 >conftest.err
35757 rm -f conftest.er1
35758 cat conftest.err >&5
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); } &&
35761 { ac_try='test -z "$ac_c_werror_flag"
35762 || test ! -s conftest.err'
35763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35764 (eval $ac_try) 2>&5
35765 ac_status=$?
35766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767 (exit $ac_status); }; } &&
35768 { ac_try='test -s conftest$ac_exeext'
35769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35770 (eval $ac_try) 2>&5
35771 ac_status=$?
35772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35773 (exit $ac_status); }; }; then
35774 glibcxx_cv_func___builtin_fabsl_link=yes
35775 else
35776 echo "$as_me: failed program was:" >&5
35777 sed 's/^/| /' conftest.$ac_ext >&5
35778
35779 glibcxx_cv_func___builtin_fabsl_link=no
35780 fi
35781 rm -f conftest.err conftest.$ac_objext \
35782 conftest$ac_exeext conftest.$ac_ext
35783
35784 fi
35785
35786 fi
35787 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
35788 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
35789
35790 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
35791
35792 cat >>confdefs.h <<\_ACEOF
35793 #define HAVE___BUILTIN_FABSL 1
35794 _ACEOF
35795
35796 fi
35797
35798 fi
35799
35800
35801 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
35802 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
35803 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
35804 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
35805 echo $ECHO_N "(cached) $ECHO_C" >&6
35806 else
35807
35808
35809
35810 ac_ext=cc
35811 ac_cpp='$CXXCPP $CPPFLAGS'
35812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35815
35816 cat >conftest.$ac_ext <<_ACEOF
35817 /* confdefs.h. */
35818 _ACEOF
35819 cat confdefs.h >>conftest.$ac_ext
35820 cat >>conftest.$ac_ext <<_ACEOF
35821 /* end confdefs.h. */
35822 #include <math.h>
35823 int
35824 main ()
35825 {
35826 __builtin_labs(0);
35827 ;
35828 return 0;
35829 }
35830 _ACEOF
35831 rm -f conftest.$ac_objext
35832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35833 (eval $ac_compile) 2>conftest.er1
35834 ac_status=$?
35835 grep -v '^ *+' conftest.er1 >conftest.err
35836 rm -f conftest.er1
35837 cat conftest.err >&5
35838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35839 (exit $ac_status); } &&
35840 { ac_try='test -z "$ac_cxx_werror_flag"
35841 || test ! -s conftest.err'
35842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35843 (eval $ac_try) 2>&5
35844 ac_status=$?
35845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35846 (exit $ac_status); }; } &&
35847 { ac_try='test -s conftest.$ac_objext'
35848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35849 (eval $ac_try) 2>&5
35850 ac_status=$?
35851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35852 (exit $ac_status); }; }; then
35853 glibcxx_cv_func___builtin_labs_use=yes
35854 else
35855 echo "$as_me: failed program was:" >&5
35856 sed 's/^/| /' conftest.$ac_ext >&5
35857
35858 glibcxx_cv_func___builtin_labs_use=no
35859 fi
35860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35861 ac_ext=c
35862 ac_cpp='$CPP $CPPFLAGS'
35863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35866
35867
35868 fi
35869
35870 fi
35871 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
35872 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
35873 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
35874 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
35875 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
35876 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
35877 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
35878 echo $ECHO_N "(cached) $ECHO_C" >&6
35879 else
35880
35881 if test x$gcc_no_link = xyes; then
35882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35884 { (exit 1); exit 1; }; }
35885 fi
35886 cat >conftest.$ac_ext <<_ACEOF
35887 /* confdefs.h. */
35888 _ACEOF
35889 cat confdefs.h >>conftest.$ac_ext
35890 cat >>conftest.$ac_ext <<_ACEOF
35891 /* end confdefs.h. */
35892 #include <math.h>
35893 int
35894 main ()
35895 {
35896 __builtin_labs(0);
35897 ;
35898 return 0;
35899 }
35900 _ACEOF
35901 rm -f conftest.$ac_objext conftest$ac_exeext
35902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35903 (eval $ac_link) 2>conftest.er1
35904 ac_status=$?
35905 grep -v '^ *+' conftest.er1 >conftest.err
35906 rm -f conftest.er1
35907 cat conftest.err >&5
35908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35909 (exit $ac_status); } &&
35910 { ac_try='test -z "$ac_c_werror_flag"
35911 || test ! -s conftest.err'
35912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35913 (eval $ac_try) 2>&5
35914 ac_status=$?
35915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35916 (exit $ac_status); }; } &&
35917 { ac_try='test -s conftest$ac_exeext'
35918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35919 (eval $ac_try) 2>&5
35920 ac_status=$?
35921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35922 (exit $ac_status); }; }; then
35923 glibcxx_cv_func___builtin_labs_link=yes
35924 else
35925 echo "$as_me: failed program was:" >&5
35926 sed 's/^/| /' conftest.$ac_ext >&5
35927
35928 glibcxx_cv_func___builtin_labs_link=no
35929 fi
35930 rm -f conftest.err conftest.$ac_objext \
35931 conftest$ac_exeext conftest.$ac_ext
35932
35933 fi
35934
35935 fi
35936 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
35937 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
35938
35939 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
35940
35941 cat >>confdefs.h <<\_ACEOF
35942 #define HAVE___BUILTIN_LABS 1
35943 _ACEOF
35944
35945 fi
35946
35947 fi
35948
35949
35950
35951 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
35952 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
35953 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
35954 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
35955 echo $ECHO_N "(cached) $ECHO_C" >&6
35956 else
35957
35958
35959
35960 ac_ext=cc
35961 ac_cpp='$CXXCPP $CPPFLAGS'
35962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35965
35966 cat >conftest.$ac_ext <<_ACEOF
35967 /* confdefs.h. */
35968 _ACEOF
35969 cat confdefs.h >>conftest.$ac_ext
35970 cat >>conftest.$ac_ext <<_ACEOF
35971 /* end confdefs.h. */
35972 #include <math.h>
35973 int
35974 main ()
35975 {
35976 __builtin_sqrtf(0);
35977 ;
35978 return 0;
35979 }
35980 _ACEOF
35981 rm -f conftest.$ac_objext
35982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35983 (eval $ac_compile) 2>conftest.er1
35984 ac_status=$?
35985 grep -v '^ *+' conftest.er1 >conftest.err
35986 rm -f conftest.er1
35987 cat conftest.err >&5
35988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35989 (exit $ac_status); } &&
35990 { ac_try='test -z "$ac_cxx_werror_flag"
35991 || test ! -s conftest.err'
35992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35993 (eval $ac_try) 2>&5
35994 ac_status=$?
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); }; } &&
35997 { ac_try='test -s conftest.$ac_objext'
35998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35999 (eval $ac_try) 2>&5
36000 ac_status=$?
36001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36002 (exit $ac_status); }; }; then
36003 glibcxx_cv_func___builtin_sqrtf_use=yes
36004 else
36005 echo "$as_me: failed program was:" >&5
36006 sed 's/^/| /' conftest.$ac_ext >&5
36007
36008 glibcxx_cv_func___builtin_sqrtf_use=no
36009 fi
36010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36011 ac_ext=c
36012 ac_cpp='$CPP $CPPFLAGS'
36013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36016
36017
36018 fi
36019
36020 fi
36021 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36022 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36023 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36024 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36025 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36026 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36027 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36028 echo $ECHO_N "(cached) $ECHO_C" >&6
36029 else
36030
36031 if test x$gcc_no_link = xyes; then
36032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36034 { (exit 1); exit 1; }; }
36035 fi
36036 cat >conftest.$ac_ext <<_ACEOF
36037 /* confdefs.h. */
36038 _ACEOF
36039 cat confdefs.h >>conftest.$ac_ext
36040 cat >>conftest.$ac_ext <<_ACEOF
36041 /* end confdefs.h. */
36042 #include <math.h>
36043 int
36044 main ()
36045 {
36046 __builtin_sqrtf(0);
36047 ;
36048 return 0;
36049 }
36050 _ACEOF
36051 rm -f conftest.$ac_objext conftest$ac_exeext
36052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36053 (eval $ac_link) 2>conftest.er1
36054 ac_status=$?
36055 grep -v '^ *+' conftest.er1 >conftest.err
36056 rm -f conftest.er1
36057 cat conftest.err >&5
36058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36059 (exit $ac_status); } &&
36060 { ac_try='test -z "$ac_c_werror_flag"
36061 || test ! -s conftest.err'
36062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36063 (eval $ac_try) 2>&5
36064 ac_status=$?
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); }; } &&
36067 { ac_try='test -s conftest$ac_exeext'
36068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36069 (eval $ac_try) 2>&5
36070 ac_status=$?
36071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36072 (exit $ac_status); }; }; then
36073 glibcxx_cv_func___builtin_sqrtf_link=yes
36074 else
36075 echo "$as_me: failed program was:" >&5
36076 sed 's/^/| /' conftest.$ac_ext >&5
36077
36078 glibcxx_cv_func___builtin_sqrtf_link=no
36079 fi
36080 rm -f conftest.err conftest.$ac_objext \
36081 conftest$ac_exeext conftest.$ac_ext
36082
36083 fi
36084
36085 fi
36086 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36087 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36088
36089 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36090
36091 cat >>confdefs.h <<\_ACEOF
36092 #define HAVE___BUILTIN_SQRTF 1
36093 _ACEOF
36094
36095 fi
36096
36097 fi
36098
36099
36100 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36101 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36102 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36103 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36104 echo $ECHO_N "(cached) $ECHO_C" >&6
36105 else
36106
36107
36108
36109 ac_ext=cc
36110 ac_cpp='$CXXCPP $CPPFLAGS'
36111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36114
36115 cat >conftest.$ac_ext <<_ACEOF
36116 /* confdefs.h. */
36117 _ACEOF
36118 cat confdefs.h >>conftest.$ac_ext
36119 cat >>conftest.$ac_ext <<_ACEOF
36120 /* end confdefs.h. */
36121 #include <math.h>
36122 int
36123 main ()
36124 {
36125 __builtin_sqrt(0);
36126 ;
36127 return 0;
36128 }
36129 _ACEOF
36130 rm -f conftest.$ac_objext
36131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36132 (eval $ac_compile) 2>conftest.er1
36133 ac_status=$?
36134 grep -v '^ *+' conftest.er1 >conftest.err
36135 rm -f conftest.er1
36136 cat conftest.err >&5
36137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36138 (exit $ac_status); } &&
36139 { ac_try='test -z "$ac_cxx_werror_flag"
36140 || test ! -s conftest.err'
36141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36142 (eval $ac_try) 2>&5
36143 ac_status=$?
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); }; } &&
36146 { ac_try='test -s conftest.$ac_objext'
36147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36148 (eval $ac_try) 2>&5
36149 ac_status=$?
36150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151 (exit $ac_status); }; }; then
36152 glibcxx_cv_func___builtin_sqrt_use=yes
36153 else
36154 echo "$as_me: failed program was:" >&5
36155 sed 's/^/| /' conftest.$ac_ext >&5
36156
36157 glibcxx_cv_func___builtin_sqrt_use=no
36158 fi
36159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36160 ac_ext=c
36161 ac_cpp='$CPP $CPPFLAGS'
36162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36165
36166
36167 fi
36168
36169 fi
36170 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
36171 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
36172 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
36173 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
36174 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
36175 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
36176 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
36177 echo $ECHO_N "(cached) $ECHO_C" >&6
36178 else
36179
36180 if test x$gcc_no_link = xyes; then
36181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36183 { (exit 1); exit 1; }; }
36184 fi
36185 cat >conftest.$ac_ext <<_ACEOF
36186 /* confdefs.h. */
36187 _ACEOF
36188 cat confdefs.h >>conftest.$ac_ext
36189 cat >>conftest.$ac_ext <<_ACEOF
36190 /* end confdefs.h. */
36191 #include <math.h>
36192 int
36193 main ()
36194 {
36195 __builtin_sqrt(0);
36196 ;
36197 return 0;
36198 }
36199 _ACEOF
36200 rm -f conftest.$ac_objext conftest$ac_exeext
36201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36202 (eval $ac_link) 2>conftest.er1
36203 ac_status=$?
36204 grep -v '^ *+' conftest.er1 >conftest.err
36205 rm -f conftest.er1
36206 cat conftest.err >&5
36207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36208 (exit $ac_status); } &&
36209 { ac_try='test -z "$ac_c_werror_flag"
36210 || test ! -s conftest.err'
36211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36212 (eval $ac_try) 2>&5
36213 ac_status=$?
36214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36215 (exit $ac_status); }; } &&
36216 { ac_try='test -s conftest$ac_exeext'
36217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36218 (eval $ac_try) 2>&5
36219 ac_status=$?
36220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36221 (exit $ac_status); }; }; then
36222 glibcxx_cv_func___builtin_sqrt_link=yes
36223 else
36224 echo "$as_me: failed program was:" >&5
36225 sed 's/^/| /' conftest.$ac_ext >&5
36226
36227 glibcxx_cv_func___builtin_sqrt_link=no
36228 fi
36229 rm -f conftest.err conftest.$ac_objext \
36230 conftest$ac_exeext conftest.$ac_ext
36231
36232 fi
36233
36234 fi
36235 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
36236 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
36237
36238 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
36239
36240 cat >>confdefs.h <<\_ACEOF
36241 #define HAVE___BUILTIN_SQRT 1
36242 _ACEOF
36243
36244 fi
36245
36246 fi
36247
36248
36249 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
36250 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
36251 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
36252 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
36253 echo $ECHO_N "(cached) $ECHO_C" >&6
36254 else
36255
36256
36257
36258 ac_ext=cc
36259 ac_cpp='$CXXCPP $CPPFLAGS'
36260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36263
36264 cat >conftest.$ac_ext <<_ACEOF
36265 /* confdefs.h. */
36266 _ACEOF
36267 cat confdefs.h >>conftest.$ac_ext
36268 cat >>conftest.$ac_ext <<_ACEOF
36269 /* end confdefs.h. */
36270 #include <math.h>
36271 int
36272 main ()
36273 {
36274 __builtin_sqrtl(0);
36275 ;
36276 return 0;
36277 }
36278 _ACEOF
36279 rm -f conftest.$ac_objext
36280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36281 (eval $ac_compile) 2>conftest.er1
36282 ac_status=$?
36283 grep -v '^ *+' conftest.er1 >conftest.err
36284 rm -f conftest.er1
36285 cat conftest.err >&5
36286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36287 (exit $ac_status); } &&
36288 { ac_try='test -z "$ac_cxx_werror_flag"
36289 || test ! -s conftest.err'
36290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36291 (eval $ac_try) 2>&5
36292 ac_status=$?
36293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294 (exit $ac_status); }; } &&
36295 { ac_try='test -s conftest.$ac_objext'
36296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36297 (eval $ac_try) 2>&5
36298 ac_status=$?
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); }; }; then
36301 glibcxx_cv_func___builtin_sqrtl_use=yes
36302 else
36303 echo "$as_me: failed program was:" >&5
36304 sed 's/^/| /' conftest.$ac_ext >&5
36305
36306 glibcxx_cv_func___builtin_sqrtl_use=no
36307 fi
36308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36309 ac_ext=c
36310 ac_cpp='$CPP $CPPFLAGS'
36311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36314
36315
36316 fi
36317
36318 fi
36319 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
36320 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
36321 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
36322 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
36323 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
36324 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
36325 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
36326 echo $ECHO_N "(cached) $ECHO_C" >&6
36327 else
36328
36329 if test x$gcc_no_link = xyes; then
36330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36332 { (exit 1); exit 1; }; }
36333 fi
36334 cat >conftest.$ac_ext <<_ACEOF
36335 /* confdefs.h. */
36336 _ACEOF
36337 cat confdefs.h >>conftest.$ac_ext
36338 cat >>conftest.$ac_ext <<_ACEOF
36339 /* end confdefs.h. */
36340 #include <math.h>
36341 int
36342 main ()
36343 {
36344 __builtin_sqrtl(0);
36345 ;
36346 return 0;
36347 }
36348 _ACEOF
36349 rm -f conftest.$ac_objext conftest$ac_exeext
36350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36351 (eval $ac_link) 2>conftest.er1
36352 ac_status=$?
36353 grep -v '^ *+' conftest.er1 >conftest.err
36354 rm -f conftest.er1
36355 cat conftest.err >&5
36356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357 (exit $ac_status); } &&
36358 { ac_try='test -z "$ac_c_werror_flag"
36359 || test ! -s conftest.err'
36360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36361 (eval $ac_try) 2>&5
36362 ac_status=$?
36363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36364 (exit $ac_status); }; } &&
36365 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
36371 glibcxx_cv_func___builtin_sqrtl_link=yes
36372 else
36373 echo "$as_me: failed program was:" >&5
36374 sed 's/^/| /' conftest.$ac_ext >&5
36375
36376 glibcxx_cv_func___builtin_sqrtl_link=no
36377 fi
36378 rm -f conftest.err conftest.$ac_objext \
36379 conftest$ac_exeext conftest.$ac_ext
36380
36381 fi
36382
36383 fi
36384 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
36385 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
36386
36387 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
36388
36389 cat >>confdefs.h <<\_ACEOF
36390 #define HAVE___BUILTIN_SQRTL 1
36391 _ACEOF
36392
36393 fi
36394
36395 fi
36396
36397
36398
36399 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
36400 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
36401 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
36402 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
36403 echo $ECHO_N "(cached) $ECHO_C" >&6
36404 else
36405
36406
36407
36408 ac_ext=cc
36409 ac_cpp='$CXXCPP $CPPFLAGS'
36410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36413
36414 cat >conftest.$ac_ext <<_ACEOF
36415 /* confdefs.h. */
36416 _ACEOF
36417 cat confdefs.h >>conftest.$ac_ext
36418 cat >>conftest.$ac_ext <<_ACEOF
36419 /* end confdefs.h. */
36420 #include <math.h>
36421 int
36422 main ()
36423 {
36424 __builtin_sinf(0);
36425 ;
36426 return 0;
36427 }
36428 _ACEOF
36429 rm -f conftest.$ac_objext
36430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36431 (eval $ac_compile) 2>conftest.er1
36432 ac_status=$?
36433 grep -v '^ *+' conftest.er1 >conftest.err
36434 rm -f conftest.er1
36435 cat conftest.err >&5
36436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36437 (exit $ac_status); } &&
36438 { ac_try='test -z "$ac_cxx_werror_flag"
36439 || test ! -s conftest.err'
36440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36441 (eval $ac_try) 2>&5
36442 ac_status=$?
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); }; } &&
36445 { ac_try='test -s conftest.$ac_objext'
36446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36447 (eval $ac_try) 2>&5
36448 ac_status=$?
36449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36450 (exit $ac_status); }; }; then
36451 glibcxx_cv_func___builtin_sinf_use=yes
36452 else
36453 echo "$as_me: failed program was:" >&5
36454 sed 's/^/| /' conftest.$ac_ext >&5
36455
36456 glibcxx_cv_func___builtin_sinf_use=no
36457 fi
36458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36459 ac_ext=c
36460 ac_cpp='$CPP $CPPFLAGS'
36461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36464
36465
36466 fi
36467
36468 fi
36469 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
36470 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
36471 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
36472 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
36473 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
36474 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
36475 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
36476 echo $ECHO_N "(cached) $ECHO_C" >&6
36477 else
36478
36479 if test x$gcc_no_link = xyes; then
36480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36482 { (exit 1); exit 1; }; }
36483 fi
36484 cat >conftest.$ac_ext <<_ACEOF
36485 /* confdefs.h. */
36486 _ACEOF
36487 cat confdefs.h >>conftest.$ac_ext
36488 cat >>conftest.$ac_ext <<_ACEOF
36489 /* end confdefs.h. */
36490 #include <math.h>
36491 int
36492 main ()
36493 {
36494 __builtin_sinf(0);
36495 ;
36496 return 0;
36497 }
36498 _ACEOF
36499 rm -f conftest.$ac_objext conftest$ac_exeext
36500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36501 (eval $ac_link) 2>conftest.er1
36502 ac_status=$?
36503 grep -v '^ *+' conftest.er1 >conftest.err
36504 rm -f conftest.er1
36505 cat conftest.err >&5
36506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507 (exit $ac_status); } &&
36508 { ac_try='test -z "$ac_c_werror_flag"
36509 || test ! -s conftest.err'
36510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36511 (eval $ac_try) 2>&5
36512 ac_status=$?
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); }; } &&
36515 { ac_try='test -s conftest$ac_exeext'
36516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36517 (eval $ac_try) 2>&5
36518 ac_status=$?
36519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36520 (exit $ac_status); }; }; then
36521 glibcxx_cv_func___builtin_sinf_link=yes
36522 else
36523 echo "$as_me: failed program was:" >&5
36524 sed 's/^/| /' conftest.$ac_ext >&5
36525
36526 glibcxx_cv_func___builtin_sinf_link=no
36527 fi
36528 rm -f conftest.err conftest.$ac_objext \
36529 conftest$ac_exeext conftest.$ac_ext
36530
36531 fi
36532
36533 fi
36534 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
36535 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
36536
36537 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
36538
36539 cat >>confdefs.h <<\_ACEOF
36540 #define HAVE___BUILTIN_SINF 1
36541 _ACEOF
36542
36543 fi
36544
36545 fi
36546
36547
36548 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
36549 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
36550 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
36551 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
36552 echo $ECHO_N "(cached) $ECHO_C" >&6
36553 else
36554
36555
36556
36557 ac_ext=cc
36558 ac_cpp='$CXXCPP $CPPFLAGS'
36559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36562
36563 cat >conftest.$ac_ext <<_ACEOF
36564 /* confdefs.h. */
36565 _ACEOF
36566 cat confdefs.h >>conftest.$ac_ext
36567 cat >>conftest.$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36569 #include <math.h>
36570 int
36571 main ()
36572 {
36573 __builtin_sin(0);
36574 ;
36575 return 0;
36576 }
36577 _ACEOF
36578 rm -f conftest.$ac_objext
36579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36580 (eval $ac_compile) 2>conftest.er1
36581 ac_status=$?
36582 grep -v '^ *+' conftest.er1 >conftest.err
36583 rm -f conftest.er1
36584 cat conftest.err >&5
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); } &&
36587 { ac_try='test -z "$ac_cxx_werror_flag"
36588 || test ! -s conftest.err'
36589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36590 (eval $ac_try) 2>&5
36591 ac_status=$?
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); }; } &&
36594 { ac_try='test -s conftest.$ac_objext'
36595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36596 (eval $ac_try) 2>&5
36597 ac_status=$?
36598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36599 (exit $ac_status); }; }; then
36600 glibcxx_cv_func___builtin_sin_use=yes
36601 else
36602 echo "$as_me: failed program was:" >&5
36603 sed 's/^/| /' conftest.$ac_ext >&5
36604
36605 glibcxx_cv_func___builtin_sin_use=no
36606 fi
36607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36608 ac_ext=c
36609 ac_cpp='$CPP $CPPFLAGS'
36610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36613
36614
36615 fi
36616
36617 fi
36618 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
36619 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
36620 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
36621 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
36622 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
36623 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
36624 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
36625 echo $ECHO_N "(cached) $ECHO_C" >&6
36626 else
36627
36628 if test x$gcc_no_link = xyes; then
36629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36631 { (exit 1); exit 1; }; }
36632 fi
36633 cat >conftest.$ac_ext <<_ACEOF
36634 /* confdefs.h. */
36635 _ACEOF
36636 cat confdefs.h >>conftest.$ac_ext
36637 cat >>conftest.$ac_ext <<_ACEOF
36638 /* end confdefs.h. */
36639 #include <math.h>
36640 int
36641 main ()
36642 {
36643 __builtin_sin(0);
36644 ;
36645 return 0;
36646 }
36647 _ACEOF
36648 rm -f conftest.$ac_objext conftest$ac_exeext
36649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36650 (eval $ac_link) 2>conftest.er1
36651 ac_status=$?
36652 grep -v '^ *+' conftest.er1 >conftest.err
36653 rm -f conftest.er1
36654 cat conftest.err >&5
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); } &&
36657 { ac_try='test -z "$ac_c_werror_flag"
36658 || test ! -s conftest.err'
36659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36660 (eval $ac_try) 2>&5
36661 ac_status=$?
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); }; } &&
36664 { ac_try='test -s conftest$ac_exeext'
36665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36666 (eval $ac_try) 2>&5
36667 ac_status=$?
36668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36669 (exit $ac_status); }; }; then
36670 glibcxx_cv_func___builtin_sin_link=yes
36671 else
36672 echo "$as_me: failed program was:" >&5
36673 sed 's/^/| /' conftest.$ac_ext >&5
36674
36675 glibcxx_cv_func___builtin_sin_link=no
36676 fi
36677 rm -f conftest.err conftest.$ac_objext \
36678 conftest$ac_exeext conftest.$ac_ext
36679
36680 fi
36681
36682 fi
36683 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
36684 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
36685
36686 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
36687
36688 cat >>confdefs.h <<\_ACEOF
36689 #define HAVE___BUILTIN_SIN 1
36690 _ACEOF
36691
36692 fi
36693
36694 fi
36695
36696
36697 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
36698 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
36699 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
36700 if test "${glibcxx_cv_func___builtin_sinl_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 __builtin_sinl(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___builtin_sinl_use=yes
36750 else
36751 echo "$as_me: failed program was:" >&5
36752 sed 's/^/| /' conftest.$ac_ext >&5
36753
36754 glibcxx_cv_func___builtin_sinl_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___builtin_sinl_use" >&5
36768 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
36769 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
36770 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
36771 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
36772 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
36773 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
36774 echo $ECHO_N "(cached) $ECHO_C" >&6
36775 else
36776
36777 if test x$gcc_no_link = xyes; then
36778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36780 { (exit 1); exit 1; }; }
36781 fi
36782 cat >conftest.$ac_ext <<_ACEOF
36783 /* confdefs.h. */
36784 _ACEOF
36785 cat confdefs.h >>conftest.$ac_ext
36786 cat >>conftest.$ac_ext <<_ACEOF
36787 /* end confdefs.h. */
36788 #include <math.h>
36789 int
36790 main ()
36791 {
36792 __builtin_sinl(0);
36793 ;
36794 return 0;
36795 }
36796 _ACEOF
36797 rm -f conftest.$ac_objext conftest$ac_exeext
36798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36799 (eval $ac_link) 2>conftest.er1
36800 ac_status=$?
36801 grep -v '^ *+' conftest.er1 >conftest.err
36802 rm -f conftest.er1
36803 cat conftest.err >&5
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); } &&
36806 { ac_try='test -z "$ac_c_werror_flag"
36807 || test ! -s conftest.err'
36808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36809 (eval $ac_try) 2>&5
36810 ac_status=$?
36811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36812 (exit $ac_status); }; } &&
36813 { ac_try='test -s conftest$ac_exeext'
36814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36815 (eval $ac_try) 2>&5
36816 ac_status=$?
36817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36818 (exit $ac_status); }; }; then
36819 glibcxx_cv_func___builtin_sinl_link=yes
36820 else
36821 echo "$as_me: failed program was:" >&5
36822 sed 's/^/| /' conftest.$ac_ext >&5
36823
36824 glibcxx_cv_func___builtin_sinl_link=no
36825 fi
36826 rm -f conftest.err conftest.$ac_objext \
36827 conftest$ac_exeext conftest.$ac_ext
36828
36829 fi
36830
36831 fi
36832 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
36833 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
36834
36835 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
36836
36837 cat >>confdefs.h <<\_ACEOF
36838 #define HAVE___BUILTIN_SINL 1
36839 _ACEOF
36840
36841 fi
36842
36843 fi
36844
36845
36846
36847 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
36848 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
36849 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
36850 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
36851 echo $ECHO_N "(cached) $ECHO_C" >&6
36852 else
36853
36854
36855
36856 ac_ext=cc
36857 ac_cpp='$CXXCPP $CPPFLAGS'
36858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36861
36862 cat >conftest.$ac_ext <<_ACEOF
36863 /* confdefs.h. */
36864 _ACEOF
36865 cat confdefs.h >>conftest.$ac_ext
36866 cat >>conftest.$ac_ext <<_ACEOF
36867 /* end confdefs.h. */
36868 #include <math.h>
36869 int
36870 main ()
36871 {
36872 __builtin_cosf(0);
36873 ;
36874 return 0;
36875 }
36876 _ACEOF
36877 rm -f conftest.$ac_objext
36878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36879 (eval $ac_compile) 2>conftest.er1
36880 ac_status=$?
36881 grep -v '^ *+' conftest.er1 >conftest.err
36882 rm -f conftest.er1
36883 cat conftest.err >&5
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); } &&
36886 { ac_try='test -z "$ac_cxx_werror_flag"
36887 || test ! -s conftest.err'
36888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36889 (eval $ac_try) 2>&5
36890 ac_status=$?
36891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36892 (exit $ac_status); }; } &&
36893 { ac_try='test -s conftest.$ac_objext'
36894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36895 (eval $ac_try) 2>&5
36896 ac_status=$?
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); }; }; then
36899 glibcxx_cv_func___builtin_cosf_use=yes
36900 else
36901 echo "$as_me: failed program was:" >&5
36902 sed 's/^/| /' conftest.$ac_ext >&5
36903
36904 glibcxx_cv_func___builtin_cosf_use=no
36905 fi
36906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36907 ac_ext=c
36908 ac_cpp='$CPP $CPPFLAGS'
36909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36912
36913
36914 fi
36915
36916 fi
36917 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
36918 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
36919 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
36920 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
36921 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
36922 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
36923 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
36924 echo $ECHO_N "(cached) $ECHO_C" >&6
36925 else
36926
36927 if test x$gcc_no_link = xyes; then
36928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36930 { (exit 1); exit 1; }; }
36931 fi
36932 cat >conftest.$ac_ext <<_ACEOF
36933 /* confdefs.h. */
36934 _ACEOF
36935 cat confdefs.h >>conftest.$ac_ext
36936 cat >>conftest.$ac_ext <<_ACEOF
36937 /* end confdefs.h. */
36938 #include <math.h>
36939 int
36940 main ()
36941 {
36942 __builtin_cosf(0);
36943 ;
36944 return 0;
36945 }
36946 _ACEOF
36947 rm -f conftest.$ac_objext conftest$ac_exeext
36948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36949 (eval $ac_link) 2>conftest.er1
36950 ac_status=$?
36951 grep -v '^ *+' conftest.er1 >conftest.err
36952 rm -f conftest.er1
36953 cat conftest.err >&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); } &&
36956 { ac_try='test -z "$ac_c_werror_flag"
36957 || test ! -s conftest.err'
36958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36959 (eval $ac_try) 2>&5
36960 ac_status=$?
36961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36962 (exit $ac_status); }; } &&
36963 { ac_try='test -s conftest$ac_exeext'
36964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36965 (eval $ac_try) 2>&5
36966 ac_status=$?
36967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36968 (exit $ac_status); }; }; then
36969 glibcxx_cv_func___builtin_cosf_link=yes
36970 else
36971 echo "$as_me: failed program was:" >&5
36972 sed 's/^/| /' conftest.$ac_ext >&5
36973
36974 glibcxx_cv_func___builtin_cosf_link=no
36975 fi
36976 rm -f conftest.err conftest.$ac_objext \
36977 conftest$ac_exeext conftest.$ac_ext
36978
36979 fi
36980
36981 fi
36982 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
36983 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
36984
36985 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
36986
36987 cat >>confdefs.h <<\_ACEOF
36988 #define HAVE___BUILTIN_COSF 1
36989 _ACEOF
36990
36991 fi
36992
36993 fi
36994
36995
36996 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
36997 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
36998 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
36999 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37000 echo $ECHO_N "(cached) $ECHO_C" >&6
37001 else
37002
37003
37004
37005 ac_ext=cc
37006 ac_cpp='$CXXCPP $CPPFLAGS'
37007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37010
37011 cat >conftest.$ac_ext <<_ACEOF
37012 /* confdefs.h. */
37013 _ACEOF
37014 cat confdefs.h >>conftest.$ac_ext
37015 cat >>conftest.$ac_ext <<_ACEOF
37016 /* end confdefs.h. */
37017 #include <math.h>
37018 int
37019 main ()
37020 {
37021 __builtin_cos(0);
37022 ;
37023 return 0;
37024 }
37025 _ACEOF
37026 rm -f conftest.$ac_objext
37027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37028 (eval $ac_compile) 2>conftest.er1
37029 ac_status=$?
37030 grep -v '^ *+' conftest.er1 >conftest.err
37031 rm -f conftest.er1
37032 cat conftest.err >&5
37033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37034 (exit $ac_status); } &&
37035 { ac_try='test -z "$ac_cxx_werror_flag"
37036 || test ! -s conftest.err'
37037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37038 (eval $ac_try) 2>&5
37039 ac_status=$?
37040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37041 (exit $ac_status); }; } &&
37042 { ac_try='test -s conftest.$ac_objext'
37043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37044 (eval $ac_try) 2>&5
37045 ac_status=$?
37046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37047 (exit $ac_status); }; }; then
37048 glibcxx_cv_func___builtin_cos_use=yes
37049 else
37050 echo "$as_me: failed program was:" >&5
37051 sed 's/^/| /' conftest.$ac_ext >&5
37052
37053 glibcxx_cv_func___builtin_cos_use=no
37054 fi
37055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37056 ac_ext=c
37057 ac_cpp='$CPP $CPPFLAGS'
37058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37061
37062
37063 fi
37064
37065 fi
37066 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37067 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37068 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37069 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37070 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37071 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37072 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37073 echo $ECHO_N "(cached) $ECHO_C" >&6
37074 else
37075
37076 if test x$gcc_no_link = xyes; then
37077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37079 { (exit 1); exit 1; }; }
37080 fi
37081 cat >conftest.$ac_ext <<_ACEOF
37082 /* confdefs.h. */
37083 _ACEOF
37084 cat confdefs.h >>conftest.$ac_ext
37085 cat >>conftest.$ac_ext <<_ACEOF
37086 /* end confdefs.h. */
37087 #include <math.h>
37088 int
37089 main ()
37090 {
37091 __builtin_cos(0);
37092 ;
37093 return 0;
37094 }
37095 _ACEOF
37096 rm -f conftest.$ac_objext conftest$ac_exeext
37097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37098 (eval $ac_link) 2>conftest.er1
37099 ac_status=$?
37100 grep -v '^ *+' conftest.er1 >conftest.err
37101 rm -f conftest.er1
37102 cat conftest.err >&5
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); } &&
37105 { ac_try='test -z "$ac_c_werror_flag"
37106 || test ! -s conftest.err'
37107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37108 (eval $ac_try) 2>&5
37109 ac_status=$?
37110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37111 (exit $ac_status); }; } &&
37112 { ac_try='test -s conftest$ac_exeext'
37113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37114 (eval $ac_try) 2>&5
37115 ac_status=$?
37116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37117 (exit $ac_status); }; }; then
37118 glibcxx_cv_func___builtin_cos_link=yes
37119 else
37120 echo "$as_me: failed program was:" >&5
37121 sed 's/^/| /' conftest.$ac_ext >&5
37122
37123 glibcxx_cv_func___builtin_cos_link=no
37124 fi
37125 rm -f conftest.err conftest.$ac_objext \
37126 conftest$ac_exeext conftest.$ac_ext
37127
37128 fi
37129
37130 fi
37131 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
37132 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
37133
37134 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
37135
37136 cat >>confdefs.h <<\_ACEOF
37137 #define HAVE___BUILTIN_COS 1
37138 _ACEOF
37139
37140 fi
37141
37142 fi
37143
37144
37145 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
37146 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
37147 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
37148 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
37149 echo $ECHO_N "(cached) $ECHO_C" >&6
37150 else
37151
37152
37153
37154 ac_ext=cc
37155 ac_cpp='$CXXCPP $CPPFLAGS'
37156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37159
37160 cat >conftest.$ac_ext <<_ACEOF
37161 /* confdefs.h. */
37162 _ACEOF
37163 cat confdefs.h >>conftest.$ac_ext
37164 cat >>conftest.$ac_ext <<_ACEOF
37165 /* end confdefs.h. */
37166 #include <math.h>
37167 int
37168 main ()
37169 {
37170 __builtin_cosl(0);
37171 ;
37172 return 0;
37173 }
37174 _ACEOF
37175 rm -f conftest.$ac_objext
37176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37177 (eval $ac_compile) 2>conftest.er1
37178 ac_status=$?
37179 grep -v '^ *+' conftest.er1 >conftest.err
37180 rm -f conftest.er1
37181 cat conftest.err >&5
37182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37183 (exit $ac_status); } &&
37184 { ac_try='test -z "$ac_cxx_werror_flag"
37185 || test ! -s conftest.err'
37186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37187 (eval $ac_try) 2>&5
37188 ac_status=$?
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); }; } &&
37191 { ac_try='test -s conftest.$ac_objext'
37192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37193 (eval $ac_try) 2>&5
37194 ac_status=$?
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); }; }; then
37197 glibcxx_cv_func___builtin_cosl_use=yes
37198 else
37199 echo "$as_me: failed program was:" >&5
37200 sed 's/^/| /' conftest.$ac_ext >&5
37201
37202 glibcxx_cv_func___builtin_cosl_use=no
37203 fi
37204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37205 ac_ext=c
37206 ac_cpp='$CPP $CPPFLAGS'
37207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37210
37211
37212 fi
37213
37214 fi
37215 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
37216 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
37217 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
37218 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
37219 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
37220 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
37221 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
37222 echo $ECHO_N "(cached) $ECHO_C" >&6
37223 else
37224
37225 if test x$gcc_no_link = xyes; then
37226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37228 { (exit 1); exit 1; }; }
37229 fi
37230 cat >conftest.$ac_ext <<_ACEOF
37231 /* confdefs.h. */
37232 _ACEOF
37233 cat confdefs.h >>conftest.$ac_ext
37234 cat >>conftest.$ac_ext <<_ACEOF
37235 /* end confdefs.h. */
37236 #include <math.h>
37237 int
37238 main ()
37239 {
37240 __builtin_cosl(0);
37241 ;
37242 return 0;
37243 }
37244 _ACEOF
37245 rm -f conftest.$ac_objext conftest$ac_exeext
37246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37247 (eval $ac_link) 2>conftest.er1
37248 ac_status=$?
37249 grep -v '^ *+' conftest.er1 >conftest.err
37250 rm -f conftest.er1
37251 cat conftest.err >&5
37252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37253 (exit $ac_status); } &&
37254 { ac_try='test -z "$ac_c_werror_flag"
37255 || test ! -s conftest.err'
37256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37257 (eval $ac_try) 2>&5
37258 ac_status=$?
37259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260 (exit $ac_status); }; } &&
37261 { ac_try='test -s conftest$ac_exeext'
37262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37263 (eval $ac_try) 2>&5
37264 ac_status=$?
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); }; }; then
37267 glibcxx_cv_func___builtin_cosl_link=yes
37268 else
37269 echo "$as_me: failed program was:" >&5
37270 sed 's/^/| /' conftest.$ac_ext >&5
37271
37272 glibcxx_cv_func___builtin_cosl_link=no
37273 fi
37274 rm -f conftest.err conftest.$ac_objext \
37275 conftest$ac_exeext conftest.$ac_ext
37276
37277 fi
37278
37279 fi
37280 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
37281 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
37282
37283 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
37284
37285 cat >>confdefs.h <<\_ACEOF
37286 #define HAVE___BUILTIN_COSL 1
37287 _ACEOF
37288
37289 fi
37290
37291 fi
37292
37293
37294
37295
37296 echo "$as_me:$LINENO: checking for main in -lm" >&5
37297 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
37298 if test "${ac_cv_lib_m_main+set}" = set; then
37299 echo $ECHO_N "(cached) $ECHO_C" >&6
37300 else
37301 ac_check_lib_save_LIBS=$LIBS
37302 LIBS="-lm $LIBS"
37303 if test x$gcc_no_link = xyes; then
37304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37306 { (exit 1); exit 1; }; }
37307 fi
37308 cat >conftest.$ac_ext <<_ACEOF
37309 /* confdefs.h. */
37310 _ACEOF
37311 cat confdefs.h >>conftest.$ac_ext
37312 cat >>conftest.$ac_ext <<_ACEOF
37313 /* end confdefs.h. */
37314
37315
37316 int
37317 main ()
37318 {
37319 main ();
37320 ;
37321 return 0;
37322 }
37323 _ACEOF
37324 rm -f conftest.$ac_objext conftest$ac_exeext
37325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37326 (eval $ac_link) 2>conftest.er1
37327 ac_status=$?
37328 grep -v '^ *+' conftest.er1 >conftest.err
37329 rm -f conftest.er1
37330 cat conftest.err >&5
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); } &&
37333 { ac_try='test -z "$ac_c_werror_flag"
37334 || test ! -s conftest.err'
37335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37336 (eval $ac_try) 2>&5
37337 ac_status=$?
37338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37339 (exit $ac_status); }; } &&
37340 { ac_try='test -s conftest$ac_exeext'
37341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37342 (eval $ac_try) 2>&5
37343 ac_status=$?
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); }; }; then
37346 ac_cv_lib_m_main=yes
37347 else
37348 echo "$as_me: failed program was:" >&5
37349 sed 's/^/| /' conftest.$ac_ext >&5
37350
37351 ac_cv_lib_m_main=no
37352 fi
37353 rm -f conftest.err conftest.$ac_objext \
37354 conftest$ac_exeext conftest.$ac_ext
37355 LIBS=$ac_check_lib_save_LIBS
37356 fi
37357 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
37358 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
37359 if test $ac_cv_lib_m_main = yes; then
37360 cat >>confdefs.h <<_ACEOF
37361 #define HAVE_LIBM 1
37362 _ACEOF
37363
37364 LIBS="-lm $LIBS"
37365
37366 fi
37367
37368
37369 for ac_func in copysignf
37370 do
37371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37372 echo "$as_me:$LINENO: checking for $ac_func" >&5
37373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37374 if eval "test \"\${$as_ac_var+set}\" = set"; then
37375 echo $ECHO_N "(cached) $ECHO_C" >&6
37376 else
37377 if test x$gcc_no_link = xyes; then
37378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37380 { (exit 1); exit 1; }; }
37381 fi
37382 cat >conftest.$ac_ext <<_ACEOF
37383 /* confdefs.h. */
37384 _ACEOF
37385 cat confdefs.h >>conftest.$ac_ext
37386 cat >>conftest.$ac_ext <<_ACEOF
37387 /* end confdefs.h. */
37388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37390 #define $ac_func innocuous_$ac_func
37391
37392 /* System header to define __stub macros and hopefully few prototypes,
37393 which can conflict with char $ac_func (); below.
37394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37395 <limits.h> exists even on freestanding compilers. */
37396
37397 #ifdef __STDC__
37398 # include <limits.h>
37399 #else
37400 # include <assert.h>
37401 #endif
37402
37403 #undef $ac_func
37404
37405 /* Override any gcc2 internal prototype to avoid an error. */
37406 #ifdef __cplusplus
37407 extern "C"
37408 {
37409 #endif
37410 /* We use char because int might match the return type of a gcc2
37411 builtin and then its argument prototype would still apply. */
37412 char $ac_func ();
37413 /* The GNU C library defines this for functions which it implements
37414 to always fail with ENOSYS. Some functions are actually named
37415 something starting with __ and the normal name is an alias. */
37416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37417 choke me
37418 #else
37419 char (*f) () = $ac_func;
37420 #endif
37421 #ifdef __cplusplus
37422 }
37423 #endif
37424
37425 int
37426 main ()
37427 {
37428 return f != $ac_func;
37429 ;
37430 return 0;
37431 }
37432 _ACEOF
37433 rm -f conftest.$ac_objext conftest$ac_exeext
37434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37435 (eval $ac_link) 2>conftest.er1
37436 ac_status=$?
37437 grep -v '^ *+' conftest.er1 >conftest.err
37438 rm -f conftest.er1
37439 cat conftest.err >&5
37440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 (exit $ac_status); } &&
37442 { ac_try='test -z "$ac_c_werror_flag"
37443 || test ! -s conftest.err'
37444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37445 (eval $ac_try) 2>&5
37446 ac_status=$?
37447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37448 (exit $ac_status); }; } &&
37449 { ac_try='test -s conftest$ac_exeext'
37450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37451 (eval $ac_try) 2>&5
37452 ac_status=$?
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); }; }; then
37455 eval "$as_ac_var=yes"
37456 else
37457 echo "$as_me: failed program was:" >&5
37458 sed 's/^/| /' conftest.$ac_ext >&5
37459
37460 eval "$as_ac_var=no"
37461 fi
37462 rm -f conftest.err conftest.$ac_objext \
37463 conftest$ac_exeext conftest.$ac_ext
37464 fi
37465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37467 if test `eval echo '${'$as_ac_var'}'` = yes; then
37468 cat >>confdefs.h <<_ACEOF
37469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37470 _ACEOF
37471
37472 else
37473 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
37474 fi
37475 done
37476
37477
37478
37479 for ac_func in __signbit
37480 do
37481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37482 echo "$as_me:$LINENO: checking for $ac_func" >&5
37483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37484 if eval "test \"\${$as_ac_var+set}\" = set"; then
37485 echo $ECHO_N "(cached) $ECHO_C" >&6
37486 else
37487 if test x$gcc_no_link = xyes; then
37488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37490 { (exit 1); exit 1; }; }
37491 fi
37492 cat >conftest.$ac_ext <<_ACEOF
37493 /* confdefs.h. */
37494 _ACEOF
37495 cat confdefs.h >>conftest.$ac_ext
37496 cat >>conftest.$ac_ext <<_ACEOF
37497 /* end confdefs.h. */
37498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37500 #define $ac_func innocuous_$ac_func
37501
37502 /* System header to define __stub macros and hopefully few prototypes,
37503 which can conflict with char $ac_func (); below.
37504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37505 <limits.h> exists even on freestanding compilers. */
37506
37507 #ifdef __STDC__
37508 # include <limits.h>
37509 #else
37510 # include <assert.h>
37511 #endif
37512
37513 #undef $ac_func
37514
37515 /* Override any gcc2 internal prototype to avoid an error. */
37516 #ifdef __cplusplus
37517 extern "C"
37518 {
37519 #endif
37520 /* We use char because int might match the return type of a gcc2
37521 builtin and then its argument prototype would still apply. */
37522 char $ac_func ();
37523 /* The GNU C library defines this for functions which it implements
37524 to always fail with ENOSYS. Some functions are actually named
37525 something starting with __ and the normal name is an alias. */
37526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37527 choke me
37528 #else
37529 char (*f) () = $ac_func;
37530 #endif
37531 #ifdef __cplusplus
37532 }
37533 #endif
37534
37535 int
37536 main ()
37537 {
37538 return f != $ac_func;
37539 ;
37540 return 0;
37541 }
37542 _ACEOF
37543 rm -f conftest.$ac_objext conftest$ac_exeext
37544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37545 (eval $ac_link) 2>conftest.er1
37546 ac_status=$?
37547 grep -v '^ *+' conftest.er1 >conftest.err
37548 rm -f conftest.er1
37549 cat conftest.err >&5
37550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37551 (exit $ac_status); } &&
37552 { ac_try='test -z "$ac_c_werror_flag"
37553 || test ! -s conftest.err'
37554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37555 (eval $ac_try) 2>&5
37556 ac_status=$?
37557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37558 (exit $ac_status); }; } &&
37559 { ac_try='test -s conftest$ac_exeext'
37560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37561 (eval $ac_try) 2>&5
37562 ac_status=$?
37563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37564 (exit $ac_status); }; }; then
37565 eval "$as_ac_var=yes"
37566 else
37567 echo "$as_me: failed program was:" >&5
37568 sed 's/^/| /' conftest.$ac_ext >&5
37569
37570 eval "$as_ac_var=no"
37571 fi
37572 rm -f conftest.err conftest.$ac_objext \
37573 conftest$ac_exeext conftest.$ac_ext
37574 fi
37575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37577 if test `eval echo '${'$as_ac_var'}'` = yes; then
37578 cat >>confdefs.h <<_ACEOF
37579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37580 _ACEOF
37581
37582 else
37583 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
37584 fi
37585 done
37586
37587
37588
37589 for ac_func in __signbitf
37590 do
37591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37592 echo "$as_me:$LINENO: checking for $ac_func" >&5
37593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37594 if eval "test \"\${$as_ac_var+set}\" = set"; then
37595 echo $ECHO_N "(cached) $ECHO_C" >&6
37596 else
37597 if test x$gcc_no_link = xyes; then
37598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37600 { (exit 1); exit 1; }; }
37601 fi
37602 cat >conftest.$ac_ext <<_ACEOF
37603 /* confdefs.h. */
37604 _ACEOF
37605 cat confdefs.h >>conftest.$ac_ext
37606 cat >>conftest.$ac_ext <<_ACEOF
37607 /* end confdefs.h. */
37608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37610 #define $ac_func innocuous_$ac_func
37611
37612 /* System header to define __stub macros and hopefully few prototypes,
37613 which can conflict with char $ac_func (); below.
37614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37615 <limits.h> exists even on freestanding compilers. */
37616
37617 #ifdef __STDC__
37618 # include <limits.h>
37619 #else
37620 # include <assert.h>
37621 #endif
37622
37623 #undef $ac_func
37624
37625 /* Override any gcc2 internal prototype to avoid an error. */
37626 #ifdef __cplusplus
37627 extern "C"
37628 {
37629 #endif
37630 /* We use char because int might match the return type of a gcc2
37631 builtin and then its argument prototype would still apply. */
37632 char $ac_func ();
37633 /* The GNU C library defines this for functions which it implements
37634 to always fail with ENOSYS. Some functions are actually named
37635 something starting with __ and the normal name is an alias. */
37636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37637 choke me
37638 #else
37639 char (*f) () = $ac_func;
37640 #endif
37641 #ifdef __cplusplus
37642 }
37643 #endif
37644
37645 int
37646 main ()
37647 {
37648 return f != $ac_func;
37649 ;
37650 return 0;
37651 }
37652 _ACEOF
37653 rm -f conftest.$ac_objext conftest$ac_exeext
37654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37655 (eval $ac_link) 2>conftest.er1
37656 ac_status=$?
37657 grep -v '^ *+' conftest.er1 >conftest.err
37658 rm -f conftest.er1
37659 cat conftest.err >&5
37660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661 (exit $ac_status); } &&
37662 { ac_try='test -z "$ac_c_werror_flag"
37663 || test ! -s conftest.err'
37664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37665 (eval $ac_try) 2>&5
37666 ac_status=$?
37667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37668 (exit $ac_status); }; } &&
37669 { ac_try='test -s conftest$ac_exeext'
37670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37671 (eval $ac_try) 2>&5
37672 ac_status=$?
37673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674 (exit $ac_status); }; }; then
37675 eval "$as_ac_var=yes"
37676 else
37677 echo "$as_me: failed program was:" >&5
37678 sed 's/^/| /' conftest.$ac_ext >&5
37679
37680 eval "$as_ac_var=no"
37681 fi
37682 rm -f conftest.err conftest.$ac_objext \
37683 conftest$ac_exeext conftest.$ac_ext
37684 fi
37685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37687 if test `eval echo '${'$as_ac_var'}'` = yes; then
37688 cat >>confdefs.h <<_ACEOF
37689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37690 _ACEOF
37691
37692 else
37693 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
37694 fi
37695 done
37696
37697
37698 if test x$ac_cv_func_copysignl = x"yes"; then
37699
37700 for ac_func in __signbitl
37701 do
37702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37703 echo "$as_me:$LINENO: checking for $ac_func" >&5
37704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37705 if eval "test \"\${$as_ac_var+set}\" = set"; then
37706 echo $ECHO_N "(cached) $ECHO_C" >&6
37707 else
37708 if test x$gcc_no_link = xyes; then
37709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37711 { (exit 1); exit 1; }; }
37712 fi
37713 cat >conftest.$ac_ext <<_ACEOF
37714 /* confdefs.h. */
37715 _ACEOF
37716 cat confdefs.h >>conftest.$ac_ext
37717 cat >>conftest.$ac_ext <<_ACEOF
37718 /* end confdefs.h. */
37719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37721 #define $ac_func innocuous_$ac_func
37722
37723 /* System header to define __stub macros and hopefully few prototypes,
37724 which can conflict with char $ac_func (); below.
37725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37726 <limits.h> exists even on freestanding compilers. */
37727
37728 #ifdef __STDC__
37729 # include <limits.h>
37730 #else
37731 # include <assert.h>
37732 #endif
37733
37734 #undef $ac_func
37735
37736 /* Override any gcc2 internal prototype to avoid an error. */
37737 #ifdef __cplusplus
37738 extern "C"
37739 {
37740 #endif
37741 /* We use char because int might match the return type of a gcc2
37742 builtin and then its argument prototype would still apply. */
37743 char $ac_func ();
37744 /* The GNU C library defines this for functions which it implements
37745 to always fail with ENOSYS. Some functions are actually named
37746 something starting with __ and the normal name is an alias. */
37747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37748 choke me
37749 #else
37750 char (*f) () = $ac_func;
37751 #endif
37752 #ifdef __cplusplus
37753 }
37754 #endif
37755
37756 int
37757 main ()
37758 {
37759 return f != $ac_func;
37760 ;
37761 return 0;
37762 }
37763 _ACEOF
37764 rm -f conftest.$ac_objext conftest$ac_exeext
37765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37766 (eval $ac_link) 2>conftest.er1
37767 ac_status=$?
37768 grep -v '^ *+' conftest.er1 >conftest.err
37769 rm -f conftest.er1
37770 cat conftest.err >&5
37771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37772 (exit $ac_status); } &&
37773 { ac_try='test -z "$ac_c_werror_flag"
37774 || test ! -s conftest.err'
37775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37776 (eval $ac_try) 2>&5
37777 ac_status=$?
37778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37779 (exit $ac_status); }; } &&
37780 { ac_try='test -s conftest$ac_exeext'
37781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37782 (eval $ac_try) 2>&5
37783 ac_status=$?
37784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37785 (exit $ac_status); }; }; then
37786 eval "$as_ac_var=yes"
37787 else
37788 echo "$as_me: failed program was:" >&5
37789 sed 's/^/| /' conftest.$ac_ext >&5
37790
37791 eval "$as_ac_var=no"
37792 fi
37793 rm -f conftest.err conftest.$ac_objext \
37794 conftest$ac_exeext conftest.$ac_ext
37795 fi
37796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37798 if test `eval echo '${'$as_ac_var'}'` = yes; then
37799 cat >>confdefs.h <<_ACEOF
37800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37801 _ACEOF
37802
37803 else
37804 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
37805 fi
37806 done
37807
37808 fi
37809
37810 # Used in libmath/Makefile.am.
37811 if test -n "$LIBMATHOBJS"; then
37812 need_libmath=yes
37813 fi
37814
37815
37816
37817 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37818 ac_save_CXXFLAGS="$CXXFLAGS"
37819 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37820
37821
37822 echo "$as_me:$LINENO: checking for strtold declaration" >&5
37823 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
37824 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37825 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
37826 echo $ECHO_N "(cached) $ECHO_C" >&6
37827 else
37828
37829
37830
37831 ac_ext=cc
37832 ac_cpp='$CXXCPP $CPPFLAGS'
37833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37836
37837 cat >conftest.$ac_ext <<_ACEOF
37838 /* confdefs.h. */
37839 _ACEOF
37840 cat confdefs.h >>conftest.$ac_ext
37841 cat >>conftest.$ac_ext <<_ACEOF
37842 /* end confdefs.h. */
37843 #include <stdlib.h>
37844 int
37845 main ()
37846 {
37847 strtold(0, 0);
37848 ;
37849 return 0;
37850 }
37851 _ACEOF
37852 rm -f conftest.$ac_objext
37853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37854 (eval $ac_compile) 2>conftest.er1
37855 ac_status=$?
37856 grep -v '^ *+' conftest.er1 >conftest.err
37857 rm -f conftest.er1
37858 cat conftest.err >&5
37859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37860 (exit $ac_status); } &&
37861 { ac_try='test -z "$ac_cxx_werror_flag"
37862 || test ! -s conftest.err'
37863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37864 (eval $ac_try) 2>&5
37865 ac_status=$?
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); }; } &&
37868 { ac_try='test -s conftest.$ac_objext'
37869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37870 (eval $ac_try) 2>&5
37871 ac_status=$?
37872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37873 (exit $ac_status); }; }; then
37874 glibcxx_cv_func_strtold_use=yes
37875 else
37876 echo "$as_me: failed program was:" >&5
37877 sed 's/^/| /' conftest.$ac_ext >&5
37878
37879 glibcxx_cv_func_strtold_use=no
37880 fi
37881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37882 ac_ext=c
37883 ac_cpp='$CPP $CPPFLAGS'
37884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37887
37888
37889 fi
37890
37891 fi
37892 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
37893 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
37894 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37895
37896 for ac_func in strtold
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
38004
38005
38006
38007
38008 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38009 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38010 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38011 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38012 echo $ECHO_N "(cached) $ECHO_C" >&6
38013 else
38014
38015
38016
38017 ac_ext=cc
38018 ac_cpp='$CXXCPP $CPPFLAGS'
38019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38022
38023 cat >conftest.$ac_ext <<_ACEOF
38024 /* confdefs.h. */
38025 _ACEOF
38026 cat confdefs.h >>conftest.$ac_ext
38027 cat >>conftest.$ac_ext <<_ACEOF
38028 /* end confdefs.h. */
38029 #include <stdlib.h>
38030 int
38031 main ()
38032 {
38033 strtof(0, 0);
38034 ;
38035 return 0;
38036 }
38037 _ACEOF
38038 rm -f conftest.$ac_objext
38039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38040 (eval $ac_compile) 2>conftest.er1
38041 ac_status=$?
38042 grep -v '^ *+' conftest.er1 >conftest.err
38043 rm -f conftest.er1
38044 cat conftest.err >&5
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); } &&
38047 { ac_try='test -z "$ac_cxx_werror_flag"
38048 || test ! -s conftest.err'
38049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38050 (eval $ac_try) 2>&5
38051 ac_status=$?
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); }; } &&
38054 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
38060 glibcxx_cv_func_strtof_use=yes
38061 else
38062 echo "$as_me: failed program was:" >&5
38063 sed 's/^/| /' conftest.$ac_ext >&5
38064
38065 glibcxx_cv_func_strtof_use=no
38066 fi
38067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38068 ac_ext=c
38069 ac_cpp='$CPP $CPPFLAGS'
38070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38073
38074
38075 fi
38076
38077 fi
38078 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38079 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38080 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38081
38082 for ac_func in strtof
38083 do
38084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38085 echo "$as_me:$LINENO: checking for $ac_func" >&5
38086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38087 if eval "test \"\${$as_ac_var+set}\" = set"; then
38088 echo $ECHO_N "(cached) $ECHO_C" >&6
38089 else
38090 if test x$gcc_no_link = xyes; then
38091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38093 { (exit 1); exit 1; }; }
38094 fi
38095 cat >conftest.$ac_ext <<_ACEOF
38096 /* confdefs.h. */
38097 _ACEOF
38098 cat confdefs.h >>conftest.$ac_ext
38099 cat >>conftest.$ac_ext <<_ACEOF
38100 /* end confdefs.h. */
38101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38103 #define $ac_func innocuous_$ac_func
38104
38105 /* System header to define __stub macros and hopefully few prototypes,
38106 which can conflict with char $ac_func (); below.
38107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38108 <limits.h> exists even on freestanding compilers. */
38109
38110 #ifdef __STDC__
38111 # include <limits.h>
38112 #else
38113 # include <assert.h>
38114 #endif
38115
38116 #undef $ac_func
38117
38118 /* Override any gcc2 internal prototype to avoid an error. */
38119 #ifdef __cplusplus
38120 extern "C"
38121 {
38122 #endif
38123 /* We use char because int might match the return type of a gcc2
38124 builtin and then its argument prototype would still apply. */
38125 char $ac_func ();
38126 /* The GNU C library defines this for functions which it implements
38127 to always fail with ENOSYS. Some functions are actually named
38128 something starting with __ and the normal name is an alias. */
38129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38130 choke me
38131 #else
38132 char (*f) () = $ac_func;
38133 #endif
38134 #ifdef __cplusplus
38135 }
38136 #endif
38137
38138 int
38139 main ()
38140 {
38141 return f != $ac_func;
38142 ;
38143 return 0;
38144 }
38145 _ACEOF
38146 rm -f conftest.$ac_objext conftest$ac_exeext
38147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38148 (eval $ac_link) 2>conftest.er1
38149 ac_status=$?
38150 grep -v '^ *+' conftest.er1 >conftest.err
38151 rm -f conftest.er1
38152 cat conftest.err >&5
38153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38154 (exit $ac_status); } &&
38155 { ac_try='test -z "$ac_c_werror_flag"
38156 || test ! -s conftest.err'
38157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38158 (eval $ac_try) 2>&5
38159 ac_status=$?
38160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38161 (exit $ac_status); }; } &&
38162 { ac_try='test -s conftest$ac_exeext'
38163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38164 (eval $ac_try) 2>&5
38165 ac_status=$?
38166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38167 (exit $ac_status); }; }; then
38168 eval "$as_ac_var=yes"
38169 else
38170 echo "$as_me: failed program was:" >&5
38171 sed 's/^/| /' conftest.$ac_ext >&5
38172
38173 eval "$as_ac_var=no"
38174 fi
38175 rm -f conftest.err conftest.$ac_objext \
38176 conftest$ac_exeext conftest.$ac_ext
38177 fi
38178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38180 if test `eval echo '${'$as_ac_var'}'` = yes; then
38181 cat >>confdefs.h <<_ACEOF
38182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38183 _ACEOF
38184
38185 fi
38186 done
38187
38188 fi
38189
38190
38191
38192
38193
38194 CXXFLAGS="$ac_save_CXXFLAGS"
38195
38196
38197 # For showmanyc_helper().
38198
38199
38200 for ac_header in sys/ioctl.h sys/filio.h
38201 do
38202 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38204 echo "$as_me:$LINENO: checking for $ac_header" >&5
38205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38207 echo $ECHO_N "(cached) $ECHO_C" >&6
38208 fi
38209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38211 else
38212 # Is the header compilable?
38213 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38215 cat >conftest.$ac_ext <<_ACEOF
38216 /* confdefs.h. */
38217 _ACEOF
38218 cat confdefs.h >>conftest.$ac_ext
38219 cat >>conftest.$ac_ext <<_ACEOF
38220 /* end confdefs.h. */
38221 $ac_includes_default
38222 #include <$ac_header>
38223 _ACEOF
38224 rm -f conftest.$ac_objext
38225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38226 (eval $ac_compile) 2>conftest.er1
38227 ac_status=$?
38228 grep -v '^ *+' conftest.er1 >conftest.err
38229 rm -f conftest.er1
38230 cat conftest.err >&5
38231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38232 (exit $ac_status); } &&
38233 { ac_try='test -z "$ac_c_werror_flag"
38234 || test ! -s conftest.err'
38235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38236 (eval $ac_try) 2>&5
38237 ac_status=$?
38238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38239 (exit $ac_status); }; } &&
38240 { ac_try='test -s conftest.$ac_objext'
38241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38242 (eval $ac_try) 2>&5
38243 ac_status=$?
38244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38245 (exit $ac_status); }; }; then
38246 ac_header_compiler=yes
38247 else
38248 echo "$as_me: failed program was:" >&5
38249 sed 's/^/| /' conftest.$ac_ext >&5
38250
38251 ac_header_compiler=no
38252 fi
38253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38255 echo "${ECHO_T}$ac_header_compiler" >&6
38256
38257 # Is the header present?
38258 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38259 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38260 cat >conftest.$ac_ext <<_ACEOF
38261 /* confdefs.h. */
38262 _ACEOF
38263 cat confdefs.h >>conftest.$ac_ext
38264 cat >>conftest.$ac_ext <<_ACEOF
38265 /* end confdefs.h. */
38266 #include <$ac_header>
38267 _ACEOF
38268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38270 ac_status=$?
38271 grep -v '^ *+' conftest.er1 >conftest.err
38272 rm -f conftest.er1
38273 cat conftest.err >&5
38274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38275 (exit $ac_status); } >/dev/null; then
38276 if test -s conftest.err; then
38277 ac_cpp_err=$ac_c_preproc_warn_flag
38278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38279 else
38280 ac_cpp_err=
38281 fi
38282 else
38283 ac_cpp_err=yes
38284 fi
38285 if test -z "$ac_cpp_err"; then
38286 ac_header_preproc=yes
38287 else
38288 echo "$as_me: failed program was:" >&5
38289 sed 's/^/| /' conftest.$ac_ext >&5
38290
38291 ac_header_preproc=no
38292 fi
38293 rm -f conftest.err conftest.$ac_ext
38294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38295 echo "${ECHO_T}$ac_header_preproc" >&6
38296
38297 # So? What about this header?
38298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38299 yes:no: )
38300 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38301 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38303 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38304 ac_header_preproc=yes
38305 ;;
38306 no:yes:* )
38307 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38308 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38309 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38310 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38311 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38312 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38313 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38314 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38316 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38317 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38318 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38319 (
38320 cat <<\_ASBOX
38321 ## ----------------------------------------- ##
38322 ## Report this to the package-unused lists. ##
38323 ## ----------------------------------------- ##
38324 _ASBOX
38325 ) |
38326 sed "s/^/$as_me: WARNING: /" >&2
38327 ;;
38328 esac
38329 echo "$as_me:$LINENO: checking for $ac_header" >&5
38330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38332 echo $ECHO_N "(cached) $ECHO_C" >&6
38333 else
38334 eval "$as_ac_Header=\$ac_header_preproc"
38335 fi
38336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38338
38339 fi
38340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38341 cat >>confdefs.h <<_ACEOF
38342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38343 _ACEOF
38344
38345 fi
38346
38347 done
38348
38349
38350 echo "$as_me:$LINENO: checking for poll" >&5
38351 echo $ECHO_N "checking for poll... $ECHO_C" >&6
38352 if test "${glibcxx_cv_POLL+set}" = set; then
38353 echo $ECHO_N "(cached) $ECHO_C" >&6
38354 else
38355
38356 if test x$gcc_no_link = xyes; then
38357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38359 { (exit 1); exit 1; }; }
38360 fi
38361 cat >conftest.$ac_ext <<_ACEOF
38362 /* confdefs.h. */
38363 _ACEOF
38364 cat confdefs.h >>conftest.$ac_ext
38365 cat >>conftest.$ac_ext <<_ACEOF
38366 /* end confdefs.h. */
38367 #include <poll.h>
38368 int
38369 main ()
38370 {
38371 struct pollfd pfd[1];
38372 pfd[0].events = POLLIN;
38373 poll(pfd, 1, 0);
38374 ;
38375 return 0;
38376 }
38377 _ACEOF
38378 rm -f conftest.$ac_objext conftest$ac_exeext
38379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38380 (eval $ac_link) 2>conftest.er1
38381 ac_status=$?
38382 grep -v '^ *+' conftest.er1 >conftest.err
38383 rm -f conftest.er1
38384 cat conftest.err >&5
38385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386 (exit $ac_status); } &&
38387 { ac_try='test -z "$ac_c_werror_flag"
38388 || test ! -s conftest.err'
38389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38390 (eval $ac_try) 2>&5
38391 ac_status=$?
38392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393 (exit $ac_status); }; } &&
38394 { ac_try='test -s conftest$ac_exeext'
38395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38396 (eval $ac_try) 2>&5
38397 ac_status=$?
38398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38399 (exit $ac_status); }; }; then
38400 glibcxx_cv_POLL=yes
38401 else
38402 echo "$as_me: failed program was:" >&5
38403 sed 's/^/| /' conftest.$ac_ext >&5
38404
38405 glibcxx_cv_POLL=no
38406 fi
38407 rm -f conftest.err conftest.$ac_objext \
38408 conftest$ac_exeext conftest.$ac_ext
38409
38410 fi
38411
38412 if test $glibcxx_cv_POLL = yes; then
38413
38414 cat >>confdefs.h <<\_ACEOF
38415 #define HAVE_POLL 1
38416 _ACEOF
38417
38418 fi
38419 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
38420 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
38421
38422
38423 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
38424 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
38425 if test "${glibcxx_cv_S_ISREG+set}" = set; then
38426 echo $ECHO_N "(cached) $ECHO_C" >&6
38427 else
38428
38429 if test x$gcc_no_link = xyes; then
38430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38432 { (exit 1); exit 1; }; }
38433 fi
38434 cat >conftest.$ac_ext <<_ACEOF
38435 /* confdefs.h. */
38436 _ACEOF
38437 cat confdefs.h >>conftest.$ac_ext
38438 cat >>conftest.$ac_ext <<_ACEOF
38439 /* end confdefs.h. */
38440 #include <sys/stat.h>
38441 int
38442 main ()
38443 {
38444 struct stat buffer;
38445 fstat(0, &buffer);
38446 S_ISREG(buffer.st_mode);
38447 ;
38448 return 0;
38449 }
38450 _ACEOF
38451 rm -f conftest.$ac_objext conftest$ac_exeext
38452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38453 (eval $ac_link) 2>conftest.er1
38454 ac_status=$?
38455 grep -v '^ *+' conftest.er1 >conftest.err
38456 rm -f conftest.er1
38457 cat conftest.err >&5
38458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38459 (exit $ac_status); } &&
38460 { ac_try='test -z "$ac_c_werror_flag"
38461 || test ! -s conftest.err'
38462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38463 (eval $ac_try) 2>&5
38464 ac_status=$?
38465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38466 (exit $ac_status); }; } &&
38467 { ac_try='test -s conftest$ac_exeext'
38468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38469 (eval $ac_try) 2>&5
38470 ac_status=$?
38471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38472 (exit $ac_status); }; }; then
38473 glibcxx_cv_S_ISREG=yes
38474 else
38475 echo "$as_me: failed program was:" >&5
38476 sed 's/^/| /' conftest.$ac_ext >&5
38477
38478 glibcxx_cv_S_ISREG=no
38479 fi
38480 rm -f conftest.err conftest.$ac_objext \
38481 conftest$ac_exeext conftest.$ac_ext
38482
38483 fi
38484
38485 if test "${glibcxx_cv_S_IFREG+set}" = set; then
38486 echo $ECHO_N "(cached) $ECHO_C" >&6
38487 else
38488
38489 if test x$gcc_no_link = xyes; then
38490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38492 { (exit 1); exit 1; }; }
38493 fi
38494 cat >conftest.$ac_ext <<_ACEOF
38495 /* confdefs.h. */
38496 _ACEOF
38497 cat confdefs.h >>conftest.$ac_ext
38498 cat >>conftest.$ac_ext <<_ACEOF
38499 /* end confdefs.h. */
38500 #include <sys/stat.h>
38501 int
38502 main ()
38503 {
38504 struct stat buffer;
38505 fstat(0, &buffer);
38506 S_IFREG & buffer.st_mode;
38507 ;
38508 return 0;
38509 }
38510 _ACEOF
38511 rm -f conftest.$ac_objext conftest$ac_exeext
38512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38513 (eval $ac_link) 2>conftest.er1
38514 ac_status=$?
38515 grep -v '^ *+' conftest.er1 >conftest.err
38516 rm -f conftest.er1
38517 cat conftest.err >&5
38518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38519 (exit $ac_status); } &&
38520 { ac_try='test -z "$ac_c_werror_flag"
38521 || test ! -s conftest.err'
38522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38523 (eval $ac_try) 2>&5
38524 ac_status=$?
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); }; } &&
38527 { ac_try='test -s conftest$ac_exeext'
38528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38529 (eval $ac_try) 2>&5
38530 ac_status=$?
38531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38532 (exit $ac_status); }; }; then
38533 glibcxx_cv_S_IFREG=yes
38534 else
38535 echo "$as_me: failed program was:" >&5
38536 sed 's/^/| /' conftest.$ac_ext >&5
38537
38538 glibcxx_cv_S_IFREG=no
38539 fi
38540 rm -f conftest.err conftest.$ac_objext \
38541 conftest$ac_exeext conftest.$ac_ext
38542
38543 fi
38544
38545 res=no
38546 if test $glibcxx_cv_S_ISREG = yes; then
38547
38548 cat >>confdefs.h <<\_ACEOF
38549 #define HAVE_S_ISREG 1
38550 _ACEOF
38551
38552 res=S_ISREG
38553 elif test $glibcxx_cv_S_IFREG = yes; then
38554
38555 cat >>confdefs.h <<\_ACEOF
38556 #define HAVE_S_IFREG 1
38557 _ACEOF
38558
38559 res=S_IFREG
38560 fi
38561 echo "$as_me:$LINENO: result: $res" >&5
38562 echo "${ECHO_T}$res" >&6
38563
38564
38565 # For xsputn_2().
38566
38567 for ac_header in sys/uio.h
38568 do
38569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38571 echo "$as_me:$LINENO: checking for $ac_header" >&5
38572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38574 echo $ECHO_N "(cached) $ECHO_C" >&6
38575 fi
38576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38578 else
38579 # Is the header compilable?
38580 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38581 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38582 cat >conftest.$ac_ext <<_ACEOF
38583 /* confdefs.h. */
38584 _ACEOF
38585 cat confdefs.h >>conftest.$ac_ext
38586 cat >>conftest.$ac_ext <<_ACEOF
38587 /* end confdefs.h. */
38588 $ac_includes_default
38589 #include <$ac_header>
38590 _ACEOF
38591 rm -f conftest.$ac_objext
38592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38593 (eval $ac_compile) 2>conftest.er1
38594 ac_status=$?
38595 grep -v '^ *+' conftest.er1 >conftest.err
38596 rm -f conftest.er1
38597 cat conftest.err >&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); } &&
38600 { ac_try='test -z "$ac_c_werror_flag"
38601 || test ! -s conftest.err'
38602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38603 (eval $ac_try) 2>&5
38604 ac_status=$?
38605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38606 (exit $ac_status); }; } &&
38607 { ac_try='test -s conftest.$ac_objext'
38608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38609 (eval $ac_try) 2>&5
38610 ac_status=$?
38611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38612 (exit $ac_status); }; }; then
38613 ac_header_compiler=yes
38614 else
38615 echo "$as_me: failed program was:" >&5
38616 sed 's/^/| /' conftest.$ac_ext >&5
38617
38618 ac_header_compiler=no
38619 fi
38620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38622 echo "${ECHO_T}$ac_header_compiler" >&6
38623
38624 # Is the header present?
38625 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38626 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38627 cat >conftest.$ac_ext <<_ACEOF
38628 /* confdefs.h. */
38629 _ACEOF
38630 cat confdefs.h >>conftest.$ac_ext
38631 cat >>conftest.$ac_ext <<_ACEOF
38632 /* end confdefs.h. */
38633 #include <$ac_header>
38634 _ACEOF
38635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38636 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38637 ac_status=$?
38638 grep -v '^ *+' conftest.er1 >conftest.err
38639 rm -f conftest.er1
38640 cat conftest.err >&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); } >/dev/null; then
38643 if test -s conftest.err; then
38644 ac_cpp_err=$ac_c_preproc_warn_flag
38645 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38646 else
38647 ac_cpp_err=
38648 fi
38649 else
38650 ac_cpp_err=yes
38651 fi
38652 if test -z "$ac_cpp_err"; then
38653 ac_header_preproc=yes
38654 else
38655 echo "$as_me: failed program was:" >&5
38656 sed 's/^/| /' conftest.$ac_ext >&5
38657
38658 ac_header_preproc=no
38659 fi
38660 rm -f conftest.err conftest.$ac_ext
38661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38662 echo "${ECHO_T}$ac_header_preproc" >&6
38663
38664 # So? What about this header?
38665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38666 yes:no: )
38667 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38668 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38670 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38671 ac_header_preproc=yes
38672 ;;
38673 no:yes:* )
38674 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38675 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38676 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38677 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38678 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38679 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38680 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38681 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38683 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38684 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38685 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38686 (
38687 cat <<\_ASBOX
38688 ## ----------------------------------------- ##
38689 ## Report this to the package-unused lists. ##
38690 ## ----------------------------------------- ##
38691 _ASBOX
38692 ) |
38693 sed "s/^/$as_me: WARNING: /" >&2
38694 ;;
38695 esac
38696 echo "$as_me:$LINENO: checking for $ac_header" >&5
38697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38699 echo $ECHO_N "(cached) $ECHO_C" >&6
38700 else
38701 eval "$as_ac_Header=\$ac_header_preproc"
38702 fi
38703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38705
38706 fi
38707 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38708 cat >>confdefs.h <<_ACEOF
38709 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38710 _ACEOF
38711
38712 fi
38713
38714 done
38715
38716
38717 echo "$as_me:$LINENO: checking for writev" >&5
38718 echo $ECHO_N "checking for writev... $ECHO_C" >&6
38719 if test "${glibcxx_cv_WRITEV+set}" = set; then
38720 echo $ECHO_N "(cached) $ECHO_C" >&6
38721 else
38722
38723 if test x$gcc_no_link = xyes; then
38724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38726 { (exit 1); exit 1; }; }
38727 fi
38728 cat >conftest.$ac_ext <<_ACEOF
38729 /* confdefs.h. */
38730 _ACEOF
38731 cat confdefs.h >>conftest.$ac_ext
38732 cat >>conftest.$ac_ext <<_ACEOF
38733 /* end confdefs.h. */
38734 #include <sys/uio.h>
38735 int
38736 main ()
38737 {
38738 struct iovec iov[2];
38739 writev(0, iov, 0);
38740 ;
38741 return 0;
38742 }
38743 _ACEOF
38744 rm -f conftest.$ac_objext conftest$ac_exeext
38745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38746 (eval $ac_link) 2>conftest.er1
38747 ac_status=$?
38748 grep -v '^ *+' conftest.er1 >conftest.err
38749 rm -f conftest.er1
38750 cat conftest.err >&5
38751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38752 (exit $ac_status); } &&
38753 { ac_try='test -z "$ac_c_werror_flag"
38754 || test ! -s conftest.err'
38755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38756 (eval $ac_try) 2>&5
38757 ac_status=$?
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); }; } &&
38760 { ac_try='test -s conftest$ac_exeext'
38761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38762 (eval $ac_try) 2>&5
38763 ac_status=$?
38764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38765 (exit $ac_status); }; }; then
38766 glibcxx_cv_WRITEV=yes
38767 else
38768 echo "$as_me: failed program was:" >&5
38769 sed 's/^/| /' conftest.$ac_ext >&5
38770
38771 glibcxx_cv_WRITEV=no
38772 fi
38773 rm -f conftest.err conftest.$ac_objext \
38774 conftest$ac_exeext conftest.$ac_ext
38775
38776 fi
38777
38778 if test $glibcxx_cv_WRITEV = yes; then
38779
38780 cat >>confdefs.h <<\_ACEOF
38781 #define HAVE_WRITEV 1
38782 _ACEOF
38783
38784 fi
38785 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
38786 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
38787
38788
38789 # For the __streamoff_base_type typedef.
38790
38791 echo "$as_me:$LINENO: checking for int64_t" >&5
38792 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
38793 if test "${glibcxx_cv_INT64_T+set}" = set; then
38794 echo $ECHO_N "(cached) $ECHO_C" >&6
38795 else
38796
38797 cat >conftest.$ac_ext <<_ACEOF
38798 /* confdefs.h. */
38799 _ACEOF
38800 cat confdefs.h >>conftest.$ac_ext
38801 cat >>conftest.$ac_ext <<_ACEOF
38802 /* end confdefs.h. */
38803 #include <stdint.h>
38804 int
38805 main ()
38806 {
38807 int64_t var;
38808 ;
38809 return 0;
38810 }
38811 _ACEOF
38812 rm -f conftest.$ac_objext
38813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38814 (eval $ac_compile) 2>conftest.er1
38815 ac_status=$?
38816 grep -v '^ *+' conftest.er1 >conftest.err
38817 rm -f conftest.er1
38818 cat conftest.err >&5
38819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38820 (exit $ac_status); } &&
38821 { ac_try='test -z "$ac_c_werror_flag"
38822 || test ! -s conftest.err'
38823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38824 (eval $ac_try) 2>&5
38825 ac_status=$?
38826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38827 (exit $ac_status); }; } &&
38828 { ac_try='test -s conftest.$ac_objext'
38829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38830 (eval $ac_try) 2>&5
38831 ac_status=$?
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); }; }; then
38834 glibcxx_cv_INT64_T=yes
38835 else
38836 echo "$as_me: failed program was:" >&5
38837 sed 's/^/| /' conftest.$ac_ext >&5
38838
38839 glibcxx_cv_INT64_T=no
38840 fi
38841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38842
38843 fi
38844
38845 if test $glibcxx_cv_INT64_T = yes; then
38846
38847 cat >>confdefs.h <<\_ACEOF
38848 #define HAVE_INT64_T 1
38849 _ACEOF
38850
38851 fi
38852 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
38853 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
38854
38855
38856 # For LFS support.
38857
38858
38859
38860 ac_ext=cc
38861 ac_cpp='$CXXCPP $CPPFLAGS'
38862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38865
38866 ac_save_CXXFLAGS="$CXXFLAGS"
38867 CXXFLAGS="$CXXFLAGS -fno-exceptions"
38868 echo "$as_me:$LINENO: checking for LFS support" >&5
38869 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
38870 if test "${glibcxx_cv_LFS+set}" = set; then
38871 echo $ECHO_N "(cached) $ECHO_C" >&6
38872 else
38873
38874 if test x$gcc_no_link = xyes; then
38875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38877 { (exit 1); exit 1; }; }
38878 fi
38879 cat >conftest.$ac_ext <<_ACEOF
38880 /* confdefs.h. */
38881 _ACEOF
38882 cat confdefs.h >>conftest.$ac_ext
38883 cat >>conftest.$ac_ext <<_ACEOF
38884 /* end confdefs.h. */
38885 #include <unistd.h>
38886 #include <stdio.h>
38887 #include <sys/stat.h>
38888
38889 int
38890 main ()
38891 {
38892 FILE* fp;
38893 fopen64("t", "w");
38894 fseeko64(fp, 0, SEEK_CUR);
38895 ftello64(fp);
38896 lseek64(1, 0, SEEK_CUR);
38897 struct stat64 buf;
38898 fstat64(1, &buf);
38899 ;
38900 return 0;
38901 }
38902 _ACEOF
38903 rm -f conftest.$ac_objext conftest$ac_exeext
38904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38905 (eval $ac_link) 2>conftest.er1
38906 ac_status=$?
38907 grep -v '^ *+' conftest.er1 >conftest.err
38908 rm -f conftest.er1
38909 cat conftest.err >&5
38910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38911 (exit $ac_status); } &&
38912 { ac_try='test -z "$ac_cxx_werror_flag"
38913 || test ! -s conftest.err'
38914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38915 (eval $ac_try) 2>&5
38916 ac_status=$?
38917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38918 (exit $ac_status); }; } &&
38919 { ac_try='test -s conftest$ac_exeext'
38920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38921 (eval $ac_try) 2>&5
38922 ac_status=$?
38923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38924 (exit $ac_status); }; }; then
38925 glibcxx_cv_LFS=yes
38926 else
38927 echo "$as_me: failed program was:" >&5
38928 sed 's/^/| /' conftest.$ac_ext >&5
38929
38930 glibcxx_cv_LFS=no
38931 fi
38932 rm -f conftest.err conftest.$ac_objext \
38933 conftest$ac_exeext conftest.$ac_ext
38934
38935 fi
38936
38937 if test $glibcxx_cv_LFS = yes; then
38938
38939 cat >>confdefs.h <<\_ACEOF
38940 #define _GLIBCXX_USE_LFS 1
38941 _ACEOF
38942
38943 fi
38944 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
38945 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
38946 CXXFLAGS="$ac_save_CXXFLAGS"
38947 ac_ext=c
38948 ac_cpp='$CPP $CPPFLAGS'
38949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38952
38953
38954
38955 # For C99 support to TR1.
38956
38957
38958
38959
38960 ac_ext=cc
38961 ac_cpp='$CXXCPP $CPPFLAGS'
38962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38965
38966
38967 # Check for the existence of <complex.h> complex math functions used
38968 # by tr1/complex.
38969
38970 for ac_header in complex.h
38971 do
38972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38974 echo "$as_me:$LINENO: checking for $ac_header" >&5
38975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38977 echo $ECHO_N "(cached) $ECHO_C" >&6
38978 fi
38979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38981 else
38982 # Is the header compilable?
38983 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38984 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38985 cat >conftest.$ac_ext <<_ACEOF
38986 /* confdefs.h. */
38987 _ACEOF
38988 cat confdefs.h >>conftest.$ac_ext
38989 cat >>conftest.$ac_ext <<_ACEOF
38990 /* end confdefs.h. */
38991 $ac_includes_default
38992 #include <$ac_header>
38993 _ACEOF
38994 rm -f conftest.$ac_objext
38995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38996 (eval $ac_compile) 2>conftest.er1
38997 ac_status=$?
38998 grep -v '^ *+' conftest.er1 >conftest.err
38999 rm -f conftest.er1
39000 cat conftest.err >&5
39001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39002 (exit $ac_status); } &&
39003 { ac_try='test -z "$ac_cxx_werror_flag"
39004 || test ! -s conftest.err'
39005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39006 (eval $ac_try) 2>&5
39007 ac_status=$?
39008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39009 (exit $ac_status); }; } &&
39010 { ac_try='test -s conftest.$ac_objext'
39011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39012 (eval $ac_try) 2>&5
39013 ac_status=$?
39014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39015 (exit $ac_status); }; }; then
39016 ac_header_compiler=yes
39017 else
39018 echo "$as_me: failed program was:" >&5
39019 sed 's/^/| /' conftest.$ac_ext >&5
39020
39021 ac_header_compiler=no
39022 fi
39023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39025 echo "${ECHO_T}$ac_header_compiler" >&6
39026
39027 # Is the header present?
39028 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39029 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39030 cat >conftest.$ac_ext <<_ACEOF
39031 /* confdefs.h. */
39032 _ACEOF
39033 cat confdefs.h >>conftest.$ac_ext
39034 cat >>conftest.$ac_ext <<_ACEOF
39035 /* end confdefs.h. */
39036 #include <$ac_header>
39037 _ACEOF
39038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39040 ac_status=$?
39041 grep -v '^ *+' conftest.er1 >conftest.err
39042 rm -f conftest.er1
39043 cat conftest.err >&5
39044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39045 (exit $ac_status); } >/dev/null; then
39046 if test -s conftest.err; then
39047 ac_cpp_err=$ac_cxx_preproc_warn_flag
39048 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39049 else
39050 ac_cpp_err=
39051 fi
39052 else
39053 ac_cpp_err=yes
39054 fi
39055 if test -z "$ac_cpp_err"; then
39056 ac_header_preproc=yes
39057 else
39058 echo "$as_me: failed program was:" >&5
39059 sed 's/^/| /' conftest.$ac_ext >&5
39060
39061 ac_header_preproc=no
39062 fi
39063 rm -f conftest.err conftest.$ac_ext
39064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39065 echo "${ECHO_T}$ac_header_preproc" >&6
39066
39067 # So? What about this header?
39068 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39069 yes:no: )
39070 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39071 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39073 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39074 ac_header_preproc=yes
39075 ;;
39076 no:yes:* )
39077 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39079 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39080 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39081 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39082 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39083 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39084 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39086 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39087 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39088 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39089 (
39090 cat <<\_ASBOX
39091 ## ----------------------------------------- ##
39092 ## Report this to the package-unused lists. ##
39093 ## ----------------------------------------- ##
39094 _ASBOX
39095 ) |
39096 sed "s/^/$as_me: WARNING: /" >&2
39097 ;;
39098 esac
39099 echo "$as_me:$LINENO: checking for $ac_header" >&5
39100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39102 echo $ECHO_N "(cached) $ECHO_C" >&6
39103 else
39104 eval "$as_ac_Header=\$ac_header_preproc"
39105 fi
39106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39108
39109 fi
39110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39111 cat >>confdefs.h <<_ACEOF
39112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39113 _ACEOF
39114 ac_has_complex_h=yes
39115 else
39116 ac_has_complex_h=no
39117 fi
39118
39119 done
39120
39121 ac_c99_complex_tr1=no;
39122 if test x"$ac_has_complex_h" = x"yes"; then
39123 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
39124 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
39125 cat >conftest.$ac_ext <<_ACEOF
39126 /* confdefs.h. */
39127 _ACEOF
39128 cat confdefs.h >>conftest.$ac_ext
39129 cat >>conftest.$ac_ext <<_ACEOF
39130 /* end confdefs.h. */
39131 #include <complex.h>
39132 int
39133 main ()
39134 {
39135 typedef __complex__ float float_type; float_type tmpf;
39136 cacosf(tmpf);
39137 casinf(tmpf);
39138 catanf(tmpf);
39139 cacoshf(tmpf);
39140 casinhf(tmpf);
39141 catanhf(tmpf);
39142 typedef __complex__ double double_type; double_type tmpd;
39143 cacos(tmpd);
39144 casin(tmpd);
39145 catan(tmpd);
39146 cacosh(tmpd);
39147 casinh(tmpd);
39148 catanh(tmpd);
39149 typedef __complex__ long double ld_type; ld_type tmpld;
39150 cacosl(tmpld);
39151 casinl(tmpld);
39152 catanl(tmpld);
39153 cacoshl(tmpld);
39154 casinhl(tmpld);
39155 catanhl(tmpld);
39156
39157 ;
39158 return 0;
39159 }
39160 _ACEOF
39161 rm -f conftest.$ac_objext
39162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39163 (eval $ac_compile) 2>conftest.er1
39164 ac_status=$?
39165 grep -v '^ *+' conftest.er1 >conftest.err
39166 rm -f conftest.er1
39167 cat conftest.err >&5
39168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39169 (exit $ac_status); } &&
39170 { ac_try='test -z "$ac_cxx_werror_flag"
39171 || test ! -s conftest.err'
39172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39173 (eval $ac_try) 2>&5
39174 ac_status=$?
39175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39176 (exit $ac_status); }; } &&
39177 { ac_try='test -s conftest.$ac_objext'
39178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39179 (eval $ac_try) 2>&5
39180 ac_status=$?
39181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39182 (exit $ac_status); }; }; then
39183 ac_c99_complex_tr1=yes
39184 else
39185 echo "$as_me: failed program was:" >&5
39186 sed 's/^/| /' conftest.$ac_ext >&5
39187
39188 ac_c99_complex_tr1=no
39189 fi
39190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39191 fi
39192 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
39193 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
39194 if test x"$ac_c99_complex_tr1" = x"yes"; then
39195
39196 cat >>confdefs.h <<\_ACEOF
39197 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
39198 _ACEOF
39199
39200 fi
39201
39202 # Check for the existence of <ctype.h> functions.
39203 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
39204 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
39205 if test "${ac_c99_ctype_tr1+set}" = set; then
39206 echo $ECHO_N "(cached) $ECHO_C" >&6
39207 else
39208
39209 cat >conftest.$ac_ext <<_ACEOF
39210 /* confdefs.h. */
39211 _ACEOF
39212 cat confdefs.h >>conftest.$ac_ext
39213 cat >>conftest.$ac_ext <<_ACEOF
39214 /* end confdefs.h. */
39215 #include <ctype.h>
39216 int
39217 main ()
39218 {
39219 int ch;
39220 int ret;
39221 ret = isblank(ch);
39222
39223 ;
39224 return 0;
39225 }
39226 _ACEOF
39227 rm -f conftest.$ac_objext
39228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39229 (eval $ac_compile) 2>conftest.er1
39230 ac_status=$?
39231 grep -v '^ *+' conftest.er1 >conftest.err
39232 rm -f conftest.er1
39233 cat conftest.err >&5
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); } &&
39236 { ac_try='test -z "$ac_cxx_werror_flag"
39237 || test ! -s conftest.err'
39238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39239 (eval $ac_try) 2>&5
39240 ac_status=$?
39241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39242 (exit $ac_status); }; } &&
39243 { ac_try='test -s conftest.$ac_objext'
39244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39245 (eval $ac_try) 2>&5
39246 ac_status=$?
39247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39248 (exit $ac_status); }; }; then
39249 ac_c99_ctype_tr1=yes
39250 else
39251 echo "$as_me: failed program was:" >&5
39252 sed 's/^/| /' conftest.$ac_ext >&5
39253
39254 ac_c99_ctype_tr1=no
39255 fi
39256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39257
39258 fi
39259
39260 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
39261 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
39262 if test x"$ac_c99_ctype_tr1" = x"yes"; then
39263
39264 cat >>confdefs.h <<\_ACEOF
39265 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
39266 _ACEOF
39267
39268 fi
39269
39270 # Check for the existence of <fenv.h> functions.
39271
39272 for ac_header in fenv.h
39273 do
39274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39276 echo "$as_me:$LINENO: checking for $ac_header" >&5
39277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39279 echo $ECHO_N "(cached) $ECHO_C" >&6
39280 fi
39281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39283 else
39284 # Is the header compilable?
39285 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39286 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39287 cat >conftest.$ac_ext <<_ACEOF
39288 /* confdefs.h. */
39289 _ACEOF
39290 cat confdefs.h >>conftest.$ac_ext
39291 cat >>conftest.$ac_ext <<_ACEOF
39292 /* end confdefs.h. */
39293 $ac_includes_default
39294 #include <$ac_header>
39295 _ACEOF
39296 rm -f conftest.$ac_objext
39297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39298 (eval $ac_compile) 2>conftest.er1
39299 ac_status=$?
39300 grep -v '^ *+' conftest.er1 >conftest.err
39301 rm -f conftest.er1
39302 cat conftest.err >&5
39303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39304 (exit $ac_status); } &&
39305 { ac_try='test -z "$ac_cxx_werror_flag"
39306 || test ! -s conftest.err'
39307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39308 (eval $ac_try) 2>&5
39309 ac_status=$?
39310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39311 (exit $ac_status); }; } &&
39312 { ac_try='test -s conftest.$ac_objext'
39313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39314 (eval $ac_try) 2>&5
39315 ac_status=$?
39316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39317 (exit $ac_status); }; }; then
39318 ac_header_compiler=yes
39319 else
39320 echo "$as_me: failed program was:" >&5
39321 sed 's/^/| /' conftest.$ac_ext >&5
39322
39323 ac_header_compiler=no
39324 fi
39325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39327 echo "${ECHO_T}$ac_header_compiler" >&6
39328
39329 # Is the header present?
39330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39332 cat >conftest.$ac_ext <<_ACEOF
39333 /* confdefs.h. */
39334 _ACEOF
39335 cat confdefs.h >>conftest.$ac_ext
39336 cat >>conftest.$ac_ext <<_ACEOF
39337 /* end confdefs.h. */
39338 #include <$ac_header>
39339 _ACEOF
39340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39342 ac_status=$?
39343 grep -v '^ *+' conftest.er1 >conftest.err
39344 rm -f conftest.er1
39345 cat conftest.err >&5
39346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39347 (exit $ac_status); } >/dev/null; then
39348 if test -s conftest.err; then
39349 ac_cpp_err=$ac_cxx_preproc_warn_flag
39350 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39351 else
39352 ac_cpp_err=
39353 fi
39354 else
39355 ac_cpp_err=yes
39356 fi
39357 if test -z "$ac_cpp_err"; then
39358 ac_header_preproc=yes
39359 else
39360 echo "$as_me: failed program was:" >&5
39361 sed 's/^/| /' conftest.$ac_ext >&5
39362
39363 ac_header_preproc=no
39364 fi
39365 rm -f conftest.err conftest.$ac_ext
39366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39367 echo "${ECHO_T}$ac_header_preproc" >&6
39368
39369 # So? What about this header?
39370 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39371 yes:no: )
39372 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39373 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39375 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39376 ac_header_preproc=yes
39377 ;;
39378 no:yes:* )
39379 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39380 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39381 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39382 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39383 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39384 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39385 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39386 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39388 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39389 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39390 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39391 (
39392 cat <<\_ASBOX
39393 ## ----------------------------------------- ##
39394 ## Report this to the package-unused lists. ##
39395 ## ----------------------------------------- ##
39396 _ASBOX
39397 ) |
39398 sed "s/^/$as_me: WARNING: /" >&2
39399 ;;
39400 esac
39401 echo "$as_me:$LINENO: checking for $ac_header" >&5
39402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39404 echo $ECHO_N "(cached) $ECHO_C" >&6
39405 else
39406 eval "$as_ac_Header=\$ac_header_preproc"
39407 fi
39408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39410
39411 fi
39412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39413 cat >>confdefs.h <<_ACEOF
39414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39415 _ACEOF
39416 ac_has_fenv_h=yes
39417 else
39418 ac_has_fenv_h=no
39419 fi
39420
39421 done
39422
39423 ac_c99_fenv_tr1=no;
39424 if test x"$ac_has_fenv_h" = x"yes"; then
39425 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
39426 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
39427 cat >conftest.$ac_ext <<_ACEOF
39428 /* confdefs.h. */
39429 _ACEOF
39430 cat confdefs.h >>conftest.$ac_ext
39431 cat >>conftest.$ac_ext <<_ACEOF
39432 /* end confdefs.h. */
39433 #include <fenv.h>
39434 int
39435 main ()
39436 {
39437 int except, mode;
39438 fexcept_t* pflag;
39439 fenv_t* penv;
39440 int ret;
39441 ret = feclearexcept(except);
39442 ret = fegetexceptflag(pflag, except);
39443 ret = feraiseexcept(except);
39444 ret = fesetexceptflag(pflag, except);
39445 ret = fetestexcept(except);
39446 ret = fegetround();
39447 ret = fesetround(mode);
39448 ret = fegetenv(penv);
39449 ret = feholdexcept(penv);
39450 ret = fesetenv(penv);
39451 ret = feupdateenv(penv);
39452
39453 ;
39454 return 0;
39455 }
39456 _ACEOF
39457 rm -f conftest.$ac_objext
39458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39459 (eval $ac_compile) 2>conftest.er1
39460 ac_status=$?
39461 grep -v '^ *+' conftest.er1 >conftest.err
39462 rm -f conftest.er1
39463 cat conftest.err >&5
39464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465 (exit $ac_status); } &&
39466 { ac_try='test -z "$ac_cxx_werror_flag"
39467 || test ! -s conftest.err'
39468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39469 (eval $ac_try) 2>&5
39470 ac_status=$?
39471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39472 (exit $ac_status); }; } &&
39473 { ac_try='test -s conftest.$ac_objext'
39474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39475 (eval $ac_try) 2>&5
39476 ac_status=$?
39477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39478 (exit $ac_status); }; }; then
39479 ac_c99_fenv_tr1=yes
39480 else
39481 echo "$as_me: failed program was:" >&5
39482 sed 's/^/| /' conftest.$ac_ext >&5
39483
39484 ac_c99_fenv_tr1=no
39485 fi
39486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39487 fi
39488 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
39489 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
39490 if test x"$ac_c99_fenv_tr1" = x"yes"; then
39491
39492 cat >>confdefs.h <<\_ACEOF
39493 #define _GLIBCXX_USE_C99_FENV_TR1 1
39494 _ACEOF
39495
39496 fi
39497
39498 # Check for the existence of <stdint.h> types.
39499 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
39500 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
39501 if test "${ac_c99_stdint_tr1+set}" = set; then
39502 echo $ECHO_N "(cached) $ECHO_C" >&6
39503 else
39504
39505 cat >conftest.$ac_ext <<_ACEOF
39506 /* confdefs.h. */
39507 _ACEOF
39508 cat confdefs.h >>conftest.$ac_ext
39509 cat >>conftest.$ac_ext <<_ACEOF
39510 /* end confdefs.h. */
39511 #include <stdint.h>
39512 int
39513 main ()
39514 {
39515 typedef int8_t my_int8_t;
39516 typedef int16_t my_int16_t;
39517 typedef int32_t my_int32_t;
39518 typedef int64_t my_int64_t;
39519 typedef int_fast8_t my_int_fast8_t;
39520 typedef int_fast16_t my_int_fast16_t;
39521 typedef int_fast32_t my_int_fast32_t;
39522 typedef int_fast64_t my_int_fast64_t;
39523 typedef int_least8_t my_int_least8_t;
39524 typedef int_least16_t my_int_least16_t;
39525 typedef int_least32_t my_int_least32_t;
39526 typedef int_least64_t my_int_least64_t;
39527 typedef intmax_t my_intmax_t;
39528 typedef intptr_t my_intptr_t;
39529 typedef uint8_t my_uint8_t;
39530 typedef uint16_t my_uint16_t;
39531 typedef uint32_t my_uint32_t;
39532 typedef uint64_t my_uint64_t;
39533 typedef uint_fast8_t my_uint_fast8_t;
39534 typedef uint_fast16_t my_uint_fast16_t;
39535 typedef uint_fast32_t my_uint_fast32_t;
39536 typedef uint_fast64_t my_uint_fast64_t;
39537 typedef uint_least8_t my_uint_least8_t;
39538 typedef uint_least16_t my_uint_least16_t;
39539 typedef uint_least32_t my_uint_least32_t;
39540 typedef uint_least64_t my_uint_least64_t;
39541 typedef uintmax_t my_uintmax_t;
39542 typedef uintptr_t my_uintptr_t;
39543
39544 ;
39545 return 0;
39546 }
39547 _ACEOF
39548 rm -f conftest.$ac_objext
39549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39550 (eval $ac_compile) 2>conftest.er1
39551 ac_status=$?
39552 grep -v '^ *+' conftest.er1 >conftest.err
39553 rm -f conftest.er1
39554 cat conftest.err >&5
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); } &&
39557 { ac_try='test -z "$ac_cxx_werror_flag"
39558 || test ! -s conftest.err'
39559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39560 (eval $ac_try) 2>&5
39561 ac_status=$?
39562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39563 (exit $ac_status); }; } &&
39564 { ac_try='test -s conftest.$ac_objext'
39565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39566 (eval $ac_try) 2>&5
39567 ac_status=$?
39568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39569 (exit $ac_status); }; }; then
39570 ac_c99_stdint_tr1=yes
39571 else
39572 echo "$as_me: failed program was:" >&5
39573 sed 's/^/| /' conftest.$ac_ext >&5
39574
39575 ac_c99_stdint_tr1=no
39576 fi
39577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39578
39579 fi
39580
39581 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
39582 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
39583 if test x"$ac_c99_stdint_tr1" = x"yes"; then
39584
39585 cat >>confdefs.h <<\_ACEOF
39586 #define _GLIBCXX_USE_C99_STDINT_TR1 1
39587 _ACEOF
39588
39589 fi
39590
39591 # Check for the existence of <math.h> functions.
39592 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
39593 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
39594 if test "${ac_c99_math_tr1+set}" = set; then
39595 echo $ECHO_N "(cached) $ECHO_C" >&6
39596 else
39597
39598 cat >conftest.$ac_ext <<_ACEOF
39599 /* confdefs.h. */
39600 _ACEOF
39601 cat confdefs.h >>conftest.$ac_ext
39602 cat >>conftest.$ac_ext <<_ACEOF
39603 /* end confdefs.h. */
39604 #include <math.h>
39605 int
39606 main ()
39607 {
39608 typedef double_t my_double_t;
39609 typedef float_t my_float_t;
39610 acosh(0.0);
39611 acoshf(0.0f);
39612 acoshl(0.0l);
39613 asinh(0.0);
39614 asinhf(0.0f);
39615 asinhl(0.0l);
39616 atanh(0.0);
39617 atanhf(0.0f);
39618 atanhl(0.0l);
39619 cbrt(0.0);
39620 cbrtf(0.0f);
39621 cbrtl(0.0l);
39622 copysign(0.0, 0.0);
39623 copysignf(0.0f, 0.0f);
39624 copysignl(0.0l, 0.0l);
39625 erf(0.0);
39626 erff(0.0f);
39627 erfl(0.0l);
39628 erfc(0.0);
39629 erfcf(0.0f);
39630 erfcl(0.0l);
39631 exp2(0.0);
39632 exp2f(0.0f);
39633 exp2l(0.0l);
39634 expm1(0.0);
39635 expm1f(0.0f);
39636 expm1l(0.0l);
39637 fdim(0.0, 0.0);
39638 fdimf(0.0f, 0.0f);
39639 fdiml(0.0l, 0.0l);
39640 fma(0.0, 0.0, 0.0);
39641 fmaf(0.0f, 0.0f, 0.0f);
39642 fmal(0.0l, 0.0l, 0.0l);
39643 fmax(0.0, 0.0);
39644 fmaxf(0.0f, 0.0f);
39645 fmaxl(0.0l, 0.0l);
39646 fmin(0.0, 0.0);
39647 fminf(0.0f, 0.0f);
39648 fminl(0.0l, 0.0l);
39649 hypot(0.0, 0.0);
39650 hypotf(0.0f, 0.0f);
39651 hypotl(0.0l, 0.0l);
39652 ilogb(0.0);
39653 ilogbf(0.0f);
39654 ilogbl(0.0l);
39655 lgamma(0.0);
39656 lgammaf(0.0f);
39657 lgammal(0.0l);
39658 llrint(0.0);
39659 llrintf(0.0f);
39660 llrintl(0.0l);
39661 llround(0.0);
39662 llroundf(0.0f);
39663 llroundl(0.0l);
39664 log1p(0.0);
39665 log1pf(0.0f);
39666 log1pl(0.0l);
39667 log2(0.0);
39668 log2f(0.0f);
39669 log2l(0.0l);
39670 logb(0.0);
39671 logbf(0.0f);
39672 logbl(0.0l);
39673 lrint(0.0);
39674 lrintf(0.0f);
39675 lrintl(0.0l);
39676 lround(0.0);
39677 lroundf(0.0f);
39678 lroundl(0.0l);
39679 nan(0);
39680 nanf(0);
39681 nanl(0);
39682 nearbyint(0.0);
39683 nearbyintf(0.0f);
39684 nearbyintl(0.0l);
39685 nextafter(0.0, 0.0);
39686 nextafterf(0.0f, 0.0f);
39687 nextafterl(0.0l, 0.0l);
39688 nexttoward(0.0, 0.0);
39689 nexttowardf(0.0f, 0.0f);
39690 nexttowardl(0.0l, 0.0l);
39691 remainder(0.0, 0.0);
39692 remainderf(0.0f, 0.0f);
39693 remainderl(0.0l, 0.0l);
39694 remquo(0.0, 0.0, 0);
39695 remquo(0.0f, 0.0f, 0);
39696 remquo(0.0l, 0.0l, 0);
39697 rint(0.0);
39698 rintf(0.0f);
39699 rintl(0.0l);
39700 round(0.0);
39701 roundf(0.0f);
39702 roundl(0.0l);
39703 scalbln(0.0, 0l);
39704 scalblnf(0.0f, 0l);
39705 scalblnl(0.0l, 0l);
39706 scalbn(0.0, 0);
39707 scalbnf(0.0f, 0);
39708 scalbnl(0.0l, 0);
39709 tgamma(0.0);
39710 tgammaf(0.0f);
39711 tgammal(0.0l);
39712 trunc(0.0);
39713 truncf(0.0f);
39714 truncl(0.0l);
39715
39716 ;
39717 return 0;
39718 }
39719 _ACEOF
39720 rm -f conftest.$ac_objext
39721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39722 (eval $ac_compile) 2>conftest.er1
39723 ac_status=$?
39724 grep -v '^ *+' conftest.er1 >conftest.err
39725 rm -f conftest.er1
39726 cat conftest.err >&5
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); } &&
39729 { ac_try='test -z "$ac_cxx_werror_flag"
39730 || test ! -s conftest.err'
39731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39732 (eval $ac_try) 2>&5
39733 ac_status=$?
39734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39735 (exit $ac_status); }; } &&
39736 { ac_try='test -s conftest.$ac_objext'
39737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39738 (eval $ac_try) 2>&5
39739 ac_status=$?
39740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39741 (exit $ac_status); }; }; then
39742 ac_c99_math_tr1=yes
39743 else
39744 echo "$as_me: failed program was:" >&5
39745 sed 's/^/| /' conftest.$ac_ext >&5
39746
39747 ac_c99_math_tr1=no
39748 fi
39749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39750
39751 fi
39752
39753 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
39754 echo "${ECHO_T}$ac_c99_math_tr1" >&6
39755 if test x"$ac_c99_math_tr1" = x"yes"; then
39756
39757 cat >>confdefs.h <<\_ACEOF
39758 #define _GLIBCXX_USE_C99_MATH_TR1 1
39759 _ACEOF
39760
39761 fi
39762
39763 # Check for the existence of <inttypes.h> functions (NB: doesn't make
39764 # sense if the previous check fails, per C99, 7.8/1).
39765 ac_c99_inttypes_tr1=no;
39766 if test x"$ac_c99_stdint_tr1" = x"yes"; then
39767 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
39768 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
39769 cat >conftest.$ac_ext <<_ACEOF
39770 /* confdefs.h. */
39771 _ACEOF
39772 cat confdefs.h >>conftest.$ac_ext
39773 cat >>conftest.$ac_ext <<_ACEOF
39774 /* end confdefs.h. */
39775 #include <inttypes.h>
39776 int
39777 main ()
39778 {
39779 intmax_t i, numer, denom, base;
39780 const char* s;
39781 char** endptr;
39782 intmax_t ret = imaxabs(i);
39783 imaxdiv_t dret = imaxdiv(numer, denom);
39784 ret = strtoimax(s, endptr, base);
39785 uintmax_t uret = strtoumax(s, endptr, base);
39786
39787 ;
39788 return 0;
39789 }
39790 _ACEOF
39791 rm -f conftest.$ac_objext
39792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39793 (eval $ac_compile) 2>conftest.er1
39794 ac_status=$?
39795 grep -v '^ *+' conftest.er1 >conftest.err
39796 rm -f conftest.er1
39797 cat conftest.err >&5
39798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39799 (exit $ac_status); } &&
39800 { ac_try='test -z "$ac_cxx_werror_flag"
39801 || test ! -s conftest.err'
39802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39803 (eval $ac_try) 2>&5
39804 ac_status=$?
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); }; } &&
39807 { ac_try='test -s conftest.$ac_objext'
39808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39809 (eval $ac_try) 2>&5
39810 ac_status=$?
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); }; }; then
39813 ac_c99_inttypes_tr1=yes
39814 else
39815 echo "$as_me: failed program was:" >&5
39816 sed 's/^/| /' conftest.$ac_ext >&5
39817
39818 ac_c99_inttypes_tr1=no
39819 fi
39820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39821 fi
39822 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
39823 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
39824 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
39825
39826 cat >>confdefs.h <<\_ACEOF
39827 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
39828 _ACEOF
39829
39830 fi
39831
39832 # Check for the existence of the <stdbool.h> header.
39833
39834 for ac_header in stdbool.h
39835 do
39836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39838 echo "$as_me:$LINENO: checking for $ac_header" >&5
39839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39841 echo $ECHO_N "(cached) $ECHO_C" >&6
39842 fi
39843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39845 else
39846 # Is the header compilable?
39847 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39849 cat >conftest.$ac_ext <<_ACEOF
39850 /* confdefs.h. */
39851 _ACEOF
39852 cat confdefs.h >>conftest.$ac_ext
39853 cat >>conftest.$ac_ext <<_ACEOF
39854 /* end confdefs.h. */
39855 $ac_includes_default
39856 #include <$ac_header>
39857 _ACEOF
39858 rm -f conftest.$ac_objext
39859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39860 (eval $ac_compile) 2>conftest.er1
39861 ac_status=$?
39862 grep -v '^ *+' conftest.er1 >conftest.err
39863 rm -f conftest.er1
39864 cat conftest.err >&5
39865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39866 (exit $ac_status); } &&
39867 { ac_try='test -z "$ac_cxx_werror_flag"
39868 || test ! -s conftest.err'
39869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39870 (eval $ac_try) 2>&5
39871 ac_status=$?
39872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39873 (exit $ac_status); }; } &&
39874 { ac_try='test -s conftest.$ac_objext'
39875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39876 (eval $ac_try) 2>&5
39877 ac_status=$?
39878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39879 (exit $ac_status); }; }; then
39880 ac_header_compiler=yes
39881 else
39882 echo "$as_me: failed program was:" >&5
39883 sed 's/^/| /' conftest.$ac_ext >&5
39884
39885 ac_header_compiler=no
39886 fi
39887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39889 echo "${ECHO_T}$ac_header_compiler" >&6
39890
39891 # Is the header present?
39892 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39894 cat >conftest.$ac_ext <<_ACEOF
39895 /* confdefs.h. */
39896 _ACEOF
39897 cat confdefs.h >>conftest.$ac_ext
39898 cat >>conftest.$ac_ext <<_ACEOF
39899 /* end confdefs.h. */
39900 #include <$ac_header>
39901 _ACEOF
39902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39904 ac_status=$?
39905 grep -v '^ *+' conftest.er1 >conftest.err
39906 rm -f conftest.er1
39907 cat conftest.err >&5
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); } >/dev/null; then
39910 if test -s conftest.err; then
39911 ac_cpp_err=$ac_cxx_preproc_warn_flag
39912 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39913 else
39914 ac_cpp_err=
39915 fi
39916 else
39917 ac_cpp_err=yes
39918 fi
39919 if test -z "$ac_cpp_err"; then
39920 ac_header_preproc=yes
39921 else
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.$ac_ext >&5
39924
39925 ac_header_preproc=no
39926 fi
39927 rm -f conftest.err conftest.$ac_ext
39928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39929 echo "${ECHO_T}$ac_header_preproc" >&6
39930
39931 # So? What about this header?
39932 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39933 yes:no: )
39934 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39935 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39937 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39938 ac_header_preproc=yes
39939 ;;
39940 no:yes:* )
39941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39944 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39945 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39946 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39947 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39948 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39951 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39952 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39953 (
39954 cat <<\_ASBOX
39955 ## ----------------------------------------- ##
39956 ## Report this to the package-unused lists. ##
39957 ## ----------------------------------------- ##
39958 _ASBOX
39959 ) |
39960 sed "s/^/$as_me: WARNING: /" >&2
39961 ;;
39962 esac
39963 echo "$as_me:$LINENO: checking for $ac_header" >&5
39964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39966 echo $ECHO_N "(cached) $ECHO_C" >&6
39967 else
39968 eval "$as_ac_Header=\$ac_header_preproc"
39969 fi
39970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39972
39973 fi
39974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39975 cat >>confdefs.h <<_ACEOF
39976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39977 _ACEOF
39978
39979 fi
39980
39981 done
39982
39983
39984 ac_ext=c
39985 ac_cpp='$CPP $CPPFLAGS'
39986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39989
39990
39991
39992 # For dev/random and dev/urandom for TR1.
39993
39994
39995 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
39996 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
39997 if test "${ac_random_tr1+set}" = set; then
39998 echo $ECHO_N "(cached) $ECHO_C" >&6
39999 else
40000
40001 if test "$cross_compiling" = yes; then
40002 ac_random_tr1=no
40003 else
40004 cat >conftest.$ac_ext <<_ACEOF
40005 /* confdefs.h. */
40006 _ACEOF
40007 cat confdefs.h >>conftest.$ac_ext
40008 cat >>conftest.$ac_ext <<_ACEOF
40009 /* end confdefs.h. */
40010 #include <stdio.h>
40011 int main()
40012 {
40013 return !(fopen("/dev/random", "r")
40014 && fopen("/dev/urandom", "r"));
40015 }
40016
40017 _ACEOF
40018 rm -f conftest$ac_exeext
40019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40020 (eval $ac_link) 2>&5
40021 ac_status=$?
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40025 (eval $ac_try) 2>&5
40026 ac_status=$?
40027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40028 (exit $ac_status); }; }; then
40029 ac_random_tr1=yes
40030 else
40031 echo "$as_me: program exited with status $ac_status" >&5
40032 echo "$as_me: failed program was:" >&5
40033 sed 's/^/| /' conftest.$ac_ext >&5
40034
40035 ( exit $ac_status )
40036 ac_random_tr1=no
40037 fi
40038 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40039 fi
40040
40041 fi
40042
40043 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
40044 echo "${ECHO_T}$ac_random_tr1" >&6
40045 if test x"$ac_random_tr1" = x"yes"; then
40046
40047 cat >>confdefs.h <<\_ACEOF
40048 #define _GLIBCXX_USE_RANDOM_TR1 1
40049 _ACEOF
40050
40051 fi
40052
40053
40054
40055 # For TLS support.
40056
40057 # Check whether --enable-tls or --disable-tls was given.
40058 if test "${enable_tls+set}" = set; then
40059 enableval="$enable_tls"
40060
40061 case "$enableval" in
40062 yes|no) ;;
40063 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40064 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40065 { (exit 1); exit 1; }; } ;;
40066 esac
40067
40068 else
40069 enable_tls=yes
40070 fi;
40071
40072 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40073 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40074 if test "${have_tls+set}" = set; then
40075 echo $ECHO_N "(cached) $ECHO_C" >&6
40076 else
40077
40078 if test "$cross_compiling" = yes; then
40079 if test x$gcc_no_link = xyes; then
40080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40082 { (exit 1); exit 1; }; }
40083 fi
40084 cat >conftest.$ac_ext <<_ACEOF
40085 __thread int a; int b; int main() { return a = b; }
40086 _ACEOF
40087 rm -f conftest.$ac_objext conftest$ac_exeext
40088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40089 (eval $ac_link) 2>conftest.er1
40090 ac_status=$?
40091 grep -v '^ *+' conftest.er1 >conftest.err
40092 rm -f conftest.er1
40093 cat conftest.err >&5
40094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40095 (exit $ac_status); } &&
40096 { ac_try='test -z "$ac_c_werror_flag"
40097 || test ! -s conftest.err'
40098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40099 (eval $ac_try) 2>&5
40100 ac_status=$?
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); }; } &&
40103 { ac_try='test -s conftest$ac_exeext'
40104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40105 (eval $ac_try) 2>&5
40106 ac_status=$?
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); }; }; then
40109 have_tls=yes
40110 else
40111 echo "$as_me: failed program was:" >&5
40112 sed 's/^/| /' conftest.$ac_ext >&5
40113
40114 have_tls=no
40115 fi
40116 rm -f conftest.err conftest.$ac_objext \
40117 conftest$ac_exeext conftest.$ac_ext
40118
40119
40120 else
40121 cat >conftest.$ac_ext <<_ACEOF
40122 __thread int a; int b; int main() { return a = b; }
40123 _ACEOF
40124 rm -f conftest$ac_exeext
40125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40126 (eval $ac_link) 2>&5
40127 ac_status=$?
40128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40131 (eval $ac_try) 2>&5
40132 ac_status=$?
40133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40134 (exit $ac_status); }; }; then
40135 chktls_save_LDFLAGS="$LDFLAGS"
40136 LDFLAGS="-static $LDFLAGS"
40137 if test x$gcc_no_link = xyes; then
40138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40140 { (exit 1); exit 1; }; }
40141 fi
40142 cat >conftest.$ac_ext <<_ACEOF
40143 int main() { return 0; }
40144 _ACEOF
40145 rm -f conftest.$ac_objext conftest$ac_exeext
40146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40147 (eval $ac_link) 2>conftest.er1
40148 ac_status=$?
40149 grep -v '^ *+' conftest.er1 >conftest.err
40150 rm -f conftest.er1
40151 cat conftest.err >&5
40152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40153 (exit $ac_status); } &&
40154 { ac_try='test -z "$ac_c_werror_flag"
40155 || test ! -s conftest.err'
40156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40157 (eval $ac_try) 2>&5
40158 ac_status=$?
40159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40160 (exit $ac_status); }; } &&
40161 { ac_try='test -s conftest$ac_exeext'
40162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40163 (eval $ac_try) 2>&5
40164 ac_status=$?
40165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40166 (exit $ac_status); }; }; then
40167 if test "$cross_compiling" = yes; then
40168 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40169 See \`config.log' for more details." >&5
40170 echo "$as_me: error: cannot run test program while cross compiling
40171 See \`config.log' for more details." >&2;}
40172 { (exit 1); exit 1; }; }
40173 else
40174 cat >conftest.$ac_ext <<_ACEOF
40175 __thread int a; int b; int main() { return a = b; }
40176 _ACEOF
40177 rm -f conftest$ac_exeext
40178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40179 (eval $ac_link) 2>&5
40180 ac_status=$?
40181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40184 (eval $ac_try) 2>&5
40185 ac_status=$?
40186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40187 (exit $ac_status); }; }; then
40188 have_tls=yes
40189 else
40190 echo "$as_me: program exited with status $ac_status" >&5
40191 echo "$as_me: failed program was:" >&5
40192 sed 's/^/| /' conftest.$ac_ext >&5
40193
40194 ( exit $ac_status )
40195 have_tls=no
40196 fi
40197 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40198 fi
40199 else
40200 echo "$as_me: failed program was:" >&5
40201 sed 's/^/| /' conftest.$ac_ext >&5
40202
40203 have_tls=yes
40204 fi
40205 rm -f conftest.err conftest.$ac_objext \
40206 conftest$ac_exeext conftest.$ac_ext
40207 LDFLAGS="$chktls_save_LDFLAGS"
40208 if test $have_tls = yes; then
40209 chktls_save_CFLAGS="$CFLAGS"
40210 thread_CFLAGS=failed
40211 for flag in '' '-pthread' '-lpthread'; do
40212 CFLAGS="$flag $chktls_save_CFLAGS"
40213 if test x$gcc_no_link = xyes; then
40214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40216 { (exit 1); exit 1; }; }
40217 fi
40218 cat >conftest.$ac_ext <<_ACEOF
40219 /* confdefs.h. */
40220 _ACEOF
40221 cat confdefs.h >>conftest.$ac_ext
40222 cat >>conftest.$ac_ext <<_ACEOF
40223 /* end confdefs.h. */
40224 #include <pthread.h>
40225 void *g(void *d) { return NULL; }
40226 int
40227 main ()
40228 {
40229 pthread_t t; pthread_create(&t,NULL,g,NULL);
40230 ;
40231 return 0;
40232 }
40233 _ACEOF
40234 rm -f conftest.$ac_objext conftest$ac_exeext
40235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40236 (eval $ac_link) 2>conftest.er1
40237 ac_status=$?
40238 grep -v '^ *+' conftest.er1 >conftest.err
40239 rm -f conftest.er1
40240 cat conftest.err >&5
40241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40242 (exit $ac_status); } &&
40243 { ac_try='test -z "$ac_c_werror_flag"
40244 || test ! -s conftest.err'
40245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40246 (eval $ac_try) 2>&5
40247 ac_status=$?
40248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40249 (exit $ac_status); }; } &&
40250 { ac_try='test -s conftest$ac_exeext'
40251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40252 (eval $ac_try) 2>&5
40253 ac_status=$?
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); }; }; then
40256 thread_CFLAGS="$flag"
40257 else
40258 echo "$as_me: failed program was:" >&5
40259 sed 's/^/| /' conftest.$ac_ext >&5
40260
40261 fi
40262 rm -f conftest.err conftest.$ac_objext \
40263 conftest$ac_exeext conftest.$ac_ext
40264 if test "X$thread_CFLAGS" != Xfailed; then
40265 break
40266 fi
40267 done
40268 CFLAGS="$chktls_save_CFLAGS"
40269 if test "X$thread_CFLAGS" != Xfailed; then
40270 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
40271 if test "$cross_compiling" = yes; then
40272 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40273 See \`config.log' for more details." >&5
40274 echo "$as_me: error: cannot run test program while cross compiling
40275 See \`config.log' for more details." >&2;}
40276 { (exit 1); exit 1; }; }
40277 else
40278 cat >conftest.$ac_ext <<_ACEOF
40279 /* confdefs.h. */
40280 _ACEOF
40281 cat confdefs.h >>conftest.$ac_ext
40282 cat >>conftest.$ac_ext <<_ACEOF
40283 /* end confdefs.h. */
40284 #include <pthread.h>
40285 __thread int a;
40286 static int *a_in_other_thread;
40287 static void *
40288 thread_func (void *arg)
40289 {
40290 a_in_other_thread = &a;
40291 return (void *)0;
40292 }
40293 int
40294 main ()
40295 {
40296 pthread_t thread;
40297 void *thread_retval;
40298 int *a_in_main_thread;
40299 if (pthread_create (&thread, (pthread_attr_t *)0,
40300 thread_func, (void *)0))
40301 return 0;
40302 a_in_main_thread = &a;
40303 if (pthread_join (thread, &thread_retval))
40304 return 0;
40305 return (a_in_other_thread == a_in_main_thread);
40306 ;
40307 return 0;
40308 }
40309 _ACEOF
40310 rm -f conftest$ac_exeext
40311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40312 (eval $ac_link) 2>&5
40313 ac_status=$?
40314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40317 (eval $ac_try) 2>&5
40318 ac_status=$?
40319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40320 (exit $ac_status); }; }; then
40321 have_tls=yes
40322 else
40323 echo "$as_me: program exited with status $ac_status" >&5
40324 echo "$as_me: failed program was:" >&5
40325 sed 's/^/| /' conftest.$ac_ext >&5
40326
40327 ( exit $ac_status )
40328 have_tls=no
40329 fi
40330 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40331 fi
40332 CFLAGS="$chktls_save_CFLAGS"
40333 fi
40334 fi
40335 else
40336 echo "$as_me: program exited with status $ac_status" >&5
40337 echo "$as_me: failed program was:" >&5
40338 sed 's/^/| /' conftest.$ac_ext >&5
40339
40340 ( exit $ac_status )
40341 have_tls=no
40342 fi
40343 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40344 fi
40345 fi
40346 echo "$as_me:$LINENO: result: $have_tls" >&5
40347 echo "${ECHO_T}$have_tls" >&6
40348 if test "$enable_tls $have_tls" = "yes yes"; then
40349
40350 cat >>confdefs.h <<\_ACEOF
40351 #define HAVE_TLS 1
40352 _ACEOF
40353
40354 fi
40355
40356 # For _Unwind_GetIPInfo.
40357
40358
40359
40360 ac_ext=cc
40361 ac_cpp='$CXXCPP $CPPFLAGS'
40362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40365
40366 ac_save_CXXFLAGS="$CXXFLAGS"
40367 CXXFLAGS="$CXXFLAGS -fno-exceptions"
40368 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
40369 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
40370 if test "${gcc_cv_getipinfo+set}" = set; then
40371 echo $ECHO_N "(cached) $ECHO_C" >&6
40372 else
40373
40374 if test x$gcc_no_link = xyes; then
40375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40377 { (exit 1); exit 1; }; }
40378 fi
40379 cat >conftest.$ac_ext <<_ACEOF
40380 /* confdefs.h. */
40381 _ACEOF
40382 cat confdefs.h >>conftest.$ac_ext
40383 cat >>conftest.$ac_ext <<_ACEOF
40384 /* end confdefs.h. */
40385 extern "C" { extern void _Unwind_GetIPInfo(); }
40386 int
40387 main ()
40388 {
40389 _Unwind_GetIPInfo();
40390 ;
40391 return 0;
40392 }
40393 _ACEOF
40394 rm -f conftest.$ac_objext conftest$ac_exeext
40395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40396 (eval $ac_link) 2>conftest.er1
40397 ac_status=$?
40398 grep -v '^ *+' conftest.er1 >conftest.err
40399 rm -f conftest.er1
40400 cat conftest.err >&5
40401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402 (exit $ac_status); } &&
40403 { ac_try='test -z "$ac_cxx_werror_flag"
40404 || test ! -s conftest.err'
40405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40406 (eval $ac_try) 2>&5
40407 ac_status=$?
40408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40409 (exit $ac_status); }; } &&
40410 { ac_try='test -s conftest$ac_exeext'
40411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40412 (eval $ac_try) 2>&5
40413 ac_status=$?
40414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40415 (exit $ac_status); }; }; then
40416 gcc_cv_getipinfo=yes
40417 else
40418 echo "$as_me: failed program was:" >&5
40419 sed 's/^/| /' conftest.$ac_ext >&5
40420
40421 gcc_cv_getipinfo=no
40422 fi
40423 rm -f conftest.err conftest.$ac_objext \
40424 conftest$ac_exeext conftest.$ac_ext
40425
40426 fi
40427
40428 if test $gcc_cv_getipinfo = yes; then
40429
40430 cat >>confdefs.h <<\_ACEOF
40431 #define HAVE_GETIPINFO 1
40432 _ACEOF
40433
40434 fi
40435 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
40436 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
40437 CXXFLAGS="$ac_save_CXXFLAGS"
40438 ac_ext=c
40439 ac_cpp='$CPP $CPPFLAGS'
40440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40443
40444
40445
40446
40447 if test "${ac_cv_header_locale_h+set}" = set; then
40448 echo "$as_me:$LINENO: checking for locale.h" >&5
40449 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
40450 if test "${ac_cv_header_locale_h+set}" = set; then
40451 echo $ECHO_N "(cached) $ECHO_C" >&6
40452 fi
40453 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
40454 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
40455 else
40456 # Is the header compilable?
40457 echo "$as_me:$LINENO: checking locale.h usability" >&5
40458 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
40459 cat >conftest.$ac_ext <<_ACEOF
40460 /* confdefs.h. */
40461 _ACEOF
40462 cat confdefs.h >>conftest.$ac_ext
40463 cat >>conftest.$ac_ext <<_ACEOF
40464 /* end confdefs.h. */
40465 $ac_includes_default
40466 #include <locale.h>
40467 _ACEOF
40468 rm -f conftest.$ac_objext
40469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40470 (eval $ac_compile) 2>conftest.er1
40471 ac_status=$?
40472 grep -v '^ *+' conftest.er1 >conftest.err
40473 rm -f conftest.er1
40474 cat conftest.err >&5
40475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40476 (exit $ac_status); } &&
40477 { ac_try='test -z "$ac_c_werror_flag"
40478 || test ! -s conftest.err'
40479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40480 (eval $ac_try) 2>&5
40481 ac_status=$?
40482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40483 (exit $ac_status); }; } &&
40484 { ac_try='test -s conftest.$ac_objext'
40485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40486 (eval $ac_try) 2>&5
40487 ac_status=$?
40488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40489 (exit $ac_status); }; }; then
40490 ac_header_compiler=yes
40491 else
40492 echo "$as_me: failed program was:" >&5
40493 sed 's/^/| /' conftest.$ac_ext >&5
40494
40495 ac_header_compiler=no
40496 fi
40497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40499 echo "${ECHO_T}$ac_header_compiler" >&6
40500
40501 # Is the header present?
40502 echo "$as_me:$LINENO: checking locale.h presence" >&5
40503 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
40504 cat >conftest.$ac_ext <<_ACEOF
40505 /* confdefs.h. */
40506 _ACEOF
40507 cat confdefs.h >>conftest.$ac_ext
40508 cat >>conftest.$ac_ext <<_ACEOF
40509 /* end confdefs.h. */
40510 #include <locale.h>
40511 _ACEOF
40512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40514 ac_status=$?
40515 grep -v '^ *+' conftest.er1 >conftest.err
40516 rm -f conftest.er1
40517 cat conftest.err >&5
40518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40519 (exit $ac_status); } >/dev/null; then
40520 if test -s conftest.err; then
40521 ac_cpp_err=$ac_c_preproc_warn_flag
40522 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40523 else
40524 ac_cpp_err=
40525 fi
40526 else
40527 ac_cpp_err=yes
40528 fi
40529 if test -z "$ac_cpp_err"; then
40530 ac_header_preproc=yes
40531 else
40532 echo "$as_me: failed program was:" >&5
40533 sed 's/^/| /' conftest.$ac_ext >&5
40534
40535 ac_header_preproc=no
40536 fi
40537 rm -f conftest.err conftest.$ac_ext
40538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40539 echo "${ECHO_T}$ac_header_preproc" >&6
40540
40541 # So? What about this header?
40542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40543 yes:no: )
40544 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
40545 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
40546 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
40547 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
40548 ac_header_preproc=yes
40549 ;;
40550 no:yes:* )
40551 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
40552 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
40553 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
40554 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
40555 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
40556 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
40557 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
40558 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
40559 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
40560 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
40561 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
40562 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
40563 (
40564 cat <<\_ASBOX
40565 ## ----------------------------------------- ##
40566 ## Report this to the package-unused lists. ##
40567 ## ----------------------------------------- ##
40568 _ASBOX
40569 ) |
40570 sed "s/^/$as_me: WARNING: /" >&2
40571 ;;
40572 esac
40573 echo "$as_me:$LINENO: checking for locale.h" >&5
40574 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
40575 if test "${ac_cv_header_locale_h+set}" = set; then
40576 echo $ECHO_N "(cached) $ECHO_C" >&6
40577 else
40578 ac_cv_header_locale_h=$ac_header_preproc
40579 fi
40580 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
40581 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
40582
40583 fi
40584 if test $ac_cv_header_locale_h = yes; then
40585
40586 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
40587 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
40588 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
40589 echo $ECHO_N "(cached) $ECHO_C" >&6
40590 else
40591 if test x$gcc_no_link = xyes; then
40592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40594 { (exit 1); exit 1; }; }
40595 fi
40596 cat >conftest.$ac_ext <<_ACEOF
40597 /* confdefs.h. */
40598 _ACEOF
40599 cat confdefs.h >>conftest.$ac_ext
40600 cat >>conftest.$ac_ext <<_ACEOF
40601 /* end confdefs.h. */
40602 #include <locale.h>
40603 int
40604 main ()
40605 {
40606 return LC_MESSAGES
40607 ;
40608 return 0;
40609 }
40610 _ACEOF
40611 rm -f conftest.$ac_objext conftest$ac_exeext
40612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40613 (eval $ac_link) 2>conftest.er1
40614 ac_status=$?
40615 grep -v '^ *+' conftest.er1 >conftest.err
40616 rm -f conftest.er1
40617 cat conftest.err >&5
40618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619 (exit $ac_status); } &&
40620 { ac_try='test -z "$ac_c_werror_flag"
40621 || test ! -s conftest.err'
40622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40623 (eval $ac_try) 2>&5
40624 ac_status=$?
40625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626 (exit $ac_status); }; } &&
40627 { ac_try='test -s conftest$ac_exeext'
40628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40629 (eval $ac_try) 2>&5
40630 ac_status=$?
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); }; }; then
40633 ac_cv_val_LC_MESSAGES=yes
40634 else
40635 echo "$as_me: failed program was:" >&5
40636 sed 's/^/| /' conftest.$ac_ext >&5
40637
40638 ac_cv_val_LC_MESSAGES=no
40639 fi
40640 rm -f conftest.err conftest.$ac_objext \
40641 conftest$ac_exeext conftest.$ac_ext
40642 fi
40643 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
40644 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
40645 if test $ac_cv_val_LC_MESSAGES = yes; then
40646
40647 cat >>confdefs.h <<\_ACEOF
40648 #define HAVE_LC_MESSAGES 1
40649 _ACEOF
40650
40651 fi
40652
40653 fi
40654
40655
40656
40657
40658 cat >conftest.$ac_ext <<_ACEOF
40659 /* confdefs.h. */
40660 _ACEOF
40661 cat confdefs.h >>conftest.$ac_ext
40662 cat >>conftest.$ac_ext <<_ACEOF
40663 /* end confdefs.h. */
40664 #include <setjmp.h>
40665 int
40666 main ()
40667 {
40668 sigjmp_buf env;
40669 while (! sigsetjmp (env, 1))
40670 siglongjmp (env, 1);
40671
40672 ;
40673 return 0;
40674 }
40675 _ACEOF
40676 rm -f conftest.$ac_objext
40677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40678 (eval $ac_compile) 2>conftest.er1
40679 ac_status=$?
40680 grep -v '^ *+' conftest.er1 >conftest.err
40681 rm -f conftest.er1
40682 cat conftest.err >&5
40683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40684 (exit $ac_status); } &&
40685 { ac_try='test -z "$ac_c_werror_flag"
40686 || test ! -s conftest.err'
40687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40688 (eval $ac_try) 2>&5
40689 ac_status=$?
40690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40691 (exit $ac_status); }; } &&
40692 { ac_try='test -s conftest.$ac_objext'
40693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40694 (eval $ac_try) 2>&5
40695 ac_status=$?
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); }; }; then
40698
40699 cat >>confdefs.h <<\_ACEOF
40700 #define HAVE_SIGSETJMP 1
40701 _ACEOF
40702
40703 else
40704 echo "$as_me: failed program was:" >&5
40705 sed 's/^/| /' conftest.$ac_ext >&5
40706
40707 fi
40708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40709
40710 if test x$gcc_no_link = xyes; then
40711 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
40712 ac_cv_func_mmap_fixed_mapped=no
40713 fi
40714 fi
40715 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
40716
40717
40718 for ac_header in stdlib.h unistd.h
40719 do
40720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40722 echo "$as_me:$LINENO: checking for $ac_header" >&5
40723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40725 echo $ECHO_N "(cached) $ECHO_C" >&6
40726 fi
40727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40729 else
40730 # Is the header compilable?
40731 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40732 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40733 cat >conftest.$ac_ext <<_ACEOF
40734 /* confdefs.h. */
40735 _ACEOF
40736 cat confdefs.h >>conftest.$ac_ext
40737 cat >>conftest.$ac_ext <<_ACEOF
40738 /* end confdefs.h. */
40739 $ac_includes_default
40740 #include <$ac_header>
40741 _ACEOF
40742 rm -f conftest.$ac_objext
40743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40744 (eval $ac_compile) 2>conftest.er1
40745 ac_status=$?
40746 grep -v '^ *+' conftest.er1 >conftest.err
40747 rm -f conftest.er1
40748 cat conftest.err >&5
40749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750 (exit $ac_status); } &&
40751 { ac_try='test -z "$ac_c_werror_flag"
40752 || test ! -s conftest.err'
40753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40754 (eval $ac_try) 2>&5
40755 ac_status=$?
40756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757 (exit $ac_status); }; } &&
40758 { ac_try='test -s conftest.$ac_objext'
40759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40760 (eval $ac_try) 2>&5
40761 ac_status=$?
40762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40763 (exit $ac_status); }; }; then
40764 ac_header_compiler=yes
40765 else
40766 echo "$as_me: failed program was:" >&5
40767 sed 's/^/| /' conftest.$ac_ext >&5
40768
40769 ac_header_compiler=no
40770 fi
40771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40772 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40773 echo "${ECHO_T}$ac_header_compiler" >&6
40774
40775 # Is the header present?
40776 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40777 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40778 cat >conftest.$ac_ext <<_ACEOF
40779 /* confdefs.h. */
40780 _ACEOF
40781 cat confdefs.h >>conftest.$ac_ext
40782 cat >>conftest.$ac_ext <<_ACEOF
40783 /* end confdefs.h. */
40784 #include <$ac_header>
40785 _ACEOF
40786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40787 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40788 ac_status=$?
40789 grep -v '^ *+' conftest.er1 >conftest.err
40790 rm -f conftest.er1
40791 cat conftest.err >&5
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); } >/dev/null; then
40794 if test -s conftest.err; then
40795 ac_cpp_err=$ac_c_preproc_warn_flag
40796 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40797 else
40798 ac_cpp_err=
40799 fi
40800 else
40801 ac_cpp_err=yes
40802 fi
40803 if test -z "$ac_cpp_err"; then
40804 ac_header_preproc=yes
40805 else
40806 echo "$as_me: failed program was:" >&5
40807 sed 's/^/| /' conftest.$ac_ext >&5
40808
40809 ac_header_preproc=no
40810 fi
40811 rm -f conftest.err conftest.$ac_ext
40812 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40813 echo "${ECHO_T}$ac_header_preproc" >&6
40814
40815 # So? What about this header?
40816 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40817 yes:no: )
40818 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40819 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40821 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40822 ac_header_preproc=yes
40823 ;;
40824 no:yes:* )
40825 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40826 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40827 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40828 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40829 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40830 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40831 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40832 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40834 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40835 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40836 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40837 (
40838 cat <<\_ASBOX
40839 ## ----------------------------------------- ##
40840 ## Report this to the package-unused lists. ##
40841 ## ----------------------------------------- ##
40842 _ASBOX
40843 ) |
40844 sed "s/^/$as_me: WARNING: /" >&2
40845 ;;
40846 esac
40847 echo "$as_me:$LINENO: checking for $ac_header" >&5
40848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40850 echo $ECHO_N "(cached) $ECHO_C" >&6
40851 else
40852 eval "$as_ac_Header=\$ac_header_preproc"
40853 fi
40854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40856
40857 fi
40858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40859 cat >>confdefs.h <<_ACEOF
40860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40861 _ACEOF
40862
40863 fi
40864
40865 done
40866
40867
40868 for ac_func in getpagesize
40869 do
40870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40871 echo "$as_me:$LINENO: checking for $ac_func" >&5
40872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40873 if eval "test \"\${$as_ac_var+set}\" = set"; then
40874 echo $ECHO_N "(cached) $ECHO_C" >&6
40875 else
40876 if test x$gcc_no_link = xyes; then
40877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40879 { (exit 1); exit 1; }; }
40880 fi
40881 cat >conftest.$ac_ext <<_ACEOF
40882 /* confdefs.h. */
40883 _ACEOF
40884 cat confdefs.h >>conftest.$ac_ext
40885 cat >>conftest.$ac_ext <<_ACEOF
40886 /* end confdefs.h. */
40887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40889 #define $ac_func innocuous_$ac_func
40890
40891 /* System header to define __stub macros and hopefully few prototypes,
40892 which can conflict with char $ac_func (); below.
40893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40894 <limits.h> exists even on freestanding compilers. */
40895
40896 #ifdef __STDC__
40897 # include <limits.h>
40898 #else
40899 # include <assert.h>
40900 #endif
40901
40902 #undef $ac_func
40903
40904 /* Override any gcc2 internal prototype to avoid an error. */
40905 #ifdef __cplusplus
40906 extern "C"
40907 {
40908 #endif
40909 /* We use char because int might match the return type of a gcc2
40910 builtin and then its argument prototype would still apply. */
40911 char $ac_func ();
40912 /* The GNU C library defines this for functions which it implements
40913 to always fail with ENOSYS. Some functions are actually named
40914 something starting with __ and the normal name is an alias. */
40915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40916 choke me
40917 #else
40918 char (*f) () = $ac_func;
40919 #endif
40920 #ifdef __cplusplus
40921 }
40922 #endif
40923
40924 int
40925 main ()
40926 {
40927 return f != $ac_func;
40928 ;
40929 return 0;
40930 }
40931 _ACEOF
40932 rm -f conftest.$ac_objext conftest$ac_exeext
40933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40934 (eval $ac_link) 2>conftest.er1
40935 ac_status=$?
40936 grep -v '^ *+' conftest.er1 >conftest.err
40937 rm -f conftest.er1
40938 cat conftest.err >&5
40939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40940 (exit $ac_status); } &&
40941 { ac_try='test -z "$ac_c_werror_flag"
40942 || test ! -s conftest.err'
40943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40944 (eval $ac_try) 2>&5
40945 ac_status=$?
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); }; } &&
40948 { ac_try='test -s conftest$ac_exeext'
40949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40950 (eval $ac_try) 2>&5
40951 ac_status=$?
40952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40953 (exit $ac_status); }; }; then
40954 eval "$as_ac_var=yes"
40955 else
40956 echo "$as_me: failed program was:" >&5
40957 sed 's/^/| /' conftest.$ac_ext >&5
40958
40959 eval "$as_ac_var=no"
40960 fi
40961 rm -f conftest.err conftest.$ac_objext \
40962 conftest$ac_exeext conftest.$ac_ext
40963 fi
40964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40966 if test `eval echo '${'$as_ac_var'}'` = yes; then
40967 cat >>confdefs.h <<_ACEOF
40968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40969 _ACEOF
40970
40971 fi
40972 done
40973
40974 echo "$as_me:$LINENO: checking for working mmap" >&5
40975 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
40976 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
40977 echo $ECHO_N "(cached) $ECHO_C" >&6
40978 else
40979 if test "$cross_compiling" = yes; then
40980 ac_cv_func_mmap_fixed_mapped=no
40981 else
40982 cat >conftest.$ac_ext <<_ACEOF
40983 /* confdefs.h. */
40984 _ACEOF
40985 cat confdefs.h >>conftest.$ac_ext
40986 cat >>conftest.$ac_ext <<_ACEOF
40987 /* end confdefs.h. */
40988 $ac_includes_default
40989 /* malloc might have been renamed as rpl_malloc. */
40990 #undef malloc
40991
40992 /* Thanks to Mike Haertel and Jim Avera for this test.
40993 Here is a matrix of mmap possibilities:
40994 mmap private not fixed
40995 mmap private fixed at somewhere currently unmapped
40996 mmap private fixed at somewhere already mapped
40997 mmap shared not fixed
40998 mmap shared fixed at somewhere currently unmapped
40999 mmap shared fixed at somewhere already mapped
41000 For private mappings, we should verify that changes cannot be read()
41001 back from the file, nor mmap's back from the file at a different
41002 address. (There have been systems where private was not correctly
41003 implemented like the infamous i386 svr4.0, and systems where the
41004 VM page cache was not coherent with the file system buffer cache
41005 like early versions of FreeBSD and possibly contemporary NetBSD.)
41006 For shared mappings, we should conversely verify that changes get
41007 propagated back to all the places they're supposed to be.
41008
41009 Grep wants private fixed already mapped.
41010 The main things grep needs to know about mmap are:
41011 * does it exist and is it safe to write into the mmap'd area
41012 * how to use it (BSD variants) */
41013
41014 #include <fcntl.h>
41015 #include <sys/mman.h>
41016
41017 #if !STDC_HEADERS && !HAVE_STDLIB_H
41018 char *malloc ();
41019 #endif
41020
41021 /* This mess was copied from the GNU getpagesize.h. */
41022 #if !HAVE_GETPAGESIZE
41023 /* Assume that all systems that can run configure have sys/param.h. */
41024 # if !HAVE_SYS_PARAM_H
41025 # define HAVE_SYS_PARAM_H 1
41026 # endif
41027
41028 # ifdef _SC_PAGESIZE
41029 # define getpagesize() sysconf(_SC_PAGESIZE)
41030 # else /* no _SC_PAGESIZE */
41031 # if HAVE_SYS_PARAM_H
41032 # include <sys/param.h>
41033 # ifdef EXEC_PAGESIZE
41034 # define getpagesize() EXEC_PAGESIZE
41035 # else /* no EXEC_PAGESIZE */
41036 # ifdef NBPG
41037 # define getpagesize() NBPG * CLSIZE
41038 # ifndef CLSIZE
41039 # define CLSIZE 1
41040 # endif /* no CLSIZE */
41041 # else /* no NBPG */
41042 # ifdef NBPC
41043 # define getpagesize() NBPC
41044 # else /* no NBPC */
41045 # ifdef PAGESIZE
41046 # define getpagesize() PAGESIZE
41047 # endif /* PAGESIZE */
41048 # endif /* no NBPC */
41049 # endif /* no NBPG */
41050 # endif /* no EXEC_PAGESIZE */
41051 # else /* no HAVE_SYS_PARAM_H */
41052 # define getpagesize() 8192 /* punt totally */
41053 # endif /* no HAVE_SYS_PARAM_H */
41054 # endif /* no _SC_PAGESIZE */
41055
41056 #endif /* no HAVE_GETPAGESIZE */
41057
41058 int
41059 main ()
41060 {
41061 char *data, *data2, *data3;
41062 int i, pagesize;
41063 int fd;
41064
41065 pagesize = getpagesize ();
41066
41067 /* First, make a file with some known garbage in it. */
41068 data = (char *) malloc (pagesize);
41069 if (!data)
41070 exit (1);
41071 for (i = 0; i < pagesize; ++i)
41072 *(data + i) = rand ();
41073 umask (0);
41074 fd = creat ("conftest.mmap", 0600);
41075 if (fd < 0)
41076 exit (1);
41077 if (write (fd, data, pagesize) != pagesize)
41078 exit (1);
41079 close (fd);
41080
41081 /* Next, try to mmap the file at a fixed address which already has
41082 something else allocated at it. If we can, also make sure that
41083 we see the same garbage. */
41084 fd = open ("conftest.mmap", O_RDWR);
41085 if (fd < 0)
41086 exit (1);
41087 data2 = (char *) malloc (2 * pagesize);
41088 if (!data2)
41089 exit (1);
41090 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41091 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41092 MAP_PRIVATE | MAP_FIXED, fd, 0L))
41093 exit (1);
41094 for (i = 0; i < pagesize; ++i)
41095 if (*(data + i) != *(data2 + i))
41096 exit (1);
41097
41098 /* Finally, make sure that changes to the mapped area do not
41099 percolate back to the file as seen by read(). (This is a bug on
41100 some variants of i386 svr4.0.) */
41101 for (i = 0; i < pagesize; ++i)
41102 *(data2 + i) = *(data2 + i) + 1;
41103 data3 = (char *) malloc (pagesize);
41104 if (!data3)
41105 exit (1);
41106 if (read (fd, data3, pagesize) != pagesize)
41107 exit (1);
41108 for (i = 0; i < pagesize; ++i)
41109 if (*(data + i) != *(data3 + i))
41110 exit (1);
41111 close (fd);
41112 exit (0);
41113 }
41114 _ACEOF
41115 rm -f conftest$ac_exeext
41116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41117 (eval $ac_link) 2>&5
41118 ac_status=$?
41119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41122 (eval $ac_try) 2>&5
41123 ac_status=$?
41124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41125 (exit $ac_status); }; }; then
41126 ac_cv_func_mmap_fixed_mapped=yes
41127 else
41128 echo "$as_me: program exited with status $ac_status" >&5
41129 echo "$as_me: failed program was:" >&5
41130 sed 's/^/| /' conftest.$ac_ext >&5
41131
41132 ( exit $ac_status )
41133 ac_cv_func_mmap_fixed_mapped=no
41134 fi
41135 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41136 fi
41137 fi
41138 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
41139 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
41140 if test $ac_cv_func_mmap_fixed_mapped = yes; then
41141
41142 cat >>confdefs.h <<\_ACEOF
41143 #define HAVE_MMAP 1
41144 _ACEOF
41145
41146 fi
41147 rm -f conftest.mmap
41148
41149 fi
41150
41151 # For iconv support.
41152
41153 if test "X$prefix" = "XNONE"; then
41154 acl_final_prefix="$ac_default_prefix"
41155 else
41156 acl_final_prefix="$prefix"
41157 fi
41158 if test "X$exec_prefix" = "XNONE"; then
41159 acl_final_exec_prefix='${prefix}'
41160 else
41161 acl_final_exec_prefix="$exec_prefix"
41162 fi
41163 acl_save_prefix="$prefix"
41164 prefix="$acl_final_prefix"
41165 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41166 prefix="$acl_save_prefix"
41167
41168
41169 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41170 if test "${with_gnu_ld+set}" = set; then
41171 withval="$with_gnu_ld"
41172 test "$withval" = no || with_gnu_ld=yes
41173 else
41174 with_gnu_ld=no
41175 fi;
41176 # Prepare PATH_SEPARATOR.
41177 # The user is always right.
41178 if test "${PATH_SEPARATOR+set}" != set; then
41179 echo "#! /bin/sh" >conf$$.sh
41180 echo "exit 0" >>conf$$.sh
41181 chmod +x conf$$.sh
41182 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41183 PATH_SEPARATOR=';'
41184 else
41185 PATH_SEPARATOR=:
41186 fi
41187 rm -f conf$$.sh
41188 fi
41189 ac_prog=ld
41190 if test "$GCC" = yes; then
41191 # Check if gcc -print-prog-name=ld gives a path.
41192 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41193 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41194 case $host in
41195 *-*-mingw*)
41196 # gcc leaves a trailing carriage return which upsets mingw
41197 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41198 *)
41199 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41200 esac
41201 case $ac_prog in
41202 # Accept absolute paths.
41203 [\\/]* | [A-Za-z]:[\\/]*)
41204 re_direlt='/[^/][^/]*/\.\./'
41205 # Canonicalize the path of ld
41206 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41207 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41208 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41209 done
41210 test -z "$LD" && LD="$ac_prog"
41211 ;;
41212 "")
41213 # If it fails, then pretend we aren't using GCC.
41214 ac_prog=ld
41215 ;;
41216 *)
41217 # If it is relative, then search for the first ld in PATH.
41218 with_gnu_ld=unknown
41219 ;;
41220 esac
41221 elif test "$with_gnu_ld" = yes; then
41222 echo "$as_me:$LINENO: checking for GNU ld" >&5
41223 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41224 else
41225 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41226 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41227 fi
41228 if test "${acl_cv_path_LD+set}" = set; then
41229 echo $ECHO_N "(cached) $ECHO_C" >&6
41230 else
41231 if test -z "$LD"; then
41232 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41233 for ac_dir in $PATH; do
41234 test -z "$ac_dir" && ac_dir=.
41235 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41236 acl_cv_path_LD="$ac_dir/$ac_prog"
41237 # Check to see if the program is GNU ld. I'd rather use --version,
41238 # but apparently some GNU ld's only accept -v.
41239 # Break only if it was the GNU/non-GNU ld that we prefer.
41240 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41241 test "$with_gnu_ld" != no && break
41242 else
41243 test "$with_gnu_ld" != yes && break
41244 fi
41245 fi
41246 done
41247 IFS="$ac_save_ifs"
41248 else
41249 acl_cv_path_LD="$LD" # Let the user override the test with a path.
41250 fi
41251 fi
41252
41253 LD="$acl_cv_path_LD"
41254 if test -n "$LD"; then
41255 echo "$as_me:$LINENO: result: $LD" >&5
41256 echo "${ECHO_T}$LD" >&6
41257 else
41258 echo "$as_me:$LINENO: result: no" >&5
41259 echo "${ECHO_T}no" >&6
41260 fi
41261 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41262 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41263 { (exit 1); exit 1; }; }
41264 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41265 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
41266 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41267 echo $ECHO_N "(cached) $ECHO_C" >&6
41268 else
41269 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41270 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41271 acl_cv_prog_gnu_ld=yes
41272 else
41273 acl_cv_prog_gnu_ld=no
41274 fi
41275 fi
41276 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41277 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
41278 with_gnu_ld=$acl_cv_prog_gnu_ld
41279
41280
41281
41282 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41283 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
41284 if test "${acl_cv_rpath+set}" = set; then
41285 echo $ECHO_N "(cached) $ECHO_C" >&6
41286 else
41287
41288 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41289 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41290 . ./conftest.sh
41291 rm -f ./conftest.sh
41292 acl_cv_rpath=done
41293
41294 fi
41295 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41296 echo "${ECHO_T}$acl_cv_rpath" >&6
41297 wl="$acl_cv_wl"
41298 libext="$acl_cv_libext"
41299 shlibext="$acl_cv_shlibext"
41300 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41301 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41302 hardcode_direct="$acl_cv_hardcode_direct"
41303 hardcode_minus_L="$acl_cv_hardcode_minus_L"
41304 # Check whether --enable-rpath or --disable-rpath was given.
41305 if test "${enable_rpath+set}" = set; then
41306 enableval="$enable_rpath"
41307 :
41308 else
41309 enable_rpath=yes
41310 fi;
41311
41312
41313
41314
41315
41316
41317
41318 use_additional=yes
41319
41320 acl_save_prefix="$prefix"
41321 prefix="$acl_final_prefix"
41322 acl_save_exec_prefix="$exec_prefix"
41323 exec_prefix="$acl_final_exec_prefix"
41324
41325 eval additional_includedir=\"$includedir\"
41326 eval additional_libdir=\"$libdir\"
41327
41328 exec_prefix="$acl_save_exec_prefix"
41329 prefix="$acl_save_prefix"
41330
41331
41332 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
41333 if test "${with_libiconv_prefix+set}" = set; then
41334 withval="$with_libiconv_prefix"
41335
41336 if test "X$withval" = "Xno"; then
41337 use_additional=no
41338 else
41339 if test "X$withval" = "X"; then
41340
41341 acl_save_prefix="$prefix"
41342 prefix="$acl_final_prefix"
41343 acl_save_exec_prefix="$exec_prefix"
41344 exec_prefix="$acl_final_exec_prefix"
41345
41346 eval additional_includedir=\"$includedir\"
41347 eval additional_libdir=\"$libdir\"
41348
41349 exec_prefix="$acl_save_exec_prefix"
41350 prefix="$acl_save_prefix"
41351
41352 else
41353 additional_includedir="$withval/include"
41354 additional_libdir="$withval/lib"
41355 fi
41356 fi
41357
41358 fi;
41359 LIBICONV=
41360 LTLIBICONV=
41361 INCICONV=
41362 rpathdirs=
41363 ltrpathdirs=
41364 names_already_handled=
41365 names_next_round='iconv '
41366 while test -n "$names_next_round"; do
41367 names_this_round="$names_next_round"
41368 names_next_round=
41369 for name in $names_this_round; do
41370 already_handled=
41371 for n in $names_already_handled; do
41372 if test "$n" = "$name"; then
41373 already_handled=yes
41374 break
41375 fi
41376 done
41377 if test -z "$already_handled"; then
41378 names_already_handled="$names_already_handled $name"
41379 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41380 eval value=\"\$HAVE_LIB$uppername\"
41381 if test -n "$value"; then
41382 if test "$value" = yes; then
41383 eval value=\"\$LIB$uppername\"
41384 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41385 eval value=\"\$LTLIB$uppername\"
41386 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41387 else
41388 :
41389 fi
41390 else
41391 found_dir=
41392 found_la=
41393 found_so=
41394 found_a=
41395 if test $use_additional = yes; then
41396 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41397 found_dir="$additional_libdir"
41398 found_so="$additional_libdir/lib$name.$shlibext"
41399 if test -f "$additional_libdir/lib$name.la"; then
41400 found_la="$additional_libdir/lib$name.la"
41401 fi
41402 else
41403 if test -f "$additional_libdir/lib$name.$libext"; then
41404 found_dir="$additional_libdir"
41405 found_a="$additional_libdir/lib$name.$libext"
41406 if test -f "$additional_libdir/lib$name.la"; then
41407 found_la="$additional_libdir/lib$name.la"
41408 fi
41409 fi
41410 fi
41411 fi
41412 if test "X$found_dir" = "X"; then
41413 for x in $LDFLAGS $LTLIBICONV; do
41414
41415 acl_save_prefix="$prefix"
41416 prefix="$acl_final_prefix"
41417 acl_save_exec_prefix="$exec_prefix"
41418 exec_prefix="$acl_final_exec_prefix"
41419 eval x=\"$x\"
41420 exec_prefix="$acl_save_exec_prefix"
41421 prefix="$acl_save_prefix"
41422
41423 case "$x" in
41424 -L*)
41425 dir=`echo "X$x" | sed -e 's/^X-L//'`
41426 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
41427 found_dir="$dir"
41428 found_so="$dir/lib$name.$shlibext"
41429 if test -f "$dir/lib$name.la"; then
41430 found_la="$dir/lib$name.la"
41431 fi
41432 else
41433 if test -f "$dir/lib$name.$libext"; then
41434 found_dir="$dir"
41435 found_a="$dir/lib$name.$libext"
41436 if test -f "$dir/lib$name.la"; then
41437 found_la="$dir/lib$name.la"
41438 fi
41439 fi
41440 fi
41441 ;;
41442 esac
41443 if test "X$found_dir" != "X"; then
41444 break
41445 fi
41446 done
41447 fi
41448 if test "X$found_dir" != "X"; then
41449 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
41450 if test "X$found_so" != "X"; then
41451 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
41452 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41453 else
41454 haveit=
41455 for x in $ltrpathdirs; do
41456 if test "X$x" = "X$found_dir"; then
41457 haveit=yes
41458 break
41459 fi
41460 done
41461 if test -z "$haveit"; then
41462 ltrpathdirs="$ltrpathdirs $found_dir"
41463 fi
41464 if test "$hardcode_direct" = yes; then
41465 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41466 else
41467 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
41468 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41469 haveit=
41470 for x in $rpathdirs; do
41471 if test "X$x" = "X$found_dir"; then
41472 haveit=yes
41473 break
41474 fi
41475 done
41476 if test -z "$haveit"; then
41477 rpathdirs="$rpathdirs $found_dir"
41478 fi
41479 else
41480 haveit=
41481 for x in $LDFLAGS $LIBICONV; do
41482
41483 acl_save_prefix="$prefix"
41484 prefix="$acl_final_prefix"
41485 acl_save_exec_prefix="$exec_prefix"
41486 exec_prefix="$acl_final_exec_prefix"
41487 eval x=\"$x\"
41488 exec_prefix="$acl_save_exec_prefix"
41489 prefix="$acl_save_prefix"
41490
41491 if test "X$x" = "X-L$found_dir"; then
41492 haveit=yes
41493 break
41494 fi
41495 done
41496 if test -z "$haveit"; then
41497 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
41498 fi
41499 if test "$hardcode_minus_L" != no; then
41500 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41501 else
41502 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41503 fi
41504 fi
41505 fi
41506 fi
41507 else
41508 if test "X$found_a" != "X"; then
41509 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
41510 else
41511 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
41512 fi
41513 fi
41514 additional_includedir=
41515 case "$found_dir" in
41516 */lib | */lib/)
41517 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
41518 additional_includedir="$basedir/include"
41519 ;;
41520 esac
41521 if test "X$additional_includedir" != "X"; then
41522 if test "X$additional_includedir" != "X/usr/include"; then
41523 haveit=
41524 if test "X$additional_includedir" = "X/usr/local/include"; then
41525 if test -n "$GCC"; then
41526 case $host_os in
41527 linux*) haveit=yes;;
41528 esac
41529 fi
41530 fi
41531 if test -z "$haveit"; then
41532 for x in $CPPFLAGS $INCICONV; do
41533
41534 acl_save_prefix="$prefix"
41535 prefix="$acl_final_prefix"
41536 acl_save_exec_prefix="$exec_prefix"
41537 exec_prefix="$acl_final_exec_prefix"
41538 eval x=\"$x\"
41539 exec_prefix="$acl_save_exec_prefix"
41540 prefix="$acl_save_prefix"
41541
41542 if test "X$x" = "X-I$additional_includedir"; then
41543 haveit=yes
41544 break
41545 fi
41546 done
41547 if test -z "$haveit"; then
41548 if test -d "$additional_includedir"; then
41549 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
41550 fi
41551 fi
41552 fi
41553 fi
41554 fi
41555 if test -n "$found_la"; then
41556 save_libdir="$libdir"
41557 case "$found_la" in
41558 */* | *\\*) . "$found_la" ;;
41559 *) . "./$found_la" ;;
41560 esac
41561 libdir="$save_libdir"
41562 for dep in $dependency_libs; do
41563 case "$dep" in
41564 -L*)
41565 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
41566 if test "X$additional_libdir" != "X/usr/lib"; then
41567 haveit=
41568 if test "X$additional_libdir" = "X/usr/local/lib"; then
41569 if test -n "$GCC"; then
41570 case $host_os in
41571 linux*) haveit=yes;;
41572 esac
41573 fi
41574 fi
41575 if test -z "$haveit"; then
41576 haveit=
41577 for x in $LDFLAGS $LIBICONV; do
41578
41579 acl_save_prefix="$prefix"
41580 prefix="$acl_final_prefix"
41581 acl_save_exec_prefix="$exec_prefix"
41582 exec_prefix="$acl_final_exec_prefix"
41583 eval x=\"$x\"
41584 exec_prefix="$acl_save_exec_prefix"
41585 prefix="$acl_save_prefix"
41586
41587 if test "X$x" = "X-L$additional_libdir"; then
41588 haveit=yes
41589 break
41590 fi
41591 done
41592 if test -z "$haveit"; then
41593 if test -d "$additional_libdir"; then
41594 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
41595 fi
41596 fi
41597 haveit=
41598 for x in $LDFLAGS $LTLIBICONV; do
41599
41600 acl_save_prefix="$prefix"
41601 prefix="$acl_final_prefix"
41602 acl_save_exec_prefix="$exec_prefix"
41603 exec_prefix="$acl_final_exec_prefix"
41604 eval x=\"$x\"
41605 exec_prefix="$acl_save_exec_prefix"
41606 prefix="$acl_save_prefix"
41607
41608 if test "X$x" = "X-L$additional_libdir"; then
41609 haveit=yes
41610 break
41611 fi
41612 done
41613 if test -z "$haveit"; then
41614 if test -d "$additional_libdir"; then
41615 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
41616 fi
41617 fi
41618 fi
41619 fi
41620 ;;
41621 -R*)
41622 dir=`echo "X$dep" | sed -e 's/^X-R//'`
41623 if test "$enable_rpath" != no; then
41624 haveit=
41625 for x in $rpathdirs; do
41626 if test "X$x" = "X$dir"; then
41627 haveit=yes
41628 break
41629 fi
41630 done
41631 if test -z "$haveit"; then
41632 rpathdirs="$rpathdirs $dir"
41633 fi
41634 haveit=
41635 for x in $ltrpathdirs; do
41636 if test "X$x" = "X$dir"; then
41637 haveit=yes
41638 break
41639 fi
41640 done
41641 if test -z "$haveit"; then
41642 ltrpathdirs="$ltrpathdirs $dir"
41643 fi
41644 fi
41645 ;;
41646 -l*)
41647 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
41648 ;;
41649 *.la)
41650 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
41651 ;;
41652 *)
41653 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
41654 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
41655 ;;
41656 esac
41657 done
41658 fi
41659 else
41660 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41661 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
41662 fi
41663 fi
41664 fi
41665 done
41666 done
41667 if test "X$rpathdirs" != "X"; then
41668 if test -n "$hardcode_libdir_separator"; then
41669 alldirs=
41670 for found_dir in $rpathdirs; do
41671 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
41672 done
41673 acl_save_libdir="$libdir"
41674 libdir="$alldirs"
41675 eval flag=\"$hardcode_libdir_flag_spec\"
41676 libdir="$acl_save_libdir"
41677 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41678 else
41679 for found_dir in $rpathdirs; do
41680 acl_save_libdir="$libdir"
41681 libdir="$found_dir"
41682 eval flag=\"$hardcode_libdir_flag_spec\"
41683 libdir="$acl_save_libdir"
41684 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41685 done
41686 fi
41687 fi
41688 if test "X$ltrpathdirs" != "X"; then
41689 for found_dir in $ltrpathdirs; do
41690 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
41691 done
41692 fi
41693
41694
41695
41696
41697
41698
41699
41700 am_save_CPPFLAGS="$CPPFLAGS"
41701
41702 for element in $INCICONV; do
41703 haveit=
41704 for x in $CPPFLAGS; do
41705
41706 acl_save_prefix="$prefix"
41707 prefix="$acl_final_prefix"
41708 acl_save_exec_prefix="$exec_prefix"
41709 exec_prefix="$acl_final_exec_prefix"
41710 eval x=\"$x\"
41711 exec_prefix="$acl_save_exec_prefix"
41712 prefix="$acl_save_prefix"
41713
41714 if test "X$x" = "X$element"; then
41715 haveit=yes
41716 break
41717 fi
41718 done
41719 if test -z "$haveit"; then
41720 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41721 fi
41722 done
41723
41724
41725 echo "$as_me:$LINENO: checking for iconv" >&5
41726 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
41727 if test "${am_cv_func_iconv+set}" = set; then
41728 echo $ECHO_N "(cached) $ECHO_C" >&6
41729 else
41730
41731 am_cv_func_iconv="no, consider installing GNU libiconv"
41732 am_cv_lib_iconv=no
41733 if test x$gcc_no_link = xyes; then
41734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41736 { (exit 1); exit 1; }; }
41737 fi
41738 cat >conftest.$ac_ext <<_ACEOF
41739 /* confdefs.h. */
41740 _ACEOF
41741 cat confdefs.h >>conftest.$ac_ext
41742 cat >>conftest.$ac_ext <<_ACEOF
41743 /* end confdefs.h. */
41744 #include <stdlib.h>
41745 #include <iconv.h>
41746 int
41747 main ()
41748 {
41749 iconv_t cd = iconv_open("","");
41750 iconv(cd,NULL,NULL,NULL,NULL);
41751 iconv_close(cd);
41752 ;
41753 return 0;
41754 }
41755 _ACEOF
41756 rm -f conftest.$ac_objext conftest$ac_exeext
41757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41758 (eval $ac_link) 2>conftest.er1
41759 ac_status=$?
41760 grep -v '^ *+' conftest.er1 >conftest.err
41761 rm -f conftest.er1
41762 cat conftest.err >&5
41763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41764 (exit $ac_status); } &&
41765 { ac_try='test -z "$ac_c_werror_flag"
41766 || test ! -s conftest.err'
41767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41768 (eval $ac_try) 2>&5
41769 ac_status=$?
41770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41771 (exit $ac_status); }; } &&
41772 { ac_try='test -s conftest$ac_exeext'
41773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41774 (eval $ac_try) 2>&5
41775 ac_status=$?
41776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41777 (exit $ac_status); }; }; then
41778 am_cv_func_iconv=yes
41779 else
41780 echo "$as_me: failed program was:" >&5
41781 sed 's/^/| /' conftest.$ac_ext >&5
41782
41783 fi
41784 rm -f conftest.err conftest.$ac_objext \
41785 conftest$ac_exeext conftest.$ac_ext
41786 if test "$am_cv_func_iconv" != yes; then
41787 am_save_LIBS="$LIBS"
41788 LIBS="$LIBS $LIBICONV"
41789 if test x$gcc_no_link = xyes; then
41790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41792 { (exit 1); exit 1; }; }
41793 fi
41794 cat >conftest.$ac_ext <<_ACEOF
41795 /* confdefs.h. */
41796 _ACEOF
41797 cat confdefs.h >>conftest.$ac_ext
41798 cat >>conftest.$ac_ext <<_ACEOF
41799 /* end confdefs.h. */
41800 #include <stdlib.h>
41801 #include <iconv.h>
41802 int
41803 main ()
41804 {
41805 iconv_t cd = iconv_open("","");
41806 iconv(cd,NULL,NULL,NULL,NULL);
41807 iconv_close(cd);
41808 ;
41809 return 0;
41810 }
41811 _ACEOF
41812 rm -f conftest.$ac_objext conftest$ac_exeext
41813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41814 (eval $ac_link) 2>conftest.er1
41815 ac_status=$?
41816 grep -v '^ *+' conftest.er1 >conftest.err
41817 rm -f conftest.er1
41818 cat conftest.err >&5
41819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41820 (exit $ac_status); } &&
41821 { ac_try='test -z "$ac_c_werror_flag"
41822 || test ! -s conftest.err'
41823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41824 (eval $ac_try) 2>&5
41825 ac_status=$?
41826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41827 (exit $ac_status); }; } &&
41828 { ac_try='test -s conftest$ac_exeext'
41829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41830 (eval $ac_try) 2>&5
41831 ac_status=$?
41832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41833 (exit $ac_status); }; }; then
41834 am_cv_lib_iconv=yes
41835 am_cv_func_iconv=yes
41836 else
41837 echo "$as_me: failed program was:" >&5
41838 sed 's/^/| /' conftest.$ac_ext >&5
41839
41840 fi
41841 rm -f conftest.err conftest.$ac_objext \
41842 conftest$ac_exeext conftest.$ac_ext
41843 LIBS="$am_save_LIBS"
41844 fi
41845
41846 fi
41847 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41848 echo "${ECHO_T}$am_cv_func_iconv" >&6
41849 if test "$am_cv_func_iconv" = yes; then
41850
41851 cat >>confdefs.h <<\_ACEOF
41852 #define HAVE_ICONV 1
41853 _ACEOF
41854
41855 fi
41856 if test "$am_cv_lib_iconv" = yes; then
41857 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
41858 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
41859 echo "$as_me:$LINENO: result: $LIBICONV" >&5
41860 echo "${ECHO_T}$LIBICONV" >&6
41861 else
41862 CPPFLAGS="$am_save_CPPFLAGS"
41863 LIBICONV=
41864 LTLIBICONV=
41865 fi
41866
41867
41868
41869 if test "$am_cv_func_iconv" = yes; then
41870 echo "$as_me:$LINENO: checking for iconv declaration" >&5
41871 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
41872 if test "${am_cv_proto_iconv+set}" = set; then
41873 echo $ECHO_N "(cached) $ECHO_C" >&6
41874 else
41875
41876 cat >conftest.$ac_ext <<_ACEOF
41877 /* confdefs.h. */
41878 _ACEOF
41879 cat confdefs.h >>conftest.$ac_ext
41880 cat >>conftest.$ac_ext <<_ACEOF
41881 /* end confdefs.h. */
41882
41883 #include <stdlib.h>
41884 #include <iconv.h>
41885 extern
41886 #ifdef __cplusplus
41887 "C"
41888 #endif
41889 #if defined(__STDC__) || defined(__cplusplus)
41890 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41891 #else
41892 size_t iconv();
41893 #endif
41894
41895 int
41896 main ()
41897 {
41898
41899 ;
41900 return 0;
41901 }
41902 _ACEOF
41903 rm -f conftest.$ac_objext
41904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41905 (eval $ac_compile) 2>conftest.er1
41906 ac_status=$?
41907 grep -v '^ *+' conftest.er1 >conftest.err
41908 rm -f conftest.er1
41909 cat conftest.err >&5
41910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41911 (exit $ac_status); } &&
41912 { ac_try='test -z "$ac_c_werror_flag"
41913 || test ! -s conftest.err'
41914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41915 (eval $ac_try) 2>&5
41916 ac_status=$?
41917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41918 (exit $ac_status); }; } &&
41919 { ac_try='test -s conftest.$ac_objext'
41920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41921 (eval $ac_try) 2>&5
41922 ac_status=$?
41923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41924 (exit $ac_status); }; }; then
41925 am_cv_proto_iconv_arg1=""
41926 else
41927 echo "$as_me: failed program was:" >&5
41928 sed 's/^/| /' conftest.$ac_ext >&5
41929
41930 am_cv_proto_iconv_arg1="const"
41931 fi
41932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41933 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);"
41934 fi
41935
41936 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41937 echo "$as_me:$LINENO: result: ${ac_t:-
41938 }$am_cv_proto_iconv" >&5
41939 echo "${ECHO_T}${ac_t:-
41940 }$am_cv_proto_iconv" >&6
41941
41942 cat >>confdefs.h <<_ACEOF
41943 #define ICONV_CONST $am_cv_proto_iconv_arg1
41944 _ACEOF
41945
41946 fi
41947
41948
41949 else
41950
41951 # This lets us hard-code the functionality we know we'll have in the cross
41952 # target environment. "Let" is a sugar-coated word placed on an especially
41953 # dull and tedious hack, actually.
41954 #
41955 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
41956 # that involve linking, can't be used:
41957 # "cannot open sim-crt0.o"
41958 # "cannot open crt0.o"
41959 # etc. All this is because there currently exists no unified, consistent
41960 # way for top level CC information to be passed down to target directories:
41961 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
41962 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
41963 # crosses can be removed.
41964
41965 # If Canadian cross, then don't pick up tools from the build directory.
41966 # Used only in GLIBCXX_EXPORT_INCLUDES.
41967 if test -n "$with_cross_host" &&
41968 test x"$build_alias" != x"$with_cross_host" &&
41969 test x"$build" != x"$target";
41970 then
41971 CANADIAN=yes
41972 else
41973 CANADIAN=no
41974 fi
41975
41976 # Construct crosses by hand, eliminating bits that need ld...
41977 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
41978 # GLIBCXX_CHECK_MATH_SUPPORT
41979
41980 # First, test for "known" system libraries. We may be using newlib even
41981 # on a hosted environment.
41982 if test "x${with_newlib}" = "xyes"; then
41983 os_include_dir="os/newlib"
41984 cat >>confdefs.h <<\_ACEOF
41985 #define HAVE_HYPOT 1
41986 _ACEOF
41987
41988
41989 # GLIBCXX_CHECK_STDLIB_SUPPORT
41990 cat >>confdefs.h <<\_ACEOF
41991 #define HAVE_STRTOF 1
41992 _ACEOF
41993
41994 # AC_FUNC_MMAP
41995 cat >>confdefs.h <<\_ACEOF
41996 #define HAVE_MMAP 1
41997 _ACEOF
41998
41999
42000 cat >>confdefs.h <<\_ACEOF
42001 #define HAVE_ACOSF 1
42002 _ACEOF
42003
42004 cat >>confdefs.h <<\_ACEOF
42005 #define HAVE_ASINF 1
42006 _ACEOF
42007
42008 cat >>confdefs.h <<\_ACEOF
42009 #define HAVE_ATAN2F 1
42010 _ACEOF
42011
42012 cat >>confdefs.h <<\_ACEOF
42013 #define HAVE_ATANF 1
42014 _ACEOF
42015
42016 cat >>confdefs.h <<\_ACEOF
42017 #define HAVE_CEILF 1
42018 _ACEOF
42019
42020 cat >>confdefs.h <<\_ACEOF
42021 #define HAVE_COPYSIGN 1
42022 _ACEOF
42023
42024 cat >>confdefs.h <<\_ACEOF
42025 #define HAVE_COPYSIGNF 1
42026 _ACEOF
42027
42028 cat >>confdefs.h <<\_ACEOF
42029 #define HAVE_COSF 1
42030 _ACEOF
42031
42032 cat >>confdefs.h <<\_ACEOF
42033 #define HAVE_COSHF 1
42034 _ACEOF
42035
42036 cat >>confdefs.h <<\_ACEOF
42037 #define HAVE_EXPF 1
42038 _ACEOF
42039
42040 cat >>confdefs.h <<\_ACEOF
42041 #define HAVE_FABSF 1
42042 _ACEOF
42043
42044 cat >>confdefs.h <<\_ACEOF
42045 #define HAVE_FLOORF 1
42046 _ACEOF
42047
42048 cat >>confdefs.h <<\_ACEOF
42049 #define HAVE_FMODF 1
42050 _ACEOF
42051
42052 cat >>confdefs.h <<\_ACEOF
42053 #define HAVE_FREXPF 1
42054 _ACEOF
42055
42056 cat >>confdefs.h <<\_ACEOF
42057 #define HAVE_LDEXPF 1
42058 _ACEOF
42059
42060 cat >>confdefs.h <<\_ACEOF
42061 #define HAVE_LOG10F 1
42062 _ACEOF
42063
42064 cat >>confdefs.h <<\_ACEOF
42065 #define HAVE_LOGF 1
42066 _ACEOF
42067
42068 cat >>confdefs.h <<\_ACEOF
42069 #define HAVE_MODFF 1
42070 _ACEOF
42071
42072 cat >>confdefs.h <<\_ACEOF
42073 #define HAVE_POWF 1
42074 _ACEOF
42075
42076 cat >>confdefs.h <<\_ACEOF
42077 #define HAVE_SINF 1
42078 _ACEOF
42079
42080 cat >>confdefs.h <<\_ACEOF
42081 #define HAVE_SINHF 1
42082 _ACEOF
42083
42084 cat >>confdefs.h <<\_ACEOF
42085 #define HAVE_SQRTF 1
42086 _ACEOF
42087
42088 cat >>confdefs.h <<\_ACEOF
42089 #define HAVE_TANF 1
42090 _ACEOF
42091
42092 cat >>confdefs.h <<\_ACEOF
42093 #define HAVE_TANHF 1
42094 _ACEOF
42095
42096
42097 cat >>confdefs.h <<\_ACEOF
42098 #define HAVE_S_ISREG 1
42099 _ACEOF
42100
42101 cat >>confdefs.h <<\_ACEOF
42102 #define HAVE_S_IFREG 1
42103 _ACEOF
42104
42105
42106 cat >>confdefs.h <<\_ACEOF
42107 #define HAVE_ICONV 1
42108 _ACEOF
42109
42110 else
42111
42112 # Base decisions on target environment.
42113 case "${host}" in
42114 arm*-*-symbianelf*)
42115 # This is a freestanding configuration; there is nothing to do here.
42116 ;;
42117
42118 *-darwin*)
42119 # Darwin versions vary, but the linker should work in a cross environment,
42120 # so we just check for all the features here.
42121 # Check for available headers.
42122
42123
42124
42125
42126
42127
42128
42129
42130
42131
42132
42133
42134
42135 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
42136 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
42137 sys/types.h
42138 do
42139 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42141 echo "$as_me:$LINENO: checking for $ac_header" >&5
42142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42144 echo $ECHO_N "(cached) $ECHO_C" >&6
42145 fi
42146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42148 else
42149 # Is the header compilable?
42150 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42152 cat >conftest.$ac_ext <<_ACEOF
42153 /* confdefs.h. */
42154 _ACEOF
42155 cat confdefs.h >>conftest.$ac_ext
42156 cat >>conftest.$ac_ext <<_ACEOF
42157 /* end confdefs.h. */
42158 $ac_includes_default
42159 #include <$ac_header>
42160 _ACEOF
42161 rm -f conftest.$ac_objext
42162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42163 (eval $ac_compile) 2>conftest.er1
42164 ac_status=$?
42165 grep -v '^ *+' conftest.er1 >conftest.err
42166 rm -f conftest.er1
42167 cat conftest.err >&5
42168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42169 (exit $ac_status); } &&
42170 { ac_try='test -z "$ac_c_werror_flag"
42171 || test ! -s conftest.err'
42172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42173 (eval $ac_try) 2>&5
42174 ac_status=$?
42175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42176 (exit $ac_status); }; } &&
42177 { ac_try='test -s conftest.$ac_objext'
42178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42179 (eval $ac_try) 2>&5
42180 ac_status=$?
42181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42182 (exit $ac_status); }; }; then
42183 ac_header_compiler=yes
42184 else
42185 echo "$as_me: failed program was:" >&5
42186 sed 's/^/| /' conftest.$ac_ext >&5
42187
42188 ac_header_compiler=no
42189 fi
42190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42192 echo "${ECHO_T}$ac_header_compiler" >&6
42193
42194 # Is the header present?
42195 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42197 cat >conftest.$ac_ext <<_ACEOF
42198 /* confdefs.h. */
42199 _ACEOF
42200 cat confdefs.h >>conftest.$ac_ext
42201 cat >>conftest.$ac_ext <<_ACEOF
42202 /* end confdefs.h. */
42203 #include <$ac_header>
42204 _ACEOF
42205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42207 ac_status=$?
42208 grep -v '^ *+' conftest.er1 >conftest.err
42209 rm -f conftest.er1
42210 cat conftest.err >&5
42211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42212 (exit $ac_status); } >/dev/null; then
42213 if test -s conftest.err; then
42214 ac_cpp_err=$ac_c_preproc_warn_flag
42215 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42216 else
42217 ac_cpp_err=
42218 fi
42219 else
42220 ac_cpp_err=yes
42221 fi
42222 if test -z "$ac_cpp_err"; then
42223 ac_header_preproc=yes
42224 else
42225 echo "$as_me: failed program was:" >&5
42226 sed 's/^/| /' conftest.$ac_ext >&5
42227
42228 ac_header_preproc=no
42229 fi
42230 rm -f conftest.err conftest.$ac_ext
42231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42232 echo "${ECHO_T}$ac_header_preproc" >&6
42233
42234 # So? What about this header?
42235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42236 yes:no: )
42237 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42238 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42240 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42241 ac_header_preproc=yes
42242 ;;
42243 no:yes:* )
42244 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42245 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42246 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42247 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42248 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42249 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42250 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42251 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42254 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42255 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42256 (
42257 cat <<\_ASBOX
42258 ## ----------------------------------------- ##
42259 ## Report this to the package-unused lists. ##
42260 ## ----------------------------------------- ##
42261 _ASBOX
42262 ) |
42263 sed "s/^/$as_me: WARNING: /" >&2
42264 ;;
42265 esac
42266 echo "$as_me:$LINENO: checking for $ac_header" >&5
42267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42269 echo $ECHO_N "(cached) $ECHO_C" >&6
42270 else
42271 eval "$as_ac_Header=\$ac_header_preproc"
42272 fi
42273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42275
42276 fi
42277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42278 cat >>confdefs.h <<_ACEOF
42279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42280 _ACEOF
42281
42282 fi
42283
42284 done
42285
42286
42287 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
42288
42289 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42290 ac_save_CXXFLAGS="$CXXFLAGS"
42291 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42292
42293 echo "$as_me:$LINENO: checking for sin in -lm" >&5
42294 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
42295 if test "${ac_cv_lib_m_sin+set}" = set; then
42296 echo $ECHO_N "(cached) $ECHO_C" >&6
42297 else
42298 ac_check_lib_save_LIBS=$LIBS
42299 LIBS="-lm $LIBS"
42300 if test x$gcc_no_link = xyes; then
42301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42303 { (exit 1); exit 1; }; }
42304 fi
42305 cat >conftest.$ac_ext <<_ACEOF
42306 /* confdefs.h. */
42307 _ACEOF
42308 cat confdefs.h >>conftest.$ac_ext
42309 cat >>conftest.$ac_ext <<_ACEOF
42310 /* end confdefs.h. */
42311
42312 /* Override any gcc2 internal prototype to avoid an error. */
42313 #ifdef __cplusplus
42314 extern "C"
42315 #endif
42316 /* We use char because int might match the return type of a gcc2
42317 builtin and then its argument prototype would still apply. */
42318 char sin ();
42319 int
42320 main ()
42321 {
42322 sin ();
42323 ;
42324 return 0;
42325 }
42326 _ACEOF
42327 rm -f conftest.$ac_objext conftest$ac_exeext
42328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42329 (eval $ac_link) 2>conftest.er1
42330 ac_status=$?
42331 grep -v '^ *+' conftest.er1 >conftest.err
42332 rm -f conftest.er1
42333 cat conftest.err >&5
42334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42335 (exit $ac_status); } &&
42336 { ac_try='test -z "$ac_c_werror_flag"
42337 || test ! -s conftest.err'
42338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42339 (eval $ac_try) 2>&5
42340 ac_status=$?
42341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42342 (exit $ac_status); }; } &&
42343 { ac_try='test -s conftest$ac_exeext'
42344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42345 (eval $ac_try) 2>&5
42346 ac_status=$?
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); }; }; then
42349 ac_cv_lib_m_sin=yes
42350 else
42351 echo "$as_me: failed program was:" >&5
42352 sed 's/^/| /' conftest.$ac_ext >&5
42353
42354 ac_cv_lib_m_sin=no
42355 fi
42356 rm -f conftest.err conftest.$ac_objext \
42357 conftest$ac_exeext conftest.$ac_ext
42358 LIBS=$ac_check_lib_save_LIBS
42359 fi
42360 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
42361 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
42362 if test $ac_cv_lib_m_sin = yes; then
42363 libm="-lm"
42364 fi
42365
42366 ac_save_LIBS="$LIBS"
42367 LIBS="$LIBS $libm"
42368
42369
42370
42371 echo "$as_me:$LINENO: checking for isinf declaration" >&5
42372 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
42373 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42374 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
42375 echo $ECHO_N "(cached) $ECHO_C" >&6
42376 else
42377
42378
42379
42380 ac_ext=cc
42381 ac_cpp='$CXXCPP $CPPFLAGS'
42382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42385
42386 cat >conftest.$ac_ext <<_ACEOF
42387 /* confdefs.h. */
42388 _ACEOF
42389 cat confdefs.h >>conftest.$ac_ext
42390 cat >>conftest.$ac_ext <<_ACEOF
42391 /* end confdefs.h. */
42392 #include <math.h>
42393 #ifdef HAVE_IEEEFP_H
42394 #include <ieeefp.h>
42395 #endif
42396
42397 int
42398 main ()
42399 {
42400 isinf(0);
42401 ;
42402 return 0;
42403 }
42404 _ACEOF
42405 rm -f conftest.$ac_objext
42406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42407 (eval $ac_compile) 2>conftest.er1
42408 ac_status=$?
42409 grep -v '^ *+' conftest.er1 >conftest.err
42410 rm -f conftest.er1
42411 cat conftest.err >&5
42412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42413 (exit $ac_status); } &&
42414 { ac_try='test -z "$ac_cxx_werror_flag"
42415 || test ! -s conftest.err'
42416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42417 (eval $ac_try) 2>&5
42418 ac_status=$?
42419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42420 (exit $ac_status); }; } &&
42421 { ac_try='test -s conftest.$ac_objext'
42422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42423 (eval $ac_try) 2>&5
42424 ac_status=$?
42425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42426 (exit $ac_status); }; }; then
42427 glibcxx_cv_func_isinf_use=yes
42428 else
42429 echo "$as_me: failed program was:" >&5
42430 sed 's/^/| /' conftest.$ac_ext >&5
42431
42432 glibcxx_cv_func_isinf_use=no
42433 fi
42434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42435 ac_ext=c
42436 ac_cpp='$CPP $CPPFLAGS'
42437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42440
42441
42442 fi
42443
42444 fi
42445 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
42446 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
42447
42448 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42449
42450 for ac_func in isinf
42451 do
42452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42453 echo "$as_me:$LINENO: checking for $ac_func" >&5
42454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42455 if eval "test \"\${$as_ac_var+set}\" = set"; then
42456 echo $ECHO_N "(cached) $ECHO_C" >&6
42457 else
42458 if test x$gcc_no_link = xyes; then
42459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42461 { (exit 1); exit 1; }; }
42462 fi
42463 cat >conftest.$ac_ext <<_ACEOF
42464 /* confdefs.h. */
42465 _ACEOF
42466 cat confdefs.h >>conftest.$ac_ext
42467 cat >>conftest.$ac_ext <<_ACEOF
42468 /* end confdefs.h. */
42469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42471 #define $ac_func innocuous_$ac_func
42472
42473 /* System header to define __stub macros and hopefully few prototypes,
42474 which can conflict with char $ac_func (); below.
42475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42476 <limits.h> exists even on freestanding compilers. */
42477
42478 #ifdef __STDC__
42479 # include <limits.h>
42480 #else
42481 # include <assert.h>
42482 #endif
42483
42484 #undef $ac_func
42485
42486 /* Override any gcc2 internal prototype to avoid an error. */
42487 #ifdef __cplusplus
42488 extern "C"
42489 {
42490 #endif
42491 /* We use char because int might match the return type of a gcc2
42492 builtin and then its argument prototype would still apply. */
42493 char $ac_func ();
42494 /* The GNU C library defines this for functions which it implements
42495 to always fail with ENOSYS. Some functions are actually named
42496 something starting with __ and the normal name is an alias. */
42497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42498 choke me
42499 #else
42500 char (*f) () = $ac_func;
42501 #endif
42502 #ifdef __cplusplus
42503 }
42504 #endif
42505
42506 int
42507 main ()
42508 {
42509 return f != $ac_func;
42510 ;
42511 return 0;
42512 }
42513 _ACEOF
42514 rm -f conftest.$ac_objext conftest$ac_exeext
42515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42516 (eval $ac_link) 2>conftest.er1
42517 ac_status=$?
42518 grep -v '^ *+' conftest.er1 >conftest.err
42519 rm -f conftest.er1
42520 cat conftest.err >&5
42521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42522 (exit $ac_status); } &&
42523 { ac_try='test -z "$ac_c_werror_flag"
42524 || test ! -s conftest.err'
42525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42526 (eval $ac_try) 2>&5
42527 ac_status=$?
42528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42529 (exit $ac_status); }; } &&
42530 { ac_try='test -s conftest$ac_exeext'
42531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42532 (eval $ac_try) 2>&5
42533 ac_status=$?
42534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42535 (exit $ac_status); }; }; then
42536 eval "$as_ac_var=yes"
42537 else
42538 echo "$as_me: failed program was:" >&5
42539 sed 's/^/| /' conftest.$ac_ext >&5
42540
42541 eval "$as_ac_var=no"
42542 fi
42543 rm -f conftest.err conftest.$ac_objext \
42544 conftest$ac_exeext conftest.$ac_ext
42545 fi
42546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42548 if test `eval echo '${'$as_ac_var'}'` = yes; then
42549 cat >>confdefs.h <<_ACEOF
42550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42551 _ACEOF
42552
42553 fi
42554 done
42555
42556 else
42557
42558 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
42559 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
42560 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42561 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
42562 echo $ECHO_N "(cached) $ECHO_C" >&6
42563 else
42564
42565
42566
42567 ac_ext=cc
42568 ac_cpp='$CXXCPP $CPPFLAGS'
42569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42572
42573 cat >conftest.$ac_ext <<_ACEOF
42574 /* confdefs.h. */
42575 _ACEOF
42576 cat confdefs.h >>conftest.$ac_ext
42577 cat >>conftest.$ac_ext <<_ACEOF
42578 /* end confdefs.h. */
42579 #include <math.h>
42580 #ifdef HAVE_IEEEFP_H
42581 #include <ieeefp.h>
42582 #endif
42583
42584 int
42585 main ()
42586 {
42587 _isinf(0);
42588 ;
42589 return 0;
42590 }
42591 _ACEOF
42592 rm -f conftest.$ac_objext
42593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42594 (eval $ac_compile) 2>conftest.er1
42595 ac_status=$?
42596 grep -v '^ *+' conftest.er1 >conftest.err
42597 rm -f conftest.er1
42598 cat conftest.err >&5
42599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42600 (exit $ac_status); } &&
42601 { ac_try='test -z "$ac_cxx_werror_flag"
42602 || test ! -s conftest.err'
42603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42604 (eval $ac_try) 2>&5
42605 ac_status=$?
42606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42607 (exit $ac_status); }; } &&
42608 { ac_try='test -s conftest.$ac_objext'
42609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42610 (eval $ac_try) 2>&5
42611 ac_status=$?
42612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42613 (exit $ac_status); }; }; then
42614 glibcxx_cv_func__isinf_use=yes
42615 else
42616 echo "$as_me: failed program was:" >&5
42617 sed 's/^/| /' conftest.$ac_ext >&5
42618
42619 glibcxx_cv_func__isinf_use=no
42620 fi
42621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42622 ac_ext=c
42623 ac_cpp='$CPP $CPPFLAGS'
42624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42627
42628
42629 fi
42630
42631 fi
42632 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
42633 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
42634
42635 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42636
42637 for ac_func in _isinf
42638 do
42639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42640 echo "$as_me:$LINENO: checking for $ac_func" >&5
42641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42642 if eval "test \"\${$as_ac_var+set}\" = set"; then
42643 echo $ECHO_N "(cached) $ECHO_C" >&6
42644 else
42645 if test x$gcc_no_link = xyes; then
42646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42648 { (exit 1); exit 1; }; }
42649 fi
42650 cat >conftest.$ac_ext <<_ACEOF
42651 /* confdefs.h. */
42652 _ACEOF
42653 cat confdefs.h >>conftest.$ac_ext
42654 cat >>conftest.$ac_ext <<_ACEOF
42655 /* end confdefs.h. */
42656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42658 #define $ac_func innocuous_$ac_func
42659
42660 /* System header to define __stub macros and hopefully few prototypes,
42661 which can conflict with char $ac_func (); below.
42662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42663 <limits.h> exists even on freestanding compilers. */
42664
42665 #ifdef __STDC__
42666 # include <limits.h>
42667 #else
42668 # include <assert.h>
42669 #endif
42670
42671 #undef $ac_func
42672
42673 /* Override any gcc2 internal prototype to avoid an error. */
42674 #ifdef __cplusplus
42675 extern "C"
42676 {
42677 #endif
42678 /* We use char because int might match the return type of a gcc2
42679 builtin and then its argument prototype would still apply. */
42680 char $ac_func ();
42681 /* The GNU C library defines this for functions which it implements
42682 to always fail with ENOSYS. Some functions are actually named
42683 something starting with __ and the normal name is an alias. */
42684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42685 choke me
42686 #else
42687 char (*f) () = $ac_func;
42688 #endif
42689 #ifdef __cplusplus
42690 }
42691 #endif
42692
42693 int
42694 main ()
42695 {
42696 return f != $ac_func;
42697 ;
42698 return 0;
42699 }
42700 _ACEOF
42701 rm -f conftest.$ac_objext conftest$ac_exeext
42702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42703 (eval $ac_link) 2>conftest.er1
42704 ac_status=$?
42705 grep -v '^ *+' conftest.er1 >conftest.err
42706 rm -f conftest.er1
42707 cat conftest.err >&5
42708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42709 (exit $ac_status); } &&
42710 { ac_try='test -z "$ac_c_werror_flag"
42711 || test ! -s conftest.err'
42712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42713 (eval $ac_try) 2>&5
42714 ac_status=$?
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); }; } &&
42717 { ac_try='test -s conftest$ac_exeext'
42718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42719 (eval $ac_try) 2>&5
42720 ac_status=$?
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); }; }; then
42723 eval "$as_ac_var=yes"
42724 else
42725 echo "$as_me: failed program was:" >&5
42726 sed 's/^/| /' conftest.$ac_ext >&5
42727
42728 eval "$as_ac_var=no"
42729 fi
42730 rm -f conftest.err conftest.$ac_objext \
42731 conftest$ac_exeext conftest.$ac_ext
42732 fi
42733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42735 if test `eval echo '${'$as_ac_var'}'` = yes; then
42736 cat >>confdefs.h <<_ACEOF
42737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42738 _ACEOF
42739
42740 fi
42741 done
42742
42743 fi
42744 fi
42745
42746
42747
42748
42749
42750
42751 echo "$as_me:$LINENO: checking for isnan declaration" >&5
42752 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
42753 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42754 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
42755 echo $ECHO_N "(cached) $ECHO_C" >&6
42756 else
42757
42758
42759
42760 ac_ext=cc
42761 ac_cpp='$CXXCPP $CPPFLAGS'
42762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42765
42766 cat >conftest.$ac_ext <<_ACEOF
42767 /* confdefs.h. */
42768 _ACEOF
42769 cat confdefs.h >>conftest.$ac_ext
42770 cat >>conftest.$ac_ext <<_ACEOF
42771 /* end confdefs.h. */
42772 #include <math.h>
42773 #ifdef HAVE_IEEEFP_H
42774 #include <ieeefp.h>
42775 #endif
42776
42777 int
42778 main ()
42779 {
42780 isnan(0);
42781 ;
42782 return 0;
42783 }
42784 _ACEOF
42785 rm -f conftest.$ac_objext
42786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42787 (eval $ac_compile) 2>conftest.er1
42788 ac_status=$?
42789 grep -v '^ *+' conftest.er1 >conftest.err
42790 rm -f conftest.er1
42791 cat conftest.err >&5
42792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42793 (exit $ac_status); } &&
42794 { ac_try='test -z "$ac_cxx_werror_flag"
42795 || test ! -s conftest.err'
42796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42797 (eval $ac_try) 2>&5
42798 ac_status=$?
42799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42800 (exit $ac_status); }; } &&
42801 { ac_try='test -s conftest.$ac_objext'
42802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42803 (eval $ac_try) 2>&5
42804 ac_status=$?
42805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42806 (exit $ac_status); }; }; then
42807 glibcxx_cv_func_isnan_use=yes
42808 else
42809 echo "$as_me: failed program was:" >&5
42810 sed 's/^/| /' conftest.$ac_ext >&5
42811
42812 glibcxx_cv_func_isnan_use=no
42813 fi
42814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42815 ac_ext=c
42816 ac_cpp='$CPP $CPPFLAGS'
42817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42820
42821
42822 fi
42823
42824 fi
42825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
42826 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
42827
42828 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42829
42830 for ac_func in isnan
42831 do
42832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42833 echo "$as_me:$LINENO: checking for $ac_func" >&5
42834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42835 if eval "test \"\${$as_ac_var+set}\" = set"; then
42836 echo $ECHO_N "(cached) $ECHO_C" >&6
42837 else
42838 if test x$gcc_no_link = xyes; then
42839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42841 { (exit 1); exit 1; }; }
42842 fi
42843 cat >conftest.$ac_ext <<_ACEOF
42844 /* confdefs.h. */
42845 _ACEOF
42846 cat confdefs.h >>conftest.$ac_ext
42847 cat >>conftest.$ac_ext <<_ACEOF
42848 /* end confdefs.h. */
42849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42851 #define $ac_func innocuous_$ac_func
42852
42853 /* System header to define __stub macros and hopefully few prototypes,
42854 which can conflict with char $ac_func (); below.
42855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42856 <limits.h> exists even on freestanding compilers. */
42857
42858 #ifdef __STDC__
42859 # include <limits.h>
42860 #else
42861 # include <assert.h>
42862 #endif
42863
42864 #undef $ac_func
42865
42866 /* Override any gcc2 internal prototype to avoid an error. */
42867 #ifdef __cplusplus
42868 extern "C"
42869 {
42870 #endif
42871 /* We use char because int might match the return type of a gcc2
42872 builtin and then its argument prototype would still apply. */
42873 char $ac_func ();
42874 /* The GNU C library defines this for functions which it implements
42875 to always fail with ENOSYS. Some functions are actually named
42876 something starting with __ and the normal name is an alias. */
42877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42878 choke me
42879 #else
42880 char (*f) () = $ac_func;
42881 #endif
42882 #ifdef __cplusplus
42883 }
42884 #endif
42885
42886 int
42887 main ()
42888 {
42889 return f != $ac_func;
42890 ;
42891 return 0;
42892 }
42893 _ACEOF
42894 rm -f conftest.$ac_objext conftest$ac_exeext
42895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42896 (eval $ac_link) 2>conftest.er1
42897 ac_status=$?
42898 grep -v '^ *+' conftest.er1 >conftest.err
42899 rm -f conftest.er1
42900 cat conftest.err >&5
42901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42902 (exit $ac_status); } &&
42903 { ac_try='test -z "$ac_c_werror_flag"
42904 || test ! -s conftest.err'
42905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42906 (eval $ac_try) 2>&5
42907 ac_status=$?
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); }; } &&
42910 { ac_try='test -s conftest$ac_exeext'
42911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42912 (eval $ac_try) 2>&5
42913 ac_status=$?
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); }; }; then
42916 eval "$as_ac_var=yes"
42917 else
42918 echo "$as_me: failed program was:" >&5
42919 sed 's/^/| /' conftest.$ac_ext >&5
42920
42921 eval "$as_ac_var=no"
42922 fi
42923 rm -f conftest.err conftest.$ac_objext \
42924 conftest$ac_exeext conftest.$ac_ext
42925 fi
42926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42928 if test `eval echo '${'$as_ac_var'}'` = yes; then
42929 cat >>confdefs.h <<_ACEOF
42930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42931 _ACEOF
42932
42933 fi
42934 done
42935
42936 else
42937
42938 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
42939 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
42940 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42941 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
42942 echo $ECHO_N "(cached) $ECHO_C" >&6
42943 else
42944
42945
42946
42947 ac_ext=cc
42948 ac_cpp='$CXXCPP $CPPFLAGS'
42949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42952
42953 cat >conftest.$ac_ext <<_ACEOF
42954 /* confdefs.h. */
42955 _ACEOF
42956 cat confdefs.h >>conftest.$ac_ext
42957 cat >>conftest.$ac_ext <<_ACEOF
42958 /* end confdefs.h. */
42959 #include <math.h>
42960 #ifdef HAVE_IEEEFP_H
42961 #include <ieeefp.h>
42962 #endif
42963
42964 int
42965 main ()
42966 {
42967 _isnan(0);
42968 ;
42969 return 0;
42970 }
42971 _ACEOF
42972 rm -f conftest.$ac_objext
42973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42974 (eval $ac_compile) 2>conftest.er1
42975 ac_status=$?
42976 grep -v '^ *+' conftest.er1 >conftest.err
42977 rm -f conftest.er1
42978 cat conftest.err >&5
42979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42980 (exit $ac_status); } &&
42981 { ac_try='test -z "$ac_cxx_werror_flag"
42982 || test ! -s conftest.err'
42983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42984 (eval $ac_try) 2>&5
42985 ac_status=$?
42986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42987 (exit $ac_status); }; } &&
42988 { ac_try='test -s conftest.$ac_objext'
42989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42990 (eval $ac_try) 2>&5
42991 ac_status=$?
42992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42993 (exit $ac_status); }; }; then
42994 glibcxx_cv_func__isnan_use=yes
42995 else
42996 echo "$as_me: failed program was:" >&5
42997 sed 's/^/| /' conftest.$ac_ext >&5
42998
42999 glibcxx_cv_func__isnan_use=no
43000 fi
43001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43002 ac_ext=c
43003 ac_cpp='$CPP $CPPFLAGS'
43004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43007
43008
43009 fi
43010
43011 fi
43012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43013 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43014
43015 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43016
43017 for ac_func in _isnan
43018 do
43019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43020 echo "$as_me:$LINENO: checking for $ac_func" >&5
43021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43022 if eval "test \"\${$as_ac_var+set}\" = set"; then
43023 echo $ECHO_N "(cached) $ECHO_C" >&6
43024 else
43025 if test x$gcc_no_link = xyes; then
43026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43028 { (exit 1); exit 1; }; }
43029 fi
43030 cat >conftest.$ac_ext <<_ACEOF
43031 /* confdefs.h. */
43032 _ACEOF
43033 cat confdefs.h >>conftest.$ac_ext
43034 cat >>conftest.$ac_ext <<_ACEOF
43035 /* end confdefs.h. */
43036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43038 #define $ac_func innocuous_$ac_func
43039
43040 /* System header to define __stub macros and hopefully few prototypes,
43041 which can conflict with char $ac_func (); below.
43042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43043 <limits.h> exists even on freestanding compilers. */
43044
43045 #ifdef __STDC__
43046 # include <limits.h>
43047 #else
43048 # include <assert.h>
43049 #endif
43050
43051 #undef $ac_func
43052
43053 /* Override any gcc2 internal prototype to avoid an error. */
43054 #ifdef __cplusplus
43055 extern "C"
43056 {
43057 #endif
43058 /* We use char because int might match the return type of a gcc2
43059 builtin and then its argument prototype would still apply. */
43060 char $ac_func ();
43061 /* The GNU C library defines this for functions which it implements
43062 to always fail with ENOSYS. Some functions are actually named
43063 something starting with __ and the normal name is an alias. */
43064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43065 choke me
43066 #else
43067 char (*f) () = $ac_func;
43068 #endif
43069 #ifdef __cplusplus
43070 }
43071 #endif
43072
43073 int
43074 main ()
43075 {
43076 return f != $ac_func;
43077 ;
43078 return 0;
43079 }
43080 _ACEOF
43081 rm -f conftest.$ac_objext conftest$ac_exeext
43082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43083 (eval $ac_link) 2>conftest.er1
43084 ac_status=$?
43085 grep -v '^ *+' conftest.er1 >conftest.err
43086 rm -f conftest.er1
43087 cat conftest.err >&5
43088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43089 (exit $ac_status); } &&
43090 { ac_try='test -z "$ac_c_werror_flag"
43091 || test ! -s conftest.err'
43092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43093 (eval $ac_try) 2>&5
43094 ac_status=$?
43095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43096 (exit $ac_status); }; } &&
43097 { ac_try='test -s conftest$ac_exeext'
43098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43099 (eval $ac_try) 2>&5
43100 ac_status=$?
43101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43102 (exit $ac_status); }; }; then
43103 eval "$as_ac_var=yes"
43104 else
43105 echo "$as_me: failed program was:" >&5
43106 sed 's/^/| /' conftest.$ac_ext >&5
43107
43108 eval "$as_ac_var=no"
43109 fi
43110 rm -f conftest.err conftest.$ac_objext \
43111 conftest$ac_exeext conftest.$ac_ext
43112 fi
43113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43115 if test `eval echo '${'$as_ac_var'}'` = yes; then
43116 cat >>confdefs.h <<_ACEOF
43117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43118 _ACEOF
43119
43120 fi
43121 done
43122
43123 fi
43124 fi
43125
43126
43127
43128
43129
43130
43131 echo "$as_me:$LINENO: checking for finite declaration" >&5
43132 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
43133 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43134 if test "${glibcxx_cv_func_finite_use+set}" = set; then
43135 echo $ECHO_N "(cached) $ECHO_C" >&6
43136 else
43137
43138
43139
43140 ac_ext=cc
43141 ac_cpp='$CXXCPP $CPPFLAGS'
43142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43145
43146 cat >conftest.$ac_ext <<_ACEOF
43147 /* confdefs.h. */
43148 _ACEOF
43149 cat confdefs.h >>conftest.$ac_ext
43150 cat >>conftest.$ac_ext <<_ACEOF
43151 /* end confdefs.h. */
43152 #include <math.h>
43153 #ifdef HAVE_IEEEFP_H
43154 #include <ieeefp.h>
43155 #endif
43156
43157 int
43158 main ()
43159 {
43160 finite(0);
43161 ;
43162 return 0;
43163 }
43164 _ACEOF
43165 rm -f conftest.$ac_objext
43166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43167 (eval $ac_compile) 2>conftest.er1
43168 ac_status=$?
43169 grep -v '^ *+' conftest.er1 >conftest.err
43170 rm -f conftest.er1
43171 cat conftest.err >&5
43172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43173 (exit $ac_status); } &&
43174 { ac_try='test -z "$ac_cxx_werror_flag"
43175 || test ! -s conftest.err'
43176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43177 (eval $ac_try) 2>&5
43178 ac_status=$?
43179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43180 (exit $ac_status); }; } &&
43181 { ac_try='test -s conftest.$ac_objext'
43182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43183 (eval $ac_try) 2>&5
43184 ac_status=$?
43185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43186 (exit $ac_status); }; }; then
43187 glibcxx_cv_func_finite_use=yes
43188 else
43189 echo "$as_me: failed program was:" >&5
43190 sed 's/^/| /' conftest.$ac_ext >&5
43191
43192 glibcxx_cv_func_finite_use=no
43193 fi
43194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43195 ac_ext=c
43196 ac_cpp='$CPP $CPPFLAGS'
43197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43200
43201
43202 fi
43203
43204 fi
43205 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
43206 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
43207
43208 if test x$glibcxx_cv_func_finite_use = x"yes"; then
43209
43210 for ac_func in finite
43211 do
43212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43213 echo "$as_me:$LINENO: checking for $ac_func" >&5
43214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43215 if eval "test \"\${$as_ac_var+set}\" = set"; then
43216 echo $ECHO_N "(cached) $ECHO_C" >&6
43217 else
43218 if test x$gcc_no_link = xyes; then
43219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43221 { (exit 1); exit 1; }; }
43222 fi
43223 cat >conftest.$ac_ext <<_ACEOF
43224 /* confdefs.h. */
43225 _ACEOF
43226 cat confdefs.h >>conftest.$ac_ext
43227 cat >>conftest.$ac_ext <<_ACEOF
43228 /* end confdefs.h. */
43229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43231 #define $ac_func innocuous_$ac_func
43232
43233 /* System header to define __stub macros and hopefully few prototypes,
43234 which can conflict with char $ac_func (); below.
43235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43236 <limits.h> exists even on freestanding compilers. */
43237
43238 #ifdef __STDC__
43239 # include <limits.h>
43240 #else
43241 # include <assert.h>
43242 #endif
43243
43244 #undef $ac_func
43245
43246 /* Override any gcc2 internal prototype to avoid an error. */
43247 #ifdef __cplusplus
43248 extern "C"
43249 {
43250 #endif
43251 /* We use char because int might match the return type of a gcc2
43252 builtin and then its argument prototype would still apply. */
43253 char $ac_func ();
43254 /* The GNU C library defines this for functions which it implements
43255 to always fail with ENOSYS. Some functions are actually named
43256 something starting with __ and the normal name is an alias. */
43257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43258 choke me
43259 #else
43260 char (*f) () = $ac_func;
43261 #endif
43262 #ifdef __cplusplus
43263 }
43264 #endif
43265
43266 int
43267 main ()
43268 {
43269 return f != $ac_func;
43270 ;
43271 return 0;
43272 }
43273 _ACEOF
43274 rm -f conftest.$ac_objext conftest$ac_exeext
43275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43276 (eval $ac_link) 2>conftest.er1
43277 ac_status=$?
43278 grep -v '^ *+' conftest.er1 >conftest.err
43279 rm -f conftest.er1
43280 cat conftest.err >&5
43281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43282 (exit $ac_status); } &&
43283 { ac_try='test -z "$ac_c_werror_flag"
43284 || test ! -s conftest.err'
43285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43286 (eval $ac_try) 2>&5
43287 ac_status=$?
43288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43289 (exit $ac_status); }; } &&
43290 { ac_try='test -s conftest$ac_exeext'
43291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43292 (eval $ac_try) 2>&5
43293 ac_status=$?
43294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295 (exit $ac_status); }; }; then
43296 eval "$as_ac_var=yes"
43297 else
43298 echo "$as_me: failed program was:" >&5
43299 sed 's/^/| /' conftest.$ac_ext >&5
43300
43301 eval "$as_ac_var=no"
43302 fi
43303 rm -f conftest.err conftest.$ac_objext \
43304 conftest$ac_exeext conftest.$ac_ext
43305 fi
43306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43308 if test `eval echo '${'$as_ac_var'}'` = yes; then
43309 cat >>confdefs.h <<_ACEOF
43310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43311 _ACEOF
43312
43313 fi
43314 done
43315
43316 else
43317
43318 echo "$as_me:$LINENO: checking for _finite declaration" >&5
43319 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
43320 if test x${glibcxx_cv_func__finite_use+set} != xset; then
43321 if test "${glibcxx_cv_func__finite_use+set}" = set; then
43322 echo $ECHO_N "(cached) $ECHO_C" >&6
43323 else
43324
43325
43326
43327 ac_ext=cc
43328 ac_cpp='$CXXCPP $CPPFLAGS'
43329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43332
43333 cat >conftest.$ac_ext <<_ACEOF
43334 /* confdefs.h. */
43335 _ACEOF
43336 cat confdefs.h >>conftest.$ac_ext
43337 cat >>conftest.$ac_ext <<_ACEOF
43338 /* end confdefs.h. */
43339 #include <math.h>
43340 #ifdef HAVE_IEEEFP_H
43341 #include <ieeefp.h>
43342 #endif
43343
43344 int
43345 main ()
43346 {
43347 _finite(0);
43348 ;
43349 return 0;
43350 }
43351 _ACEOF
43352 rm -f conftest.$ac_objext
43353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43354 (eval $ac_compile) 2>conftest.er1
43355 ac_status=$?
43356 grep -v '^ *+' conftest.er1 >conftest.err
43357 rm -f conftest.er1
43358 cat conftest.err >&5
43359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43360 (exit $ac_status); } &&
43361 { ac_try='test -z "$ac_cxx_werror_flag"
43362 || test ! -s conftest.err'
43363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43364 (eval $ac_try) 2>&5
43365 ac_status=$?
43366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43367 (exit $ac_status); }; } &&
43368 { ac_try='test -s conftest.$ac_objext'
43369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43370 (eval $ac_try) 2>&5
43371 ac_status=$?
43372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43373 (exit $ac_status); }; }; then
43374 glibcxx_cv_func__finite_use=yes
43375 else
43376 echo "$as_me: failed program was:" >&5
43377 sed 's/^/| /' conftest.$ac_ext >&5
43378
43379 glibcxx_cv_func__finite_use=no
43380 fi
43381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43382 ac_ext=c
43383 ac_cpp='$CPP $CPPFLAGS'
43384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43387
43388
43389 fi
43390
43391 fi
43392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
43393 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
43394
43395 if test x$glibcxx_cv_func__finite_use = x"yes"; then
43396
43397 for ac_func in _finite
43398 do
43399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43400 echo "$as_me:$LINENO: checking for $ac_func" >&5
43401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43402 if eval "test \"\${$as_ac_var+set}\" = set"; then
43403 echo $ECHO_N "(cached) $ECHO_C" >&6
43404 else
43405 if test x$gcc_no_link = xyes; then
43406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43408 { (exit 1); exit 1; }; }
43409 fi
43410 cat >conftest.$ac_ext <<_ACEOF
43411 /* confdefs.h. */
43412 _ACEOF
43413 cat confdefs.h >>conftest.$ac_ext
43414 cat >>conftest.$ac_ext <<_ACEOF
43415 /* end confdefs.h. */
43416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43418 #define $ac_func innocuous_$ac_func
43419
43420 /* System header to define __stub macros and hopefully few prototypes,
43421 which can conflict with char $ac_func (); below.
43422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43423 <limits.h> exists even on freestanding compilers. */
43424
43425 #ifdef __STDC__
43426 # include <limits.h>
43427 #else
43428 # include <assert.h>
43429 #endif
43430
43431 #undef $ac_func
43432
43433 /* Override any gcc2 internal prototype to avoid an error. */
43434 #ifdef __cplusplus
43435 extern "C"
43436 {
43437 #endif
43438 /* We use char because int might match the return type of a gcc2
43439 builtin and then its argument prototype would still apply. */
43440 char $ac_func ();
43441 /* The GNU C library defines this for functions which it implements
43442 to always fail with ENOSYS. Some functions are actually named
43443 something starting with __ and the normal name is an alias. */
43444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43445 choke me
43446 #else
43447 char (*f) () = $ac_func;
43448 #endif
43449 #ifdef __cplusplus
43450 }
43451 #endif
43452
43453 int
43454 main ()
43455 {
43456 return f != $ac_func;
43457 ;
43458 return 0;
43459 }
43460 _ACEOF
43461 rm -f conftest.$ac_objext conftest$ac_exeext
43462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43463 (eval $ac_link) 2>conftest.er1
43464 ac_status=$?
43465 grep -v '^ *+' conftest.er1 >conftest.err
43466 rm -f conftest.er1
43467 cat conftest.err >&5
43468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43469 (exit $ac_status); } &&
43470 { ac_try='test -z "$ac_c_werror_flag"
43471 || test ! -s conftest.err'
43472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43473 (eval $ac_try) 2>&5
43474 ac_status=$?
43475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43476 (exit $ac_status); }; } &&
43477 { ac_try='test -s conftest$ac_exeext'
43478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43479 (eval $ac_try) 2>&5
43480 ac_status=$?
43481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43482 (exit $ac_status); }; }; then
43483 eval "$as_ac_var=yes"
43484 else
43485 echo "$as_me: failed program was:" >&5
43486 sed 's/^/| /' conftest.$ac_ext >&5
43487
43488 eval "$as_ac_var=no"
43489 fi
43490 rm -f conftest.err conftest.$ac_objext \
43491 conftest$ac_exeext conftest.$ac_ext
43492 fi
43493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43495 if test `eval echo '${'$as_ac_var'}'` = yes; then
43496 cat >>confdefs.h <<_ACEOF
43497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43498 _ACEOF
43499
43500 fi
43501 done
43502
43503 fi
43504 fi
43505
43506
43507
43508
43509
43510
43511 echo "$as_me:$LINENO: checking for copysign declaration" >&5
43512 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
43513 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
43514 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
43515 echo $ECHO_N "(cached) $ECHO_C" >&6
43516 else
43517
43518
43519
43520 ac_ext=cc
43521 ac_cpp='$CXXCPP $CPPFLAGS'
43522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43525
43526 cat >conftest.$ac_ext <<_ACEOF
43527 /* confdefs.h. */
43528 _ACEOF
43529 cat confdefs.h >>conftest.$ac_ext
43530 cat >>conftest.$ac_ext <<_ACEOF
43531 /* end confdefs.h. */
43532 #include <math.h>
43533 int
43534 main ()
43535 {
43536 copysign(0, 0);
43537 ;
43538 return 0;
43539 }
43540 _ACEOF
43541 rm -f conftest.$ac_objext
43542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43543 (eval $ac_compile) 2>conftest.er1
43544 ac_status=$?
43545 grep -v '^ *+' conftest.er1 >conftest.err
43546 rm -f conftest.er1
43547 cat conftest.err >&5
43548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43549 (exit $ac_status); } &&
43550 { ac_try='test -z "$ac_cxx_werror_flag"
43551 || test ! -s conftest.err'
43552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43553 (eval $ac_try) 2>&5
43554 ac_status=$?
43555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43556 (exit $ac_status); }; } &&
43557 { ac_try='test -s conftest.$ac_objext'
43558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43559 (eval $ac_try) 2>&5
43560 ac_status=$?
43561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43562 (exit $ac_status); }; }; then
43563 glibcxx_cv_func_copysign_use=yes
43564 else
43565 echo "$as_me: failed program was:" >&5
43566 sed 's/^/| /' conftest.$ac_ext >&5
43567
43568 glibcxx_cv_func_copysign_use=no
43569 fi
43570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43571 ac_ext=c
43572 ac_cpp='$CPP $CPPFLAGS'
43573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43576
43577
43578 fi
43579
43580 fi
43581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
43582 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
43583
43584 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
43585
43586 for ac_func in copysign
43587 do
43588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43589 echo "$as_me:$LINENO: checking for $ac_func" >&5
43590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43591 if eval "test \"\${$as_ac_var+set}\" = set"; then
43592 echo $ECHO_N "(cached) $ECHO_C" >&6
43593 else
43594 if test x$gcc_no_link = xyes; then
43595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43597 { (exit 1); exit 1; }; }
43598 fi
43599 cat >conftest.$ac_ext <<_ACEOF
43600 /* confdefs.h. */
43601 _ACEOF
43602 cat confdefs.h >>conftest.$ac_ext
43603 cat >>conftest.$ac_ext <<_ACEOF
43604 /* end confdefs.h. */
43605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43607 #define $ac_func innocuous_$ac_func
43608
43609 /* System header to define __stub macros and hopefully few prototypes,
43610 which can conflict with char $ac_func (); below.
43611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43612 <limits.h> exists even on freestanding compilers. */
43613
43614 #ifdef __STDC__
43615 # include <limits.h>
43616 #else
43617 # include <assert.h>
43618 #endif
43619
43620 #undef $ac_func
43621
43622 /* Override any gcc2 internal prototype to avoid an error. */
43623 #ifdef __cplusplus
43624 extern "C"
43625 {
43626 #endif
43627 /* We use char because int might match the return type of a gcc2
43628 builtin and then its argument prototype would still apply. */
43629 char $ac_func ();
43630 /* The GNU C library defines this for functions which it implements
43631 to always fail with ENOSYS. Some functions are actually named
43632 something starting with __ and the normal name is an alias. */
43633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43634 choke me
43635 #else
43636 char (*f) () = $ac_func;
43637 #endif
43638 #ifdef __cplusplus
43639 }
43640 #endif
43641
43642 int
43643 main ()
43644 {
43645 return f != $ac_func;
43646 ;
43647 return 0;
43648 }
43649 _ACEOF
43650 rm -f conftest.$ac_objext conftest$ac_exeext
43651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43652 (eval $ac_link) 2>conftest.er1
43653 ac_status=$?
43654 grep -v '^ *+' conftest.er1 >conftest.err
43655 rm -f conftest.er1
43656 cat conftest.err >&5
43657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43658 (exit $ac_status); } &&
43659 { ac_try='test -z "$ac_c_werror_flag"
43660 || test ! -s conftest.err'
43661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43662 (eval $ac_try) 2>&5
43663 ac_status=$?
43664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43665 (exit $ac_status); }; } &&
43666 { ac_try='test -s conftest$ac_exeext'
43667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43668 (eval $ac_try) 2>&5
43669 ac_status=$?
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); }; }; then
43672 eval "$as_ac_var=yes"
43673 else
43674 echo "$as_me: failed program was:" >&5
43675 sed 's/^/| /' conftest.$ac_ext >&5
43676
43677 eval "$as_ac_var=no"
43678 fi
43679 rm -f conftest.err conftest.$ac_objext \
43680 conftest$ac_exeext conftest.$ac_ext
43681 fi
43682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43684 if test `eval echo '${'$as_ac_var'}'` = yes; then
43685 cat >>confdefs.h <<_ACEOF
43686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43687 _ACEOF
43688
43689 fi
43690 done
43691
43692 else
43693
43694 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
43695 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
43696 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
43697 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
43698 echo $ECHO_N "(cached) $ECHO_C" >&6
43699 else
43700
43701
43702
43703 ac_ext=cc
43704 ac_cpp='$CXXCPP $CPPFLAGS'
43705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43708
43709 cat >conftest.$ac_ext <<_ACEOF
43710 /* confdefs.h. */
43711 _ACEOF
43712 cat confdefs.h >>conftest.$ac_ext
43713 cat >>conftest.$ac_ext <<_ACEOF
43714 /* end confdefs.h. */
43715 #include <math.h>
43716 int
43717 main ()
43718 {
43719 _copysign(0, 0);
43720 ;
43721 return 0;
43722 }
43723 _ACEOF
43724 rm -f conftest.$ac_objext
43725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43726 (eval $ac_compile) 2>conftest.er1
43727 ac_status=$?
43728 grep -v '^ *+' conftest.er1 >conftest.err
43729 rm -f conftest.er1
43730 cat conftest.err >&5
43731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43732 (exit $ac_status); } &&
43733 { ac_try='test -z "$ac_cxx_werror_flag"
43734 || test ! -s conftest.err'
43735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43736 (eval $ac_try) 2>&5
43737 ac_status=$?
43738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739 (exit $ac_status); }; } &&
43740 { ac_try='test -s conftest.$ac_objext'
43741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43742 (eval $ac_try) 2>&5
43743 ac_status=$?
43744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43745 (exit $ac_status); }; }; then
43746 glibcxx_cv_func__copysign_use=yes
43747 else
43748 echo "$as_me: failed program was:" >&5
43749 sed 's/^/| /' conftest.$ac_ext >&5
43750
43751 glibcxx_cv_func__copysign_use=no
43752 fi
43753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43754 ac_ext=c
43755 ac_cpp='$CPP $CPPFLAGS'
43756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43759
43760
43761 fi
43762
43763 fi
43764 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
43765 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
43766
43767 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
43768
43769 for ac_func in _copysign
43770 do
43771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43772 echo "$as_me:$LINENO: checking for $ac_func" >&5
43773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43774 if eval "test \"\${$as_ac_var+set}\" = set"; then
43775 echo $ECHO_N "(cached) $ECHO_C" >&6
43776 else
43777 if test x$gcc_no_link = xyes; then
43778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43780 { (exit 1); exit 1; }; }
43781 fi
43782 cat >conftest.$ac_ext <<_ACEOF
43783 /* confdefs.h. */
43784 _ACEOF
43785 cat confdefs.h >>conftest.$ac_ext
43786 cat >>conftest.$ac_ext <<_ACEOF
43787 /* end confdefs.h. */
43788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43790 #define $ac_func innocuous_$ac_func
43791
43792 /* System header to define __stub macros and hopefully few prototypes,
43793 which can conflict with char $ac_func (); below.
43794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43795 <limits.h> exists even on freestanding compilers. */
43796
43797 #ifdef __STDC__
43798 # include <limits.h>
43799 #else
43800 # include <assert.h>
43801 #endif
43802
43803 #undef $ac_func
43804
43805 /* Override any gcc2 internal prototype to avoid an error. */
43806 #ifdef __cplusplus
43807 extern "C"
43808 {
43809 #endif
43810 /* We use char because int might match the return type of a gcc2
43811 builtin and then its argument prototype would still apply. */
43812 char $ac_func ();
43813 /* The GNU C library defines this for functions which it implements
43814 to always fail with ENOSYS. Some functions are actually named
43815 something starting with __ and the normal name is an alias. */
43816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43817 choke me
43818 #else
43819 char (*f) () = $ac_func;
43820 #endif
43821 #ifdef __cplusplus
43822 }
43823 #endif
43824
43825 int
43826 main ()
43827 {
43828 return f != $ac_func;
43829 ;
43830 return 0;
43831 }
43832 _ACEOF
43833 rm -f conftest.$ac_objext conftest$ac_exeext
43834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43835 (eval $ac_link) 2>conftest.er1
43836 ac_status=$?
43837 grep -v '^ *+' conftest.er1 >conftest.err
43838 rm -f conftest.er1
43839 cat conftest.err >&5
43840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43841 (exit $ac_status); } &&
43842 { ac_try='test -z "$ac_c_werror_flag"
43843 || test ! -s conftest.err'
43844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43845 (eval $ac_try) 2>&5
43846 ac_status=$?
43847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43848 (exit $ac_status); }; } &&
43849 { ac_try='test -s conftest$ac_exeext'
43850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43851 (eval $ac_try) 2>&5
43852 ac_status=$?
43853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854 (exit $ac_status); }; }; then
43855 eval "$as_ac_var=yes"
43856 else
43857 echo "$as_me: failed program was:" >&5
43858 sed 's/^/| /' conftest.$ac_ext >&5
43859
43860 eval "$as_ac_var=no"
43861 fi
43862 rm -f conftest.err conftest.$ac_objext \
43863 conftest$ac_exeext conftest.$ac_ext
43864 fi
43865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43867 if test `eval echo '${'$as_ac_var'}'` = yes; then
43868 cat >>confdefs.h <<_ACEOF
43869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43870 _ACEOF
43871
43872 fi
43873 done
43874
43875 fi
43876 fi
43877
43878
43879
43880
43881
43882
43883 echo "$as_me:$LINENO: checking for sincos declaration" >&5
43884 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
43885 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43886 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
43887 echo $ECHO_N "(cached) $ECHO_C" >&6
43888 else
43889
43890
43891
43892 ac_ext=cc
43893 ac_cpp='$CXXCPP $CPPFLAGS'
43894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43897
43898 cat >conftest.$ac_ext <<_ACEOF
43899 /* confdefs.h. */
43900 _ACEOF
43901 cat confdefs.h >>conftest.$ac_ext
43902 cat >>conftest.$ac_ext <<_ACEOF
43903 /* end confdefs.h. */
43904 #include <math.h>
43905 int
43906 main ()
43907 {
43908 sincos(0, 0, 0);
43909 ;
43910 return 0;
43911 }
43912 _ACEOF
43913 rm -f conftest.$ac_objext
43914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43915 (eval $ac_compile) 2>conftest.er1
43916 ac_status=$?
43917 grep -v '^ *+' conftest.er1 >conftest.err
43918 rm -f conftest.er1
43919 cat conftest.err >&5
43920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43921 (exit $ac_status); } &&
43922 { ac_try='test -z "$ac_cxx_werror_flag"
43923 || test ! -s conftest.err'
43924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43925 (eval $ac_try) 2>&5
43926 ac_status=$?
43927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43928 (exit $ac_status); }; } &&
43929 { ac_try='test -s conftest.$ac_objext'
43930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43931 (eval $ac_try) 2>&5
43932 ac_status=$?
43933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934 (exit $ac_status); }; }; then
43935 glibcxx_cv_func_sincos_use=yes
43936 else
43937 echo "$as_me: failed program was:" >&5
43938 sed 's/^/| /' conftest.$ac_ext >&5
43939
43940 glibcxx_cv_func_sincos_use=no
43941 fi
43942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43943 ac_ext=c
43944 ac_cpp='$CPP $CPPFLAGS'
43945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43948
43949
43950 fi
43951
43952 fi
43953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
43954 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
43955
43956 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43957
43958 for ac_func in sincos
43959 do
43960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43961 echo "$as_me:$LINENO: checking for $ac_func" >&5
43962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43963 if eval "test \"\${$as_ac_var+set}\" = set"; then
43964 echo $ECHO_N "(cached) $ECHO_C" >&6
43965 else
43966 if test x$gcc_no_link = xyes; then
43967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43969 { (exit 1); exit 1; }; }
43970 fi
43971 cat >conftest.$ac_ext <<_ACEOF
43972 /* confdefs.h. */
43973 _ACEOF
43974 cat confdefs.h >>conftest.$ac_ext
43975 cat >>conftest.$ac_ext <<_ACEOF
43976 /* end confdefs.h. */
43977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43979 #define $ac_func innocuous_$ac_func
43980
43981 /* System header to define __stub macros and hopefully few prototypes,
43982 which can conflict with char $ac_func (); below.
43983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43984 <limits.h> exists even on freestanding compilers. */
43985
43986 #ifdef __STDC__
43987 # include <limits.h>
43988 #else
43989 # include <assert.h>
43990 #endif
43991
43992 #undef $ac_func
43993
43994 /* Override any gcc2 internal prototype to avoid an error. */
43995 #ifdef __cplusplus
43996 extern "C"
43997 {
43998 #endif
43999 /* We use char because int might match the return type of a gcc2
44000 builtin and then its argument prototype would still apply. */
44001 char $ac_func ();
44002 /* The GNU C library defines this for functions which it implements
44003 to always fail with ENOSYS. Some functions are actually named
44004 something starting with __ and the normal name is an alias. */
44005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44006 choke me
44007 #else
44008 char (*f) () = $ac_func;
44009 #endif
44010 #ifdef __cplusplus
44011 }
44012 #endif
44013
44014 int
44015 main ()
44016 {
44017 return f != $ac_func;
44018 ;
44019 return 0;
44020 }
44021 _ACEOF
44022 rm -f conftest.$ac_objext conftest$ac_exeext
44023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44024 (eval $ac_link) 2>conftest.er1
44025 ac_status=$?
44026 grep -v '^ *+' conftest.er1 >conftest.err
44027 rm -f conftest.er1
44028 cat conftest.err >&5
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); } &&
44031 { ac_try='test -z "$ac_c_werror_flag"
44032 || test ! -s conftest.err'
44033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44034 (eval $ac_try) 2>&5
44035 ac_status=$?
44036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44037 (exit $ac_status); }; } &&
44038 { ac_try='test -s conftest$ac_exeext'
44039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44040 (eval $ac_try) 2>&5
44041 ac_status=$?
44042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44043 (exit $ac_status); }; }; then
44044 eval "$as_ac_var=yes"
44045 else
44046 echo "$as_me: failed program was:" >&5
44047 sed 's/^/| /' conftest.$ac_ext >&5
44048
44049 eval "$as_ac_var=no"
44050 fi
44051 rm -f conftest.err conftest.$ac_objext \
44052 conftest$ac_exeext conftest.$ac_ext
44053 fi
44054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44056 if test `eval echo '${'$as_ac_var'}'` = yes; then
44057 cat >>confdefs.h <<_ACEOF
44058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44059 _ACEOF
44060
44061 fi
44062 done
44063
44064 else
44065
44066 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
44067 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
44068 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
44069 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
44070 echo $ECHO_N "(cached) $ECHO_C" >&6
44071 else
44072
44073
44074
44075 ac_ext=cc
44076 ac_cpp='$CXXCPP $CPPFLAGS'
44077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44080
44081 cat >conftest.$ac_ext <<_ACEOF
44082 /* confdefs.h. */
44083 _ACEOF
44084 cat confdefs.h >>conftest.$ac_ext
44085 cat >>conftest.$ac_ext <<_ACEOF
44086 /* end confdefs.h. */
44087 #include <math.h>
44088 int
44089 main ()
44090 {
44091 _sincos(0, 0, 0);
44092 ;
44093 return 0;
44094 }
44095 _ACEOF
44096 rm -f conftest.$ac_objext
44097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44098 (eval $ac_compile) 2>conftest.er1
44099 ac_status=$?
44100 grep -v '^ *+' conftest.er1 >conftest.err
44101 rm -f conftest.er1
44102 cat conftest.err >&5
44103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44104 (exit $ac_status); } &&
44105 { ac_try='test -z "$ac_cxx_werror_flag"
44106 || test ! -s conftest.err'
44107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44108 (eval $ac_try) 2>&5
44109 ac_status=$?
44110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44111 (exit $ac_status); }; } &&
44112 { ac_try='test -s conftest.$ac_objext'
44113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44114 (eval $ac_try) 2>&5
44115 ac_status=$?
44116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44117 (exit $ac_status); }; }; then
44118 glibcxx_cv_func__sincos_use=yes
44119 else
44120 echo "$as_me: failed program was:" >&5
44121 sed 's/^/| /' conftest.$ac_ext >&5
44122
44123 glibcxx_cv_func__sincos_use=no
44124 fi
44125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44126 ac_ext=c
44127 ac_cpp='$CPP $CPPFLAGS'
44128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44131
44132
44133 fi
44134
44135 fi
44136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
44137 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
44138
44139 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
44140
44141 for ac_func in _sincos
44142 do
44143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44144 echo "$as_me:$LINENO: checking for $ac_func" >&5
44145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44146 if eval "test \"\${$as_ac_var+set}\" = set"; then
44147 echo $ECHO_N "(cached) $ECHO_C" >&6
44148 else
44149 if test x$gcc_no_link = xyes; then
44150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44152 { (exit 1); exit 1; }; }
44153 fi
44154 cat >conftest.$ac_ext <<_ACEOF
44155 /* confdefs.h. */
44156 _ACEOF
44157 cat confdefs.h >>conftest.$ac_ext
44158 cat >>conftest.$ac_ext <<_ACEOF
44159 /* end confdefs.h. */
44160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44162 #define $ac_func innocuous_$ac_func
44163
44164 /* System header to define __stub macros and hopefully few prototypes,
44165 which can conflict with char $ac_func (); below.
44166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44167 <limits.h> exists even on freestanding compilers. */
44168
44169 #ifdef __STDC__
44170 # include <limits.h>
44171 #else
44172 # include <assert.h>
44173 #endif
44174
44175 #undef $ac_func
44176
44177 /* Override any gcc2 internal prototype to avoid an error. */
44178 #ifdef __cplusplus
44179 extern "C"
44180 {
44181 #endif
44182 /* We use char because int might match the return type of a gcc2
44183 builtin and then its argument prototype would still apply. */
44184 char $ac_func ();
44185 /* The GNU C library defines this for functions which it implements
44186 to always fail with ENOSYS. Some functions are actually named
44187 something starting with __ and the normal name is an alias. */
44188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44189 choke me
44190 #else
44191 char (*f) () = $ac_func;
44192 #endif
44193 #ifdef __cplusplus
44194 }
44195 #endif
44196
44197 int
44198 main ()
44199 {
44200 return f != $ac_func;
44201 ;
44202 return 0;
44203 }
44204 _ACEOF
44205 rm -f conftest.$ac_objext conftest$ac_exeext
44206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44207 (eval $ac_link) 2>conftest.er1
44208 ac_status=$?
44209 grep -v '^ *+' conftest.er1 >conftest.err
44210 rm -f conftest.er1
44211 cat conftest.err >&5
44212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44213 (exit $ac_status); } &&
44214 { ac_try='test -z "$ac_c_werror_flag"
44215 || test ! -s conftest.err'
44216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44217 (eval $ac_try) 2>&5
44218 ac_status=$?
44219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44220 (exit $ac_status); }; } &&
44221 { ac_try='test -s conftest$ac_exeext'
44222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44223 (eval $ac_try) 2>&5
44224 ac_status=$?
44225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44226 (exit $ac_status); }; }; then
44227 eval "$as_ac_var=yes"
44228 else
44229 echo "$as_me: failed program was:" >&5
44230 sed 's/^/| /' conftest.$ac_ext >&5
44231
44232 eval "$as_ac_var=no"
44233 fi
44234 rm -f conftest.err conftest.$ac_objext \
44235 conftest$ac_exeext conftest.$ac_ext
44236 fi
44237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44239 if test `eval echo '${'$as_ac_var'}'` = yes; then
44240 cat >>confdefs.h <<_ACEOF
44241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44242 _ACEOF
44243
44244 fi
44245 done
44246
44247 fi
44248 fi
44249
44250
44251
44252
44253
44254
44255 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
44256 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
44257 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
44258 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
44259 echo $ECHO_N "(cached) $ECHO_C" >&6
44260 else
44261
44262
44263
44264 ac_ext=cc
44265 ac_cpp='$CXXCPP $CPPFLAGS'
44266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44269
44270 cat >conftest.$ac_ext <<_ACEOF
44271 /* confdefs.h. */
44272 _ACEOF
44273 cat confdefs.h >>conftest.$ac_ext
44274 cat >>conftest.$ac_ext <<_ACEOF
44275 /* end confdefs.h. */
44276 #include <math.h>
44277 #ifdef HAVE_IEEEFP_H
44278 #include <ieeefp.h>
44279 #endif
44280
44281 int
44282 main ()
44283 {
44284 fpclass(0);
44285 ;
44286 return 0;
44287 }
44288 _ACEOF
44289 rm -f conftest.$ac_objext
44290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44291 (eval $ac_compile) 2>conftest.er1
44292 ac_status=$?
44293 grep -v '^ *+' conftest.er1 >conftest.err
44294 rm -f conftest.er1
44295 cat conftest.err >&5
44296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44297 (exit $ac_status); } &&
44298 { ac_try='test -z "$ac_cxx_werror_flag"
44299 || test ! -s conftest.err'
44300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44301 (eval $ac_try) 2>&5
44302 ac_status=$?
44303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44304 (exit $ac_status); }; } &&
44305 { ac_try='test -s conftest.$ac_objext'
44306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44307 (eval $ac_try) 2>&5
44308 ac_status=$?
44309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44310 (exit $ac_status); }; }; then
44311 glibcxx_cv_func_fpclass_use=yes
44312 else
44313 echo "$as_me: failed program was:" >&5
44314 sed 's/^/| /' conftest.$ac_ext >&5
44315
44316 glibcxx_cv_func_fpclass_use=no
44317 fi
44318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44319 ac_ext=c
44320 ac_cpp='$CPP $CPPFLAGS'
44321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44324
44325
44326 fi
44327
44328 fi
44329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
44330 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
44331
44332 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
44333
44334 for ac_func in fpclass
44335 do
44336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44337 echo "$as_me:$LINENO: checking for $ac_func" >&5
44338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44339 if eval "test \"\${$as_ac_var+set}\" = set"; then
44340 echo $ECHO_N "(cached) $ECHO_C" >&6
44341 else
44342 if test x$gcc_no_link = xyes; then
44343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44345 { (exit 1); exit 1; }; }
44346 fi
44347 cat >conftest.$ac_ext <<_ACEOF
44348 /* confdefs.h. */
44349 _ACEOF
44350 cat confdefs.h >>conftest.$ac_ext
44351 cat >>conftest.$ac_ext <<_ACEOF
44352 /* end confdefs.h. */
44353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44355 #define $ac_func innocuous_$ac_func
44356
44357 /* System header to define __stub macros and hopefully few prototypes,
44358 which can conflict with char $ac_func (); below.
44359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44360 <limits.h> exists even on freestanding compilers. */
44361
44362 #ifdef __STDC__
44363 # include <limits.h>
44364 #else
44365 # include <assert.h>
44366 #endif
44367
44368 #undef $ac_func
44369
44370 /* Override any gcc2 internal prototype to avoid an error. */
44371 #ifdef __cplusplus
44372 extern "C"
44373 {
44374 #endif
44375 /* We use char because int might match the return type of a gcc2
44376 builtin and then its argument prototype would still apply. */
44377 char $ac_func ();
44378 /* The GNU C library defines this for functions which it implements
44379 to always fail with ENOSYS. Some functions are actually named
44380 something starting with __ and the normal name is an alias. */
44381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44382 choke me
44383 #else
44384 char (*f) () = $ac_func;
44385 #endif
44386 #ifdef __cplusplus
44387 }
44388 #endif
44389
44390 int
44391 main ()
44392 {
44393 return f != $ac_func;
44394 ;
44395 return 0;
44396 }
44397 _ACEOF
44398 rm -f conftest.$ac_objext conftest$ac_exeext
44399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44400 (eval $ac_link) 2>conftest.er1
44401 ac_status=$?
44402 grep -v '^ *+' conftest.er1 >conftest.err
44403 rm -f conftest.er1
44404 cat conftest.err >&5
44405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44406 (exit $ac_status); } &&
44407 { ac_try='test -z "$ac_c_werror_flag"
44408 || test ! -s conftest.err'
44409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44410 (eval $ac_try) 2>&5
44411 ac_status=$?
44412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44413 (exit $ac_status); }; } &&
44414 { ac_try='test -s conftest$ac_exeext'
44415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44416 (eval $ac_try) 2>&5
44417 ac_status=$?
44418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44419 (exit $ac_status); }; }; then
44420 eval "$as_ac_var=yes"
44421 else
44422 echo "$as_me: failed program was:" >&5
44423 sed 's/^/| /' conftest.$ac_ext >&5
44424
44425 eval "$as_ac_var=no"
44426 fi
44427 rm -f conftest.err conftest.$ac_objext \
44428 conftest$ac_exeext conftest.$ac_ext
44429 fi
44430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44432 if test `eval echo '${'$as_ac_var'}'` = yes; then
44433 cat >>confdefs.h <<_ACEOF
44434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44435 _ACEOF
44436
44437 fi
44438 done
44439
44440 else
44441
44442 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
44443 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
44444 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
44445 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
44446 echo $ECHO_N "(cached) $ECHO_C" >&6
44447 else
44448
44449
44450
44451 ac_ext=cc
44452 ac_cpp='$CXXCPP $CPPFLAGS'
44453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44456
44457 cat >conftest.$ac_ext <<_ACEOF
44458 /* confdefs.h. */
44459 _ACEOF
44460 cat confdefs.h >>conftest.$ac_ext
44461 cat >>conftest.$ac_ext <<_ACEOF
44462 /* end confdefs.h. */
44463 #include <math.h>
44464 #ifdef HAVE_IEEEFP_H
44465 #include <ieeefp.h>
44466 #endif
44467
44468 int
44469 main ()
44470 {
44471 _fpclass(0);
44472 ;
44473 return 0;
44474 }
44475 _ACEOF
44476 rm -f conftest.$ac_objext
44477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44478 (eval $ac_compile) 2>conftest.er1
44479 ac_status=$?
44480 grep -v '^ *+' conftest.er1 >conftest.err
44481 rm -f conftest.er1
44482 cat conftest.err >&5
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); } &&
44485 { ac_try='test -z "$ac_cxx_werror_flag"
44486 || test ! -s conftest.err'
44487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44488 (eval $ac_try) 2>&5
44489 ac_status=$?
44490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44491 (exit $ac_status); }; } &&
44492 { ac_try='test -s conftest.$ac_objext'
44493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44494 (eval $ac_try) 2>&5
44495 ac_status=$?
44496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44497 (exit $ac_status); }; }; then
44498 glibcxx_cv_func__fpclass_use=yes
44499 else
44500 echo "$as_me: failed program was:" >&5
44501 sed 's/^/| /' conftest.$ac_ext >&5
44502
44503 glibcxx_cv_func__fpclass_use=no
44504 fi
44505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44506 ac_ext=c
44507 ac_cpp='$CPP $CPPFLAGS'
44508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44511
44512
44513 fi
44514
44515 fi
44516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
44517 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
44518
44519 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
44520
44521 for ac_func in _fpclass
44522 do
44523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44524 echo "$as_me:$LINENO: checking for $ac_func" >&5
44525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44526 if eval "test \"\${$as_ac_var+set}\" = set"; then
44527 echo $ECHO_N "(cached) $ECHO_C" >&6
44528 else
44529 if test x$gcc_no_link = xyes; then
44530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44532 { (exit 1); exit 1; }; }
44533 fi
44534 cat >conftest.$ac_ext <<_ACEOF
44535 /* confdefs.h. */
44536 _ACEOF
44537 cat confdefs.h >>conftest.$ac_ext
44538 cat >>conftest.$ac_ext <<_ACEOF
44539 /* end confdefs.h. */
44540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44542 #define $ac_func innocuous_$ac_func
44543
44544 /* System header to define __stub macros and hopefully few prototypes,
44545 which can conflict with char $ac_func (); below.
44546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44547 <limits.h> exists even on freestanding compilers. */
44548
44549 #ifdef __STDC__
44550 # include <limits.h>
44551 #else
44552 # include <assert.h>
44553 #endif
44554
44555 #undef $ac_func
44556
44557 /* Override any gcc2 internal prototype to avoid an error. */
44558 #ifdef __cplusplus
44559 extern "C"
44560 {
44561 #endif
44562 /* We use char because int might match the return type of a gcc2
44563 builtin and then its argument prototype would still apply. */
44564 char $ac_func ();
44565 /* The GNU C library defines this for functions which it implements
44566 to always fail with ENOSYS. Some functions are actually named
44567 something starting with __ and the normal name is an alias. */
44568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44569 choke me
44570 #else
44571 char (*f) () = $ac_func;
44572 #endif
44573 #ifdef __cplusplus
44574 }
44575 #endif
44576
44577 int
44578 main ()
44579 {
44580 return f != $ac_func;
44581 ;
44582 return 0;
44583 }
44584 _ACEOF
44585 rm -f conftest.$ac_objext conftest$ac_exeext
44586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44587 (eval $ac_link) 2>conftest.er1
44588 ac_status=$?
44589 grep -v '^ *+' conftest.er1 >conftest.err
44590 rm -f conftest.er1
44591 cat conftest.err >&5
44592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44593 (exit $ac_status); } &&
44594 { ac_try='test -z "$ac_c_werror_flag"
44595 || test ! -s conftest.err'
44596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44597 (eval $ac_try) 2>&5
44598 ac_status=$?
44599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44600 (exit $ac_status); }; } &&
44601 { ac_try='test -s conftest$ac_exeext'
44602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44603 (eval $ac_try) 2>&5
44604 ac_status=$?
44605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44606 (exit $ac_status); }; }; then
44607 eval "$as_ac_var=yes"
44608 else
44609 echo "$as_me: failed program was:" >&5
44610 sed 's/^/| /' conftest.$ac_ext >&5
44611
44612 eval "$as_ac_var=no"
44613 fi
44614 rm -f conftest.err conftest.$ac_objext \
44615 conftest$ac_exeext conftest.$ac_ext
44616 fi
44617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44619 if test `eval echo '${'$as_ac_var'}'` = yes; then
44620 cat >>confdefs.h <<_ACEOF
44621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44622 _ACEOF
44623
44624 fi
44625 done
44626
44627 fi
44628 fi
44629
44630
44631
44632
44633
44634
44635 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
44636 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
44637 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
44638 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
44639 echo $ECHO_N "(cached) $ECHO_C" >&6
44640 else
44641
44642
44643
44644 ac_ext=cc
44645 ac_cpp='$CXXCPP $CPPFLAGS'
44646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44649
44650 cat >conftest.$ac_ext <<_ACEOF
44651 /* confdefs.h. */
44652 _ACEOF
44653 cat confdefs.h >>conftest.$ac_ext
44654 cat >>conftest.$ac_ext <<_ACEOF
44655 /* end confdefs.h. */
44656 #include <math.h>
44657 #ifdef HAVE_IEEEFP_H
44658 #include <ieeefp.h>
44659 #endif
44660
44661 int
44662 main ()
44663 {
44664 qfpclass(0);
44665 ;
44666 return 0;
44667 }
44668 _ACEOF
44669 rm -f conftest.$ac_objext
44670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44671 (eval $ac_compile) 2>conftest.er1
44672 ac_status=$?
44673 grep -v '^ *+' conftest.er1 >conftest.err
44674 rm -f conftest.er1
44675 cat conftest.err >&5
44676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44677 (exit $ac_status); } &&
44678 { ac_try='test -z "$ac_cxx_werror_flag"
44679 || test ! -s conftest.err'
44680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44681 (eval $ac_try) 2>&5
44682 ac_status=$?
44683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44684 (exit $ac_status); }; } &&
44685 { ac_try='test -s conftest.$ac_objext'
44686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44687 (eval $ac_try) 2>&5
44688 ac_status=$?
44689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44690 (exit $ac_status); }; }; then
44691 glibcxx_cv_func_qfpclass_use=yes
44692 else
44693 echo "$as_me: failed program was:" >&5
44694 sed 's/^/| /' conftest.$ac_ext >&5
44695
44696 glibcxx_cv_func_qfpclass_use=no
44697 fi
44698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44699 ac_ext=c
44700 ac_cpp='$CPP $CPPFLAGS'
44701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44704
44705
44706 fi
44707
44708 fi
44709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
44710 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
44711
44712 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44713
44714 for ac_func in qfpclass
44715 do
44716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44717 echo "$as_me:$LINENO: checking for $ac_func" >&5
44718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44719 if eval "test \"\${$as_ac_var+set}\" = set"; then
44720 echo $ECHO_N "(cached) $ECHO_C" >&6
44721 else
44722 if test x$gcc_no_link = xyes; then
44723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44725 { (exit 1); exit 1; }; }
44726 fi
44727 cat >conftest.$ac_ext <<_ACEOF
44728 /* confdefs.h. */
44729 _ACEOF
44730 cat confdefs.h >>conftest.$ac_ext
44731 cat >>conftest.$ac_ext <<_ACEOF
44732 /* end confdefs.h. */
44733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44735 #define $ac_func innocuous_$ac_func
44736
44737 /* System header to define __stub macros and hopefully few prototypes,
44738 which can conflict with char $ac_func (); below.
44739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44740 <limits.h> exists even on freestanding compilers. */
44741
44742 #ifdef __STDC__
44743 # include <limits.h>
44744 #else
44745 # include <assert.h>
44746 #endif
44747
44748 #undef $ac_func
44749
44750 /* Override any gcc2 internal prototype to avoid an error. */
44751 #ifdef __cplusplus
44752 extern "C"
44753 {
44754 #endif
44755 /* We use char because int might match the return type of a gcc2
44756 builtin and then its argument prototype would still apply. */
44757 char $ac_func ();
44758 /* The GNU C library defines this for functions which it implements
44759 to always fail with ENOSYS. Some functions are actually named
44760 something starting with __ and the normal name is an alias. */
44761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44762 choke me
44763 #else
44764 char (*f) () = $ac_func;
44765 #endif
44766 #ifdef __cplusplus
44767 }
44768 #endif
44769
44770 int
44771 main ()
44772 {
44773 return f != $ac_func;
44774 ;
44775 return 0;
44776 }
44777 _ACEOF
44778 rm -f conftest.$ac_objext conftest$ac_exeext
44779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44780 (eval $ac_link) 2>conftest.er1
44781 ac_status=$?
44782 grep -v '^ *+' conftest.er1 >conftest.err
44783 rm -f conftest.er1
44784 cat conftest.err >&5
44785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44786 (exit $ac_status); } &&
44787 { ac_try='test -z "$ac_c_werror_flag"
44788 || test ! -s conftest.err'
44789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44790 (eval $ac_try) 2>&5
44791 ac_status=$?
44792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44793 (exit $ac_status); }; } &&
44794 { ac_try='test -s conftest$ac_exeext'
44795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44796 (eval $ac_try) 2>&5
44797 ac_status=$?
44798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44799 (exit $ac_status); }; }; then
44800 eval "$as_ac_var=yes"
44801 else
44802 echo "$as_me: failed program was:" >&5
44803 sed 's/^/| /' conftest.$ac_ext >&5
44804
44805 eval "$as_ac_var=no"
44806 fi
44807 rm -f conftest.err conftest.$ac_objext \
44808 conftest$ac_exeext conftest.$ac_ext
44809 fi
44810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44812 if test `eval echo '${'$as_ac_var'}'` = yes; then
44813 cat >>confdefs.h <<_ACEOF
44814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44815 _ACEOF
44816
44817 fi
44818 done
44819
44820 else
44821
44822 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
44823 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
44824 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44825 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
44826 echo $ECHO_N "(cached) $ECHO_C" >&6
44827 else
44828
44829
44830
44831 ac_ext=cc
44832 ac_cpp='$CXXCPP $CPPFLAGS'
44833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44836
44837 cat >conftest.$ac_ext <<_ACEOF
44838 /* confdefs.h. */
44839 _ACEOF
44840 cat confdefs.h >>conftest.$ac_ext
44841 cat >>conftest.$ac_ext <<_ACEOF
44842 /* end confdefs.h. */
44843 #include <math.h>
44844 #ifdef HAVE_IEEEFP_H
44845 #include <ieeefp.h>
44846 #endif
44847
44848 int
44849 main ()
44850 {
44851 _qfpclass(0);
44852 ;
44853 return 0;
44854 }
44855 _ACEOF
44856 rm -f conftest.$ac_objext
44857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44858 (eval $ac_compile) 2>conftest.er1
44859 ac_status=$?
44860 grep -v '^ *+' conftest.er1 >conftest.err
44861 rm -f conftest.er1
44862 cat conftest.err >&5
44863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44864 (exit $ac_status); } &&
44865 { ac_try='test -z "$ac_cxx_werror_flag"
44866 || test ! -s conftest.err'
44867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44868 (eval $ac_try) 2>&5
44869 ac_status=$?
44870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871 (exit $ac_status); }; } &&
44872 { ac_try='test -s conftest.$ac_objext'
44873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44874 (eval $ac_try) 2>&5
44875 ac_status=$?
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); }; }; then
44878 glibcxx_cv_func__qfpclass_use=yes
44879 else
44880 echo "$as_me: failed program was:" >&5
44881 sed 's/^/| /' conftest.$ac_ext >&5
44882
44883 glibcxx_cv_func__qfpclass_use=no
44884 fi
44885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44886 ac_ext=c
44887 ac_cpp='$CPP $CPPFLAGS'
44888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44891
44892
44893 fi
44894
44895 fi
44896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
44897 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
44898
44899 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44900
44901 for ac_func in _qfpclass
44902 do
44903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44904 echo "$as_me:$LINENO: checking for $ac_func" >&5
44905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44906 if eval "test \"\${$as_ac_var+set}\" = set"; then
44907 echo $ECHO_N "(cached) $ECHO_C" >&6
44908 else
44909 if test x$gcc_no_link = xyes; then
44910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44912 { (exit 1); exit 1; }; }
44913 fi
44914 cat >conftest.$ac_ext <<_ACEOF
44915 /* confdefs.h. */
44916 _ACEOF
44917 cat confdefs.h >>conftest.$ac_ext
44918 cat >>conftest.$ac_ext <<_ACEOF
44919 /* end confdefs.h. */
44920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44922 #define $ac_func innocuous_$ac_func
44923
44924 /* System header to define __stub macros and hopefully few prototypes,
44925 which can conflict with char $ac_func (); below.
44926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44927 <limits.h> exists even on freestanding compilers. */
44928
44929 #ifdef __STDC__
44930 # include <limits.h>
44931 #else
44932 # include <assert.h>
44933 #endif
44934
44935 #undef $ac_func
44936
44937 /* Override any gcc2 internal prototype to avoid an error. */
44938 #ifdef __cplusplus
44939 extern "C"
44940 {
44941 #endif
44942 /* We use char because int might match the return type of a gcc2
44943 builtin and then its argument prototype would still apply. */
44944 char $ac_func ();
44945 /* The GNU C library defines this for functions which it implements
44946 to always fail with ENOSYS. Some functions are actually named
44947 something starting with __ and the normal name is an alias. */
44948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44949 choke me
44950 #else
44951 char (*f) () = $ac_func;
44952 #endif
44953 #ifdef __cplusplus
44954 }
44955 #endif
44956
44957 int
44958 main ()
44959 {
44960 return f != $ac_func;
44961 ;
44962 return 0;
44963 }
44964 _ACEOF
44965 rm -f conftest.$ac_objext conftest$ac_exeext
44966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44967 (eval $ac_link) 2>conftest.er1
44968 ac_status=$?
44969 grep -v '^ *+' conftest.er1 >conftest.err
44970 rm -f conftest.er1
44971 cat conftest.err >&5
44972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44973 (exit $ac_status); } &&
44974 { ac_try='test -z "$ac_c_werror_flag"
44975 || test ! -s conftest.err'
44976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44977 (eval $ac_try) 2>&5
44978 ac_status=$?
44979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44980 (exit $ac_status); }; } &&
44981 { ac_try='test -s conftest$ac_exeext'
44982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44983 (eval $ac_try) 2>&5
44984 ac_status=$?
44985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44986 (exit $ac_status); }; }; then
44987 eval "$as_ac_var=yes"
44988 else
44989 echo "$as_me: failed program was:" >&5
44990 sed 's/^/| /' conftest.$ac_ext >&5
44991
44992 eval "$as_ac_var=no"
44993 fi
44994 rm -f conftest.err conftest.$ac_objext \
44995 conftest$ac_exeext conftest.$ac_ext
44996 fi
44997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44999 if test `eval echo '${'$as_ac_var'}'` = yes; then
45000 cat >>confdefs.h <<_ACEOF
45001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45002 _ACEOF
45003
45004 fi
45005 done
45006
45007 fi
45008 fi
45009
45010
45011
45012
45013
45014
45015 echo "$as_me:$LINENO: checking for hypot declaration" >&5
45016 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
45017 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45018 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
45019 echo $ECHO_N "(cached) $ECHO_C" >&6
45020 else
45021
45022
45023
45024 ac_ext=cc
45025 ac_cpp='$CXXCPP $CPPFLAGS'
45026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45029
45030 cat >conftest.$ac_ext <<_ACEOF
45031 /* confdefs.h. */
45032 _ACEOF
45033 cat confdefs.h >>conftest.$ac_ext
45034 cat >>conftest.$ac_ext <<_ACEOF
45035 /* end confdefs.h. */
45036 #include <math.h>
45037 int
45038 main ()
45039 {
45040 hypot(0, 0);
45041 ;
45042 return 0;
45043 }
45044 _ACEOF
45045 rm -f conftest.$ac_objext
45046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45047 (eval $ac_compile) 2>conftest.er1
45048 ac_status=$?
45049 grep -v '^ *+' conftest.er1 >conftest.err
45050 rm -f conftest.er1
45051 cat conftest.err >&5
45052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45053 (exit $ac_status); } &&
45054 { ac_try='test -z "$ac_cxx_werror_flag"
45055 || test ! -s conftest.err'
45056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45057 (eval $ac_try) 2>&5
45058 ac_status=$?
45059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45060 (exit $ac_status); }; } &&
45061 { ac_try='test -s conftest.$ac_objext'
45062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45063 (eval $ac_try) 2>&5
45064 ac_status=$?
45065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45066 (exit $ac_status); }; }; then
45067 glibcxx_cv_func_hypot_use=yes
45068 else
45069 echo "$as_me: failed program was:" >&5
45070 sed 's/^/| /' conftest.$ac_ext >&5
45071
45072 glibcxx_cv_func_hypot_use=no
45073 fi
45074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45075 ac_ext=c
45076 ac_cpp='$CPP $CPPFLAGS'
45077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45080
45081
45082 fi
45083
45084 fi
45085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
45086 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
45087
45088 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45089
45090 for ac_func in hypot
45091 do
45092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45093 echo "$as_me:$LINENO: checking for $ac_func" >&5
45094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45095 if eval "test \"\${$as_ac_var+set}\" = set"; then
45096 echo $ECHO_N "(cached) $ECHO_C" >&6
45097 else
45098 if test x$gcc_no_link = xyes; then
45099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45101 { (exit 1); exit 1; }; }
45102 fi
45103 cat >conftest.$ac_ext <<_ACEOF
45104 /* confdefs.h. */
45105 _ACEOF
45106 cat confdefs.h >>conftest.$ac_ext
45107 cat >>conftest.$ac_ext <<_ACEOF
45108 /* end confdefs.h. */
45109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45111 #define $ac_func innocuous_$ac_func
45112
45113 /* System header to define __stub macros and hopefully few prototypes,
45114 which can conflict with char $ac_func (); below.
45115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45116 <limits.h> exists even on freestanding compilers. */
45117
45118 #ifdef __STDC__
45119 # include <limits.h>
45120 #else
45121 # include <assert.h>
45122 #endif
45123
45124 #undef $ac_func
45125
45126 /* Override any gcc2 internal prototype to avoid an error. */
45127 #ifdef __cplusplus
45128 extern "C"
45129 {
45130 #endif
45131 /* We use char because int might match the return type of a gcc2
45132 builtin and then its argument prototype would still apply. */
45133 char $ac_func ();
45134 /* The GNU C library defines this for functions which it implements
45135 to always fail with ENOSYS. Some functions are actually named
45136 something starting with __ and the normal name is an alias. */
45137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45138 choke me
45139 #else
45140 char (*f) () = $ac_func;
45141 #endif
45142 #ifdef __cplusplus
45143 }
45144 #endif
45145
45146 int
45147 main ()
45148 {
45149 return f != $ac_func;
45150 ;
45151 return 0;
45152 }
45153 _ACEOF
45154 rm -f conftest.$ac_objext conftest$ac_exeext
45155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45156 (eval $ac_link) 2>conftest.er1
45157 ac_status=$?
45158 grep -v '^ *+' conftest.er1 >conftest.err
45159 rm -f conftest.er1
45160 cat conftest.err >&5
45161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45162 (exit $ac_status); } &&
45163 { ac_try='test -z "$ac_c_werror_flag"
45164 || test ! -s conftest.err'
45165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45166 (eval $ac_try) 2>&5
45167 ac_status=$?
45168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45169 (exit $ac_status); }; } &&
45170 { ac_try='test -s conftest$ac_exeext'
45171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45172 (eval $ac_try) 2>&5
45173 ac_status=$?
45174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45175 (exit $ac_status); }; }; then
45176 eval "$as_ac_var=yes"
45177 else
45178 echo "$as_me: failed program was:" >&5
45179 sed 's/^/| /' conftest.$ac_ext >&5
45180
45181 eval "$as_ac_var=no"
45182 fi
45183 rm -f conftest.err conftest.$ac_objext \
45184 conftest$ac_exeext conftest.$ac_ext
45185 fi
45186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45188 if test `eval echo '${'$as_ac_var'}'` = yes; then
45189 cat >>confdefs.h <<_ACEOF
45190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45191 _ACEOF
45192
45193 fi
45194 done
45195
45196 else
45197
45198 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
45199 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
45200 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45201 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
45202 echo $ECHO_N "(cached) $ECHO_C" >&6
45203 else
45204
45205
45206
45207 ac_ext=cc
45208 ac_cpp='$CXXCPP $CPPFLAGS'
45209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45212
45213 cat >conftest.$ac_ext <<_ACEOF
45214 /* confdefs.h. */
45215 _ACEOF
45216 cat confdefs.h >>conftest.$ac_ext
45217 cat >>conftest.$ac_ext <<_ACEOF
45218 /* end confdefs.h. */
45219 #include <math.h>
45220 int
45221 main ()
45222 {
45223 _hypot(0, 0);
45224 ;
45225 return 0;
45226 }
45227 _ACEOF
45228 rm -f conftest.$ac_objext
45229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45230 (eval $ac_compile) 2>conftest.er1
45231 ac_status=$?
45232 grep -v '^ *+' conftest.er1 >conftest.err
45233 rm -f conftest.er1
45234 cat conftest.err >&5
45235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236 (exit $ac_status); } &&
45237 { ac_try='test -z "$ac_cxx_werror_flag"
45238 || test ! -s conftest.err'
45239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45240 (eval $ac_try) 2>&5
45241 ac_status=$?
45242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45243 (exit $ac_status); }; } &&
45244 { ac_try='test -s conftest.$ac_objext'
45245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45246 (eval $ac_try) 2>&5
45247 ac_status=$?
45248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45249 (exit $ac_status); }; }; then
45250 glibcxx_cv_func__hypot_use=yes
45251 else
45252 echo "$as_me: failed program was:" >&5
45253 sed 's/^/| /' conftest.$ac_ext >&5
45254
45255 glibcxx_cv_func__hypot_use=no
45256 fi
45257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45258 ac_ext=c
45259 ac_cpp='$CPP $CPPFLAGS'
45260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45263
45264
45265 fi
45266
45267 fi
45268 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
45269 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
45270
45271 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45272
45273 for ac_func in _hypot
45274 do
45275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45276 echo "$as_me:$LINENO: checking for $ac_func" >&5
45277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45278 if eval "test \"\${$as_ac_var+set}\" = set"; then
45279 echo $ECHO_N "(cached) $ECHO_C" >&6
45280 else
45281 if test x$gcc_no_link = xyes; then
45282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45284 { (exit 1); exit 1; }; }
45285 fi
45286 cat >conftest.$ac_ext <<_ACEOF
45287 /* confdefs.h. */
45288 _ACEOF
45289 cat confdefs.h >>conftest.$ac_ext
45290 cat >>conftest.$ac_ext <<_ACEOF
45291 /* end confdefs.h. */
45292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45294 #define $ac_func innocuous_$ac_func
45295
45296 /* System header to define __stub macros and hopefully few prototypes,
45297 which can conflict with char $ac_func (); below.
45298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45299 <limits.h> exists even on freestanding compilers. */
45300
45301 #ifdef __STDC__
45302 # include <limits.h>
45303 #else
45304 # include <assert.h>
45305 #endif
45306
45307 #undef $ac_func
45308
45309 /* Override any gcc2 internal prototype to avoid an error. */
45310 #ifdef __cplusplus
45311 extern "C"
45312 {
45313 #endif
45314 /* We use char because int might match the return type of a gcc2
45315 builtin and then its argument prototype would still apply. */
45316 char $ac_func ();
45317 /* The GNU C library defines this for functions which it implements
45318 to always fail with ENOSYS. Some functions are actually named
45319 something starting with __ and the normal name is an alias. */
45320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45321 choke me
45322 #else
45323 char (*f) () = $ac_func;
45324 #endif
45325 #ifdef __cplusplus
45326 }
45327 #endif
45328
45329 int
45330 main ()
45331 {
45332 return f != $ac_func;
45333 ;
45334 return 0;
45335 }
45336 _ACEOF
45337 rm -f conftest.$ac_objext conftest$ac_exeext
45338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45339 (eval $ac_link) 2>conftest.er1
45340 ac_status=$?
45341 grep -v '^ *+' conftest.er1 >conftest.err
45342 rm -f conftest.er1
45343 cat conftest.err >&5
45344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45345 (exit $ac_status); } &&
45346 { ac_try='test -z "$ac_c_werror_flag"
45347 || test ! -s conftest.err'
45348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45349 (eval $ac_try) 2>&5
45350 ac_status=$?
45351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45352 (exit $ac_status); }; } &&
45353 { ac_try='test -s conftest$ac_exeext'
45354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45355 (eval $ac_try) 2>&5
45356 ac_status=$?
45357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45358 (exit $ac_status); }; }; then
45359 eval "$as_ac_var=yes"
45360 else
45361 echo "$as_me: failed program was:" >&5
45362 sed 's/^/| /' conftest.$ac_ext >&5
45363
45364 eval "$as_ac_var=no"
45365 fi
45366 rm -f conftest.err conftest.$ac_objext \
45367 conftest$ac_exeext conftest.$ac_ext
45368 fi
45369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45371 if test `eval echo '${'$as_ac_var'}'` = yes; then
45372 cat >>confdefs.h <<_ACEOF
45373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45374 _ACEOF
45375
45376 fi
45377 done
45378
45379 fi
45380 fi
45381
45382
45383
45384
45385
45386
45387 echo "$as_me:$LINENO: checking for float trig functions" >&5
45388 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
45389 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
45390 echo $ECHO_N "(cached) $ECHO_C" >&6
45391 else
45392
45393
45394
45395 ac_ext=cc
45396 ac_cpp='$CXXCPP $CPPFLAGS'
45397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45400
45401 cat >conftest.$ac_ext <<_ACEOF
45402 /* confdefs.h. */
45403 _ACEOF
45404 cat confdefs.h >>conftest.$ac_ext
45405 cat >>conftest.$ac_ext <<_ACEOF
45406 /* end confdefs.h. */
45407 #include <math.h>
45408 int
45409 main ()
45410 {
45411 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45412 ;
45413 return 0;
45414 }
45415 _ACEOF
45416 rm -f conftest.$ac_objext
45417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45418 (eval $ac_compile) 2>conftest.er1
45419 ac_status=$?
45420 grep -v '^ *+' conftest.er1 >conftest.err
45421 rm -f conftest.er1
45422 cat conftest.err >&5
45423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45424 (exit $ac_status); } &&
45425 { ac_try='test -z "$ac_cxx_werror_flag"
45426 || test ! -s conftest.err'
45427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45428 (eval $ac_try) 2>&5
45429 ac_status=$?
45430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45431 (exit $ac_status); }; } &&
45432 { ac_try='test -s conftest.$ac_objext'
45433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45434 (eval $ac_try) 2>&5
45435 ac_status=$?
45436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45437 (exit $ac_status); }; }; then
45438 glibcxx_cv_func_float_trig_use=yes
45439 else
45440 echo "$as_me: failed program was:" >&5
45441 sed 's/^/| /' conftest.$ac_ext >&5
45442
45443 glibcxx_cv_func_float_trig_use=no
45444 fi
45445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45446 ac_ext=c
45447 ac_cpp='$CPP $CPPFLAGS'
45448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45451
45452 fi
45453
45454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
45455 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
45456 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45457
45458
45459
45460
45461
45462
45463
45464
45465
45466 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45467 do
45468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45469 echo "$as_me:$LINENO: checking for $ac_func" >&5
45470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45471 if eval "test \"\${$as_ac_var+set}\" = set"; then
45472 echo $ECHO_N "(cached) $ECHO_C" >&6
45473 else
45474 if test x$gcc_no_link = xyes; then
45475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45477 { (exit 1); exit 1; }; }
45478 fi
45479 cat >conftest.$ac_ext <<_ACEOF
45480 /* confdefs.h. */
45481 _ACEOF
45482 cat confdefs.h >>conftest.$ac_ext
45483 cat >>conftest.$ac_ext <<_ACEOF
45484 /* end confdefs.h. */
45485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45487 #define $ac_func innocuous_$ac_func
45488
45489 /* System header to define __stub macros and hopefully few prototypes,
45490 which can conflict with char $ac_func (); below.
45491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45492 <limits.h> exists even on freestanding compilers. */
45493
45494 #ifdef __STDC__
45495 # include <limits.h>
45496 #else
45497 # include <assert.h>
45498 #endif
45499
45500 #undef $ac_func
45501
45502 /* Override any gcc2 internal prototype to avoid an error. */
45503 #ifdef __cplusplus
45504 extern "C"
45505 {
45506 #endif
45507 /* We use char because int might match the return type of a gcc2
45508 builtin and then its argument prototype would still apply. */
45509 char $ac_func ();
45510 /* The GNU C library defines this for functions which it implements
45511 to always fail with ENOSYS. Some functions are actually named
45512 something starting with __ and the normal name is an alias. */
45513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45514 choke me
45515 #else
45516 char (*f) () = $ac_func;
45517 #endif
45518 #ifdef __cplusplus
45519 }
45520 #endif
45521
45522 int
45523 main ()
45524 {
45525 return f != $ac_func;
45526 ;
45527 return 0;
45528 }
45529 _ACEOF
45530 rm -f conftest.$ac_objext conftest$ac_exeext
45531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45532 (eval $ac_link) 2>conftest.er1
45533 ac_status=$?
45534 grep -v '^ *+' conftest.er1 >conftest.err
45535 rm -f conftest.er1
45536 cat conftest.err >&5
45537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45538 (exit $ac_status); } &&
45539 { ac_try='test -z "$ac_c_werror_flag"
45540 || test ! -s conftest.err'
45541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45542 (eval $ac_try) 2>&5
45543 ac_status=$?
45544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45545 (exit $ac_status); }; } &&
45546 { ac_try='test -s conftest$ac_exeext'
45547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45548 (eval $ac_try) 2>&5
45549 ac_status=$?
45550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45551 (exit $ac_status); }; }; then
45552 eval "$as_ac_var=yes"
45553 else
45554 echo "$as_me: failed program was:" >&5
45555 sed 's/^/| /' conftest.$ac_ext >&5
45556
45557 eval "$as_ac_var=no"
45558 fi
45559 rm -f conftest.err conftest.$ac_objext \
45560 conftest$ac_exeext conftest.$ac_ext
45561 fi
45562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45564 if test `eval echo '${'$as_ac_var'}'` = yes; then
45565 cat >>confdefs.h <<_ACEOF
45566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45567 _ACEOF
45568
45569 fi
45570 done
45571
45572 else
45573 echo "$as_me:$LINENO: checking for _float trig functions" >&5
45574 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
45575 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
45576 echo $ECHO_N "(cached) $ECHO_C" >&6
45577 else
45578
45579
45580
45581 ac_ext=cc
45582 ac_cpp='$CXXCPP $CPPFLAGS'
45583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45586
45587 cat >conftest.$ac_ext <<_ACEOF
45588 /* confdefs.h. */
45589 _ACEOF
45590 cat confdefs.h >>conftest.$ac_ext
45591 cat >>conftest.$ac_ext <<_ACEOF
45592 /* end confdefs.h. */
45593 #include <math.h>
45594 int
45595 main ()
45596 {
45597 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45598 ;
45599 return 0;
45600 }
45601 _ACEOF
45602 rm -f conftest.$ac_objext
45603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45604 (eval $ac_compile) 2>conftest.er1
45605 ac_status=$?
45606 grep -v '^ *+' conftest.er1 >conftest.err
45607 rm -f conftest.er1
45608 cat conftest.err >&5
45609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45610 (exit $ac_status); } &&
45611 { ac_try='test -z "$ac_cxx_werror_flag"
45612 || test ! -s conftest.err'
45613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45614 (eval $ac_try) 2>&5
45615 ac_status=$?
45616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45617 (exit $ac_status); }; } &&
45618 { ac_try='test -s conftest.$ac_objext'
45619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45620 (eval $ac_try) 2>&5
45621 ac_status=$?
45622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45623 (exit $ac_status); }; }; then
45624 glibcxx_cv_func__float_trig_use=yes
45625 else
45626 echo "$as_me: failed program was:" >&5
45627 sed 's/^/| /' conftest.$ac_ext >&5
45628
45629 glibcxx_cv_func__float_trig_use=no
45630 fi
45631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45632 ac_ext=c
45633 ac_cpp='$CPP $CPPFLAGS'
45634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45637
45638 fi
45639
45640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
45641 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
45642 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45643
45644
45645
45646
45647
45648
45649
45650
45651
45652 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45653 do
45654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45655 echo "$as_me:$LINENO: checking for $ac_func" >&5
45656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45657 if eval "test \"\${$as_ac_var+set}\" = set"; then
45658 echo $ECHO_N "(cached) $ECHO_C" >&6
45659 else
45660 if test x$gcc_no_link = xyes; then
45661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45663 { (exit 1); exit 1; }; }
45664 fi
45665 cat >conftest.$ac_ext <<_ACEOF
45666 /* confdefs.h. */
45667 _ACEOF
45668 cat confdefs.h >>conftest.$ac_ext
45669 cat >>conftest.$ac_ext <<_ACEOF
45670 /* end confdefs.h. */
45671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45673 #define $ac_func innocuous_$ac_func
45674
45675 /* System header to define __stub macros and hopefully few prototypes,
45676 which can conflict with char $ac_func (); below.
45677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45678 <limits.h> exists even on freestanding compilers. */
45679
45680 #ifdef __STDC__
45681 # include <limits.h>
45682 #else
45683 # include <assert.h>
45684 #endif
45685
45686 #undef $ac_func
45687
45688 /* Override any gcc2 internal prototype to avoid an error. */
45689 #ifdef __cplusplus
45690 extern "C"
45691 {
45692 #endif
45693 /* We use char because int might match the return type of a gcc2
45694 builtin and then its argument prototype would still apply. */
45695 char $ac_func ();
45696 /* The GNU C library defines this for functions which it implements
45697 to always fail with ENOSYS. Some functions are actually named
45698 something starting with __ and the normal name is an alias. */
45699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45700 choke me
45701 #else
45702 char (*f) () = $ac_func;
45703 #endif
45704 #ifdef __cplusplus
45705 }
45706 #endif
45707
45708 int
45709 main ()
45710 {
45711 return f != $ac_func;
45712 ;
45713 return 0;
45714 }
45715 _ACEOF
45716 rm -f conftest.$ac_objext conftest$ac_exeext
45717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45718 (eval $ac_link) 2>conftest.er1
45719 ac_status=$?
45720 grep -v '^ *+' conftest.er1 >conftest.err
45721 rm -f conftest.er1
45722 cat conftest.err >&5
45723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45724 (exit $ac_status); } &&
45725 { ac_try='test -z "$ac_c_werror_flag"
45726 || test ! -s conftest.err'
45727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45728 (eval $ac_try) 2>&5
45729 ac_status=$?
45730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45731 (exit $ac_status); }; } &&
45732 { ac_try='test -s conftest$ac_exeext'
45733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45734 (eval $ac_try) 2>&5
45735 ac_status=$?
45736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45737 (exit $ac_status); }; }; then
45738 eval "$as_ac_var=yes"
45739 else
45740 echo "$as_me: failed program was:" >&5
45741 sed 's/^/| /' conftest.$ac_ext >&5
45742
45743 eval "$as_ac_var=no"
45744 fi
45745 rm -f conftest.err conftest.$ac_objext \
45746 conftest$ac_exeext conftest.$ac_ext
45747 fi
45748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45750 if test `eval echo '${'$as_ac_var'}'` = yes; then
45751 cat >>confdefs.h <<_ACEOF
45752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45753 _ACEOF
45754
45755 fi
45756 done
45757
45758 fi
45759 fi
45760
45761
45762
45763
45764
45765
45766
45767
45768
45769
45770
45771
45772
45773
45774 echo "$as_me:$LINENO: checking for float round functions" >&5
45775 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
45776 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
45777 echo $ECHO_N "(cached) $ECHO_C" >&6
45778 else
45779
45780
45781
45782 ac_ext=cc
45783 ac_cpp='$CXXCPP $CPPFLAGS'
45784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45787
45788 cat >conftest.$ac_ext <<_ACEOF
45789 /* confdefs.h. */
45790 _ACEOF
45791 cat confdefs.h >>conftest.$ac_ext
45792 cat >>conftest.$ac_ext <<_ACEOF
45793 /* end confdefs.h. */
45794 #include <math.h>
45795 int
45796 main ()
45797 {
45798 ceilf (0); floorf (0);
45799 ;
45800 return 0;
45801 }
45802 _ACEOF
45803 rm -f conftest.$ac_objext
45804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45805 (eval $ac_compile) 2>conftest.er1
45806 ac_status=$?
45807 grep -v '^ *+' conftest.er1 >conftest.err
45808 rm -f conftest.er1
45809 cat conftest.err >&5
45810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45811 (exit $ac_status); } &&
45812 { ac_try='test -z "$ac_cxx_werror_flag"
45813 || test ! -s conftest.err'
45814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45815 (eval $ac_try) 2>&5
45816 ac_status=$?
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); }; } &&
45819 { ac_try='test -s conftest.$ac_objext'
45820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45821 (eval $ac_try) 2>&5
45822 ac_status=$?
45823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45824 (exit $ac_status); }; }; then
45825 glibcxx_cv_func_float_round_use=yes
45826 else
45827 echo "$as_me: failed program was:" >&5
45828 sed 's/^/| /' conftest.$ac_ext >&5
45829
45830 glibcxx_cv_func_float_round_use=no
45831 fi
45832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45833 ac_ext=c
45834 ac_cpp='$CPP $CPPFLAGS'
45835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45838
45839 fi
45840
45841 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
45842 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
45843 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45844
45845
45846 for ac_func in ceilf floorf
45847 do
45848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45849 echo "$as_me:$LINENO: checking for $ac_func" >&5
45850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45851 if eval "test \"\${$as_ac_var+set}\" = set"; then
45852 echo $ECHO_N "(cached) $ECHO_C" >&6
45853 else
45854 if test x$gcc_no_link = xyes; then
45855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45857 { (exit 1); exit 1; }; }
45858 fi
45859 cat >conftest.$ac_ext <<_ACEOF
45860 /* confdefs.h. */
45861 _ACEOF
45862 cat confdefs.h >>conftest.$ac_ext
45863 cat >>conftest.$ac_ext <<_ACEOF
45864 /* end confdefs.h. */
45865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45867 #define $ac_func innocuous_$ac_func
45868
45869 /* System header to define __stub macros and hopefully few prototypes,
45870 which can conflict with char $ac_func (); below.
45871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45872 <limits.h> exists even on freestanding compilers. */
45873
45874 #ifdef __STDC__
45875 # include <limits.h>
45876 #else
45877 # include <assert.h>
45878 #endif
45879
45880 #undef $ac_func
45881
45882 /* Override any gcc2 internal prototype to avoid an error. */
45883 #ifdef __cplusplus
45884 extern "C"
45885 {
45886 #endif
45887 /* We use char because int might match the return type of a gcc2
45888 builtin and then its argument prototype would still apply. */
45889 char $ac_func ();
45890 /* The GNU C library defines this for functions which it implements
45891 to always fail with ENOSYS. Some functions are actually named
45892 something starting with __ and the normal name is an alias. */
45893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45894 choke me
45895 #else
45896 char (*f) () = $ac_func;
45897 #endif
45898 #ifdef __cplusplus
45899 }
45900 #endif
45901
45902 int
45903 main ()
45904 {
45905 return f != $ac_func;
45906 ;
45907 return 0;
45908 }
45909 _ACEOF
45910 rm -f conftest.$ac_objext conftest$ac_exeext
45911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45912 (eval $ac_link) 2>conftest.er1
45913 ac_status=$?
45914 grep -v '^ *+' conftest.er1 >conftest.err
45915 rm -f conftest.er1
45916 cat conftest.err >&5
45917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45918 (exit $ac_status); } &&
45919 { ac_try='test -z "$ac_c_werror_flag"
45920 || test ! -s conftest.err'
45921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45922 (eval $ac_try) 2>&5
45923 ac_status=$?
45924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45925 (exit $ac_status); }; } &&
45926 { ac_try='test -s conftest$ac_exeext'
45927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45928 (eval $ac_try) 2>&5
45929 ac_status=$?
45930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45931 (exit $ac_status); }; }; then
45932 eval "$as_ac_var=yes"
45933 else
45934 echo "$as_me: failed program was:" >&5
45935 sed 's/^/| /' conftest.$ac_ext >&5
45936
45937 eval "$as_ac_var=no"
45938 fi
45939 rm -f conftest.err conftest.$ac_objext \
45940 conftest$ac_exeext conftest.$ac_ext
45941 fi
45942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45944 if test `eval echo '${'$as_ac_var'}'` = yes; then
45945 cat >>confdefs.h <<_ACEOF
45946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45947 _ACEOF
45948
45949 fi
45950 done
45951
45952 else
45953 echo "$as_me:$LINENO: checking for _float round functions" >&5
45954 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
45955 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
45956 echo $ECHO_N "(cached) $ECHO_C" >&6
45957 else
45958
45959
45960
45961 ac_ext=cc
45962 ac_cpp='$CXXCPP $CPPFLAGS'
45963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45966
45967 cat >conftest.$ac_ext <<_ACEOF
45968 /* confdefs.h. */
45969 _ACEOF
45970 cat confdefs.h >>conftest.$ac_ext
45971 cat >>conftest.$ac_ext <<_ACEOF
45972 /* end confdefs.h. */
45973 #include <math.h>
45974 int
45975 main ()
45976 {
45977 _ceilf (0); _floorf (0);
45978 ;
45979 return 0;
45980 }
45981 _ACEOF
45982 rm -f conftest.$ac_objext
45983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45984 (eval $ac_compile) 2>conftest.er1
45985 ac_status=$?
45986 grep -v '^ *+' conftest.er1 >conftest.err
45987 rm -f conftest.er1
45988 cat conftest.err >&5
45989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45990 (exit $ac_status); } &&
45991 { ac_try='test -z "$ac_cxx_werror_flag"
45992 || test ! -s conftest.err'
45993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45994 (eval $ac_try) 2>&5
45995 ac_status=$?
45996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997 (exit $ac_status); }; } &&
45998 { ac_try='test -s conftest.$ac_objext'
45999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46000 (eval $ac_try) 2>&5
46001 ac_status=$?
46002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46003 (exit $ac_status); }; }; then
46004 glibcxx_cv_func__float_round_use=yes
46005 else
46006 echo "$as_me: failed program was:" >&5
46007 sed 's/^/| /' conftest.$ac_ext >&5
46008
46009 glibcxx_cv_func__float_round_use=no
46010 fi
46011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46012 ac_ext=c
46013 ac_cpp='$CPP $CPPFLAGS'
46014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46017
46018 fi
46019
46020 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46021 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46022 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46023
46024
46025 for ac_func in _ceilf _floorf
46026 do
46027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46028 echo "$as_me:$LINENO: checking for $ac_func" >&5
46029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46030 if eval "test \"\${$as_ac_var+set}\" = set"; then
46031 echo $ECHO_N "(cached) $ECHO_C" >&6
46032 else
46033 if test x$gcc_no_link = xyes; then
46034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46036 { (exit 1); exit 1; }; }
46037 fi
46038 cat >conftest.$ac_ext <<_ACEOF
46039 /* confdefs.h. */
46040 _ACEOF
46041 cat confdefs.h >>conftest.$ac_ext
46042 cat >>conftest.$ac_ext <<_ACEOF
46043 /* end confdefs.h. */
46044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46046 #define $ac_func innocuous_$ac_func
46047
46048 /* System header to define __stub macros and hopefully few prototypes,
46049 which can conflict with char $ac_func (); below.
46050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46051 <limits.h> exists even on freestanding compilers. */
46052
46053 #ifdef __STDC__
46054 # include <limits.h>
46055 #else
46056 # include <assert.h>
46057 #endif
46058
46059 #undef $ac_func
46060
46061 /* Override any gcc2 internal prototype to avoid an error. */
46062 #ifdef __cplusplus
46063 extern "C"
46064 {
46065 #endif
46066 /* We use char because int might match the return type of a gcc2
46067 builtin and then its argument prototype would still apply. */
46068 char $ac_func ();
46069 /* The GNU C library defines this for functions which it implements
46070 to always fail with ENOSYS. Some functions are actually named
46071 something starting with __ and the normal name is an alias. */
46072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46073 choke me
46074 #else
46075 char (*f) () = $ac_func;
46076 #endif
46077 #ifdef __cplusplus
46078 }
46079 #endif
46080
46081 int
46082 main ()
46083 {
46084 return f != $ac_func;
46085 ;
46086 return 0;
46087 }
46088 _ACEOF
46089 rm -f conftest.$ac_objext conftest$ac_exeext
46090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46091 (eval $ac_link) 2>conftest.er1
46092 ac_status=$?
46093 grep -v '^ *+' conftest.er1 >conftest.err
46094 rm -f conftest.er1
46095 cat conftest.err >&5
46096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46097 (exit $ac_status); } &&
46098 { ac_try='test -z "$ac_c_werror_flag"
46099 || test ! -s conftest.err'
46100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46101 (eval $ac_try) 2>&5
46102 ac_status=$?
46103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46104 (exit $ac_status); }; } &&
46105 { ac_try='test -s conftest$ac_exeext'
46106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46107 (eval $ac_try) 2>&5
46108 ac_status=$?
46109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46110 (exit $ac_status); }; }; then
46111 eval "$as_ac_var=yes"
46112 else
46113 echo "$as_me: failed program was:" >&5
46114 sed 's/^/| /' conftest.$ac_ext >&5
46115
46116 eval "$as_ac_var=no"
46117 fi
46118 rm -f conftest.err conftest.$ac_objext \
46119 conftest$ac_exeext conftest.$ac_ext
46120 fi
46121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46123 if test `eval echo '${'$as_ac_var'}'` = yes; then
46124 cat >>confdefs.h <<_ACEOF
46125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46126 _ACEOF
46127
46128 fi
46129 done
46130
46131 fi
46132 fi
46133
46134
46135
46136
46137
46138
46139
46140
46141 echo "$as_me:$LINENO: checking for expf declaration" >&5
46142 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
46143 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46144 if test "${glibcxx_cv_func_expf_use+set}" = set; then
46145 echo $ECHO_N "(cached) $ECHO_C" >&6
46146 else
46147
46148
46149
46150 ac_ext=cc
46151 ac_cpp='$CXXCPP $CPPFLAGS'
46152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46155
46156 cat >conftest.$ac_ext <<_ACEOF
46157 /* confdefs.h. */
46158 _ACEOF
46159 cat confdefs.h >>conftest.$ac_ext
46160 cat >>conftest.$ac_ext <<_ACEOF
46161 /* end confdefs.h. */
46162 #include <math.h>
46163 #ifdef HAVE_IEEEFP_H
46164 #include <ieeefp.h>
46165 #endif
46166
46167 int
46168 main ()
46169 {
46170 expf(0);
46171 ;
46172 return 0;
46173 }
46174 _ACEOF
46175 rm -f conftest.$ac_objext
46176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46177 (eval $ac_compile) 2>conftest.er1
46178 ac_status=$?
46179 grep -v '^ *+' conftest.er1 >conftest.err
46180 rm -f conftest.er1
46181 cat conftest.err >&5
46182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46183 (exit $ac_status); } &&
46184 { ac_try='test -z "$ac_cxx_werror_flag"
46185 || test ! -s conftest.err'
46186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46187 (eval $ac_try) 2>&5
46188 ac_status=$?
46189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190 (exit $ac_status); }; } &&
46191 { ac_try='test -s conftest.$ac_objext'
46192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46193 (eval $ac_try) 2>&5
46194 ac_status=$?
46195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46196 (exit $ac_status); }; }; then
46197 glibcxx_cv_func_expf_use=yes
46198 else
46199 echo "$as_me: failed program was:" >&5
46200 sed 's/^/| /' conftest.$ac_ext >&5
46201
46202 glibcxx_cv_func_expf_use=no
46203 fi
46204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46205 ac_ext=c
46206 ac_cpp='$CPP $CPPFLAGS'
46207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46210
46211
46212 fi
46213
46214 fi
46215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
46216 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
46217
46218 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46219
46220 for ac_func in expf
46221 do
46222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46223 echo "$as_me:$LINENO: checking for $ac_func" >&5
46224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46225 if eval "test \"\${$as_ac_var+set}\" = set"; then
46226 echo $ECHO_N "(cached) $ECHO_C" >&6
46227 else
46228 if test x$gcc_no_link = xyes; then
46229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46231 { (exit 1); exit 1; }; }
46232 fi
46233 cat >conftest.$ac_ext <<_ACEOF
46234 /* confdefs.h. */
46235 _ACEOF
46236 cat confdefs.h >>conftest.$ac_ext
46237 cat >>conftest.$ac_ext <<_ACEOF
46238 /* end confdefs.h. */
46239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46241 #define $ac_func innocuous_$ac_func
46242
46243 /* System header to define __stub macros and hopefully few prototypes,
46244 which can conflict with char $ac_func (); below.
46245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46246 <limits.h> exists even on freestanding compilers. */
46247
46248 #ifdef __STDC__
46249 # include <limits.h>
46250 #else
46251 # include <assert.h>
46252 #endif
46253
46254 #undef $ac_func
46255
46256 /* Override any gcc2 internal prototype to avoid an error. */
46257 #ifdef __cplusplus
46258 extern "C"
46259 {
46260 #endif
46261 /* We use char because int might match the return type of a gcc2
46262 builtin and then its argument prototype would still apply. */
46263 char $ac_func ();
46264 /* The GNU C library defines this for functions which it implements
46265 to always fail with ENOSYS. Some functions are actually named
46266 something starting with __ and the normal name is an alias. */
46267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46268 choke me
46269 #else
46270 char (*f) () = $ac_func;
46271 #endif
46272 #ifdef __cplusplus
46273 }
46274 #endif
46275
46276 int
46277 main ()
46278 {
46279 return f != $ac_func;
46280 ;
46281 return 0;
46282 }
46283 _ACEOF
46284 rm -f conftest.$ac_objext conftest$ac_exeext
46285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46286 (eval $ac_link) 2>conftest.er1
46287 ac_status=$?
46288 grep -v '^ *+' conftest.er1 >conftest.err
46289 rm -f conftest.er1
46290 cat conftest.err >&5
46291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46292 (exit $ac_status); } &&
46293 { ac_try='test -z "$ac_c_werror_flag"
46294 || test ! -s conftest.err'
46295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46296 (eval $ac_try) 2>&5
46297 ac_status=$?
46298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299 (exit $ac_status); }; } &&
46300 { ac_try='test -s conftest$ac_exeext'
46301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46302 (eval $ac_try) 2>&5
46303 ac_status=$?
46304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46305 (exit $ac_status); }; }; then
46306 eval "$as_ac_var=yes"
46307 else
46308 echo "$as_me: failed program was:" >&5
46309 sed 's/^/| /' conftest.$ac_ext >&5
46310
46311 eval "$as_ac_var=no"
46312 fi
46313 rm -f conftest.err conftest.$ac_objext \
46314 conftest$ac_exeext conftest.$ac_ext
46315 fi
46316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46318 if test `eval echo '${'$as_ac_var'}'` = yes; then
46319 cat >>confdefs.h <<_ACEOF
46320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46321 _ACEOF
46322
46323 fi
46324 done
46325
46326 else
46327
46328 echo "$as_me:$LINENO: checking for _expf declaration" >&5
46329 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
46330 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46331 if test "${glibcxx_cv_func__expf_use+set}" = set; then
46332 echo $ECHO_N "(cached) $ECHO_C" >&6
46333 else
46334
46335
46336
46337 ac_ext=cc
46338 ac_cpp='$CXXCPP $CPPFLAGS'
46339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46342
46343 cat >conftest.$ac_ext <<_ACEOF
46344 /* confdefs.h. */
46345 _ACEOF
46346 cat confdefs.h >>conftest.$ac_ext
46347 cat >>conftest.$ac_ext <<_ACEOF
46348 /* end confdefs.h. */
46349 #include <math.h>
46350 #ifdef HAVE_IEEEFP_H
46351 #include <ieeefp.h>
46352 #endif
46353
46354 int
46355 main ()
46356 {
46357 _expf(0);
46358 ;
46359 return 0;
46360 }
46361 _ACEOF
46362 rm -f conftest.$ac_objext
46363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46364 (eval $ac_compile) 2>conftest.er1
46365 ac_status=$?
46366 grep -v '^ *+' conftest.er1 >conftest.err
46367 rm -f conftest.er1
46368 cat conftest.err >&5
46369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46370 (exit $ac_status); } &&
46371 { ac_try='test -z "$ac_cxx_werror_flag"
46372 || test ! -s conftest.err'
46373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46374 (eval $ac_try) 2>&5
46375 ac_status=$?
46376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46377 (exit $ac_status); }; } &&
46378 { ac_try='test -s conftest.$ac_objext'
46379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46380 (eval $ac_try) 2>&5
46381 ac_status=$?
46382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46383 (exit $ac_status); }; }; then
46384 glibcxx_cv_func__expf_use=yes
46385 else
46386 echo "$as_me: failed program was:" >&5
46387 sed 's/^/| /' conftest.$ac_ext >&5
46388
46389 glibcxx_cv_func__expf_use=no
46390 fi
46391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46392 ac_ext=c
46393 ac_cpp='$CPP $CPPFLAGS'
46394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46397
46398
46399 fi
46400
46401 fi
46402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
46403 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
46404
46405 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46406
46407 for ac_func in _expf
46408 do
46409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46410 echo "$as_me:$LINENO: checking for $ac_func" >&5
46411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46412 if eval "test \"\${$as_ac_var+set}\" = set"; then
46413 echo $ECHO_N "(cached) $ECHO_C" >&6
46414 else
46415 if test x$gcc_no_link = xyes; then
46416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46418 { (exit 1); exit 1; }; }
46419 fi
46420 cat >conftest.$ac_ext <<_ACEOF
46421 /* confdefs.h. */
46422 _ACEOF
46423 cat confdefs.h >>conftest.$ac_ext
46424 cat >>conftest.$ac_ext <<_ACEOF
46425 /* end confdefs.h. */
46426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46428 #define $ac_func innocuous_$ac_func
46429
46430 /* System header to define __stub macros and hopefully few prototypes,
46431 which can conflict with char $ac_func (); below.
46432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46433 <limits.h> exists even on freestanding compilers. */
46434
46435 #ifdef __STDC__
46436 # include <limits.h>
46437 #else
46438 # include <assert.h>
46439 #endif
46440
46441 #undef $ac_func
46442
46443 /* Override any gcc2 internal prototype to avoid an error. */
46444 #ifdef __cplusplus
46445 extern "C"
46446 {
46447 #endif
46448 /* We use char because int might match the return type of a gcc2
46449 builtin and then its argument prototype would still apply. */
46450 char $ac_func ();
46451 /* The GNU C library defines this for functions which it implements
46452 to always fail with ENOSYS. Some functions are actually named
46453 something starting with __ and the normal name is an alias. */
46454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46455 choke me
46456 #else
46457 char (*f) () = $ac_func;
46458 #endif
46459 #ifdef __cplusplus
46460 }
46461 #endif
46462
46463 int
46464 main ()
46465 {
46466 return f != $ac_func;
46467 ;
46468 return 0;
46469 }
46470 _ACEOF
46471 rm -f conftest.$ac_objext conftest$ac_exeext
46472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46473 (eval $ac_link) 2>conftest.er1
46474 ac_status=$?
46475 grep -v '^ *+' conftest.er1 >conftest.err
46476 rm -f conftest.er1
46477 cat conftest.err >&5
46478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46479 (exit $ac_status); } &&
46480 { ac_try='test -z "$ac_c_werror_flag"
46481 || test ! -s conftest.err'
46482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46483 (eval $ac_try) 2>&5
46484 ac_status=$?
46485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46486 (exit $ac_status); }; } &&
46487 { ac_try='test -s conftest$ac_exeext'
46488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46489 (eval $ac_try) 2>&5
46490 ac_status=$?
46491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46492 (exit $ac_status); }; }; then
46493 eval "$as_ac_var=yes"
46494 else
46495 echo "$as_me: failed program was:" >&5
46496 sed 's/^/| /' conftest.$ac_ext >&5
46497
46498 eval "$as_ac_var=no"
46499 fi
46500 rm -f conftest.err conftest.$ac_objext \
46501 conftest$ac_exeext conftest.$ac_ext
46502 fi
46503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46505 if test `eval echo '${'$as_ac_var'}'` = yes; then
46506 cat >>confdefs.h <<_ACEOF
46507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46508 _ACEOF
46509
46510 fi
46511 done
46512
46513 fi
46514 fi
46515
46516
46517
46518
46519
46520
46521 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
46522 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
46523 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46524 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
46525 echo $ECHO_N "(cached) $ECHO_C" >&6
46526 else
46527
46528
46529
46530 ac_ext=cc
46531 ac_cpp='$CXXCPP $CPPFLAGS'
46532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46535
46536 cat >conftest.$ac_ext <<_ACEOF
46537 /* confdefs.h. */
46538 _ACEOF
46539 cat confdefs.h >>conftest.$ac_ext
46540 cat >>conftest.$ac_ext <<_ACEOF
46541 /* end confdefs.h. */
46542 #include <math.h>
46543 #ifdef HAVE_IEEEFP_H
46544 #include <ieeefp.h>
46545 #endif
46546
46547 int
46548 main ()
46549 {
46550 isnanf(0);
46551 ;
46552 return 0;
46553 }
46554 _ACEOF
46555 rm -f conftest.$ac_objext
46556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46557 (eval $ac_compile) 2>conftest.er1
46558 ac_status=$?
46559 grep -v '^ *+' conftest.er1 >conftest.err
46560 rm -f conftest.er1
46561 cat conftest.err >&5
46562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46563 (exit $ac_status); } &&
46564 { ac_try='test -z "$ac_cxx_werror_flag"
46565 || test ! -s conftest.err'
46566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46567 (eval $ac_try) 2>&5
46568 ac_status=$?
46569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46570 (exit $ac_status); }; } &&
46571 { ac_try='test -s conftest.$ac_objext'
46572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46573 (eval $ac_try) 2>&5
46574 ac_status=$?
46575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46576 (exit $ac_status); }; }; then
46577 glibcxx_cv_func_isnanf_use=yes
46578 else
46579 echo "$as_me: failed program was:" >&5
46580 sed 's/^/| /' conftest.$ac_ext >&5
46581
46582 glibcxx_cv_func_isnanf_use=no
46583 fi
46584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46585 ac_ext=c
46586 ac_cpp='$CPP $CPPFLAGS'
46587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46590
46591
46592 fi
46593
46594 fi
46595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
46596 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
46597
46598 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46599
46600 for ac_func in isnanf
46601 do
46602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46603 echo "$as_me:$LINENO: checking for $ac_func" >&5
46604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46605 if eval "test \"\${$as_ac_var+set}\" = set"; then
46606 echo $ECHO_N "(cached) $ECHO_C" >&6
46607 else
46608 if test x$gcc_no_link = xyes; then
46609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46611 { (exit 1); exit 1; }; }
46612 fi
46613 cat >conftest.$ac_ext <<_ACEOF
46614 /* confdefs.h. */
46615 _ACEOF
46616 cat confdefs.h >>conftest.$ac_ext
46617 cat >>conftest.$ac_ext <<_ACEOF
46618 /* end confdefs.h. */
46619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46621 #define $ac_func innocuous_$ac_func
46622
46623 /* System header to define __stub macros and hopefully few prototypes,
46624 which can conflict with char $ac_func (); below.
46625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46626 <limits.h> exists even on freestanding compilers. */
46627
46628 #ifdef __STDC__
46629 # include <limits.h>
46630 #else
46631 # include <assert.h>
46632 #endif
46633
46634 #undef $ac_func
46635
46636 /* Override any gcc2 internal prototype to avoid an error. */
46637 #ifdef __cplusplus
46638 extern "C"
46639 {
46640 #endif
46641 /* We use char because int might match the return type of a gcc2
46642 builtin and then its argument prototype would still apply. */
46643 char $ac_func ();
46644 /* The GNU C library defines this for functions which it implements
46645 to always fail with ENOSYS. Some functions are actually named
46646 something starting with __ and the normal name is an alias. */
46647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46648 choke me
46649 #else
46650 char (*f) () = $ac_func;
46651 #endif
46652 #ifdef __cplusplus
46653 }
46654 #endif
46655
46656 int
46657 main ()
46658 {
46659 return f != $ac_func;
46660 ;
46661 return 0;
46662 }
46663 _ACEOF
46664 rm -f conftest.$ac_objext conftest$ac_exeext
46665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46666 (eval $ac_link) 2>conftest.er1
46667 ac_status=$?
46668 grep -v '^ *+' conftest.er1 >conftest.err
46669 rm -f conftest.er1
46670 cat conftest.err >&5
46671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46672 (exit $ac_status); } &&
46673 { ac_try='test -z "$ac_c_werror_flag"
46674 || test ! -s conftest.err'
46675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46676 (eval $ac_try) 2>&5
46677 ac_status=$?
46678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46679 (exit $ac_status); }; } &&
46680 { ac_try='test -s conftest$ac_exeext'
46681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46682 (eval $ac_try) 2>&5
46683 ac_status=$?
46684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46685 (exit $ac_status); }; }; then
46686 eval "$as_ac_var=yes"
46687 else
46688 echo "$as_me: failed program was:" >&5
46689 sed 's/^/| /' conftest.$ac_ext >&5
46690
46691 eval "$as_ac_var=no"
46692 fi
46693 rm -f conftest.err conftest.$ac_objext \
46694 conftest$ac_exeext conftest.$ac_ext
46695 fi
46696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46698 if test `eval echo '${'$as_ac_var'}'` = yes; then
46699 cat >>confdefs.h <<_ACEOF
46700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46701 _ACEOF
46702
46703 fi
46704 done
46705
46706 else
46707
46708 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
46709 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
46710 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46711 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
46712 echo $ECHO_N "(cached) $ECHO_C" >&6
46713 else
46714
46715
46716
46717 ac_ext=cc
46718 ac_cpp='$CXXCPP $CPPFLAGS'
46719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46722
46723 cat >conftest.$ac_ext <<_ACEOF
46724 /* confdefs.h. */
46725 _ACEOF
46726 cat confdefs.h >>conftest.$ac_ext
46727 cat >>conftest.$ac_ext <<_ACEOF
46728 /* end confdefs.h. */
46729 #include <math.h>
46730 #ifdef HAVE_IEEEFP_H
46731 #include <ieeefp.h>
46732 #endif
46733
46734 int
46735 main ()
46736 {
46737 _isnanf(0);
46738 ;
46739 return 0;
46740 }
46741 _ACEOF
46742 rm -f conftest.$ac_objext
46743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46744 (eval $ac_compile) 2>conftest.er1
46745 ac_status=$?
46746 grep -v '^ *+' conftest.er1 >conftest.err
46747 rm -f conftest.er1
46748 cat conftest.err >&5
46749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46750 (exit $ac_status); } &&
46751 { ac_try='test -z "$ac_cxx_werror_flag"
46752 || test ! -s conftest.err'
46753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46754 (eval $ac_try) 2>&5
46755 ac_status=$?
46756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46757 (exit $ac_status); }; } &&
46758 { ac_try='test -s conftest.$ac_objext'
46759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46760 (eval $ac_try) 2>&5
46761 ac_status=$?
46762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46763 (exit $ac_status); }; }; then
46764 glibcxx_cv_func__isnanf_use=yes
46765 else
46766 echo "$as_me: failed program was:" >&5
46767 sed 's/^/| /' conftest.$ac_ext >&5
46768
46769 glibcxx_cv_func__isnanf_use=no
46770 fi
46771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46772 ac_ext=c
46773 ac_cpp='$CPP $CPPFLAGS'
46774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46777
46778
46779 fi
46780
46781 fi
46782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
46783 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
46784
46785 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46786
46787 for ac_func in _isnanf
46788 do
46789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46790 echo "$as_me:$LINENO: checking for $ac_func" >&5
46791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46792 if eval "test \"\${$as_ac_var+set}\" = set"; then
46793 echo $ECHO_N "(cached) $ECHO_C" >&6
46794 else
46795 if test x$gcc_no_link = xyes; then
46796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46798 { (exit 1); exit 1; }; }
46799 fi
46800 cat >conftest.$ac_ext <<_ACEOF
46801 /* confdefs.h. */
46802 _ACEOF
46803 cat confdefs.h >>conftest.$ac_ext
46804 cat >>conftest.$ac_ext <<_ACEOF
46805 /* end confdefs.h. */
46806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46808 #define $ac_func innocuous_$ac_func
46809
46810 /* System header to define __stub macros and hopefully few prototypes,
46811 which can conflict with char $ac_func (); below.
46812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46813 <limits.h> exists even on freestanding compilers. */
46814
46815 #ifdef __STDC__
46816 # include <limits.h>
46817 #else
46818 # include <assert.h>
46819 #endif
46820
46821 #undef $ac_func
46822
46823 /* Override any gcc2 internal prototype to avoid an error. */
46824 #ifdef __cplusplus
46825 extern "C"
46826 {
46827 #endif
46828 /* We use char because int might match the return type of a gcc2
46829 builtin and then its argument prototype would still apply. */
46830 char $ac_func ();
46831 /* The GNU C library defines this for functions which it implements
46832 to always fail with ENOSYS. Some functions are actually named
46833 something starting with __ and the normal name is an alias. */
46834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46835 choke me
46836 #else
46837 char (*f) () = $ac_func;
46838 #endif
46839 #ifdef __cplusplus
46840 }
46841 #endif
46842
46843 int
46844 main ()
46845 {
46846 return f != $ac_func;
46847 ;
46848 return 0;
46849 }
46850 _ACEOF
46851 rm -f conftest.$ac_objext conftest$ac_exeext
46852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46853 (eval $ac_link) 2>conftest.er1
46854 ac_status=$?
46855 grep -v '^ *+' conftest.er1 >conftest.err
46856 rm -f conftest.er1
46857 cat conftest.err >&5
46858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46859 (exit $ac_status); } &&
46860 { ac_try='test -z "$ac_c_werror_flag"
46861 || test ! -s conftest.err'
46862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46863 (eval $ac_try) 2>&5
46864 ac_status=$?
46865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46866 (exit $ac_status); }; } &&
46867 { ac_try='test -s conftest$ac_exeext'
46868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46869 (eval $ac_try) 2>&5
46870 ac_status=$?
46871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46872 (exit $ac_status); }; }; then
46873 eval "$as_ac_var=yes"
46874 else
46875 echo "$as_me: failed program was:" >&5
46876 sed 's/^/| /' conftest.$ac_ext >&5
46877
46878 eval "$as_ac_var=no"
46879 fi
46880 rm -f conftest.err conftest.$ac_objext \
46881 conftest$ac_exeext conftest.$ac_ext
46882 fi
46883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46885 if test `eval echo '${'$as_ac_var'}'` = yes; then
46886 cat >>confdefs.h <<_ACEOF
46887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46888 _ACEOF
46889
46890 fi
46891 done
46892
46893 fi
46894 fi
46895
46896
46897
46898
46899
46900
46901 echo "$as_me:$LINENO: checking for isinff declaration" >&5
46902 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
46903 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46904 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
46905 echo $ECHO_N "(cached) $ECHO_C" >&6
46906 else
46907
46908
46909
46910 ac_ext=cc
46911 ac_cpp='$CXXCPP $CPPFLAGS'
46912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46915
46916 cat >conftest.$ac_ext <<_ACEOF
46917 /* confdefs.h. */
46918 _ACEOF
46919 cat confdefs.h >>conftest.$ac_ext
46920 cat >>conftest.$ac_ext <<_ACEOF
46921 /* end confdefs.h. */
46922 #include <math.h>
46923 #ifdef HAVE_IEEEFP_H
46924 #include <ieeefp.h>
46925 #endif
46926
46927 int
46928 main ()
46929 {
46930 isinff(0);
46931 ;
46932 return 0;
46933 }
46934 _ACEOF
46935 rm -f conftest.$ac_objext
46936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46937 (eval $ac_compile) 2>conftest.er1
46938 ac_status=$?
46939 grep -v '^ *+' conftest.er1 >conftest.err
46940 rm -f conftest.er1
46941 cat conftest.err >&5
46942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46943 (exit $ac_status); } &&
46944 { ac_try='test -z "$ac_cxx_werror_flag"
46945 || test ! -s conftest.err'
46946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46947 (eval $ac_try) 2>&5
46948 ac_status=$?
46949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46950 (exit $ac_status); }; } &&
46951 { ac_try='test -s conftest.$ac_objext'
46952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46953 (eval $ac_try) 2>&5
46954 ac_status=$?
46955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46956 (exit $ac_status); }; }; then
46957 glibcxx_cv_func_isinff_use=yes
46958 else
46959 echo "$as_me: failed program was:" >&5
46960 sed 's/^/| /' conftest.$ac_ext >&5
46961
46962 glibcxx_cv_func_isinff_use=no
46963 fi
46964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46965 ac_ext=c
46966 ac_cpp='$CPP $CPPFLAGS'
46967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46970
46971
46972 fi
46973
46974 fi
46975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
46976 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
46977
46978 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46979
46980 for ac_func in isinff
46981 do
46982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46983 echo "$as_me:$LINENO: checking for $ac_func" >&5
46984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46985 if eval "test \"\${$as_ac_var+set}\" = set"; then
46986 echo $ECHO_N "(cached) $ECHO_C" >&6
46987 else
46988 if test x$gcc_no_link = xyes; then
46989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46991 { (exit 1); exit 1; }; }
46992 fi
46993 cat >conftest.$ac_ext <<_ACEOF
46994 /* confdefs.h. */
46995 _ACEOF
46996 cat confdefs.h >>conftest.$ac_ext
46997 cat >>conftest.$ac_ext <<_ACEOF
46998 /* end confdefs.h. */
46999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47001 #define $ac_func innocuous_$ac_func
47002
47003 /* System header to define __stub macros and hopefully few prototypes,
47004 which can conflict with char $ac_func (); below.
47005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47006 <limits.h> exists even on freestanding compilers. */
47007
47008 #ifdef __STDC__
47009 # include <limits.h>
47010 #else
47011 # include <assert.h>
47012 #endif
47013
47014 #undef $ac_func
47015
47016 /* Override any gcc2 internal prototype to avoid an error. */
47017 #ifdef __cplusplus
47018 extern "C"
47019 {
47020 #endif
47021 /* We use char because int might match the return type of a gcc2
47022 builtin and then its argument prototype would still apply. */
47023 char $ac_func ();
47024 /* The GNU C library defines this for functions which it implements
47025 to always fail with ENOSYS. Some functions are actually named
47026 something starting with __ and the normal name is an alias. */
47027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47028 choke me
47029 #else
47030 char (*f) () = $ac_func;
47031 #endif
47032 #ifdef __cplusplus
47033 }
47034 #endif
47035
47036 int
47037 main ()
47038 {
47039 return f != $ac_func;
47040 ;
47041 return 0;
47042 }
47043 _ACEOF
47044 rm -f conftest.$ac_objext conftest$ac_exeext
47045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47046 (eval $ac_link) 2>conftest.er1
47047 ac_status=$?
47048 grep -v '^ *+' conftest.er1 >conftest.err
47049 rm -f conftest.er1
47050 cat conftest.err >&5
47051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47052 (exit $ac_status); } &&
47053 { ac_try='test -z "$ac_c_werror_flag"
47054 || test ! -s conftest.err'
47055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47056 (eval $ac_try) 2>&5
47057 ac_status=$?
47058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47059 (exit $ac_status); }; } &&
47060 { ac_try='test -s conftest$ac_exeext'
47061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47062 (eval $ac_try) 2>&5
47063 ac_status=$?
47064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47065 (exit $ac_status); }; }; then
47066 eval "$as_ac_var=yes"
47067 else
47068 echo "$as_me: failed program was:" >&5
47069 sed 's/^/| /' conftest.$ac_ext >&5
47070
47071 eval "$as_ac_var=no"
47072 fi
47073 rm -f conftest.err conftest.$ac_objext \
47074 conftest$ac_exeext conftest.$ac_ext
47075 fi
47076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47078 if test `eval echo '${'$as_ac_var'}'` = yes; then
47079 cat >>confdefs.h <<_ACEOF
47080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47081 _ACEOF
47082
47083 fi
47084 done
47085
47086 else
47087
47088 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
47089 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
47090 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47091 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
47092 echo $ECHO_N "(cached) $ECHO_C" >&6
47093 else
47094
47095
47096
47097 ac_ext=cc
47098 ac_cpp='$CXXCPP $CPPFLAGS'
47099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47102
47103 cat >conftest.$ac_ext <<_ACEOF
47104 /* confdefs.h. */
47105 _ACEOF
47106 cat confdefs.h >>conftest.$ac_ext
47107 cat >>conftest.$ac_ext <<_ACEOF
47108 /* end confdefs.h. */
47109 #include <math.h>
47110 #ifdef HAVE_IEEEFP_H
47111 #include <ieeefp.h>
47112 #endif
47113
47114 int
47115 main ()
47116 {
47117 _isinff(0);
47118 ;
47119 return 0;
47120 }
47121 _ACEOF
47122 rm -f conftest.$ac_objext
47123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47124 (eval $ac_compile) 2>conftest.er1
47125 ac_status=$?
47126 grep -v '^ *+' conftest.er1 >conftest.err
47127 rm -f conftest.er1
47128 cat conftest.err >&5
47129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47130 (exit $ac_status); } &&
47131 { ac_try='test -z "$ac_cxx_werror_flag"
47132 || test ! -s conftest.err'
47133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47134 (eval $ac_try) 2>&5
47135 ac_status=$?
47136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47137 (exit $ac_status); }; } &&
47138 { ac_try='test -s conftest.$ac_objext'
47139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47140 (eval $ac_try) 2>&5
47141 ac_status=$?
47142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47143 (exit $ac_status); }; }; then
47144 glibcxx_cv_func__isinff_use=yes
47145 else
47146 echo "$as_me: failed program was:" >&5
47147 sed 's/^/| /' conftest.$ac_ext >&5
47148
47149 glibcxx_cv_func__isinff_use=no
47150 fi
47151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47152 ac_ext=c
47153 ac_cpp='$CPP $CPPFLAGS'
47154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47157
47158
47159 fi
47160
47161 fi
47162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
47163 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
47164
47165 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47166
47167 for ac_func in _isinff
47168 do
47169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47170 echo "$as_me:$LINENO: checking for $ac_func" >&5
47171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47172 if eval "test \"\${$as_ac_var+set}\" = set"; then
47173 echo $ECHO_N "(cached) $ECHO_C" >&6
47174 else
47175 if test x$gcc_no_link = xyes; then
47176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47178 { (exit 1); exit 1; }; }
47179 fi
47180 cat >conftest.$ac_ext <<_ACEOF
47181 /* confdefs.h. */
47182 _ACEOF
47183 cat confdefs.h >>conftest.$ac_ext
47184 cat >>conftest.$ac_ext <<_ACEOF
47185 /* end confdefs.h. */
47186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47188 #define $ac_func innocuous_$ac_func
47189
47190 /* System header to define __stub macros and hopefully few prototypes,
47191 which can conflict with char $ac_func (); below.
47192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47193 <limits.h> exists even on freestanding compilers. */
47194
47195 #ifdef __STDC__
47196 # include <limits.h>
47197 #else
47198 # include <assert.h>
47199 #endif
47200
47201 #undef $ac_func
47202
47203 /* Override any gcc2 internal prototype to avoid an error. */
47204 #ifdef __cplusplus
47205 extern "C"
47206 {
47207 #endif
47208 /* We use char because int might match the return type of a gcc2
47209 builtin and then its argument prototype would still apply. */
47210 char $ac_func ();
47211 /* The GNU C library defines this for functions which it implements
47212 to always fail with ENOSYS. Some functions are actually named
47213 something starting with __ and the normal name is an alias. */
47214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47215 choke me
47216 #else
47217 char (*f) () = $ac_func;
47218 #endif
47219 #ifdef __cplusplus
47220 }
47221 #endif
47222
47223 int
47224 main ()
47225 {
47226 return f != $ac_func;
47227 ;
47228 return 0;
47229 }
47230 _ACEOF
47231 rm -f conftest.$ac_objext conftest$ac_exeext
47232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47233 (eval $ac_link) 2>conftest.er1
47234 ac_status=$?
47235 grep -v '^ *+' conftest.er1 >conftest.err
47236 rm -f conftest.er1
47237 cat conftest.err >&5
47238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47239 (exit $ac_status); } &&
47240 { ac_try='test -z "$ac_c_werror_flag"
47241 || test ! -s conftest.err'
47242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47243 (eval $ac_try) 2>&5
47244 ac_status=$?
47245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47246 (exit $ac_status); }; } &&
47247 { ac_try='test -s conftest$ac_exeext'
47248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47249 (eval $ac_try) 2>&5
47250 ac_status=$?
47251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47252 (exit $ac_status); }; }; then
47253 eval "$as_ac_var=yes"
47254 else
47255 echo "$as_me: failed program was:" >&5
47256 sed 's/^/| /' conftest.$ac_ext >&5
47257
47258 eval "$as_ac_var=no"
47259 fi
47260 rm -f conftest.err conftest.$ac_objext \
47261 conftest$ac_exeext conftest.$ac_ext
47262 fi
47263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47265 if test `eval echo '${'$as_ac_var'}'` = yes; then
47266 cat >>confdefs.h <<_ACEOF
47267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47268 _ACEOF
47269
47270 fi
47271 done
47272
47273 fi
47274 fi
47275
47276
47277
47278
47279
47280
47281 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
47282 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
47283 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47284 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
47285 echo $ECHO_N "(cached) $ECHO_C" >&6
47286 else
47287
47288
47289
47290 ac_ext=cc
47291 ac_cpp='$CXXCPP $CPPFLAGS'
47292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47295
47296 cat >conftest.$ac_ext <<_ACEOF
47297 /* confdefs.h. */
47298 _ACEOF
47299 cat confdefs.h >>conftest.$ac_ext
47300 cat >>conftest.$ac_ext <<_ACEOF
47301 /* end confdefs.h. */
47302 #include <math.h>
47303 int
47304 main ()
47305 {
47306 atan2f(0, 0);
47307 ;
47308 return 0;
47309 }
47310 _ACEOF
47311 rm -f conftest.$ac_objext
47312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47313 (eval $ac_compile) 2>conftest.er1
47314 ac_status=$?
47315 grep -v '^ *+' conftest.er1 >conftest.err
47316 rm -f conftest.er1
47317 cat conftest.err >&5
47318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47319 (exit $ac_status); } &&
47320 { ac_try='test -z "$ac_cxx_werror_flag"
47321 || test ! -s conftest.err'
47322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47323 (eval $ac_try) 2>&5
47324 ac_status=$?
47325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47326 (exit $ac_status); }; } &&
47327 { ac_try='test -s conftest.$ac_objext'
47328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47329 (eval $ac_try) 2>&5
47330 ac_status=$?
47331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47332 (exit $ac_status); }; }; then
47333 glibcxx_cv_func_atan2f_use=yes
47334 else
47335 echo "$as_me: failed program was:" >&5
47336 sed 's/^/| /' conftest.$ac_ext >&5
47337
47338 glibcxx_cv_func_atan2f_use=no
47339 fi
47340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47341 ac_ext=c
47342 ac_cpp='$CPP $CPPFLAGS'
47343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47346
47347
47348 fi
47349
47350 fi
47351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
47352 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
47353
47354 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47355
47356 for ac_func in atan2f
47357 do
47358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47359 echo "$as_me:$LINENO: checking for $ac_func" >&5
47360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47361 if eval "test \"\${$as_ac_var+set}\" = set"; then
47362 echo $ECHO_N "(cached) $ECHO_C" >&6
47363 else
47364 if test x$gcc_no_link = xyes; then
47365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47367 { (exit 1); exit 1; }; }
47368 fi
47369 cat >conftest.$ac_ext <<_ACEOF
47370 /* confdefs.h. */
47371 _ACEOF
47372 cat confdefs.h >>conftest.$ac_ext
47373 cat >>conftest.$ac_ext <<_ACEOF
47374 /* end confdefs.h. */
47375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47377 #define $ac_func innocuous_$ac_func
47378
47379 /* System header to define __stub macros and hopefully few prototypes,
47380 which can conflict with char $ac_func (); below.
47381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47382 <limits.h> exists even on freestanding compilers. */
47383
47384 #ifdef __STDC__
47385 # include <limits.h>
47386 #else
47387 # include <assert.h>
47388 #endif
47389
47390 #undef $ac_func
47391
47392 /* Override any gcc2 internal prototype to avoid an error. */
47393 #ifdef __cplusplus
47394 extern "C"
47395 {
47396 #endif
47397 /* We use char because int might match the return type of a gcc2
47398 builtin and then its argument prototype would still apply. */
47399 char $ac_func ();
47400 /* The GNU C library defines this for functions which it implements
47401 to always fail with ENOSYS. Some functions are actually named
47402 something starting with __ and the normal name is an alias. */
47403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47404 choke me
47405 #else
47406 char (*f) () = $ac_func;
47407 #endif
47408 #ifdef __cplusplus
47409 }
47410 #endif
47411
47412 int
47413 main ()
47414 {
47415 return f != $ac_func;
47416 ;
47417 return 0;
47418 }
47419 _ACEOF
47420 rm -f conftest.$ac_objext conftest$ac_exeext
47421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47422 (eval $ac_link) 2>conftest.er1
47423 ac_status=$?
47424 grep -v '^ *+' conftest.er1 >conftest.err
47425 rm -f conftest.er1
47426 cat conftest.err >&5
47427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47428 (exit $ac_status); } &&
47429 { ac_try='test -z "$ac_c_werror_flag"
47430 || test ! -s conftest.err'
47431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47432 (eval $ac_try) 2>&5
47433 ac_status=$?
47434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47435 (exit $ac_status); }; } &&
47436 { ac_try='test -s conftest$ac_exeext'
47437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47438 (eval $ac_try) 2>&5
47439 ac_status=$?
47440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47441 (exit $ac_status); }; }; then
47442 eval "$as_ac_var=yes"
47443 else
47444 echo "$as_me: failed program was:" >&5
47445 sed 's/^/| /' conftest.$ac_ext >&5
47446
47447 eval "$as_ac_var=no"
47448 fi
47449 rm -f conftest.err conftest.$ac_objext \
47450 conftest$ac_exeext conftest.$ac_ext
47451 fi
47452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47454 if test `eval echo '${'$as_ac_var'}'` = yes; then
47455 cat >>confdefs.h <<_ACEOF
47456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47457 _ACEOF
47458
47459 fi
47460 done
47461
47462 else
47463
47464 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
47465 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
47466 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47467 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
47468 echo $ECHO_N "(cached) $ECHO_C" >&6
47469 else
47470
47471
47472
47473 ac_ext=cc
47474 ac_cpp='$CXXCPP $CPPFLAGS'
47475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47478
47479 cat >conftest.$ac_ext <<_ACEOF
47480 /* confdefs.h. */
47481 _ACEOF
47482 cat confdefs.h >>conftest.$ac_ext
47483 cat >>conftest.$ac_ext <<_ACEOF
47484 /* end confdefs.h. */
47485 #include <math.h>
47486 int
47487 main ()
47488 {
47489 _atan2f(0, 0);
47490 ;
47491 return 0;
47492 }
47493 _ACEOF
47494 rm -f conftest.$ac_objext
47495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47496 (eval $ac_compile) 2>conftest.er1
47497 ac_status=$?
47498 grep -v '^ *+' conftest.er1 >conftest.err
47499 rm -f conftest.er1
47500 cat conftest.err >&5
47501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47502 (exit $ac_status); } &&
47503 { ac_try='test -z "$ac_cxx_werror_flag"
47504 || test ! -s conftest.err'
47505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47506 (eval $ac_try) 2>&5
47507 ac_status=$?
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); }; } &&
47510 { ac_try='test -s conftest.$ac_objext'
47511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47512 (eval $ac_try) 2>&5
47513 ac_status=$?
47514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47515 (exit $ac_status); }; }; then
47516 glibcxx_cv_func__atan2f_use=yes
47517 else
47518 echo "$as_me: failed program was:" >&5
47519 sed 's/^/| /' conftest.$ac_ext >&5
47520
47521 glibcxx_cv_func__atan2f_use=no
47522 fi
47523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47524 ac_ext=c
47525 ac_cpp='$CPP $CPPFLAGS'
47526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47529
47530
47531 fi
47532
47533 fi
47534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
47535 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
47536
47537 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47538
47539 for ac_func in _atan2f
47540 do
47541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47542 echo "$as_me:$LINENO: checking for $ac_func" >&5
47543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47544 if eval "test \"\${$as_ac_var+set}\" = set"; then
47545 echo $ECHO_N "(cached) $ECHO_C" >&6
47546 else
47547 if test x$gcc_no_link = xyes; then
47548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47550 { (exit 1); exit 1; }; }
47551 fi
47552 cat >conftest.$ac_ext <<_ACEOF
47553 /* confdefs.h. */
47554 _ACEOF
47555 cat confdefs.h >>conftest.$ac_ext
47556 cat >>conftest.$ac_ext <<_ACEOF
47557 /* end confdefs.h. */
47558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47560 #define $ac_func innocuous_$ac_func
47561
47562 /* System header to define __stub macros and hopefully few prototypes,
47563 which can conflict with char $ac_func (); below.
47564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47565 <limits.h> exists even on freestanding compilers. */
47566
47567 #ifdef __STDC__
47568 # include <limits.h>
47569 #else
47570 # include <assert.h>
47571 #endif
47572
47573 #undef $ac_func
47574
47575 /* Override any gcc2 internal prototype to avoid an error. */
47576 #ifdef __cplusplus
47577 extern "C"
47578 {
47579 #endif
47580 /* We use char because int might match the return type of a gcc2
47581 builtin and then its argument prototype would still apply. */
47582 char $ac_func ();
47583 /* The GNU C library defines this for functions which it implements
47584 to always fail with ENOSYS. Some functions are actually named
47585 something starting with __ and the normal name is an alias. */
47586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47587 choke me
47588 #else
47589 char (*f) () = $ac_func;
47590 #endif
47591 #ifdef __cplusplus
47592 }
47593 #endif
47594
47595 int
47596 main ()
47597 {
47598 return f != $ac_func;
47599 ;
47600 return 0;
47601 }
47602 _ACEOF
47603 rm -f conftest.$ac_objext conftest$ac_exeext
47604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47605 (eval $ac_link) 2>conftest.er1
47606 ac_status=$?
47607 grep -v '^ *+' conftest.er1 >conftest.err
47608 rm -f conftest.er1
47609 cat conftest.err >&5
47610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47611 (exit $ac_status); } &&
47612 { ac_try='test -z "$ac_c_werror_flag"
47613 || test ! -s conftest.err'
47614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47615 (eval $ac_try) 2>&5
47616 ac_status=$?
47617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47618 (exit $ac_status); }; } &&
47619 { ac_try='test -s conftest$ac_exeext'
47620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47621 (eval $ac_try) 2>&5
47622 ac_status=$?
47623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47624 (exit $ac_status); }; }; then
47625 eval "$as_ac_var=yes"
47626 else
47627 echo "$as_me: failed program was:" >&5
47628 sed 's/^/| /' conftest.$ac_ext >&5
47629
47630 eval "$as_ac_var=no"
47631 fi
47632 rm -f conftest.err conftest.$ac_objext \
47633 conftest$ac_exeext conftest.$ac_ext
47634 fi
47635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47637 if test `eval echo '${'$as_ac_var'}'` = yes; then
47638 cat >>confdefs.h <<_ACEOF
47639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47640 _ACEOF
47641
47642 fi
47643 done
47644
47645 fi
47646 fi
47647
47648
47649
47650
47651
47652
47653 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
47654 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
47655 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47656 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
47657 echo $ECHO_N "(cached) $ECHO_C" >&6
47658 else
47659
47660
47661
47662 ac_ext=cc
47663 ac_cpp='$CXXCPP $CPPFLAGS'
47664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47667
47668 cat >conftest.$ac_ext <<_ACEOF
47669 /* confdefs.h. */
47670 _ACEOF
47671 cat confdefs.h >>conftest.$ac_ext
47672 cat >>conftest.$ac_ext <<_ACEOF
47673 /* end confdefs.h. */
47674 #include <math.h>
47675 #ifdef HAVE_IEEEFP_H
47676 #include <ieeefp.h>
47677 #endif
47678
47679 int
47680 main ()
47681 {
47682 fabsf(0);
47683 ;
47684 return 0;
47685 }
47686 _ACEOF
47687 rm -f conftest.$ac_objext
47688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47689 (eval $ac_compile) 2>conftest.er1
47690 ac_status=$?
47691 grep -v '^ *+' conftest.er1 >conftest.err
47692 rm -f conftest.er1
47693 cat conftest.err >&5
47694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47695 (exit $ac_status); } &&
47696 { ac_try='test -z "$ac_cxx_werror_flag"
47697 || test ! -s conftest.err'
47698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47699 (eval $ac_try) 2>&5
47700 ac_status=$?
47701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47702 (exit $ac_status); }; } &&
47703 { ac_try='test -s conftest.$ac_objext'
47704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47705 (eval $ac_try) 2>&5
47706 ac_status=$?
47707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47708 (exit $ac_status); }; }; then
47709 glibcxx_cv_func_fabsf_use=yes
47710 else
47711 echo "$as_me: failed program was:" >&5
47712 sed 's/^/| /' conftest.$ac_ext >&5
47713
47714 glibcxx_cv_func_fabsf_use=no
47715 fi
47716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47717 ac_ext=c
47718 ac_cpp='$CPP $CPPFLAGS'
47719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47722
47723
47724 fi
47725
47726 fi
47727 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
47728 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
47729
47730 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47731
47732 for ac_func in fabsf
47733 do
47734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47735 echo "$as_me:$LINENO: checking for $ac_func" >&5
47736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47737 if eval "test \"\${$as_ac_var+set}\" = set"; then
47738 echo $ECHO_N "(cached) $ECHO_C" >&6
47739 else
47740 if test x$gcc_no_link = xyes; then
47741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47743 { (exit 1); exit 1; }; }
47744 fi
47745 cat >conftest.$ac_ext <<_ACEOF
47746 /* confdefs.h. */
47747 _ACEOF
47748 cat confdefs.h >>conftest.$ac_ext
47749 cat >>conftest.$ac_ext <<_ACEOF
47750 /* end confdefs.h. */
47751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47753 #define $ac_func innocuous_$ac_func
47754
47755 /* System header to define __stub macros and hopefully few prototypes,
47756 which can conflict with char $ac_func (); below.
47757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47758 <limits.h> exists even on freestanding compilers. */
47759
47760 #ifdef __STDC__
47761 # include <limits.h>
47762 #else
47763 # include <assert.h>
47764 #endif
47765
47766 #undef $ac_func
47767
47768 /* Override any gcc2 internal prototype to avoid an error. */
47769 #ifdef __cplusplus
47770 extern "C"
47771 {
47772 #endif
47773 /* We use char because int might match the return type of a gcc2
47774 builtin and then its argument prototype would still apply. */
47775 char $ac_func ();
47776 /* The GNU C library defines this for functions which it implements
47777 to always fail with ENOSYS. Some functions are actually named
47778 something starting with __ and the normal name is an alias. */
47779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47780 choke me
47781 #else
47782 char (*f) () = $ac_func;
47783 #endif
47784 #ifdef __cplusplus
47785 }
47786 #endif
47787
47788 int
47789 main ()
47790 {
47791 return f != $ac_func;
47792 ;
47793 return 0;
47794 }
47795 _ACEOF
47796 rm -f conftest.$ac_objext conftest$ac_exeext
47797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47798 (eval $ac_link) 2>conftest.er1
47799 ac_status=$?
47800 grep -v '^ *+' conftest.er1 >conftest.err
47801 rm -f conftest.er1
47802 cat conftest.err >&5
47803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47804 (exit $ac_status); } &&
47805 { ac_try='test -z "$ac_c_werror_flag"
47806 || test ! -s conftest.err'
47807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47808 (eval $ac_try) 2>&5
47809 ac_status=$?
47810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47811 (exit $ac_status); }; } &&
47812 { ac_try='test -s conftest$ac_exeext'
47813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47814 (eval $ac_try) 2>&5
47815 ac_status=$?
47816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47817 (exit $ac_status); }; }; then
47818 eval "$as_ac_var=yes"
47819 else
47820 echo "$as_me: failed program was:" >&5
47821 sed 's/^/| /' conftest.$ac_ext >&5
47822
47823 eval "$as_ac_var=no"
47824 fi
47825 rm -f conftest.err conftest.$ac_objext \
47826 conftest$ac_exeext conftest.$ac_ext
47827 fi
47828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47830 if test `eval echo '${'$as_ac_var'}'` = yes; then
47831 cat >>confdefs.h <<_ACEOF
47832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47833 _ACEOF
47834
47835 fi
47836 done
47837
47838 else
47839
47840 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
47841 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
47842 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47843 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
47844 echo $ECHO_N "(cached) $ECHO_C" >&6
47845 else
47846
47847
47848
47849 ac_ext=cc
47850 ac_cpp='$CXXCPP $CPPFLAGS'
47851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47854
47855 cat >conftest.$ac_ext <<_ACEOF
47856 /* confdefs.h. */
47857 _ACEOF
47858 cat confdefs.h >>conftest.$ac_ext
47859 cat >>conftest.$ac_ext <<_ACEOF
47860 /* end confdefs.h. */
47861 #include <math.h>
47862 #ifdef HAVE_IEEEFP_H
47863 #include <ieeefp.h>
47864 #endif
47865
47866 int
47867 main ()
47868 {
47869 _fabsf(0);
47870 ;
47871 return 0;
47872 }
47873 _ACEOF
47874 rm -f conftest.$ac_objext
47875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47876 (eval $ac_compile) 2>conftest.er1
47877 ac_status=$?
47878 grep -v '^ *+' conftest.er1 >conftest.err
47879 rm -f conftest.er1
47880 cat conftest.err >&5
47881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47882 (exit $ac_status); } &&
47883 { ac_try='test -z "$ac_cxx_werror_flag"
47884 || test ! -s conftest.err'
47885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47886 (eval $ac_try) 2>&5
47887 ac_status=$?
47888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47889 (exit $ac_status); }; } &&
47890 { ac_try='test -s conftest.$ac_objext'
47891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47892 (eval $ac_try) 2>&5
47893 ac_status=$?
47894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47895 (exit $ac_status); }; }; then
47896 glibcxx_cv_func__fabsf_use=yes
47897 else
47898 echo "$as_me: failed program was:" >&5
47899 sed 's/^/| /' conftest.$ac_ext >&5
47900
47901 glibcxx_cv_func__fabsf_use=no
47902 fi
47903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47904 ac_ext=c
47905 ac_cpp='$CPP $CPPFLAGS'
47906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47909
47910
47911 fi
47912
47913 fi
47914 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
47915 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
47916
47917 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47918
47919 for ac_func in _fabsf
47920 do
47921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47922 echo "$as_me:$LINENO: checking for $ac_func" >&5
47923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47924 if eval "test \"\${$as_ac_var+set}\" = set"; then
47925 echo $ECHO_N "(cached) $ECHO_C" >&6
47926 else
47927 if test x$gcc_no_link = xyes; then
47928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47930 { (exit 1); exit 1; }; }
47931 fi
47932 cat >conftest.$ac_ext <<_ACEOF
47933 /* confdefs.h. */
47934 _ACEOF
47935 cat confdefs.h >>conftest.$ac_ext
47936 cat >>conftest.$ac_ext <<_ACEOF
47937 /* end confdefs.h. */
47938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47940 #define $ac_func innocuous_$ac_func
47941
47942 /* System header to define __stub macros and hopefully few prototypes,
47943 which can conflict with char $ac_func (); below.
47944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47945 <limits.h> exists even on freestanding compilers. */
47946
47947 #ifdef __STDC__
47948 # include <limits.h>
47949 #else
47950 # include <assert.h>
47951 #endif
47952
47953 #undef $ac_func
47954
47955 /* Override any gcc2 internal prototype to avoid an error. */
47956 #ifdef __cplusplus
47957 extern "C"
47958 {
47959 #endif
47960 /* We use char because int might match the return type of a gcc2
47961 builtin and then its argument prototype would still apply. */
47962 char $ac_func ();
47963 /* The GNU C library defines this for functions which it implements
47964 to always fail with ENOSYS. Some functions are actually named
47965 something starting with __ and the normal name is an alias. */
47966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47967 choke me
47968 #else
47969 char (*f) () = $ac_func;
47970 #endif
47971 #ifdef __cplusplus
47972 }
47973 #endif
47974
47975 int
47976 main ()
47977 {
47978 return f != $ac_func;
47979 ;
47980 return 0;
47981 }
47982 _ACEOF
47983 rm -f conftest.$ac_objext conftest$ac_exeext
47984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47985 (eval $ac_link) 2>conftest.er1
47986 ac_status=$?
47987 grep -v '^ *+' conftest.er1 >conftest.err
47988 rm -f conftest.er1
47989 cat conftest.err >&5
47990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47991 (exit $ac_status); } &&
47992 { ac_try='test -z "$ac_c_werror_flag"
47993 || test ! -s conftest.err'
47994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47995 (eval $ac_try) 2>&5
47996 ac_status=$?
47997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47998 (exit $ac_status); }; } &&
47999 { ac_try='test -s conftest$ac_exeext'
48000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48001 (eval $ac_try) 2>&5
48002 ac_status=$?
48003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48004 (exit $ac_status); }; }; then
48005 eval "$as_ac_var=yes"
48006 else
48007 echo "$as_me: failed program was:" >&5
48008 sed 's/^/| /' conftest.$ac_ext >&5
48009
48010 eval "$as_ac_var=no"
48011 fi
48012 rm -f conftest.err conftest.$ac_objext \
48013 conftest$ac_exeext conftest.$ac_ext
48014 fi
48015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48017 if test `eval echo '${'$as_ac_var'}'` = yes; then
48018 cat >>confdefs.h <<_ACEOF
48019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48020 _ACEOF
48021
48022 fi
48023 done
48024
48025 fi
48026 fi
48027
48028
48029
48030
48031
48032
48033 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
48034 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
48035 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48036 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
48037 echo $ECHO_N "(cached) $ECHO_C" >&6
48038 else
48039
48040
48041
48042 ac_ext=cc
48043 ac_cpp='$CXXCPP $CPPFLAGS'
48044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48047
48048 cat >conftest.$ac_ext <<_ACEOF
48049 /* confdefs.h. */
48050 _ACEOF
48051 cat confdefs.h >>conftest.$ac_ext
48052 cat >>conftest.$ac_ext <<_ACEOF
48053 /* end confdefs.h. */
48054 #include <math.h>
48055 int
48056 main ()
48057 {
48058 fmodf(0, 0);
48059 ;
48060 return 0;
48061 }
48062 _ACEOF
48063 rm -f conftest.$ac_objext
48064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48065 (eval $ac_compile) 2>conftest.er1
48066 ac_status=$?
48067 grep -v '^ *+' conftest.er1 >conftest.err
48068 rm -f conftest.er1
48069 cat conftest.err >&5
48070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48071 (exit $ac_status); } &&
48072 { ac_try='test -z "$ac_cxx_werror_flag"
48073 || test ! -s conftest.err'
48074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48075 (eval $ac_try) 2>&5
48076 ac_status=$?
48077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48078 (exit $ac_status); }; } &&
48079 { ac_try='test -s conftest.$ac_objext'
48080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48081 (eval $ac_try) 2>&5
48082 ac_status=$?
48083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48084 (exit $ac_status); }; }; then
48085 glibcxx_cv_func_fmodf_use=yes
48086 else
48087 echo "$as_me: failed program was:" >&5
48088 sed 's/^/| /' conftest.$ac_ext >&5
48089
48090 glibcxx_cv_func_fmodf_use=no
48091 fi
48092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48093 ac_ext=c
48094 ac_cpp='$CPP $CPPFLAGS'
48095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48098
48099
48100 fi
48101
48102 fi
48103 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
48104 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
48105
48106 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48107
48108 for ac_func in fmodf
48109 do
48110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48111 echo "$as_me:$LINENO: checking for $ac_func" >&5
48112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48113 if eval "test \"\${$as_ac_var+set}\" = set"; then
48114 echo $ECHO_N "(cached) $ECHO_C" >&6
48115 else
48116 if test x$gcc_no_link = xyes; then
48117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48119 { (exit 1); exit 1; }; }
48120 fi
48121 cat >conftest.$ac_ext <<_ACEOF
48122 /* confdefs.h. */
48123 _ACEOF
48124 cat confdefs.h >>conftest.$ac_ext
48125 cat >>conftest.$ac_ext <<_ACEOF
48126 /* end confdefs.h. */
48127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48129 #define $ac_func innocuous_$ac_func
48130
48131 /* System header to define __stub macros and hopefully few prototypes,
48132 which can conflict with char $ac_func (); below.
48133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48134 <limits.h> exists even on freestanding compilers. */
48135
48136 #ifdef __STDC__
48137 # include <limits.h>
48138 #else
48139 # include <assert.h>
48140 #endif
48141
48142 #undef $ac_func
48143
48144 /* Override any gcc2 internal prototype to avoid an error. */
48145 #ifdef __cplusplus
48146 extern "C"
48147 {
48148 #endif
48149 /* We use char because int might match the return type of a gcc2
48150 builtin and then its argument prototype would still apply. */
48151 char $ac_func ();
48152 /* The GNU C library defines this for functions which it implements
48153 to always fail with ENOSYS. Some functions are actually named
48154 something starting with __ and the normal name is an alias. */
48155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48156 choke me
48157 #else
48158 char (*f) () = $ac_func;
48159 #endif
48160 #ifdef __cplusplus
48161 }
48162 #endif
48163
48164 int
48165 main ()
48166 {
48167 return f != $ac_func;
48168 ;
48169 return 0;
48170 }
48171 _ACEOF
48172 rm -f conftest.$ac_objext conftest$ac_exeext
48173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48174 (eval $ac_link) 2>conftest.er1
48175 ac_status=$?
48176 grep -v '^ *+' conftest.er1 >conftest.err
48177 rm -f conftest.er1
48178 cat conftest.err >&5
48179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48180 (exit $ac_status); } &&
48181 { ac_try='test -z "$ac_c_werror_flag"
48182 || test ! -s conftest.err'
48183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48184 (eval $ac_try) 2>&5
48185 ac_status=$?
48186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48187 (exit $ac_status); }; } &&
48188 { ac_try='test -s conftest$ac_exeext'
48189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48190 (eval $ac_try) 2>&5
48191 ac_status=$?
48192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48193 (exit $ac_status); }; }; then
48194 eval "$as_ac_var=yes"
48195 else
48196 echo "$as_me: failed program was:" >&5
48197 sed 's/^/| /' conftest.$ac_ext >&5
48198
48199 eval "$as_ac_var=no"
48200 fi
48201 rm -f conftest.err conftest.$ac_objext \
48202 conftest$ac_exeext conftest.$ac_ext
48203 fi
48204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48206 if test `eval echo '${'$as_ac_var'}'` = yes; then
48207 cat >>confdefs.h <<_ACEOF
48208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48209 _ACEOF
48210
48211 fi
48212 done
48213
48214 else
48215
48216 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
48217 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
48218 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48219 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
48220 echo $ECHO_N "(cached) $ECHO_C" >&6
48221 else
48222
48223
48224
48225 ac_ext=cc
48226 ac_cpp='$CXXCPP $CPPFLAGS'
48227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48230
48231 cat >conftest.$ac_ext <<_ACEOF
48232 /* confdefs.h. */
48233 _ACEOF
48234 cat confdefs.h >>conftest.$ac_ext
48235 cat >>conftest.$ac_ext <<_ACEOF
48236 /* end confdefs.h. */
48237 #include <math.h>
48238 int
48239 main ()
48240 {
48241 _fmodf(0, 0);
48242 ;
48243 return 0;
48244 }
48245 _ACEOF
48246 rm -f conftest.$ac_objext
48247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48248 (eval $ac_compile) 2>conftest.er1
48249 ac_status=$?
48250 grep -v '^ *+' conftest.er1 >conftest.err
48251 rm -f conftest.er1
48252 cat conftest.err >&5
48253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48254 (exit $ac_status); } &&
48255 { ac_try='test -z "$ac_cxx_werror_flag"
48256 || test ! -s conftest.err'
48257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48258 (eval $ac_try) 2>&5
48259 ac_status=$?
48260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48261 (exit $ac_status); }; } &&
48262 { ac_try='test -s conftest.$ac_objext'
48263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48264 (eval $ac_try) 2>&5
48265 ac_status=$?
48266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48267 (exit $ac_status); }; }; then
48268 glibcxx_cv_func__fmodf_use=yes
48269 else
48270 echo "$as_me: failed program was:" >&5
48271 sed 's/^/| /' conftest.$ac_ext >&5
48272
48273 glibcxx_cv_func__fmodf_use=no
48274 fi
48275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48276 ac_ext=c
48277 ac_cpp='$CPP $CPPFLAGS'
48278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48281
48282
48283 fi
48284
48285 fi
48286 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
48287 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
48288
48289 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48290
48291 for ac_func in _fmodf
48292 do
48293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48294 echo "$as_me:$LINENO: checking for $ac_func" >&5
48295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48296 if eval "test \"\${$as_ac_var+set}\" = set"; then
48297 echo $ECHO_N "(cached) $ECHO_C" >&6
48298 else
48299 if test x$gcc_no_link = xyes; then
48300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48302 { (exit 1); exit 1; }; }
48303 fi
48304 cat >conftest.$ac_ext <<_ACEOF
48305 /* confdefs.h. */
48306 _ACEOF
48307 cat confdefs.h >>conftest.$ac_ext
48308 cat >>conftest.$ac_ext <<_ACEOF
48309 /* end confdefs.h. */
48310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48312 #define $ac_func innocuous_$ac_func
48313
48314 /* System header to define __stub macros and hopefully few prototypes,
48315 which can conflict with char $ac_func (); below.
48316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48317 <limits.h> exists even on freestanding compilers. */
48318
48319 #ifdef __STDC__
48320 # include <limits.h>
48321 #else
48322 # include <assert.h>
48323 #endif
48324
48325 #undef $ac_func
48326
48327 /* Override any gcc2 internal prototype to avoid an error. */
48328 #ifdef __cplusplus
48329 extern "C"
48330 {
48331 #endif
48332 /* We use char because int might match the return type of a gcc2
48333 builtin and then its argument prototype would still apply. */
48334 char $ac_func ();
48335 /* The GNU C library defines this for functions which it implements
48336 to always fail with ENOSYS. Some functions are actually named
48337 something starting with __ and the normal name is an alias. */
48338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48339 choke me
48340 #else
48341 char (*f) () = $ac_func;
48342 #endif
48343 #ifdef __cplusplus
48344 }
48345 #endif
48346
48347 int
48348 main ()
48349 {
48350 return f != $ac_func;
48351 ;
48352 return 0;
48353 }
48354 _ACEOF
48355 rm -f conftest.$ac_objext conftest$ac_exeext
48356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48357 (eval $ac_link) 2>conftest.er1
48358 ac_status=$?
48359 grep -v '^ *+' conftest.er1 >conftest.err
48360 rm -f conftest.er1
48361 cat conftest.err >&5
48362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48363 (exit $ac_status); } &&
48364 { ac_try='test -z "$ac_c_werror_flag"
48365 || test ! -s conftest.err'
48366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48367 (eval $ac_try) 2>&5
48368 ac_status=$?
48369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48370 (exit $ac_status); }; } &&
48371 { ac_try='test -s conftest$ac_exeext'
48372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48373 (eval $ac_try) 2>&5
48374 ac_status=$?
48375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48376 (exit $ac_status); }; }; then
48377 eval "$as_ac_var=yes"
48378 else
48379 echo "$as_me: failed program was:" >&5
48380 sed 's/^/| /' conftest.$ac_ext >&5
48381
48382 eval "$as_ac_var=no"
48383 fi
48384 rm -f conftest.err conftest.$ac_objext \
48385 conftest$ac_exeext conftest.$ac_ext
48386 fi
48387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48389 if test `eval echo '${'$as_ac_var'}'` = yes; then
48390 cat >>confdefs.h <<_ACEOF
48391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48392 _ACEOF
48393
48394 fi
48395 done
48396
48397 fi
48398 fi
48399
48400
48401
48402
48403
48404
48405 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
48406 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
48407 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48408 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
48409 echo $ECHO_N "(cached) $ECHO_C" >&6
48410 else
48411
48412
48413
48414 ac_ext=cc
48415 ac_cpp='$CXXCPP $CPPFLAGS'
48416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48419
48420 cat >conftest.$ac_ext <<_ACEOF
48421 /* confdefs.h. */
48422 _ACEOF
48423 cat confdefs.h >>conftest.$ac_ext
48424 cat >>conftest.$ac_ext <<_ACEOF
48425 /* end confdefs.h. */
48426 #include <math.h>
48427 int
48428 main ()
48429 {
48430 frexpf(0, 0);
48431 ;
48432 return 0;
48433 }
48434 _ACEOF
48435 rm -f conftest.$ac_objext
48436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48437 (eval $ac_compile) 2>conftest.er1
48438 ac_status=$?
48439 grep -v '^ *+' conftest.er1 >conftest.err
48440 rm -f conftest.er1
48441 cat conftest.err >&5
48442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48443 (exit $ac_status); } &&
48444 { ac_try='test -z "$ac_cxx_werror_flag"
48445 || test ! -s conftest.err'
48446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48447 (eval $ac_try) 2>&5
48448 ac_status=$?
48449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48450 (exit $ac_status); }; } &&
48451 { ac_try='test -s conftest.$ac_objext'
48452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48453 (eval $ac_try) 2>&5
48454 ac_status=$?
48455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48456 (exit $ac_status); }; }; then
48457 glibcxx_cv_func_frexpf_use=yes
48458 else
48459 echo "$as_me: failed program was:" >&5
48460 sed 's/^/| /' conftest.$ac_ext >&5
48461
48462 glibcxx_cv_func_frexpf_use=no
48463 fi
48464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48465 ac_ext=c
48466 ac_cpp='$CPP $CPPFLAGS'
48467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48470
48471
48472 fi
48473
48474 fi
48475 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
48476 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
48477
48478 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48479
48480 for ac_func in frexpf
48481 do
48482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48483 echo "$as_me:$LINENO: checking for $ac_func" >&5
48484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48485 if eval "test \"\${$as_ac_var+set}\" = set"; then
48486 echo $ECHO_N "(cached) $ECHO_C" >&6
48487 else
48488 if test x$gcc_no_link = xyes; then
48489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48491 { (exit 1); exit 1; }; }
48492 fi
48493 cat >conftest.$ac_ext <<_ACEOF
48494 /* confdefs.h. */
48495 _ACEOF
48496 cat confdefs.h >>conftest.$ac_ext
48497 cat >>conftest.$ac_ext <<_ACEOF
48498 /* end confdefs.h. */
48499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48501 #define $ac_func innocuous_$ac_func
48502
48503 /* System header to define __stub macros and hopefully few prototypes,
48504 which can conflict with char $ac_func (); below.
48505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48506 <limits.h> exists even on freestanding compilers. */
48507
48508 #ifdef __STDC__
48509 # include <limits.h>
48510 #else
48511 # include <assert.h>
48512 #endif
48513
48514 #undef $ac_func
48515
48516 /* Override any gcc2 internal prototype to avoid an error. */
48517 #ifdef __cplusplus
48518 extern "C"
48519 {
48520 #endif
48521 /* We use char because int might match the return type of a gcc2
48522 builtin and then its argument prototype would still apply. */
48523 char $ac_func ();
48524 /* The GNU C library defines this for functions which it implements
48525 to always fail with ENOSYS. Some functions are actually named
48526 something starting with __ and the normal name is an alias. */
48527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48528 choke me
48529 #else
48530 char (*f) () = $ac_func;
48531 #endif
48532 #ifdef __cplusplus
48533 }
48534 #endif
48535
48536 int
48537 main ()
48538 {
48539 return f != $ac_func;
48540 ;
48541 return 0;
48542 }
48543 _ACEOF
48544 rm -f conftest.$ac_objext conftest$ac_exeext
48545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48546 (eval $ac_link) 2>conftest.er1
48547 ac_status=$?
48548 grep -v '^ *+' conftest.er1 >conftest.err
48549 rm -f conftest.er1
48550 cat conftest.err >&5
48551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48552 (exit $ac_status); } &&
48553 { ac_try='test -z "$ac_c_werror_flag"
48554 || test ! -s conftest.err'
48555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48556 (eval $ac_try) 2>&5
48557 ac_status=$?
48558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48559 (exit $ac_status); }; } &&
48560 { ac_try='test -s conftest$ac_exeext'
48561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48562 (eval $ac_try) 2>&5
48563 ac_status=$?
48564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48565 (exit $ac_status); }; }; then
48566 eval "$as_ac_var=yes"
48567 else
48568 echo "$as_me: failed program was:" >&5
48569 sed 's/^/| /' conftest.$ac_ext >&5
48570
48571 eval "$as_ac_var=no"
48572 fi
48573 rm -f conftest.err conftest.$ac_objext \
48574 conftest$ac_exeext conftest.$ac_ext
48575 fi
48576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48578 if test `eval echo '${'$as_ac_var'}'` = yes; then
48579 cat >>confdefs.h <<_ACEOF
48580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48581 _ACEOF
48582
48583 fi
48584 done
48585
48586 else
48587
48588 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
48589 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
48590 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48591 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
48592 echo $ECHO_N "(cached) $ECHO_C" >&6
48593 else
48594
48595
48596
48597 ac_ext=cc
48598 ac_cpp='$CXXCPP $CPPFLAGS'
48599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48602
48603 cat >conftest.$ac_ext <<_ACEOF
48604 /* confdefs.h. */
48605 _ACEOF
48606 cat confdefs.h >>conftest.$ac_ext
48607 cat >>conftest.$ac_ext <<_ACEOF
48608 /* end confdefs.h. */
48609 #include <math.h>
48610 int
48611 main ()
48612 {
48613 _frexpf(0, 0);
48614 ;
48615 return 0;
48616 }
48617 _ACEOF
48618 rm -f conftest.$ac_objext
48619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48620 (eval $ac_compile) 2>conftest.er1
48621 ac_status=$?
48622 grep -v '^ *+' conftest.er1 >conftest.err
48623 rm -f conftest.er1
48624 cat conftest.err >&5
48625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48626 (exit $ac_status); } &&
48627 { ac_try='test -z "$ac_cxx_werror_flag"
48628 || test ! -s conftest.err'
48629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48630 (eval $ac_try) 2>&5
48631 ac_status=$?
48632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48633 (exit $ac_status); }; } &&
48634 { ac_try='test -s conftest.$ac_objext'
48635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48636 (eval $ac_try) 2>&5
48637 ac_status=$?
48638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48639 (exit $ac_status); }; }; then
48640 glibcxx_cv_func__frexpf_use=yes
48641 else
48642 echo "$as_me: failed program was:" >&5
48643 sed 's/^/| /' conftest.$ac_ext >&5
48644
48645 glibcxx_cv_func__frexpf_use=no
48646 fi
48647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48648 ac_ext=c
48649 ac_cpp='$CPP $CPPFLAGS'
48650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48653
48654
48655 fi
48656
48657 fi
48658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
48659 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
48660
48661 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48662
48663 for ac_func in _frexpf
48664 do
48665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48666 echo "$as_me:$LINENO: checking for $ac_func" >&5
48667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48668 if eval "test \"\${$as_ac_var+set}\" = set"; then
48669 echo $ECHO_N "(cached) $ECHO_C" >&6
48670 else
48671 if test x$gcc_no_link = xyes; then
48672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48674 { (exit 1); exit 1; }; }
48675 fi
48676 cat >conftest.$ac_ext <<_ACEOF
48677 /* confdefs.h. */
48678 _ACEOF
48679 cat confdefs.h >>conftest.$ac_ext
48680 cat >>conftest.$ac_ext <<_ACEOF
48681 /* end confdefs.h. */
48682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48684 #define $ac_func innocuous_$ac_func
48685
48686 /* System header to define __stub macros and hopefully few prototypes,
48687 which can conflict with char $ac_func (); below.
48688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48689 <limits.h> exists even on freestanding compilers. */
48690
48691 #ifdef __STDC__
48692 # include <limits.h>
48693 #else
48694 # include <assert.h>
48695 #endif
48696
48697 #undef $ac_func
48698
48699 /* Override any gcc2 internal prototype to avoid an error. */
48700 #ifdef __cplusplus
48701 extern "C"
48702 {
48703 #endif
48704 /* We use char because int might match the return type of a gcc2
48705 builtin and then its argument prototype would still apply. */
48706 char $ac_func ();
48707 /* The GNU C library defines this for functions which it implements
48708 to always fail with ENOSYS. Some functions are actually named
48709 something starting with __ and the normal name is an alias. */
48710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48711 choke me
48712 #else
48713 char (*f) () = $ac_func;
48714 #endif
48715 #ifdef __cplusplus
48716 }
48717 #endif
48718
48719 int
48720 main ()
48721 {
48722 return f != $ac_func;
48723 ;
48724 return 0;
48725 }
48726 _ACEOF
48727 rm -f conftest.$ac_objext conftest$ac_exeext
48728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48729 (eval $ac_link) 2>conftest.er1
48730 ac_status=$?
48731 grep -v '^ *+' conftest.er1 >conftest.err
48732 rm -f conftest.er1
48733 cat conftest.err >&5
48734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48735 (exit $ac_status); } &&
48736 { ac_try='test -z "$ac_c_werror_flag"
48737 || test ! -s conftest.err'
48738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48739 (eval $ac_try) 2>&5
48740 ac_status=$?
48741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48742 (exit $ac_status); }; } &&
48743 { ac_try='test -s conftest$ac_exeext'
48744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48745 (eval $ac_try) 2>&5
48746 ac_status=$?
48747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48748 (exit $ac_status); }; }; then
48749 eval "$as_ac_var=yes"
48750 else
48751 echo "$as_me: failed program was:" >&5
48752 sed 's/^/| /' conftest.$ac_ext >&5
48753
48754 eval "$as_ac_var=no"
48755 fi
48756 rm -f conftest.err conftest.$ac_objext \
48757 conftest$ac_exeext conftest.$ac_ext
48758 fi
48759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48761 if test `eval echo '${'$as_ac_var'}'` = yes; then
48762 cat >>confdefs.h <<_ACEOF
48763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48764 _ACEOF
48765
48766 fi
48767 done
48768
48769 fi
48770 fi
48771
48772
48773
48774
48775
48776
48777 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
48778 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
48779 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48780 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
48781 echo $ECHO_N "(cached) $ECHO_C" >&6
48782 else
48783
48784
48785
48786 ac_ext=cc
48787 ac_cpp='$CXXCPP $CPPFLAGS'
48788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48791
48792 cat >conftest.$ac_ext <<_ACEOF
48793 /* confdefs.h. */
48794 _ACEOF
48795 cat confdefs.h >>conftest.$ac_ext
48796 cat >>conftest.$ac_ext <<_ACEOF
48797 /* end confdefs.h. */
48798 #include <math.h>
48799 int
48800 main ()
48801 {
48802 hypotf(0, 0);
48803 ;
48804 return 0;
48805 }
48806 _ACEOF
48807 rm -f conftest.$ac_objext
48808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48809 (eval $ac_compile) 2>conftest.er1
48810 ac_status=$?
48811 grep -v '^ *+' conftest.er1 >conftest.err
48812 rm -f conftest.er1
48813 cat conftest.err >&5
48814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48815 (exit $ac_status); } &&
48816 { ac_try='test -z "$ac_cxx_werror_flag"
48817 || test ! -s conftest.err'
48818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48819 (eval $ac_try) 2>&5
48820 ac_status=$?
48821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48822 (exit $ac_status); }; } &&
48823 { ac_try='test -s conftest.$ac_objext'
48824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48825 (eval $ac_try) 2>&5
48826 ac_status=$?
48827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48828 (exit $ac_status); }; }; then
48829 glibcxx_cv_func_hypotf_use=yes
48830 else
48831 echo "$as_me: failed program was:" >&5
48832 sed 's/^/| /' conftest.$ac_ext >&5
48833
48834 glibcxx_cv_func_hypotf_use=no
48835 fi
48836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48837 ac_ext=c
48838 ac_cpp='$CPP $CPPFLAGS'
48839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48842
48843
48844 fi
48845
48846 fi
48847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
48848 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
48849
48850 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48851
48852 for ac_func in hypotf
48853 do
48854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48855 echo "$as_me:$LINENO: checking for $ac_func" >&5
48856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48857 if eval "test \"\${$as_ac_var+set}\" = set"; then
48858 echo $ECHO_N "(cached) $ECHO_C" >&6
48859 else
48860 if test x$gcc_no_link = xyes; then
48861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48863 { (exit 1); exit 1; }; }
48864 fi
48865 cat >conftest.$ac_ext <<_ACEOF
48866 /* confdefs.h. */
48867 _ACEOF
48868 cat confdefs.h >>conftest.$ac_ext
48869 cat >>conftest.$ac_ext <<_ACEOF
48870 /* end confdefs.h. */
48871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48873 #define $ac_func innocuous_$ac_func
48874
48875 /* System header to define __stub macros and hopefully few prototypes,
48876 which can conflict with char $ac_func (); below.
48877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48878 <limits.h> exists even on freestanding compilers. */
48879
48880 #ifdef __STDC__
48881 # include <limits.h>
48882 #else
48883 # include <assert.h>
48884 #endif
48885
48886 #undef $ac_func
48887
48888 /* Override any gcc2 internal prototype to avoid an error. */
48889 #ifdef __cplusplus
48890 extern "C"
48891 {
48892 #endif
48893 /* We use char because int might match the return type of a gcc2
48894 builtin and then its argument prototype would still apply. */
48895 char $ac_func ();
48896 /* The GNU C library defines this for functions which it implements
48897 to always fail with ENOSYS. Some functions are actually named
48898 something starting with __ and the normal name is an alias. */
48899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48900 choke me
48901 #else
48902 char (*f) () = $ac_func;
48903 #endif
48904 #ifdef __cplusplus
48905 }
48906 #endif
48907
48908 int
48909 main ()
48910 {
48911 return f != $ac_func;
48912 ;
48913 return 0;
48914 }
48915 _ACEOF
48916 rm -f conftest.$ac_objext conftest$ac_exeext
48917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48918 (eval $ac_link) 2>conftest.er1
48919 ac_status=$?
48920 grep -v '^ *+' conftest.er1 >conftest.err
48921 rm -f conftest.er1
48922 cat conftest.err >&5
48923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48924 (exit $ac_status); } &&
48925 { ac_try='test -z "$ac_c_werror_flag"
48926 || test ! -s conftest.err'
48927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48928 (eval $ac_try) 2>&5
48929 ac_status=$?
48930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48931 (exit $ac_status); }; } &&
48932 { ac_try='test -s conftest$ac_exeext'
48933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48934 (eval $ac_try) 2>&5
48935 ac_status=$?
48936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48937 (exit $ac_status); }; }; then
48938 eval "$as_ac_var=yes"
48939 else
48940 echo "$as_me: failed program was:" >&5
48941 sed 's/^/| /' conftest.$ac_ext >&5
48942
48943 eval "$as_ac_var=no"
48944 fi
48945 rm -f conftest.err conftest.$ac_objext \
48946 conftest$ac_exeext conftest.$ac_ext
48947 fi
48948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48950 if test `eval echo '${'$as_ac_var'}'` = yes; then
48951 cat >>confdefs.h <<_ACEOF
48952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48953 _ACEOF
48954
48955 fi
48956 done
48957
48958 else
48959
48960 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
48961 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
48962 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48963 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
48964 echo $ECHO_N "(cached) $ECHO_C" >&6
48965 else
48966
48967
48968
48969 ac_ext=cc
48970 ac_cpp='$CXXCPP $CPPFLAGS'
48971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48974
48975 cat >conftest.$ac_ext <<_ACEOF
48976 /* confdefs.h. */
48977 _ACEOF
48978 cat confdefs.h >>conftest.$ac_ext
48979 cat >>conftest.$ac_ext <<_ACEOF
48980 /* end confdefs.h. */
48981 #include <math.h>
48982 int
48983 main ()
48984 {
48985 _hypotf(0, 0);
48986 ;
48987 return 0;
48988 }
48989 _ACEOF
48990 rm -f conftest.$ac_objext
48991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48992 (eval $ac_compile) 2>conftest.er1
48993 ac_status=$?
48994 grep -v '^ *+' conftest.er1 >conftest.err
48995 rm -f conftest.er1
48996 cat conftest.err >&5
48997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48998 (exit $ac_status); } &&
48999 { ac_try='test -z "$ac_cxx_werror_flag"
49000 || test ! -s conftest.err'
49001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49002 (eval $ac_try) 2>&5
49003 ac_status=$?
49004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49005 (exit $ac_status); }; } &&
49006 { ac_try='test -s conftest.$ac_objext'
49007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49008 (eval $ac_try) 2>&5
49009 ac_status=$?
49010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49011 (exit $ac_status); }; }; then
49012 glibcxx_cv_func__hypotf_use=yes
49013 else
49014 echo "$as_me: failed program was:" >&5
49015 sed 's/^/| /' conftest.$ac_ext >&5
49016
49017 glibcxx_cv_func__hypotf_use=no
49018 fi
49019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49020 ac_ext=c
49021 ac_cpp='$CPP $CPPFLAGS'
49022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49025
49026
49027 fi
49028
49029 fi
49030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
49031 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
49032
49033 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49034
49035 for ac_func in _hypotf
49036 do
49037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49038 echo "$as_me:$LINENO: checking for $ac_func" >&5
49039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49040 if eval "test \"\${$as_ac_var+set}\" = set"; then
49041 echo $ECHO_N "(cached) $ECHO_C" >&6
49042 else
49043 if test x$gcc_no_link = xyes; then
49044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49046 { (exit 1); exit 1; }; }
49047 fi
49048 cat >conftest.$ac_ext <<_ACEOF
49049 /* confdefs.h. */
49050 _ACEOF
49051 cat confdefs.h >>conftest.$ac_ext
49052 cat >>conftest.$ac_ext <<_ACEOF
49053 /* end confdefs.h. */
49054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49056 #define $ac_func innocuous_$ac_func
49057
49058 /* System header to define __stub macros and hopefully few prototypes,
49059 which can conflict with char $ac_func (); below.
49060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49061 <limits.h> exists even on freestanding compilers. */
49062
49063 #ifdef __STDC__
49064 # include <limits.h>
49065 #else
49066 # include <assert.h>
49067 #endif
49068
49069 #undef $ac_func
49070
49071 /* Override any gcc2 internal prototype to avoid an error. */
49072 #ifdef __cplusplus
49073 extern "C"
49074 {
49075 #endif
49076 /* We use char because int might match the return type of a gcc2
49077 builtin and then its argument prototype would still apply. */
49078 char $ac_func ();
49079 /* The GNU C library defines this for functions which it implements
49080 to always fail with ENOSYS. Some functions are actually named
49081 something starting with __ and the normal name is an alias. */
49082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49083 choke me
49084 #else
49085 char (*f) () = $ac_func;
49086 #endif
49087 #ifdef __cplusplus
49088 }
49089 #endif
49090
49091 int
49092 main ()
49093 {
49094 return f != $ac_func;
49095 ;
49096 return 0;
49097 }
49098 _ACEOF
49099 rm -f conftest.$ac_objext conftest$ac_exeext
49100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49101 (eval $ac_link) 2>conftest.er1
49102 ac_status=$?
49103 grep -v '^ *+' conftest.er1 >conftest.err
49104 rm -f conftest.er1
49105 cat conftest.err >&5
49106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49107 (exit $ac_status); } &&
49108 { ac_try='test -z "$ac_c_werror_flag"
49109 || test ! -s conftest.err'
49110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49111 (eval $ac_try) 2>&5
49112 ac_status=$?
49113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49114 (exit $ac_status); }; } &&
49115 { ac_try='test -s conftest$ac_exeext'
49116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49117 (eval $ac_try) 2>&5
49118 ac_status=$?
49119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49120 (exit $ac_status); }; }; then
49121 eval "$as_ac_var=yes"
49122 else
49123 echo "$as_me: failed program was:" >&5
49124 sed 's/^/| /' conftest.$ac_ext >&5
49125
49126 eval "$as_ac_var=no"
49127 fi
49128 rm -f conftest.err conftest.$ac_objext \
49129 conftest$ac_exeext conftest.$ac_ext
49130 fi
49131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49133 if test `eval echo '${'$as_ac_var'}'` = yes; then
49134 cat >>confdefs.h <<_ACEOF
49135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49136 _ACEOF
49137
49138 fi
49139 done
49140
49141 fi
49142 fi
49143
49144
49145
49146
49147
49148
49149 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
49150 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
49151 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49152 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
49153 echo $ECHO_N "(cached) $ECHO_C" >&6
49154 else
49155
49156
49157
49158 ac_ext=cc
49159 ac_cpp='$CXXCPP $CPPFLAGS'
49160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49163
49164 cat >conftest.$ac_ext <<_ACEOF
49165 /* confdefs.h. */
49166 _ACEOF
49167 cat confdefs.h >>conftest.$ac_ext
49168 cat >>conftest.$ac_ext <<_ACEOF
49169 /* end confdefs.h. */
49170 #include <math.h>
49171 int
49172 main ()
49173 {
49174 ldexpf(0, 0);
49175 ;
49176 return 0;
49177 }
49178 _ACEOF
49179 rm -f conftest.$ac_objext
49180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49181 (eval $ac_compile) 2>conftest.er1
49182 ac_status=$?
49183 grep -v '^ *+' conftest.er1 >conftest.err
49184 rm -f conftest.er1
49185 cat conftest.err >&5
49186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49187 (exit $ac_status); } &&
49188 { ac_try='test -z "$ac_cxx_werror_flag"
49189 || test ! -s conftest.err'
49190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49191 (eval $ac_try) 2>&5
49192 ac_status=$?
49193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49194 (exit $ac_status); }; } &&
49195 { ac_try='test -s conftest.$ac_objext'
49196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49197 (eval $ac_try) 2>&5
49198 ac_status=$?
49199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49200 (exit $ac_status); }; }; then
49201 glibcxx_cv_func_ldexpf_use=yes
49202 else
49203 echo "$as_me: failed program was:" >&5
49204 sed 's/^/| /' conftest.$ac_ext >&5
49205
49206 glibcxx_cv_func_ldexpf_use=no
49207 fi
49208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49209 ac_ext=c
49210 ac_cpp='$CPP $CPPFLAGS'
49211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49214
49215
49216 fi
49217
49218 fi
49219 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
49220 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
49221
49222 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49223
49224 for ac_func in ldexpf
49225 do
49226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49227 echo "$as_me:$LINENO: checking for $ac_func" >&5
49228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49229 if eval "test \"\${$as_ac_var+set}\" = set"; then
49230 echo $ECHO_N "(cached) $ECHO_C" >&6
49231 else
49232 if test x$gcc_no_link = xyes; then
49233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49235 { (exit 1); exit 1; }; }
49236 fi
49237 cat >conftest.$ac_ext <<_ACEOF
49238 /* confdefs.h. */
49239 _ACEOF
49240 cat confdefs.h >>conftest.$ac_ext
49241 cat >>conftest.$ac_ext <<_ACEOF
49242 /* end confdefs.h. */
49243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49245 #define $ac_func innocuous_$ac_func
49246
49247 /* System header to define __stub macros and hopefully few prototypes,
49248 which can conflict with char $ac_func (); below.
49249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49250 <limits.h> exists even on freestanding compilers. */
49251
49252 #ifdef __STDC__
49253 # include <limits.h>
49254 #else
49255 # include <assert.h>
49256 #endif
49257
49258 #undef $ac_func
49259
49260 /* Override any gcc2 internal prototype to avoid an error. */
49261 #ifdef __cplusplus
49262 extern "C"
49263 {
49264 #endif
49265 /* We use char because int might match the return type of a gcc2
49266 builtin and then its argument prototype would still apply. */
49267 char $ac_func ();
49268 /* The GNU C library defines this for functions which it implements
49269 to always fail with ENOSYS. Some functions are actually named
49270 something starting with __ and the normal name is an alias. */
49271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49272 choke me
49273 #else
49274 char (*f) () = $ac_func;
49275 #endif
49276 #ifdef __cplusplus
49277 }
49278 #endif
49279
49280 int
49281 main ()
49282 {
49283 return f != $ac_func;
49284 ;
49285 return 0;
49286 }
49287 _ACEOF
49288 rm -f conftest.$ac_objext conftest$ac_exeext
49289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49290 (eval $ac_link) 2>conftest.er1
49291 ac_status=$?
49292 grep -v '^ *+' conftest.er1 >conftest.err
49293 rm -f conftest.er1
49294 cat conftest.err >&5
49295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49296 (exit $ac_status); } &&
49297 { ac_try='test -z "$ac_c_werror_flag"
49298 || test ! -s conftest.err'
49299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49300 (eval $ac_try) 2>&5
49301 ac_status=$?
49302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49303 (exit $ac_status); }; } &&
49304 { ac_try='test -s conftest$ac_exeext'
49305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49306 (eval $ac_try) 2>&5
49307 ac_status=$?
49308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49309 (exit $ac_status); }; }; then
49310 eval "$as_ac_var=yes"
49311 else
49312 echo "$as_me: failed program was:" >&5
49313 sed 's/^/| /' conftest.$ac_ext >&5
49314
49315 eval "$as_ac_var=no"
49316 fi
49317 rm -f conftest.err conftest.$ac_objext \
49318 conftest$ac_exeext conftest.$ac_ext
49319 fi
49320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49322 if test `eval echo '${'$as_ac_var'}'` = yes; then
49323 cat >>confdefs.h <<_ACEOF
49324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49325 _ACEOF
49326
49327 fi
49328 done
49329
49330 else
49331
49332 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
49333 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
49334 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49335 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
49336 echo $ECHO_N "(cached) $ECHO_C" >&6
49337 else
49338
49339
49340
49341 ac_ext=cc
49342 ac_cpp='$CXXCPP $CPPFLAGS'
49343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49346
49347 cat >conftest.$ac_ext <<_ACEOF
49348 /* confdefs.h. */
49349 _ACEOF
49350 cat confdefs.h >>conftest.$ac_ext
49351 cat >>conftest.$ac_ext <<_ACEOF
49352 /* end confdefs.h. */
49353 #include <math.h>
49354 int
49355 main ()
49356 {
49357 _ldexpf(0, 0);
49358 ;
49359 return 0;
49360 }
49361 _ACEOF
49362 rm -f conftest.$ac_objext
49363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49364 (eval $ac_compile) 2>conftest.er1
49365 ac_status=$?
49366 grep -v '^ *+' conftest.er1 >conftest.err
49367 rm -f conftest.er1
49368 cat conftest.err >&5
49369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49370 (exit $ac_status); } &&
49371 { ac_try='test -z "$ac_cxx_werror_flag"
49372 || test ! -s conftest.err'
49373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49374 (eval $ac_try) 2>&5
49375 ac_status=$?
49376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49377 (exit $ac_status); }; } &&
49378 { ac_try='test -s conftest.$ac_objext'
49379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49380 (eval $ac_try) 2>&5
49381 ac_status=$?
49382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49383 (exit $ac_status); }; }; then
49384 glibcxx_cv_func__ldexpf_use=yes
49385 else
49386 echo "$as_me: failed program was:" >&5
49387 sed 's/^/| /' conftest.$ac_ext >&5
49388
49389 glibcxx_cv_func__ldexpf_use=no
49390 fi
49391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49392 ac_ext=c
49393 ac_cpp='$CPP $CPPFLAGS'
49394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49397
49398
49399 fi
49400
49401 fi
49402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
49403 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
49404
49405 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49406
49407 for ac_func in _ldexpf
49408 do
49409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49410 echo "$as_me:$LINENO: checking for $ac_func" >&5
49411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49412 if eval "test \"\${$as_ac_var+set}\" = set"; then
49413 echo $ECHO_N "(cached) $ECHO_C" >&6
49414 else
49415 if test x$gcc_no_link = xyes; then
49416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49418 { (exit 1); exit 1; }; }
49419 fi
49420 cat >conftest.$ac_ext <<_ACEOF
49421 /* confdefs.h. */
49422 _ACEOF
49423 cat confdefs.h >>conftest.$ac_ext
49424 cat >>conftest.$ac_ext <<_ACEOF
49425 /* end confdefs.h. */
49426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49428 #define $ac_func innocuous_$ac_func
49429
49430 /* System header to define __stub macros and hopefully few prototypes,
49431 which can conflict with char $ac_func (); below.
49432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49433 <limits.h> exists even on freestanding compilers. */
49434
49435 #ifdef __STDC__
49436 # include <limits.h>
49437 #else
49438 # include <assert.h>
49439 #endif
49440
49441 #undef $ac_func
49442
49443 /* Override any gcc2 internal prototype to avoid an error. */
49444 #ifdef __cplusplus
49445 extern "C"
49446 {
49447 #endif
49448 /* We use char because int might match the return type of a gcc2
49449 builtin and then its argument prototype would still apply. */
49450 char $ac_func ();
49451 /* The GNU C library defines this for functions which it implements
49452 to always fail with ENOSYS. Some functions are actually named
49453 something starting with __ and the normal name is an alias. */
49454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49455 choke me
49456 #else
49457 char (*f) () = $ac_func;
49458 #endif
49459 #ifdef __cplusplus
49460 }
49461 #endif
49462
49463 int
49464 main ()
49465 {
49466 return f != $ac_func;
49467 ;
49468 return 0;
49469 }
49470 _ACEOF
49471 rm -f conftest.$ac_objext conftest$ac_exeext
49472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49473 (eval $ac_link) 2>conftest.er1
49474 ac_status=$?
49475 grep -v '^ *+' conftest.er1 >conftest.err
49476 rm -f conftest.er1
49477 cat conftest.err >&5
49478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49479 (exit $ac_status); } &&
49480 { ac_try='test -z "$ac_c_werror_flag"
49481 || test ! -s conftest.err'
49482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49483 (eval $ac_try) 2>&5
49484 ac_status=$?
49485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49486 (exit $ac_status); }; } &&
49487 { ac_try='test -s conftest$ac_exeext'
49488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49489 (eval $ac_try) 2>&5
49490 ac_status=$?
49491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49492 (exit $ac_status); }; }; then
49493 eval "$as_ac_var=yes"
49494 else
49495 echo "$as_me: failed program was:" >&5
49496 sed 's/^/| /' conftest.$ac_ext >&5
49497
49498 eval "$as_ac_var=no"
49499 fi
49500 rm -f conftest.err conftest.$ac_objext \
49501 conftest$ac_exeext conftest.$ac_ext
49502 fi
49503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49505 if test `eval echo '${'$as_ac_var'}'` = yes; then
49506 cat >>confdefs.h <<_ACEOF
49507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49508 _ACEOF
49509
49510 fi
49511 done
49512
49513 fi
49514 fi
49515
49516
49517
49518
49519
49520
49521 echo "$as_me:$LINENO: checking for logf declaration" >&5
49522 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
49523 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49524 if test "${glibcxx_cv_func_logf_use+set}" = set; then
49525 echo $ECHO_N "(cached) $ECHO_C" >&6
49526 else
49527
49528
49529
49530 ac_ext=cc
49531 ac_cpp='$CXXCPP $CPPFLAGS'
49532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49535
49536 cat >conftest.$ac_ext <<_ACEOF
49537 /* confdefs.h. */
49538 _ACEOF
49539 cat confdefs.h >>conftest.$ac_ext
49540 cat >>conftest.$ac_ext <<_ACEOF
49541 /* end confdefs.h. */
49542 #include <math.h>
49543 #ifdef HAVE_IEEEFP_H
49544 #include <ieeefp.h>
49545 #endif
49546
49547 int
49548 main ()
49549 {
49550 logf(0);
49551 ;
49552 return 0;
49553 }
49554 _ACEOF
49555 rm -f conftest.$ac_objext
49556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49557 (eval $ac_compile) 2>conftest.er1
49558 ac_status=$?
49559 grep -v '^ *+' conftest.er1 >conftest.err
49560 rm -f conftest.er1
49561 cat conftest.err >&5
49562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49563 (exit $ac_status); } &&
49564 { ac_try='test -z "$ac_cxx_werror_flag"
49565 || test ! -s conftest.err'
49566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49567 (eval $ac_try) 2>&5
49568 ac_status=$?
49569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49570 (exit $ac_status); }; } &&
49571 { ac_try='test -s conftest.$ac_objext'
49572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49573 (eval $ac_try) 2>&5
49574 ac_status=$?
49575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49576 (exit $ac_status); }; }; then
49577 glibcxx_cv_func_logf_use=yes
49578 else
49579 echo "$as_me: failed program was:" >&5
49580 sed 's/^/| /' conftest.$ac_ext >&5
49581
49582 glibcxx_cv_func_logf_use=no
49583 fi
49584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49585 ac_ext=c
49586 ac_cpp='$CPP $CPPFLAGS'
49587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49590
49591
49592 fi
49593
49594 fi
49595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
49596 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
49597
49598 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49599
49600 for ac_func in logf
49601 do
49602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49603 echo "$as_me:$LINENO: checking for $ac_func" >&5
49604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49605 if eval "test \"\${$as_ac_var+set}\" = set"; then
49606 echo $ECHO_N "(cached) $ECHO_C" >&6
49607 else
49608 if test x$gcc_no_link = xyes; then
49609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49611 { (exit 1); exit 1; }; }
49612 fi
49613 cat >conftest.$ac_ext <<_ACEOF
49614 /* confdefs.h. */
49615 _ACEOF
49616 cat confdefs.h >>conftest.$ac_ext
49617 cat >>conftest.$ac_ext <<_ACEOF
49618 /* end confdefs.h. */
49619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49621 #define $ac_func innocuous_$ac_func
49622
49623 /* System header to define __stub macros and hopefully few prototypes,
49624 which can conflict with char $ac_func (); below.
49625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49626 <limits.h> exists even on freestanding compilers. */
49627
49628 #ifdef __STDC__
49629 # include <limits.h>
49630 #else
49631 # include <assert.h>
49632 #endif
49633
49634 #undef $ac_func
49635
49636 /* Override any gcc2 internal prototype to avoid an error. */
49637 #ifdef __cplusplus
49638 extern "C"
49639 {
49640 #endif
49641 /* We use char because int might match the return type of a gcc2
49642 builtin and then its argument prototype would still apply. */
49643 char $ac_func ();
49644 /* The GNU C library defines this for functions which it implements
49645 to always fail with ENOSYS. Some functions are actually named
49646 something starting with __ and the normal name is an alias. */
49647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49648 choke me
49649 #else
49650 char (*f) () = $ac_func;
49651 #endif
49652 #ifdef __cplusplus
49653 }
49654 #endif
49655
49656 int
49657 main ()
49658 {
49659 return f != $ac_func;
49660 ;
49661 return 0;
49662 }
49663 _ACEOF
49664 rm -f conftest.$ac_objext conftest$ac_exeext
49665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49666 (eval $ac_link) 2>conftest.er1
49667 ac_status=$?
49668 grep -v '^ *+' conftest.er1 >conftest.err
49669 rm -f conftest.er1
49670 cat conftest.err >&5
49671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49672 (exit $ac_status); } &&
49673 { ac_try='test -z "$ac_c_werror_flag"
49674 || test ! -s conftest.err'
49675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49676 (eval $ac_try) 2>&5
49677 ac_status=$?
49678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49679 (exit $ac_status); }; } &&
49680 { ac_try='test -s conftest$ac_exeext'
49681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49682 (eval $ac_try) 2>&5
49683 ac_status=$?
49684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49685 (exit $ac_status); }; }; then
49686 eval "$as_ac_var=yes"
49687 else
49688 echo "$as_me: failed program was:" >&5
49689 sed 's/^/| /' conftest.$ac_ext >&5
49690
49691 eval "$as_ac_var=no"
49692 fi
49693 rm -f conftest.err conftest.$ac_objext \
49694 conftest$ac_exeext conftest.$ac_ext
49695 fi
49696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49698 if test `eval echo '${'$as_ac_var'}'` = yes; then
49699 cat >>confdefs.h <<_ACEOF
49700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49701 _ACEOF
49702
49703 fi
49704 done
49705
49706 else
49707
49708 echo "$as_me:$LINENO: checking for _logf declaration" >&5
49709 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
49710 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49711 if test "${glibcxx_cv_func__logf_use+set}" = set; then
49712 echo $ECHO_N "(cached) $ECHO_C" >&6
49713 else
49714
49715
49716
49717 ac_ext=cc
49718 ac_cpp='$CXXCPP $CPPFLAGS'
49719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49722
49723 cat >conftest.$ac_ext <<_ACEOF
49724 /* confdefs.h. */
49725 _ACEOF
49726 cat confdefs.h >>conftest.$ac_ext
49727 cat >>conftest.$ac_ext <<_ACEOF
49728 /* end confdefs.h. */
49729 #include <math.h>
49730 #ifdef HAVE_IEEEFP_H
49731 #include <ieeefp.h>
49732 #endif
49733
49734 int
49735 main ()
49736 {
49737 _logf(0);
49738 ;
49739 return 0;
49740 }
49741 _ACEOF
49742 rm -f conftest.$ac_objext
49743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49744 (eval $ac_compile) 2>conftest.er1
49745 ac_status=$?
49746 grep -v '^ *+' conftest.er1 >conftest.err
49747 rm -f conftest.er1
49748 cat conftest.err >&5
49749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49750 (exit $ac_status); } &&
49751 { ac_try='test -z "$ac_cxx_werror_flag"
49752 || test ! -s conftest.err'
49753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49754 (eval $ac_try) 2>&5
49755 ac_status=$?
49756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49757 (exit $ac_status); }; } &&
49758 { ac_try='test -s conftest.$ac_objext'
49759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49760 (eval $ac_try) 2>&5
49761 ac_status=$?
49762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49763 (exit $ac_status); }; }; then
49764 glibcxx_cv_func__logf_use=yes
49765 else
49766 echo "$as_me: failed program was:" >&5
49767 sed 's/^/| /' conftest.$ac_ext >&5
49768
49769 glibcxx_cv_func__logf_use=no
49770 fi
49771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49772 ac_ext=c
49773 ac_cpp='$CPP $CPPFLAGS'
49774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49777
49778
49779 fi
49780
49781 fi
49782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
49783 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
49784
49785 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49786
49787 for ac_func in _logf
49788 do
49789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49790 echo "$as_me:$LINENO: checking for $ac_func" >&5
49791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49792 if eval "test \"\${$as_ac_var+set}\" = set"; then
49793 echo $ECHO_N "(cached) $ECHO_C" >&6
49794 else
49795 if test x$gcc_no_link = xyes; then
49796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49798 { (exit 1); exit 1; }; }
49799 fi
49800 cat >conftest.$ac_ext <<_ACEOF
49801 /* confdefs.h. */
49802 _ACEOF
49803 cat confdefs.h >>conftest.$ac_ext
49804 cat >>conftest.$ac_ext <<_ACEOF
49805 /* end confdefs.h. */
49806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49808 #define $ac_func innocuous_$ac_func
49809
49810 /* System header to define __stub macros and hopefully few prototypes,
49811 which can conflict with char $ac_func (); below.
49812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49813 <limits.h> exists even on freestanding compilers. */
49814
49815 #ifdef __STDC__
49816 # include <limits.h>
49817 #else
49818 # include <assert.h>
49819 #endif
49820
49821 #undef $ac_func
49822
49823 /* Override any gcc2 internal prototype to avoid an error. */
49824 #ifdef __cplusplus
49825 extern "C"
49826 {
49827 #endif
49828 /* We use char because int might match the return type of a gcc2
49829 builtin and then its argument prototype would still apply. */
49830 char $ac_func ();
49831 /* The GNU C library defines this for functions which it implements
49832 to always fail with ENOSYS. Some functions are actually named
49833 something starting with __ and the normal name is an alias. */
49834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49835 choke me
49836 #else
49837 char (*f) () = $ac_func;
49838 #endif
49839 #ifdef __cplusplus
49840 }
49841 #endif
49842
49843 int
49844 main ()
49845 {
49846 return f != $ac_func;
49847 ;
49848 return 0;
49849 }
49850 _ACEOF
49851 rm -f conftest.$ac_objext conftest$ac_exeext
49852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49853 (eval $ac_link) 2>conftest.er1
49854 ac_status=$?
49855 grep -v '^ *+' conftest.er1 >conftest.err
49856 rm -f conftest.er1
49857 cat conftest.err >&5
49858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49859 (exit $ac_status); } &&
49860 { ac_try='test -z "$ac_c_werror_flag"
49861 || test ! -s conftest.err'
49862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49863 (eval $ac_try) 2>&5
49864 ac_status=$?
49865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49866 (exit $ac_status); }; } &&
49867 { ac_try='test -s conftest$ac_exeext'
49868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49869 (eval $ac_try) 2>&5
49870 ac_status=$?
49871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49872 (exit $ac_status); }; }; then
49873 eval "$as_ac_var=yes"
49874 else
49875 echo "$as_me: failed program was:" >&5
49876 sed 's/^/| /' conftest.$ac_ext >&5
49877
49878 eval "$as_ac_var=no"
49879 fi
49880 rm -f conftest.err conftest.$ac_objext \
49881 conftest$ac_exeext conftest.$ac_ext
49882 fi
49883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49885 if test `eval echo '${'$as_ac_var'}'` = yes; then
49886 cat >>confdefs.h <<_ACEOF
49887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49888 _ACEOF
49889
49890 fi
49891 done
49892
49893 fi
49894 fi
49895
49896
49897
49898
49899
49900
49901 echo "$as_me:$LINENO: checking for log10f declaration" >&5
49902 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
49903 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49904 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
49905 echo $ECHO_N "(cached) $ECHO_C" >&6
49906 else
49907
49908
49909
49910 ac_ext=cc
49911 ac_cpp='$CXXCPP $CPPFLAGS'
49912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49915
49916 cat >conftest.$ac_ext <<_ACEOF
49917 /* confdefs.h. */
49918 _ACEOF
49919 cat confdefs.h >>conftest.$ac_ext
49920 cat >>conftest.$ac_ext <<_ACEOF
49921 /* end confdefs.h. */
49922 #include <math.h>
49923 #ifdef HAVE_IEEEFP_H
49924 #include <ieeefp.h>
49925 #endif
49926
49927 int
49928 main ()
49929 {
49930 log10f(0);
49931 ;
49932 return 0;
49933 }
49934 _ACEOF
49935 rm -f conftest.$ac_objext
49936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49937 (eval $ac_compile) 2>conftest.er1
49938 ac_status=$?
49939 grep -v '^ *+' conftest.er1 >conftest.err
49940 rm -f conftest.er1
49941 cat conftest.err >&5
49942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49943 (exit $ac_status); } &&
49944 { ac_try='test -z "$ac_cxx_werror_flag"
49945 || test ! -s conftest.err'
49946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49947 (eval $ac_try) 2>&5
49948 ac_status=$?
49949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49950 (exit $ac_status); }; } &&
49951 { ac_try='test -s conftest.$ac_objext'
49952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49953 (eval $ac_try) 2>&5
49954 ac_status=$?
49955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49956 (exit $ac_status); }; }; then
49957 glibcxx_cv_func_log10f_use=yes
49958 else
49959 echo "$as_me: failed program was:" >&5
49960 sed 's/^/| /' conftest.$ac_ext >&5
49961
49962 glibcxx_cv_func_log10f_use=no
49963 fi
49964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49965 ac_ext=c
49966 ac_cpp='$CPP $CPPFLAGS'
49967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49970
49971
49972 fi
49973
49974 fi
49975 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
49976 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
49977
49978 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49979
49980 for ac_func in log10f
49981 do
49982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49983 echo "$as_me:$LINENO: checking for $ac_func" >&5
49984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49985 if eval "test \"\${$as_ac_var+set}\" = set"; then
49986 echo $ECHO_N "(cached) $ECHO_C" >&6
49987 else
49988 if test x$gcc_no_link = xyes; then
49989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49991 { (exit 1); exit 1; }; }
49992 fi
49993 cat >conftest.$ac_ext <<_ACEOF
49994 /* confdefs.h. */
49995 _ACEOF
49996 cat confdefs.h >>conftest.$ac_ext
49997 cat >>conftest.$ac_ext <<_ACEOF
49998 /* end confdefs.h. */
49999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50001 #define $ac_func innocuous_$ac_func
50002
50003 /* System header to define __stub macros and hopefully few prototypes,
50004 which can conflict with char $ac_func (); below.
50005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50006 <limits.h> exists even on freestanding compilers. */
50007
50008 #ifdef __STDC__
50009 # include <limits.h>
50010 #else
50011 # include <assert.h>
50012 #endif
50013
50014 #undef $ac_func
50015
50016 /* Override any gcc2 internal prototype to avoid an error. */
50017 #ifdef __cplusplus
50018 extern "C"
50019 {
50020 #endif
50021 /* We use char because int might match the return type of a gcc2
50022 builtin and then its argument prototype would still apply. */
50023 char $ac_func ();
50024 /* The GNU C library defines this for functions which it implements
50025 to always fail with ENOSYS. Some functions are actually named
50026 something starting with __ and the normal name is an alias. */
50027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50028 choke me
50029 #else
50030 char (*f) () = $ac_func;
50031 #endif
50032 #ifdef __cplusplus
50033 }
50034 #endif
50035
50036 int
50037 main ()
50038 {
50039 return f != $ac_func;
50040 ;
50041 return 0;
50042 }
50043 _ACEOF
50044 rm -f conftest.$ac_objext conftest$ac_exeext
50045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50046 (eval $ac_link) 2>conftest.er1
50047 ac_status=$?
50048 grep -v '^ *+' conftest.er1 >conftest.err
50049 rm -f conftest.er1
50050 cat conftest.err >&5
50051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50052 (exit $ac_status); } &&
50053 { ac_try='test -z "$ac_c_werror_flag"
50054 || test ! -s conftest.err'
50055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50056 (eval $ac_try) 2>&5
50057 ac_status=$?
50058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50059 (exit $ac_status); }; } &&
50060 { ac_try='test -s conftest$ac_exeext'
50061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50062 (eval $ac_try) 2>&5
50063 ac_status=$?
50064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50065 (exit $ac_status); }; }; then
50066 eval "$as_ac_var=yes"
50067 else
50068 echo "$as_me: failed program was:" >&5
50069 sed 's/^/| /' conftest.$ac_ext >&5
50070
50071 eval "$as_ac_var=no"
50072 fi
50073 rm -f conftest.err conftest.$ac_objext \
50074 conftest$ac_exeext conftest.$ac_ext
50075 fi
50076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50078 if test `eval echo '${'$as_ac_var'}'` = yes; then
50079 cat >>confdefs.h <<_ACEOF
50080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50081 _ACEOF
50082
50083 fi
50084 done
50085
50086 else
50087
50088 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
50089 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
50090 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50091 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
50092 echo $ECHO_N "(cached) $ECHO_C" >&6
50093 else
50094
50095
50096
50097 ac_ext=cc
50098 ac_cpp='$CXXCPP $CPPFLAGS'
50099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50102
50103 cat >conftest.$ac_ext <<_ACEOF
50104 /* confdefs.h. */
50105 _ACEOF
50106 cat confdefs.h >>conftest.$ac_ext
50107 cat >>conftest.$ac_ext <<_ACEOF
50108 /* end confdefs.h. */
50109 #include <math.h>
50110 #ifdef HAVE_IEEEFP_H
50111 #include <ieeefp.h>
50112 #endif
50113
50114 int
50115 main ()
50116 {
50117 _log10f(0);
50118 ;
50119 return 0;
50120 }
50121 _ACEOF
50122 rm -f conftest.$ac_objext
50123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50124 (eval $ac_compile) 2>conftest.er1
50125 ac_status=$?
50126 grep -v '^ *+' conftest.er1 >conftest.err
50127 rm -f conftest.er1
50128 cat conftest.err >&5
50129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50130 (exit $ac_status); } &&
50131 { ac_try='test -z "$ac_cxx_werror_flag"
50132 || test ! -s conftest.err'
50133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50134 (eval $ac_try) 2>&5
50135 ac_status=$?
50136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50137 (exit $ac_status); }; } &&
50138 { ac_try='test -s conftest.$ac_objext'
50139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50140 (eval $ac_try) 2>&5
50141 ac_status=$?
50142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50143 (exit $ac_status); }; }; then
50144 glibcxx_cv_func__log10f_use=yes
50145 else
50146 echo "$as_me: failed program was:" >&5
50147 sed 's/^/| /' conftest.$ac_ext >&5
50148
50149 glibcxx_cv_func__log10f_use=no
50150 fi
50151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50152 ac_ext=c
50153 ac_cpp='$CPP $CPPFLAGS'
50154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50157
50158
50159 fi
50160
50161 fi
50162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
50163 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
50164
50165 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50166
50167 for ac_func in _log10f
50168 do
50169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50170 echo "$as_me:$LINENO: checking for $ac_func" >&5
50171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50172 if eval "test \"\${$as_ac_var+set}\" = set"; then
50173 echo $ECHO_N "(cached) $ECHO_C" >&6
50174 else
50175 if test x$gcc_no_link = xyes; then
50176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50178 { (exit 1); exit 1; }; }
50179 fi
50180 cat >conftest.$ac_ext <<_ACEOF
50181 /* confdefs.h. */
50182 _ACEOF
50183 cat confdefs.h >>conftest.$ac_ext
50184 cat >>conftest.$ac_ext <<_ACEOF
50185 /* end confdefs.h. */
50186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50188 #define $ac_func innocuous_$ac_func
50189
50190 /* System header to define __stub macros and hopefully few prototypes,
50191 which can conflict with char $ac_func (); below.
50192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50193 <limits.h> exists even on freestanding compilers. */
50194
50195 #ifdef __STDC__
50196 # include <limits.h>
50197 #else
50198 # include <assert.h>
50199 #endif
50200
50201 #undef $ac_func
50202
50203 /* Override any gcc2 internal prototype to avoid an error. */
50204 #ifdef __cplusplus
50205 extern "C"
50206 {
50207 #endif
50208 /* We use char because int might match the return type of a gcc2
50209 builtin and then its argument prototype would still apply. */
50210 char $ac_func ();
50211 /* The GNU C library defines this for functions which it implements
50212 to always fail with ENOSYS. Some functions are actually named
50213 something starting with __ and the normal name is an alias. */
50214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50215 choke me
50216 #else
50217 char (*f) () = $ac_func;
50218 #endif
50219 #ifdef __cplusplus
50220 }
50221 #endif
50222
50223 int
50224 main ()
50225 {
50226 return f != $ac_func;
50227 ;
50228 return 0;
50229 }
50230 _ACEOF
50231 rm -f conftest.$ac_objext conftest$ac_exeext
50232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50233 (eval $ac_link) 2>conftest.er1
50234 ac_status=$?
50235 grep -v '^ *+' conftest.er1 >conftest.err
50236 rm -f conftest.er1
50237 cat conftest.err >&5
50238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50239 (exit $ac_status); } &&
50240 { ac_try='test -z "$ac_c_werror_flag"
50241 || test ! -s conftest.err'
50242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50243 (eval $ac_try) 2>&5
50244 ac_status=$?
50245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50246 (exit $ac_status); }; } &&
50247 { ac_try='test -s conftest$ac_exeext'
50248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50249 (eval $ac_try) 2>&5
50250 ac_status=$?
50251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50252 (exit $ac_status); }; }; then
50253 eval "$as_ac_var=yes"
50254 else
50255 echo "$as_me: failed program was:" >&5
50256 sed 's/^/| /' conftest.$ac_ext >&5
50257
50258 eval "$as_ac_var=no"
50259 fi
50260 rm -f conftest.err conftest.$ac_objext \
50261 conftest$ac_exeext conftest.$ac_ext
50262 fi
50263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50265 if test `eval echo '${'$as_ac_var'}'` = yes; then
50266 cat >>confdefs.h <<_ACEOF
50267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50268 _ACEOF
50269
50270 fi
50271 done
50272
50273 fi
50274 fi
50275
50276
50277
50278
50279
50280
50281 echo "$as_me:$LINENO: checking for modff declaration" >&5
50282 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
50283 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50284 if test "${glibcxx_cv_func_modff_use+set}" = set; then
50285 echo $ECHO_N "(cached) $ECHO_C" >&6
50286 else
50287
50288
50289
50290 ac_ext=cc
50291 ac_cpp='$CXXCPP $CPPFLAGS'
50292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50295
50296 cat >conftest.$ac_ext <<_ACEOF
50297 /* confdefs.h. */
50298 _ACEOF
50299 cat confdefs.h >>conftest.$ac_ext
50300 cat >>conftest.$ac_ext <<_ACEOF
50301 /* end confdefs.h. */
50302 #include <math.h>
50303 int
50304 main ()
50305 {
50306 modff(0, 0);
50307 ;
50308 return 0;
50309 }
50310 _ACEOF
50311 rm -f conftest.$ac_objext
50312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50313 (eval $ac_compile) 2>conftest.er1
50314 ac_status=$?
50315 grep -v '^ *+' conftest.er1 >conftest.err
50316 rm -f conftest.er1
50317 cat conftest.err >&5
50318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50319 (exit $ac_status); } &&
50320 { ac_try='test -z "$ac_cxx_werror_flag"
50321 || test ! -s conftest.err'
50322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50323 (eval $ac_try) 2>&5
50324 ac_status=$?
50325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50326 (exit $ac_status); }; } &&
50327 { ac_try='test -s conftest.$ac_objext'
50328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50329 (eval $ac_try) 2>&5
50330 ac_status=$?
50331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50332 (exit $ac_status); }; }; then
50333 glibcxx_cv_func_modff_use=yes
50334 else
50335 echo "$as_me: failed program was:" >&5
50336 sed 's/^/| /' conftest.$ac_ext >&5
50337
50338 glibcxx_cv_func_modff_use=no
50339 fi
50340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50341 ac_ext=c
50342 ac_cpp='$CPP $CPPFLAGS'
50343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50346
50347
50348 fi
50349
50350 fi
50351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
50352 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
50353
50354 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50355
50356 for ac_func in modff
50357 do
50358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50359 echo "$as_me:$LINENO: checking for $ac_func" >&5
50360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50361 if eval "test \"\${$as_ac_var+set}\" = set"; then
50362 echo $ECHO_N "(cached) $ECHO_C" >&6
50363 else
50364 if test x$gcc_no_link = xyes; then
50365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50367 { (exit 1); exit 1; }; }
50368 fi
50369 cat >conftest.$ac_ext <<_ACEOF
50370 /* confdefs.h. */
50371 _ACEOF
50372 cat confdefs.h >>conftest.$ac_ext
50373 cat >>conftest.$ac_ext <<_ACEOF
50374 /* end confdefs.h. */
50375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50377 #define $ac_func innocuous_$ac_func
50378
50379 /* System header to define __stub macros and hopefully few prototypes,
50380 which can conflict with char $ac_func (); below.
50381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50382 <limits.h> exists even on freestanding compilers. */
50383
50384 #ifdef __STDC__
50385 # include <limits.h>
50386 #else
50387 # include <assert.h>
50388 #endif
50389
50390 #undef $ac_func
50391
50392 /* Override any gcc2 internal prototype to avoid an error. */
50393 #ifdef __cplusplus
50394 extern "C"
50395 {
50396 #endif
50397 /* We use char because int might match the return type of a gcc2
50398 builtin and then its argument prototype would still apply. */
50399 char $ac_func ();
50400 /* The GNU C library defines this for functions which it implements
50401 to always fail with ENOSYS. Some functions are actually named
50402 something starting with __ and the normal name is an alias. */
50403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50404 choke me
50405 #else
50406 char (*f) () = $ac_func;
50407 #endif
50408 #ifdef __cplusplus
50409 }
50410 #endif
50411
50412 int
50413 main ()
50414 {
50415 return f != $ac_func;
50416 ;
50417 return 0;
50418 }
50419 _ACEOF
50420 rm -f conftest.$ac_objext conftest$ac_exeext
50421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50422 (eval $ac_link) 2>conftest.er1
50423 ac_status=$?
50424 grep -v '^ *+' conftest.er1 >conftest.err
50425 rm -f conftest.er1
50426 cat conftest.err >&5
50427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50428 (exit $ac_status); } &&
50429 { ac_try='test -z "$ac_c_werror_flag"
50430 || test ! -s conftest.err'
50431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50432 (eval $ac_try) 2>&5
50433 ac_status=$?
50434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50435 (exit $ac_status); }; } &&
50436 { ac_try='test -s conftest$ac_exeext'
50437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50438 (eval $ac_try) 2>&5
50439 ac_status=$?
50440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50441 (exit $ac_status); }; }; then
50442 eval "$as_ac_var=yes"
50443 else
50444 echo "$as_me: failed program was:" >&5
50445 sed 's/^/| /' conftest.$ac_ext >&5
50446
50447 eval "$as_ac_var=no"
50448 fi
50449 rm -f conftest.err conftest.$ac_objext \
50450 conftest$ac_exeext conftest.$ac_ext
50451 fi
50452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50454 if test `eval echo '${'$as_ac_var'}'` = yes; then
50455 cat >>confdefs.h <<_ACEOF
50456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50457 _ACEOF
50458
50459 fi
50460 done
50461
50462 else
50463
50464 echo "$as_me:$LINENO: checking for _modff declaration" >&5
50465 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
50466 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50467 if test "${glibcxx_cv_func__modff_use+set}" = set; then
50468 echo $ECHO_N "(cached) $ECHO_C" >&6
50469 else
50470
50471
50472
50473 ac_ext=cc
50474 ac_cpp='$CXXCPP $CPPFLAGS'
50475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50478
50479 cat >conftest.$ac_ext <<_ACEOF
50480 /* confdefs.h. */
50481 _ACEOF
50482 cat confdefs.h >>conftest.$ac_ext
50483 cat >>conftest.$ac_ext <<_ACEOF
50484 /* end confdefs.h. */
50485 #include <math.h>
50486 int
50487 main ()
50488 {
50489 _modff(0, 0);
50490 ;
50491 return 0;
50492 }
50493 _ACEOF
50494 rm -f conftest.$ac_objext
50495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50496 (eval $ac_compile) 2>conftest.er1
50497 ac_status=$?
50498 grep -v '^ *+' conftest.er1 >conftest.err
50499 rm -f conftest.er1
50500 cat conftest.err >&5
50501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50502 (exit $ac_status); } &&
50503 { ac_try='test -z "$ac_cxx_werror_flag"
50504 || test ! -s conftest.err'
50505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50506 (eval $ac_try) 2>&5
50507 ac_status=$?
50508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50509 (exit $ac_status); }; } &&
50510 { ac_try='test -s conftest.$ac_objext'
50511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50512 (eval $ac_try) 2>&5
50513 ac_status=$?
50514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50515 (exit $ac_status); }; }; then
50516 glibcxx_cv_func__modff_use=yes
50517 else
50518 echo "$as_me: failed program was:" >&5
50519 sed 's/^/| /' conftest.$ac_ext >&5
50520
50521 glibcxx_cv_func__modff_use=no
50522 fi
50523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50524 ac_ext=c
50525 ac_cpp='$CPP $CPPFLAGS'
50526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50529
50530
50531 fi
50532
50533 fi
50534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
50535 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
50536
50537 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50538
50539 for ac_func in _modff
50540 do
50541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50542 echo "$as_me:$LINENO: checking for $ac_func" >&5
50543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50544 if eval "test \"\${$as_ac_var+set}\" = set"; then
50545 echo $ECHO_N "(cached) $ECHO_C" >&6
50546 else
50547 if test x$gcc_no_link = xyes; then
50548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50550 { (exit 1); exit 1; }; }
50551 fi
50552 cat >conftest.$ac_ext <<_ACEOF
50553 /* confdefs.h. */
50554 _ACEOF
50555 cat confdefs.h >>conftest.$ac_ext
50556 cat >>conftest.$ac_ext <<_ACEOF
50557 /* end confdefs.h. */
50558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50560 #define $ac_func innocuous_$ac_func
50561
50562 /* System header to define __stub macros and hopefully few prototypes,
50563 which can conflict with char $ac_func (); below.
50564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50565 <limits.h> exists even on freestanding compilers. */
50566
50567 #ifdef __STDC__
50568 # include <limits.h>
50569 #else
50570 # include <assert.h>
50571 #endif
50572
50573 #undef $ac_func
50574
50575 /* Override any gcc2 internal prototype to avoid an error. */
50576 #ifdef __cplusplus
50577 extern "C"
50578 {
50579 #endif
50580 /* We use char because int might match the return type of a gcc2
50581 builtin and then its argument prototype would still apply. */
50582 char $ac_func ();
50583 /* The GNU C library defines this for functions which it implements
50584 to always fail with ENOSYS. Some functions are actually named
50585 something starting with __ and the normal name is an alias. */
50586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50587 choke me
50588 #else
50589 char (*f) () = $ac_func;
50590 #endif
50591 #ifdef __cplusplus
50592 }
50593 #endif
50594
50595 int
50596 main ()
50597 {
50598 return f != $ac_func;
50599 ;
50600 return 0;
50601 }
50602 _ACEOF
50603 rm -f conftest.$ac_objext conftest$ac_exeext
50604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50605 (eval $ac_link) 2>conftest.er1
50606 ac_status=$?
50607 grep -v '^ *+' conftest.er1 >conftest.err
50608 rm -f conftest.er1
50609 cat conftest.err >&5
50610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50611 (exit $ac_status); } &&
50612 { ac_try='test -z "$ac_c_werror_flag"
50613 || test ! -s conftest.err'
50614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50615 (eval $ac_try) 2>&5
50616 ac_status=$?
50617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50618 (exit $ac_status); }; } &&
50619 { ac_try='test -s conftest$ac_exeext'
50620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50621 (eval $ac_try) 2>&5
50622 ac_status=$?
50623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50624 (exit $ac_status); }; }; then
50625 eval "$as_ac_var=yes"
50626 else
50627 echo "$as_me: failed program was:" >&5
50628 sed 's/^/| /' conftest.$ac_ext >&5
50629
50630 eval "$as_ac_var=no"
50631 fi
50632 rm -f conftest.err conftest.$ac_objext \
50633 conftest$ac_exeext conftest.$ac_ext
50634 fi
50635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50637 if test `eval echo '${'$as_ac_var'}'` = yes; then
50638 cat >>confdefs.h <<_ACEOF
50639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50640 _ACEOF
50641
50642 fi
50643 done
50644
50645 fi
50646 fi
50647
50648
50649
50650
50651
50652
50653 echo "$as_me:$LINENO: checking for modf declaration" >&5
50654 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
50655 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50656 if test "${glibcxx_cv_func_modf_use+set}" = set; then
50657 echo $ECHO_N "(cached) $ECHO_C" >&6
50658 else
50659
50660
50661
50662 ac_ext=cc
50663 ac_cpp='$CXXCPP $CPPFLAGS'
50664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50667
50668 cat >conftest.$ac_ext <<_ACEOF
50669 /* confdefs.h. */
50670 _ACEOF
50671 cat confdefs.h >>conftest.$ac_ext
50672 cat >>conftest.$ac_ext <<_ACEOF
50673 /* end confdefs.h. */
50674 #include <math.h>
50675 int
50676 main ()
50677 {
50678 modf(0, 0);
50679 ;
50680 return 0;
50681 }
50682 _ACEOF
50683 rm -f conftest.$ac_objext
50684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50685 (eval $ac_compile) 2>conftest.er1
50686 ac_status=$?
50687 grep -v '^ *+' conftest.er1 >conftest.err
50688 rm -f conftest.er1
50689 cat conftest.err >&5
50690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50691 (exit $ac_status); } &&
50692 { ac_try='test -z "$ac_cxx_werror_flag"
50693 || test ! -s conftest.err'
50694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50695 (eval $ac_try) 2>&5
50696 ac_status=$?
50697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50698 (exit $ac_status); }; } &&
50699 { ac_try='test -s conftest.$ac_objext'
50700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50701 (eval $ac_try) 2>&5
50702 ac_status=$?
50703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50704 (exit $ac_status); }; }; then
50705 glibcxx_cv_func_modf_use=yes
50706 else
50707 echo "$as_me: failed program was:" >&5
50708 sed 's/^/| /' conftest.$ac_ext >&5
50709
50710 glibcxx_cv_func_modf_use=no
50711 fi
50712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50713 ac_ext=c
50714 ac_cpp='$CPP $CPPFLAGS'
50715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50718
50719
50720 fi
50721
50722 fi
50723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
50724 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
50725
50726 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50727
50728 for ac_func in modf
50729 do
50730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50731 echo "$as_me:$LINENO: checking for $ac_func" >&5
50732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50733 if eval "test \"\${$as_ac_var+set}\" = set"; then
50734 echo $ECHO_N "(cached) $ECHO_C" >&6
50735 else
50736 if test x$gcc_no_link = xyes; then
50737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50739 { (exit 1); exit 1; }; }
50740 fi
50741 cat >conftest.$ac_ext <<_ACEOF
50742 /* confdefs.h. */
50743 _ACEOF
50744 cat confdefs.h >>conftest.$ac_ext
50745 cat >>conftest.$ac_ext <<_ACEOF
50746 /* end confdefs.h. */
50747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50749 #define $ac_func innocuous_$ac_func
50750
50751 /* System header to define __stub macros and hopefully few prototypes,
50752 which can conflict with char $ac_func (); below.
50753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50754 <limits.h> exists even on freestanding compilers. */
50755
50756 #ifdef __STDC__
50757 # include <limits.h>
50758 #else
50759 # include <assert.h>
50760 #endif
50761
50762 #undef $ac_func
50763
50764 /* Override any gcc2 internal prototype to avoid an error. */
50765 #ifdef __cplusplus
50766 extern "C"
50767 {
50768 #endif
50769 /* We use char because int might match the return type of a gcc2
50770 builtin and then its argument prototype would still apply. */
50771 char $ac_func ();
50772 /* The GNU C library defines this for functions which it implements
50773 to always fail with ENOSYS. Some functions are actually named
50774 something starting with __ and the normal name is an alias. */
50775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50776 choke me
50777 #else
50778 char (*f) () = $ac_func;
50779 #endif
50780 #ifdef __cplusplus
50781 }
50782 #endif
50783
50784 int
50785 main ()
50786 {
50787 return f != $ac_func;
50788 ;
50789 return 0;
50790 }
50791 _ACEOF
50792 rm -f conftest.$ac_objext conftest$ac_exeext
50793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50794 (eval $ac_link) 2>conftest.er1
50795 ac_status=$?
50796 grep -v '^ *+' conftest.er1 >conftest.err
50797 rm -f conftest.er1
50798 cat conftest.err >&5
50799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50800 (exit $ac_status); } &&
50801 { ac_try='test -z "$ac_c_werror_flag"
50802 || test ! -s conftest.err'
50803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50804 (eval $ac_try) 2>&5
50805 ac_status=$?
50806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50807 (exit $ac_status); }; } &&
50808 { ac_try='test -s conftest$ac_exeext'
50809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50810 (eval $ac_try) 2>&5
50811 ac_status=$?
50812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50813 (exit $ac_status); }; }; then
50814 eval "$as_ac_var=yes"
50815 else
50816 echo "$as_me: failed program was:" >&5
50817 sed 's/^/| /' conftest.$ac_ext >&5
50818
50819 eval "$as_ac_var=no"
50820 fi
50821 rm -f conftest.err conftest.$ac_objext \
50822 conftest$ac_exeext conftest.$ac_ext
50823 fi
50824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50826 if test `eval echo '${'$as_ac_var'}'` = yes; then
50827 cat >>confdefs.h <<_ACEOF
50828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50829 _ACEOF
50830
50831 fi
50832 done
50833
50834 else
50835
50836 echo "$as_me:$LINENO: checking for _modf declaration" >&5
50837 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
50838 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50839 if test "${glibcxx_cv_func__modf_use+set}" = set; then
50840 echo $ECHO_N "(cached) $ECHO_C" >&6
50841 else
50842
50843
50844
50845 ac_ext=cc
50846 ac_cpp='$CXXCPP $CPPFLAGS'
50847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50850
50851 cat >conftest.$ac_ext <<_ACEOF
50852 /* confdefs.h. */
50853 _ACEOF
50854 cat confdefs.h >>conftest.$ac_ext
50855 cat >>conftest.$ac_ext <<_ACEOF
50856 /* end confdefs.h. */
50857 #include <math.h>
50858 int
50859 main ()
50860 {
50861 _modf(0, 0);
50862 ;
50863 return 0;
50864 }
50865 _ACEOF
50866 rm -f conftest.$ac_objext
50867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50868 (eval $ac_compile) 2>conftest.er1
50869 ac_status=$?
50870 grep -v '^ *+' conftest.er1 >conftest.err
50871 rm -f conftest.er1
50872 cat conftest.err >&5
50873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50874 (exit $ac_status); } &&
50875 { ac_try='test -z "$ac_cxx_werror_flag"
50876 || test ! -s conftest.err'
50877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50878 (eval $ac_try) 2>&5
50879 ac_status=$?
50880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50881 (exit $ac_status); }; } &&
50882 { ac_try='test -s conftest.$ac_objext'
50883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50884 (eval $ac_try) 2>&5
50885 ac_status=$?
50886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50887 (exit $ac_status); }; }; then
50888 glibcxx_cv_func__modf_use=yes
50889 else
50890 echo "$as_me: failed program was:" >&5
50891 sed 's/^/| /' conftest.$ac_ext >&5
50892
50893 glibcxx_cv_func__modf_use=no
50894 fi
50895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50896 ac_ext=c
50897 ac_cpp='$CPP $CPPFLAGS'
50898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50901
50902
50903 fi
50904
50905 fi
50906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
50907 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
50908
50909 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50910
50911 for ac_func in _modf
50912 do
50913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50914 echo "$as_me:$LINENO: checking for $ac_func" >&5
50915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50916 if eval "test \"\${$as_ac_var+set}\" = set"; then
50917 echo $ECHO_N "(cached) $ECHO_C" >&6
50918 else
50919 if test x$gcc_no_link = xyes; then
50920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50922 { (exit 1); exit 1; }; }
50923 fi
50924 cat >conftest.$ac_ext <<_ACEOF
50925 /* confdefs.h. */
50926 _ACEOF
50927 cat confdefs.h >>conftest.$ac_ext
50928 cat >>conftest.$ac_ext <<_ACEOF
50929 /* end confdefs.h. */
50930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50932 #define $ac_func innocuous_$ac_func
50933
50934 /* System header to define __stub macros and hopefully few prototypes,
50935 which can conflict with char $ac_func (); below.
50936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50937 <limits.h> exists even on freestanding compilers. */
50938
50939 #ifdef __STDC__
50940 # include <limits.h>
50941 #else
50942 # include <assert.h>
50943 #endif
50944
50945 #undef $ac_func
50946
50947 /* Override any gcc2 internal prototype to avoid an error. */
50948 #ifdef __cplusplus
50949 extern "C"
50950 {
50951 #endif
50952 /* We use char because int might match the return type of a gcc2
50953 builtin and then its argument prototype would still apply. */
50954 char $ac_func ();
50955 /* The GNU C library defines this for functions which it implements
50956 to always fail with ENOSYS. Some functions are actually named
50957 something starting with __ and the normal name is an alias. */
50958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50959 choke me
50960 #else
50961 char (*f) () = $ac_func;
50962 #endif
50963 #ifdef __cplusplus
50964 }
50965 #endif
50966
50967 int
50968 main ()
50969 {
50970 return f != $ac_func;
50971 ;
50972 return 0;
50973 }
50974 _ACEOF
50975 rm -f conftest.$ac_objext conftest$ac_exeext
50976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50977 (eval $ac_link) 2>conftest.er1
50978 ac_status=$?
50979 grep -v '^ *+' conftest.er1 >conftest.err
50980 rm -f conftest.er1
50981 cat conftest.err >&5
50982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50983 (exit $ac_status); } &&
50984 { ac_try='test -z "$ac_c_werror_flag"
50985 || test ! -s conftest.err'
50986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50987 (eval $ac_try) 2>&5
50988 ac_status=$?
50989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50990 (exit $ac_status); }; } &&
50991 { ac_try='test -s conftest$ac_exeext'
50992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50993 (eval $ac_try) 2>&5
50994 ac_status=$?
50995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50996 (exit $ac_status); }; }; then
50997 eval "$as_ac_var=yes"
50998 else
50999 echo "$as_me: failed program was:" >&5
51000 sed 's/^/| /' conftest.$ac_ext >&5
51001
51002 eval "$as_ac_var=no"
51003 fi
51004 rm -f conftest.err conftest.$ac_objext \
51005 conftest$ac_exeext conftest.$ac_ext
51006 fi
51007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51009 if test `eval echo '${'$as_ac_var'}'` = yes; then
51010 cat >>confdefs.h <<_ACEOF
51011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51012 _ACEOF
51013
51014 fi
51015 done
51016
51017 fi
51018 fi
51019
51020
51021
51022
51023
51024
51025 echo "$as_me:$LINENO: checking for powf declaration" >&5
51026 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
51027 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51028 if test "${glibcxx_cv_func_powf_use+set}" = set; then
51029 echo $ECHO_N "(cached) $ECHO_C" >&6
51030 else
51031
51032
51033
51034 ac_ext=cc
51035 ac_cpp='$CXXCPP $CPPFLAGS'
51036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51039
51040 cat >conftest.$ac_ext <<_ACEOF
51041 /* confdefs.h. */
51042 _ACEOF
51043 cat confdefs.h >>conftest.$ac_ext
51044 cat >>conftest.$ac_ext <<_ACEOF
51045 /* end confdefs.h. */
51046 #include <math.h>
51047 int
51048 main ()
51049 {
51050 powf(0, 0);
51051 ;
51052 return 0;
51053 }
51054 _ACEOF
51055 rm -f conftest.$ac_objext
51056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51057 (eval $ac_compile) 2>conftest.er1
51058 ac_status=$?
51059 grep -v '^ *+' conftest.er1 >conftest.err
51060 rm -f conftest.er1
51061 cat conftest.err >&5
51062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51063 (exit $ac_status); } &&
51064 { ac_try='test -z "$ac_cxx_werror_flag"
51065 || test ! -s conftest.err'
51066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51067 (eval $ac_try) 2>&5
51068 ac_status=$?
51069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51070 (exit $ac_status); }; } &&
51071 { ac_try='test -s conftest.$ac_objext'
51072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51073 (eval $ac_try) 2>&5
51074 ac_status=$?
51075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51076 (exit $ac_status); }; }; then
51077 glibcxx_cv_func_powf_use=yes
51078 else
51079 echo "$as_me: failed program was:" >&5
51080 sed 's/^/| /' conftest.$ac_ext >&5
51081
51082 glibcxx_cv_func_powf_use=no
51083 fi
51084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51085 ac_ext=c
51086 ac_cpp='$CPP $CPPFLAGS'
51087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51090
51091
51092 fi
51093
51094 fi
51095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
51096 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
51097
51098 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51099
51100 for ac_func in powf
51101 do
51102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51103 echo "$as_me:$LINENO: checking for $ac_func" >&5
51104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51105 if eval "test \"\${$as_ac_var+set}\" = set"; then
51106 echo $ECHO_N "(cached) $ECHO_C" >&6
51107 else
51108 if test x$gcc_no_link = xyes; then
51109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51111 { (exit 1); exit 1; }; }
51112 fi
51113 cat >conftest.$ac_ext <<_ACEOF
51114 /* confdefs.h. */
51115 _ACEOF
51116 cat confdefs.h >>conftest.$ac_ext
51117 cat >>conftest.$ac_ext <<_ACEOF
51118 /* end confdefs.h. */
51119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51121 #define $ac_func innocuous_$ac_func
51122
51123 /* System header to define __stub macros and hopefully few prototypes,
51124 which can conflict with char $ac_func (); below.
51125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51126 <limits.h> exists even on freestanding compilers. */
51127
51128 #ifdef __STDC__
51129 # include <limits.h>
51130 #else
51131 # include <assert.h>
51132 #endif
51133
51134 #undef $ac_func
51135
51136 /* Override any gcc2 internal prototype to avoid an error. */
51137 #ifdef __cplusplus
51138 extern "C"
51139 {
51140 #endif
51141 /* We use char because int might match the return type of a gcc2
51142 builtin and then its argument prototype would still apply. */
51143 char $ac_func ();
51144 /* The GNU C library defines this for functions which it implements
51145 to always fail with ENOSYS. Some functions are actually named
51146 something starting with __ and the normal name is an alias. */
51147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51148 choke me
51149 #else
51150 char (*f) () = $ac_func;
51151 #endif
51152 #ifdef __cplusplus
51153 }
51154 #endif
51155
51156 int
51157 main ()
51158 {
51159 return f != $ac_func;
51160 ;
51161 return 0;
51162 }
51163 _ACEOF
51164 rm -f conftest.$ac_objext conftest$ac_exeext
51165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51166 (eval $ac_link) 2>conftest.er1
51167 ac_status=$?
51168 grep -v '^ *+' conftest.er1 >conftest.err
51169 rm -f conftest.er1
51170 cat conftest.err >&5
51171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51172 (exit $ac_status); } &&
51173 { ac_try='test -z "$ac_c_werror_flag"
51174 || test ! -s conftest.err'
51175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51176 (eval $ac_try) 2>&5
51177 ac_status=$?
51178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51179 (exit $ac_status); }; } &&
51180 { ac_try='test -s conftest$ac_exeext'
51181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51182 (eval $ac_try) 2>&5
51183 ac_status=$?
51184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51185 (exit $ac_status); }; }; then
51186 eval "$as_ac_var=yes"
51187 else
51188 echo "$as_me: failed program was:" >&5
51189 sed 's/^/| /' conftest.$ac_ext >&5
51190
51191 eval "$as_ac_var=no"
51192 fi
51193 rm -f conftest.err conftest.$ac_objext \
51194 conftest$ac_exeext conftest.$ac_ext
51195 fi
51196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51198 if test `eval echo '${'$as_ac_var'}'` = yes; then
51199 cat >>confdefs.h <<_ACEOF
51200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51201 _ACEOF
51202
51203 fi
51204 done
51205
51206 else
51207
51208 echo "$as_me:$LINENO: checking for _powf declaration" >&5
51209 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
51210 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51211 if test "${glibcxx_cv_func__powf_use+set}" = set; then
51212 echo $ECHO_N "(cached) $ECHO_C" >&6
51213 else
51214
51215
51216
51217 ac_ext=cc
51218 ac_cpp='$CXXCPP $CPPFLAGS'
51219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51222
51223 cat >conftest.$ac_ext <<_ACEOF
51224 /* confdefs.h. */
51225 _ACEOF
51226 cat confdefs.h >>conftest.$ac_ext
51227 cat >>conftest.$ac_ext <<_ACEOF
51228 /* end confdefs.h. */
51229 #include <math.h>
51230 int
51231 main ()
51232 {
51233 _powf(0, 0);
51234 ;
51235 return 0;
51236 }
51237 _ACEOF
51238 rm -f conftest.$ac_objext
51239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51240 (eval $ac_compile) 2>conftest.er1
51241 ac_status=$?
51242 grep -v '^ *+' conftest.er1 >conftest.err
51243 rm -f conftest.er1
51244 cat conftest.err >&5
51245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51246 (exit $ac_status); } &&
51247 { ac_try='test -z "$ac_cxx_werror_flag"
51248 || test ! -s conftest.err'
51249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51250 (eval $ac_try) 2>&5
51251 ac_status=$?
51252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51253 (exit $ac_status); }; } &&
51254 { ac_try='test -s conftest.$ac_objext'
51255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51256 (eval $ac_try) 2>&5
51257 ac_status=$?
51258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51259 (exit $ac_status); }; }; then
51260 glibcxx_cv_func__powf_use=yes
51261 else
51262 echo "$as_me: failed program was:" >&5
51263 sed 's/^/| /' conftest.$ac_ext >&5
51264
51265 glibcxx_cv_func__powf_use=no
51266 fi
51267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51268 ac_ext=c
51269 ac_cpp='$CPP $CPPFLAGS'
51270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51273
51274
51275 fi
51276
51277 fi
51278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
51279 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
51280
51281 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51282
51283 for ac_func in _powf
51284 do
51285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51286 echo "$as_me:$LINENO: checking for $ac_func" >&5
51287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51288 if eval "test \"\${$as_ac_var+set}\" = set"; then
51289 echo $ECHO_N "(cached) $ECHO_C" >&6
51290 else
51291 if test x$gcc_no_link = xyes; then
51292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51294 { (exit 1); exit 1; }; }
51295 fi
51296 cat >conftest.$ac_ext <<_ACEOF
51297 /* confdefs.h. */
51298 _ACEOF
51299 cat confdefs.h >>conftest.$ac_ext
51300 cat >>conftest.$ac_ext <<_ACEOF
51301 /* end confdefs.h. */
51302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51304 #define $ac_func innocuous_$ac_func
51305
51306 /* System header to define __stub macros and hopefully few prototypes,
51307 which can conflict with char $ac_func (); below.
51308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51309 <limits.h> exists even on freestanding compilers. */
51310
51311 #ifdef __STDC__
51312 # include <limits.h>
51313 #else
51314 # include <assert.h>
51315 #endif
51316
51317 #undef $ac_func
51318
51319 /* Override any gcc2 internal prototype to avoid an error. */
51320 #ifdef __cplusplus
51321 extern "C"
51322 {
51323 #endif
51324 /* We use char because int might match the return type of a gcc2
51325 builtin and then its argument prototype would still apply. */
51326 char $ac_func ();
51327 /* The GNU C library defines this for functions which it implements
51328 to always fail with ENOSYS. Some functions are actually named
51329 something starting with __ and the normal name is an alias. */
51330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51331 choke me
51332 #else
51333 char (*f) () = $ac_func;
51334 #endif
51335 #ifdef __cplusplus
51336 }
51337 #endif
51338
51339 int
51340 main ()
51341 {
51342 return f != $ac_func;
51343 ;
51344 return 0;
51345 }
51346 _ACEOF
51347 rm -f conftest.$ac_objext conftest$ac_exeext
51348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51349 (eval $ac_link) 2>conftest.er1
51350 ac_status=$?
51351 grep -v '^ *+' conftest.er1 >conftest.err
51352 rm -f conftest.er1
51353 cat conftest.err >&5
51354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51355 (exit $ac_status); } &&
51356 { ac_try='test -z "$ac_c_werror_flag"
51357 || test ! -s conftest.err'
51358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51359 (eval $ac_try) 2>&5
51360 ac_status=$?
51361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51362 (exit $ac_status); }; } &&
51363 { ac_try='test -s conftest$ac_exeext'
51364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51365 (eval $ac_try) 2>&5
51366 ac_status=$?
51367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51368 (exit $ac_status); }; }; then
51369 eval "$as_ac_var=yes"
51370 else
51371 echo "$as_me: failed program was:" >&5
51372 sed 's/^/| /' conftest.$ac_ext >&5
51373
51374 eval "$as_ac_var=no"
51375 fi
51376 rm -f conftest.err conftest.$ac_objext \
51377 conftest$ac_exeext conftest.$ac_ext
51378 fi
51379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51381 if test `eval echo '${'$as_ac_var'}'` = yes; then
51382 cat >>confdefs.h <<_ACEOF
51383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51384 _ACEOF
51385
51386 fi
51387 done
51388
51389 fi
51390 fi
51391
51392
51393
51394
51395
51396
51397 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
51398 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
51399 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51400 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
51401 echo $ECHO_N "(cached) $ECHO_C" >&6
51402 else
51403
51404
51405
51406 ac_ext=cc
51407 ac_cpp='$CXXCPP $CPPFLAGS'
51408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51411
51412 cat >conftest.$ac_ext <<_ACEOF
51413 /* confdefs.h. */
51414 _ACEOF
51415 cat confdefs.h >>conftest.$ac_ext
51416 cat >>conftest.$ac_ext <<_ACEOF
51417 /* end confdefs.h. */
51418 #include <math.h>
51419 #ifdef HAVE_IEEEFP_H
51420 #include <ieeefp.h>
51421 #endif
51422
51423 int
51424 main ()
51425 {
51426 sqrtf(0);
51427 ;
51428 return 0;
51429 }
51430 _ACEOF
51431 rm -f conftest.$ac_objext
51432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51433 (eval $ac_compile) 2>conftest.er1
51434 ac_status=$?
51435 grep -v '^ *+' conftest.er1 >conftest.err
51436 rm -f conftest.er1
51437 cat conftest.err >&5
51438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51439 (exit $ac_status); } &&
51440 { ac_try='test -z "$ac_cxx_werror_flag"
51441 || test ! -s conftest.err'
51442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51443 (eval $ac_try) 2>&5
51444 ac_status=$?
51445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51446 (exit $ac_status); }; } &&
51447 { ac_try='test -s conftest.$ac_objext'
51448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51449 (eval $ac_try) 2>&5
51450 ac_status=$?
51451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51452 (exit $ac_status); }; }; then
51453 glibcxx_cv_func_sqrtf_use=yes
51454 else
51455 echo "$as_me: failed program was:" >&5
51456 sed 's/^/| /' conftest.$ac_ext >&5
51457
51458 glibcxx_cv_func_sqrtf_use=no
51459 fi
51460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51461 ac_ext=c
51462 ac_cpp='$CPP $CPPFLAGS'
51463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51466
51467
51468 fi
51469
51470 fi
51471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
51472 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
51473
51474 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51475
51476 for ac_func in sqrtf
51477 do
51478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51479 echo "$as_me:$LINENO: checking for $ac_func" >&5
51480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51481 if eval "test \"\${$as_ac_var+set}\" = set"; then
51482 echo $ECHO_N "(cached) $ECHO_C" >&6
51483 else
51484 if test x$gcc_no_link = xyes; then
51485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51487 { (exit 1); exit 1; }; }
51488 fi
51489 cat >conftest.$ac_ext <<_ACEOF
51490 /* confdefs.h. */
51491 _ACEOF
51492 cat confdefs.h >>conftest.$ac_ext
51493 cat >>conftest.$ac_ext <<_ACEOF
51494 /* end confdefs.h. */
51495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51497 #define $ac_func innocuous_$ac_func
51498
51499 /* System header to define __stub macros and hopefully few prototypes,
51500 which can conflict with char $ac_func (); below.
51501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51502 <limits.h> exists even on freestanding compilers. */
51503
51504 #ifdef __STDC__
51505 # include <limits.h>
51506 #else
51507 # include <assert.h>
51508 #endif
51509
51510 #undef $ac_func
51511
51512 /* Override any gcc2 internal prototype to avoid an error. */
51513 #ifdef __cplusplus
51514 extern "C"
51515 {
51516 #endif
51517 /* We use char because int might match the return type of a gcc2
51518 builtin and then its argument prototype would still apply. */
51519 char $ac_func ();
51520 /* The GNU C library defines this for functions which it implements
51521 to always fail with ENOSYS. Some functions are actually named
51522 something starting with __ and the normal name is an alias. */
51523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51524 choke me
51525 #else
51526 char (*f) () = $ac_func;
51527 #endif
51528 #ifdef __cplusplus
51529 }
51530 #endif
51531
51532 int
51533 main ()
51534 {
51535 return f != $ac_func;
51536 ;
51537 return 0;
51538 }
51539 _ACEOF
51540 rm -f conftest.$ac_objext conftest$ac_exeext
51541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51542 (eval $ac_link) 2>conftest.er1
51543 ac_status=$?
51544 grep -v '^ *+' conftest.er1 >conftest.err
51545 rm -f conftest.er1
51546 cat conftest.err >&5
51547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51548 (exit $ac_status); } &&
51549 { ac_try='test -z "$ac_c_werror_flag"
51550 || test ! -s conftest.err'
51551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51552 (eval $ac_try) 2>&5
51553 ac_status=$?
51554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51555 (exit $ac_status); }; } &&
51556 { ac_try='test -s conftest$ac_exeext'
51557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51558 (eval $ac_try) 2>&5
51559 ac_status=$?
51560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51561 (exit $ac_status); }; }; then
51562 eval "$as_ac_var=yes"
51563 else
51564 echo "$as_me: failed program was:" >&5
51565 sed 's/^/| /' conftest.$ac_ext >&5
51566
51567 eval "$as_ac_var=no"
51568 fi
51569 rm -f conftest.err conftest.$ac_objext \
51570 conftest$ac_exeext conftest.$ac_ext
51571 fi
51572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51574 if test `eval echo '${'$as_ac_var'}'` = yes; then
51575 cat >>confdefs.h <<_ACEOF
51576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51577 _ACEOF
51578
51579 fi
51580 done
51581
51582 else
51583
51584 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
51585 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
51586 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51587 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
51588 echo $ECHO_N "(cached) $ECHO_C" >&6
51589 else
51590
51591
51592
51593 ac_ext=cc
51594 ac_cpp='$CXXCPP $CPPFLAGS'
51595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51598
51599 cat >conftest.$ac_ext <<_ACEOF
51600 /* confdefs.h. */
51601 _ACEOF
51602 cat confdefs.h >>conftest.$ac_ext
51603 cat >>conftest.$ac_ext <<_ACEOF
51604 /* end confdefs.h. */
51605 #include <math.h>
51606 #ifdef HAVE_IEEEFP_H
51607 #include <ieeefp.h>
51608 #endif
51609
51610 int
51611 main ()
51612 {
51613 _sqrtf(0);
51614 ;
51615 return 0;
51616 }
51617 _ACEOF
51618 rm -f conftest.$ac_objext
51619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51620 (eval $ac_compile) 2>conftest.er1
51621 ac_status=$?
51622 grep -v '^ *+' conftest.er1 >conftest.err
51623 rm -f conftest.er1
51624 cat conftest.err >&5
51625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51626 (exit $ac_status); } &&
51627 { ac_try='test -z "$ac_cxx_werror_flag"
51628 || test ! -s conftest.err'
51629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51630 (eval $ac_try) 2>&5
51631 ac_status=$?
51632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51633 (exit $ac_status); }; } &&
51634 { ac_try='test -s conftest.$ac_objext'
51635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51636 (eval $ac_try) 2>&5
51637 ac_status=$?
51638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51639 (exit $ac_status); }; }; then
51640 glibcxx_cv_func__sqrtf_use=yes
51641 else
51642 echo "$as_me: failed program was:" >&5
51643 sed 's/^/| /' conftest.$ac_ext >&5
51644
51645 glibcxx_cv_func__sqrtf_use=no
51646 fi
51647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51648 ac_ext=c
51649 ac_cpp='$CPP $CPPFLAGS'
51650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51653
51654
51655 fi
51656
51657 fi
51658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
51659 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
51660
51661 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51662
51663 for ac_func in _sqrtf
51664 do
51665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51666 echo "$as_me:$LINENO: checking for $ac_func" >&5
51667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51668 if eval "test \"\${$as_ac_var+set}\" = set"; then
51669 echo $ECHO_N "(cached) $ECHO_C" >&6
51670 else
51671 if test x$gcc_no_link = xyes; then
51672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51674 { (exit 1); exit 1; }; }
51675 fi
51676 cat >conftest.$ac_ext <<_ACEOF
51677 /* confdefs.h. */
51678 _ACEOF
51679 cat confdefs.h >>conftest.$ac_ext
51680 cat >>conftest.$ac_ext <<_ACEOF
51681 /* end confdefs.h. */
51682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51684 #define $ac_func innocuous_$ac_func
51685
51686 /* System header to define __stub macros and hopefully few prototypes,
51687 which can conflict with char $ac_func (); below.
51688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51689 <limits.h> exists even on freestanding compilers. */
51690
51691 #ifdef __STDC__
51692 # include <limits.h>
51693 #else
51694 # include <assert.h>
51695 #endif
51696
51697 #undef $ac_func
51698
51699 /* Override any gcc2 internal prototype to avoid an error. */
51700 #ifdef __cplusplus
51701 extern "C"
51702 {
51703 #endif
51704 /* We use char because int might match the return type of a gcc2
51705 builtin and then its argument prototype would still apply. */
51706 char $ac_func ();
51707 /* The GNU C library defines this for functions which it implements
51708 to always fail with ENOSYS. Some functions are actually named
51709 something starting with __ and the normal name is an alias. */
51710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51711 choke me
51712 #else
51713 char (*f) () = $ac_func;
51714 #endif
51715 #ifdef __cplusplus
51716 }
51717 #endif
51718
51719 int
51720 main ()
51721 {
51722 return f != $ac_func;
51723 ;
51724 return 0;
51725 }
51726 _ACEOF
51727 rm -f conftest.$ac_objext conftest$ac_exeext
51728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51729 (eval $ac_link) 2>conftest.er1
51730 ac_status=$?
51731 grep -v '^ *+' conftest.er1 >conftest.err
51732 rm -f conftest.er1
51733 cat conftest.err >&5
51734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51735 (exit $ac_status); } &&
51736 { ac_try='test -z "$ac_c_werror_flag"
51737 || test ! -s conftest.err'
51738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51739 (eval $ac_try) 2>&5
51740 ac_status=$?
51741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51742 (exit $ac_status); }; } &&
51743 { ac_try='test -s conftest$ac_exeext'
51744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51745 (eval $ac_try) 2>&5
51746 ac_status=$?
51747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51748 (exit $ac_status); }; }; then
51749 eval "$as_ac_var=yes"
51750 else
51751 echo "$as_me: failed program was:" >&5
51752 sed 's/^/| /' conftest.$ac_ext >&5
51753
51754 eval "$as_ac_var=no"
51755 fi
51756 rm -f conftest.err conftest.$ac_objext \
51757 conftest$ac_exeext conftest.$ac_ext
51758 fi
51759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51761 if test `eval echo '${'$as_ac_var'}'` = yes; then
51762 cat >>confdefs.h <<_ACEOF
51763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51764 _ACEOF
51765
51766 fi
51767 done
51768
51769 fi
51770 fi
51771
51772
51773
51774
51775
51776
51777 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
51778 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
51779 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51780 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
51781 echo $ECHO_N "(cached) $ECHO_C" >&6
51782 else
51783
51784
51785
51786 ac_ext=cc
51787 ac_cpp='$CXXCPP $CPPFLAGS'
51788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51791
51792 cat >conftest.$ac_ext <<_ACEOF
51793 /* confdefs.h. */
51794 _ACEOF
51795 cat confdefs.h >>conftest.$ac_ext
51796 cat >>conftest.$ac_ext <<_ACEOF
51797 /* end confdefs.h. */
51798 #include <math.h>
51799 int
51800 main ()
51801 {
51802 sincosf(0, 0, 0);
51803 ;
51804 return 0;
51805 }
51806 _ACEOF
51807 rm -f conftest.$ac_objext
51808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51809 (eval $ac_compile) 2>conftest.er1
51810 ac_status=$?
51811 grep -v '^ *+' conftest.er1 >conftest.err
51812 rm -f conftest.er1
51813 cat conftest.err >&5
51814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51815 (exit $ac_status); } &&
51816 { ac_try='test -z "$ac_cxx_werror_flag"
51817 || test ! -s conftest.err'
51818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51819 (eval $ac_try) 2>&5
51820 ac_status=$?
51821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51822 (exit $ac_status); }; } &&
51823 { ac_try='test -s conftest.$ac_objext'
51824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51825 (eval $ac_try) 2>&5
51826 ac_status=$?
51827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51828 (exit $ac_status); }; }; then
51829 glibcxx_cv_func_sincosf_use=yes
51830 else
51831 echo "$as_me: failed program was:" >&5
51832 sed 's/^/| /' conftest.$ac_ext >&5
51833
51834 glibcxx_cv_func_sincosf_use=no
51835 fi
51836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51837 ac_ext=c
51838 ac_cpp='$CPP $CPPFLAGS'
51839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51842
51843
51844 fi
51845
51846 fi
51847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
51848 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
51849
51850 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51851
51852 for ac_func in sincosf
51853 do
51854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51855 echo "$as_me:$LINENO: checking for $ac_func" >&5
51856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51857 if eval "test \"\${$as_ac_var+set}\" = set"; then
51858 echo $ECHO_N "(cached) $ECHO_C" >&6
51859 else
51860 if test x$gcc_no_link = xyes; then
51861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51863 { (exit 1); exit 1; }; }
51864 fi
51865 cat >conftest.$ac_ext <<_ACEOF
51866 /* confdefs.h. */
51867 _ACEOF
51868 cat confdefs.h >>conftest.$ac_ext
51869 cat >>conftest.$ac_ext <<_ACEOF
51870 /* end confdefs.h. */
51871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51873 #define $ac_func innocuous_$ac_func
51874
51875 /* System header to define __stub macros and hopefully few prototypes,
51876 which can conflict with char $ac_func (); below.
51877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51878 <limits.h> exists even on freestanding compilers. */
51879
51880 #ifdef __STDC__
51881 # include <limits.h>
51882 #else
51883 # include <assert.h>
51884 #endif
51885
51886 #undef $ac_func
51887
51888 /* Override any gcc2 internal prototype to avoid an error. */
51889 #ifdef __cplusplus
51890 extern "C"
51891 {
51892 #endif
51893 /* We use char because int might match the return type of a gcc2
51894 builtin and then its argument prototype would still apply. */
51895 char $ac_func ();
51896 /* The GNU C library defines this for functions which it implements
51897 to always fail with ENOSYS. Some functions are actually named
51898 something starting with __ and the normal name is an alias. */
51899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51900 choke me
51901 #else
51902 char (*f) () = $ac_func;
51903 #endif
51904 #ifdef __cplusplus
51905 }
51906 #endif
51907
51908 int
51909 main ()
51910 {
51911 return f != $ac_func;
51912 ;
51913 return 0;
51914 }
51915 _ACEOF
51916 rm -f conftest.$ac_objext conftest$ac_exeext
51917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51918 (eval $ac_link) 2>conftest.er1
51919 ac_status=$?
51920 grep -v '^ *+' conftest.er1 >conftest.err
51921 rm -f conftest.er1
51922 cat conftest.err >&5
51923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51924 (exit $ac_status); } &&
51925 { ac_try='test -z "$ac_c_werror_flag"
51926 || test ! -s conftest.err'
51927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51928 (eval $ac_try) 2>&5
51929 ac_status=$?
51930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51931 (exit $ac_status); }; } &&
51932 { ac_try='test -s conftest$ac_exeext'
51933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51934 (eval $ac_try) 2>&5
51935 ac_status=$?
51936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51937 (exit $ac_status); }; }; then
51938 eval "$as_ac_var=yes"
51939 else
51940 echo "$as_me: failed program was:" >&5
51941 sed 's/^/| /' conftest.$ac_ext >&5
51942
51943 eval "$as_ac_var=no"
51944 fi
51945 rm -f conftest.err conftest.$ac_objext \
51946 conftest$ac_exeext conftest.$ac_ext
51947 fi
51948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51950 if test `eval echo '${'$as_ac_var'}'` = yes; then
51951 cat >>confdefs.h <<_ACEOF
51952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51953 _ACEOF
51954
51955 fi
51956 done
51957
51958 else
51959
51960 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
51961 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
51962 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51963 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
51964 echo $ECHO_N "(cached) $ECHO_C" >&6
51965 else
51966
51967
51968
51969 ac_ext=cc
51970 ac_cpp='$CXXCPP $CPPFLAGS'
51971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51974
51975 cat >conftest.$ac_ext <<_ACEOF
51976 /* confdefs.h. */
51977 _ACEOF
51978 cat confdefs.h >>conftest.$ac_ext
51979 cat >>conftest.$ac_ext <<_ACEOF
51980 /* end confdefs.h. */
51981 #include <math.h>
51982 int
51983 main ()
51984 {
51985 _sincosf(0, 0, 0);
51986 ;
51987 return 0;
51988 }
51989 _ACEOF
51990 rm -f conftest.$ac_objext
51991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51992 (eval $ac_compile) 2>conftest.er1
51993 ac_status=$?
51994 grep -v '^ *+' conftest.er1 >conftest.err
51995 rm -f conftest.er1
51996 cat conftest.err >&5
51997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51998 (exit $ac_status); } &&
51999 { ac_try='test -z "$ac_cxx_werror_flag"
52000 || test ! -s conftest.err'
52001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52002 (eval $ac_try) 2>&5
52003 ac_status=$?
52004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52005 (exit $ac_status); }; } &&
52006 { ac_try='test -s conftest.$ac_objext'
52007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52008 (eval $ac_try) 2>&5
52009 ac_status=$?
52010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52011 (exit $ac_status); }; }; then
52012 glibcxx_cv_func__sincosf_use=yes
52013 else
52014 echo "$as_me: failed program was:" >&5
52015 sed 's/^/| /' conftest.$ac_ext >&5
52016
52017 glibcxx_cv_func__sincosf_use=no
52018 fi
52019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52020 ac_ext=c
52021 ac_cpp='$CPP $CPPFLAGS'
52022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52025
52026
52027 fi
52028
52029 fi
52030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
52031 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
52032
52033 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
52034
52035 for ac_func in _sincosf
52036 do
52037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52038 echo "$as_me:$LINENO: checking for $ac_func" >&5
52039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52040 if eval "test \"\${$as_ac_var+set}\" = set"; then
52041 echo $ECHO_N "(cached) $ECHO_C" >&6
52042 else
52043 if test x$gcc_no_link = xyes; then
52044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52046 { (exit 1); exit 1; }; }
52047 fi
52048 cat >conftest.$ac_ext <<_ACEOF
52049 /* confdefs.h. */
52050 _ACEOF
52051 cat confdefs.h >>conftest.$ac_ext
52052 cat >>conftest.$ac_ext <<_ACEOF
52053 /* end confdefs.h. */
52054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52056 #define $ac_func innocuous_$ac_func
52057
52058 /* System header to define __stub macros and hopefully few prototypes,
52059 which can conflict with char $ac_func (); below.
52060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52061 <limits.h> exists even on freestanding compilers. */
52062
52063 #ifdef __STDC__
52064 # include <limits.h>
52065 #else
52066 # include <assert.h>
52067 #endif
52068
52069 #undef $ac_func
52070
52071 /* Override any gcc2 internal prototype to avoid an error. */
52072 #ifdef __cplusplus
52073 extern "C"
52074 {
52075 #endif
52076 /* We use char because int might match the return type of a gcc2
52077 builtin and then its argument prototype would still apply. */
52078 char $ac_func ();
52079 /* The GNU C library defines this for functions which it implements
52080 to always fail with ENOSYS. Some functions are actually named
52081 something starting with __ and the normal name is an alias. */
52082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52083 choke me
52084 #else
52085 char (*f) () = $ac_func;
52086 #endif
52087 #ifdef __cplusplus
52088 }
52089 #endif
52090
52091 int
52092 main ()
52093 {
52094 return f != $ac_func;
52095 ;
52096 return 0;
52097 }
52098 _ACEOF
52099 rm -f conftest.$ac_objext conftest$ac_exeext
52100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52101 (eval $ac_link) 2>conftest.er1
52102 ac_status=$?
52103 grep -v '^ *+' conftest.er1 >conftest.err
52104 rm -f conftest.er1
52105 cat conftest.err >&5
52106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52107 (exit $ac_status); } &&
52108 { ac_try='test -z "$ac_c_werror_flag"
52109 || test ! -s conftest.err'
52110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52111 (eval $ac_try) 2>&5
52112 ac_status=$?
52113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52114 (exit $ac_status); }; } &&
52115 { ac_try='test -s conftest$ac_exeext'
52116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52117 (eval $ac_try) 2>&5
52118 ac_status=$?
52119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52120 (exit $ac_status); }; }; then
52121 eval "$as_ac_var=yes"
52122 else
52123 echo "$as_me: failed program was:" >&5
52124 sed 's/^/| /' conftest.$ac_ext >&5
52125
52126 eval "$as_ac_var=no"
52127 fi
52128 rm -f conftest.err conftest.$ac_objext \
52129 conftest$ac_exeext conftest.$ac_ext
52130 fi
52131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52133 if test `eval echo '${'$as_ac_var'}'` = yes; then
52134 cat >>confdefs.h <<_ACEOF
52135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52136 _ACEOF
52137
52138 fi
52139 done
52140
52141 fi
52142 fi
52143
52144
52145
52146
52147
52148
52149 echo "$as_me:$LINENO: checking for finitef declaration" >&5
52150 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
52151 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
52152 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
52153 echo $ECHO_N "(cached) $ECHO_C" >&6
52154 else
52155
52156
52157
52158 ac_ext=cc
52159 ac_cpp='$CXXCPP $CPPFLAGS'
52160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52163
52164 cat >conftest.$ac_ext <<_ACEOF
52165 /* confdefs.h. */
52166 _ACEOF
52167 cat confdefs.h >>conftest.$ac_ext
52168 cat >>conftest.$ac_ext <<_ACEOF
52169 /* end confdefs.h. */
52170 #include <math.h>
52171 #ifdef HAVE_IEEEFP_H
52172 #include <ieeefp.h>
52173 #endif
52174
52175 int
52176 main ()
52177 {
52178 finitef(0);
52179 ;
52180 return 0;
52181 }
52182 _ACEOF
52183 rm -f conftest.$ac_objext
52184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52185 (eval $ac_compile) 2>conftest.er1
52186 ac_status=$?
52187 grep -v '^ *+' conftest.er1 >conftest.err
52188 rm -f conftest.er1
52189 cat conftest.err >&5
52190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52191 (exit $ac_status); } &&
52192 { ac_try='test -z "$ac_cxx_werror_flag"
52193 || test ! -s conftest.err'
52194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52195 (eval $ac_try) 2>&5
52196 ac_status=$?
52197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52198 (exit $ac_status); }; } &&
52199 { ac_try='test -s conftest.$ac_objext'
52200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52201 (eval $ac_try) 2>&5
52202 ac_status=$?
52203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52204 (exit $ac_status); }; }; then
52205 glibcxx_cv_func_finitef_use=yes
52206 else
52207 echo "$as_me: failed program was:" >&5
52208 sed 's/^/| /' conftest.$ac_ext >&5
52209
52210 glibcxx_cv_func_finitef_use=no
52211 fi
52212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52213 ac_ext=c
52214 ac_cpp='$CPP $CPPFLAGS'
52215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52218
52219
52220 fi
52221
52222 fi
52223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
52224 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
52225
52226 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
52227
52228 for ac_func in finitef
52229 do
52230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52231 echo "$as_me:$LINENO: checking for $ac_func" >&5
52232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52233 if eval "test \"\${$as_ac_var+set}\" = set"; then
52234 echo $ECHO_N "(cached) $ECHO_C" >&6
52235 else
52236 if test x$gcc_no_link = xyes; then
52237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52239 { (exit 1); exit 1; }; }
52240 fi
52241 cat >conftest.$ac_ext <<_ACEOF
52242 /* confdefs.h. */
52243 _ACEOF
52244 cat confdefs.h >>conftest.$ac_ext
52245 cat >>conftest.$ac_ext <<_ACEOF
52246 /* end confdefs.h. */
52247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52249 #define $ac_func innocuous_$ac_func
52250
52251 /* System header to define __stub macros and hopefully few prototypes,
52252 which can conflict with char $ac_func (); below.
52253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52254 <limits.h> exists even on freestanding compilers. */
52255
52256 #ifdef __STDC__
52257 # include <limits.h>
52258 #else
52259 # include <assert.h>
52260 #endif
52261
52262 #undef $ac_func
52263
52264 /* Override any gcc2 internal prototype to avoid an error. */
52265 #ifdef __cplusplus
52266 extern "C"
52267 {
52268 #endif
52269 /* We use char because int might match the return type of a gcc2
52270 builtin and then its argument prototype would still apply. */
52271 char $ac_func ();
52272 /* The GNU C library defines this for functions which it implements
52273 to always fail with ENOSYS. Some functions are actually named
52274 something starting with __ and the normal name is an alias. */
52275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52276 choke me
52277 #else
52278 char (*f) () = $ac_func;
52279 #endif
52280 #ifdef __cplusplus
52281 }
52282 #endif
52283
52284 int
52285 main ()
52286 {
52287 return f != $ac_func;
52288 ;
52289 return 0;
52290 }
52291 _ACEOF
52292 rm -f conftest.$ac_objext conftest$ac_exeext
52293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52294 (eval $ac_link) 2>conftest.er1
52295 ac_status=$?
52296 grep -v '^ *+' conftest.er1 >conftest.err
52297 rm -f conftest.er1
52298 cat conftest.err >&5
52299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52300 (exit $ac_status); } &&
52301 { ac_try='test -z "$ac_c_werror_flag"
52302 || test ! -s conftest.err'
52303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52304 (eval $ac_try) 2>&5
52305 ac_status=$?
52306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52307 (exit $ac_status); }; } &&
52308 { ac_try='test -s conftest$ac_exeext'
52309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52310 (eval $ac_try) 2>&5
52311 ac_status=$?
52312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52313 (exit $ac_status); }; }; then
52314 eval "$as_ac_var=yes"
52315 else
52316 echo "$as_me: failed program was:" >&5
52317 sed 's/^/| /' conftest.$ac_ext >&5
52318
52319 eval "$as_ac_var=no"
52320 fi
52321 rm -f conftest.err conftest.$ac_objext \
52322 conftest$ac_exeext conftest.$ac_ext
52323 fi
52324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52326 if test `eval echo '${'$as_ac_var'}'` = yes; then
52327 cat >>confdefs.h <<_ACEOF
52328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52329 _ACEOF
52330
52331 fi
52332 done
52333
52334 else
52335
52336 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
52337 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
52338 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
52339 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
52340 echo $ECHO_N "(cached) $ECHO_C" >&6
52341 else
52342
52343
52344
52345 ac_ext=cc
52346 ac_cpp='$CXXCPP $CPPFLAGS'
52347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52350
52351 cat >conftest.$ac_ext <<_ACEOF
52352 /* confdefs.h. */
52353 _ACEOF
52354 cat confdefs.h >>conftest.$ac_ext
52355 cat >>conftest.$ac_ext <<_ACEOF
52356 /* end confdefs.h. */
52357 #include <math.h>
52358 #ifdef HAVE_IEEEFP_H
52359 #include <ieeefp.h>
52360 #endif
52361
52362 int
52363 main ()
52364 {
52365 _finitef(0);
52366 ;
52367 return 0;
52368 }
52369 _ACEOF
52370 rm -f conftest.$ac_objext
52371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52372 (eval $ac_compile) 2>conftest.er1
52373 ac_status=$?
52374 grep -v '^ *+' conftest.er1 >conftest.err
52375 rm -f conftest.er1
52376 cat conftest.err >&5
52377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52378 (exit $ac_status); } &&
52379 { ac_try='test -z "$ac_cxx_werror_flag"
52380 || test ! -s conftest.err'
52381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52382 (eval $ac_try) 2>&5
52383 ac_status=$?
52384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52385 (exit $ac_status); }; } &&
52386 { ac_try='test -s conftest.$ac_objext'
52387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52388 (eval $ac_try) 2>&5
52389 ac_status=$?
52390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52391 (exit $ac_status); }; }; then
52392 glibcxx_cv_func__finitef_use=yes
52393 else
52394 echo "$as_me: failed program was:" >&5
52395 sed 's/^/| /' conftest.$ac_ext >&5
52396
52397 glibcxx_cv_func__finitef_use=no
52398 fi
52399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52400 ac_ext=c
52401 ac_cpp='$CPP $CPPFLAGS'
52402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52405
52406
52407 fi
52408
52409 fi
52410 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
52411 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
52412
52413 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
52414
52415 for ac_func in _finitef
52416 do
52417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52418 echo "$as_me:$LINENO: checking for $ac_func" >&5
52419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52420 if eval "test \"\${$as_ac_var+set}\" = set"; then
52421 echo $ECHO_N "(cached) $ECHO_C" >&6
52422 else
52423 if test x$gcc_no_link = xyes; then
52424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52426 { (exit 1); exit 1; }; }
52427 fi
52428 cat >conftest.$ac_ext <<_ACEOF
52429 /* confdefs.h. */
52430 _ACEOF
52431 cat confdefs.h >>conftest.$ac_ext
52432 cat >>conftest.$ac_ext <<_ACEOF
52433 /* end confdefs.h. */
52434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52436 #define $ac_func innocuous_$ac_func
52437
52438 /* System header to define __stub macros and hopefully few prototypes,
52439 which can conflict with char $ac_func (); below.
52440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52441 <limits.h> exists even on freestanding compilers. */
52442
52443 #ifdef __STDC__
52444 # include <limits.h>
52445 #else
52446 # include <assert.h>
52447 #endif
52448
52449 #undef $ac_func
52450
52451 /* Override any gcc2 internal prototype to avoid an error. */
52452 #ifdef __cplusplus
52453 extern "C"
52454 {
52455 #endif
52456 /* We use char because int might match the return type of a gcc2
52457 builtin and then its argument prototype would still apply. */
52458 char $ac_func ();
52459 /* The GNU C library defines this for functions which it implements
52460 to always fail with ENOSYS. Some functions are actually named
52461 something starting with __ and the normal name is an alias. */
52462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52463 choke me
52464 #else
52465 char (*f) () = $ac_func;
52466 #endif
52467 #ifdef __cplusplus
52468 }
52469 #endif
52470
52471 int
52472 main ()
52473 {
52474 return f != $ac_func;
52475 ;
52476 return 0;
52477 }
52478 _ACEOF
52479 rm -f conftest.$ac_objext conftest$ac_exeext
52480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52481 (eval $ac_link) 2>conftest.er1
52482 ac_status=$?
52483 grep -v '^ *+' conftest.er1 >conftest.err
52484 rm -f conftest.er1
52485 cat conftest.err >&5
52486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52487 (exit $ac_status); } &&
52488 { ac_try='test -z "$ac_c_werror_flag"
52489 || test ! -s conftest.err'
52490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52491 (eval $ac_try) 2>&5
52492 ac_status=$?
52493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52494 (exit $ac_status); }; } &&
52495 { ac_try='test -s conftest$ac_exeext'
52496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52497 (eval $ac_try) 2>&5
52498 ac_status=$?
52499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52500 (exit $ac_status); }; }; then
52501 eval "$as_ac_var=yes"
52502 else
52503 echo "$as_me: failed program was:" >&5
52504 sed 's/^/| /' conftest.$ac_ext >&5
52505
52506 eval "$as_ac_var=no"
52507 fi
52508 rm -f conftest.err conftest.$ac_objext \
52509 conftest$ac_exeext conftest.$ac_ext
52510 fi
52511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52513 if test `eval echo '${'$as_ac_var'}'` = yes; then
52514 cat >>confdefs.h <<_ACEOF
52515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52516 _ACEOF
52517
52518 fi
52519 done
52520
52521 fi
52522 fi
52523
52524
52525
52526
52527
52528
52529 echo "$as_me:$LINENO: checking for long double trig functions" >&5
52530 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
52531 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
52532 echo $ECHO_N "(cached) $ECHO_C" >&6
52533 else
52534
52535
52536
52537 ac_ext=cc
52538 ac_cpp='$CXXCPP $CPPFLAGS'
52539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52542
52543 cat >conftest.$ac_ext <<_ACEOF
52544 /* confdefs.h. */
52545 _ACEOF
52546 cat confdefs.h >>conftest.$ac_ext
52547 cat >>conftest.$ac_ext <<_ACEOF
52548 /* end confdefs.h. */
52549 #include <math.h>
52550 int
52551 main ()
52552 {
52553 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
52554 ;
52555 return 0;
52556 }
52557 _ACEOF
52558 rm -f conftest.$ac_objext
52559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52560 (eval $ac_compile) 2>conftest.er1
52561 ac_status=$?
52562 grep -v '^ *+' conftest.er1 >conftest.err
52563 rm -f conftest.er1
52564 cat conftest.err >&5
52565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52566 (exit $ac_status); } &&
52567 { ac_try='test -z "$ac_cxx_werror_flag"
52568 || test ! -s conftest.err'
52569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52570 (eval $ac_try) 2>&5
52571 ac_status=$?
52572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52573 (exit $ac_status); }; } &&
52574 { ac_try='test -s conftest.$ac_objext'
52575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52576 (eval $ac_try) 2>&5
52577 ac_status=$?
52578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52579 (exit $ac_status); }; }; then
52580 glibcxx_cv_func_long_double_trig_use=yes
52581 else
52582 echo "$as_me: failed program was:" >&5
52583 sed 's/^/| /' conftest.$ac_ext >&5
52584
52585 glibcxx_cv_func_long_double_trig_use=no
52586 fi
52587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52588 ac_ext=c
52589 ac_cpp='$CPP $CPPFLAGS'
52590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52593
52594 fi
52595
52596 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
52597 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
52598 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
52599
52600
52601
52602
52603
52604
52605
52606
52607
52608 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
52609 do
52610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52611 echo "$as_me:$LINENO: checking for $ac_func" >&5
52612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52613 if eval "test \"\${$as_ac_var+set}\" = set"; then
52614 echo $ECHO_N "(cached) $ECHO_C" >&6
52615 else
52616 if test x$gcc_no_link = xyes; then
52617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52619 { (exit 1); exit 1; }; }
52620 fi
52621 cat >conftest.$ac_ext <<_ACEOF
52622 /* confdefs.h. */
52623 _ACEOF
52624 cat confdefs.h >>conftest.$ac_ext
52625 cat >>conftest.$ac_ext <<_ACEOF
52626 /* end confdefs.h. */
52627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52629 #define $ac_func innocuous_$ac_func
52630
52631 /* System header to define __stub macros and hopefully few prototypes,
52632 which can conflict with char $ac_func (); below.
52633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52634 <limits.h> exists even on freestanding compilers. */
52635
52636 #ifdef __STDC__
52637 # include <limits.h>
52638 #else
52639 # include <assert.h>
52640 #endif
52641
52642 #undef $ac_func
52643
52644 /* Override any gcc2 internal prototype to avoid an error. */
52645 #ifdef __cplusplus
52646 extern "C"
52647 {
52648 #endif
52649 /* We use char because int might match the return type of a gcc2
52650 builtin and then its argument prototype would still apply. */
52651 char $ac_func ();
52652 /* The GNU C library defines this for functions which it implements
52653 to always fail with ENOSYS. Some functions are actually named
52654 something starting with __ and the normal name is an alias. */
52655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52656 choke me
52657 #else
52658 char (*f) () = $ac_func;
52659 #endif
52660 #ifdef __cplusplus
52661 }
52662 #endif
52663
52664 int
52665 main ()
52666 {
52667 return f != $ac_func;
52668 ;
52669 return 0;
52670 }
52671 _ACEOF
52672 rm -f conftest.$ac_objext conftest$ac_exeext
52673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52674 (eval $ac_link) 2>conftest.er1
52675 ac_status=$?
52676 grep -v '^ *+' conftest.er1 >conftest.err
52677 rm -f conftest.er1
52678 cat conftest.err >&5
52679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52680 (exit $ac_status); } &&
52681 { ac_try='test -z "$ac_c_werror_flag"
52682 || test ! -s conftest.err'
52683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52684 (eval $ac_try) 2>&5
52685 ac_status=$?
52686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52687 (exit $ac_status); }; } &&
52688 { ac_try='test -s conftest$ac_exeext'
52689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52690 (eval $ac_try) 2>&5
52691 ac_status=$?
52692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52693 (exit $ac_status); }; }; then
52694 eval "$as_ac_var=yes"
52695 else
52696 echo "$as_me: failed program was:" >&5
52697 sed 's/^/| /' conftest.$ac_ext >&5
52698
52699 eval "$as_ac_var=no"
52700 fi
52701 rm -f conftest.err conftest.$ac_objext \
52702 conftest$ac_exeext conftest.$ac_ext
52703 fi
52704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52706 if test `eval echo '${'$as_ac_var'}'` = yes; then
52707 cat >>confdefs.h <<_ACEOF
52708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52709 _ACEOF
52710
52711 fi
52712 done
52713
52714 else
52715 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
52716 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
52717 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
52718 echo $ECHO_N "(cached) $ECHO_C" >&6
52719 else
52720
52721
52722
52723 ac_ext=cc
52724 ac_cpp='$CXXCPP $CPPFLAGS'
52725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52728
52729 cat >conftest.$ac_ext <<_ACEOF
52730 /* confdefs.h. */
52731 _ACEOF
52732 cat confdefs.h >>conftest.$ac_ext
52733 cat >>conftest.$ac_ext <<_ACEOF
52734 /* end confdefs.h. */
52735 #include <math.h>
52736 int
52737 main ()
52738 {
52739 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52740 ;
52741 return 0;
52742 }
52743 _ACEOF
52744 rm -f conftest.$ac_objext
52745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52746 (eval $ac_compile) 2>conftest.er1
52747 ac_status=$?
52748 grep -v '^ *+' conftest.er1 >conftest.err
52749 rm -f conftest.er1
52750 cat conftest.err >&5
52751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52752 (exit $ac_status); } &&
52753 { ac_try='test -z "$ac_cxx_werror_flag"
52754 || test ! -s conftest.err'
52755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52756 (eval $ac_try) 2>&5
52757 ac_status=$?
52758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52759 (exit $ac_status); }; } &&
52760 { ac_try='test -s conftest.$ac_objext'
52761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52762 (eval $ac_try) 2>&5
52763 ac_status=$?
52764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52765 (exit $ac_status); }; }; then
52766 glibcxx_cv_func__long_double_trig_use=yes
52767 else
52768 echo "$as_me: failed program was:" >&5
52769 sed 's/^/| /' conftest.$ac_ext >&5
52770
52771 glibcxx_cv_func__long_double_trig_use=no
52772 fi
52773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52774 ac_ext=c
52775 ac_cpp='$CPP $CPPFLAGS'
52776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52779
52780 fi
52781
52782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
52783 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
52784 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52785
52786
52787
52788
52789
52790
52791
52792
52793
52794 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52795 do
52796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52797 echo "$as_me:$LINENO: checking for $ac_func" >&5
52798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52799 if eval "test \"\${$as_ac_var+set}\" = set"; then
52800 echo $ECHO_N "(cached) $ECHO_C" >&6
52801 else
52802 if test x$gcc_no_link = xyes; then
52803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52805 { (exit 1); exit 1; }; }
52806 fi
52807 cat >conftest.$ac_ext <<_ACEOF
52808 /* confdefs.h. */
52809 _ACEOF
52810 cat confdefs.h >>conftest.$ac_ext
52811 cat >>conftest.$ac_ext <<_ACEOF
52812 /* end confdefs.h. */
52813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52815 #define $ac_func innocuous_$ac_func
52816
52817 /* System header to define __stub macros and hopefully few prototypes,
52818 which can conflict with char $ac_func (); below.
52819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52820 <limits.h> exists even on freestanding compilers. */
52821
52822 #ifdef __STDC__
52823 # include <limits.h>
52824 #else
52825 # include <assert.h>
52826 #endif
52827
52828 #undef $ac_func
52829
52830 /* Override any gcc2 internal prototype to avoid an error. */
52831 #ifdef __cplusplus
52832 extern "C"
52833 {
52834 #endif
52835 /* We use char because int might match the return type of a gcc2
52836 builtin and then its argument prototype would still apply. */
52837 char $ac_func ();
52838 /* The GNU C library defines this for functions which it implements
52839 to always fail with ENOSYS. Some functions are actually named
52840 something starting with __ and the normal name is an alias. */
52841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52842 choke me
52843 #else
52844 char (*f) () = $ac_func;
52845 #endif
52846 #ifdef __cplusplus
52847 }
52848 #endif
52849
52850 int
52851 main ()
52852 {
52853 return f != $ac_func;
52854 ;
52855 return 0;
52856 }
52857 _ACEOF
52858 rm -f conftest.$ac_objext conftest$ac_exeext
52859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52860 (eval $ac_link) 2>conftest.er1
52861 ac_status=$?
52862 grep -v '^ *+' conftest.er1 >conftest.err
52863 rm -f conftest.er1
52864 cat conftest.err >&5
52865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52866 (exit $ac_status); } &&
52867 { ac_try='test -z "$ac_c_werror_flag"
52868 || test ! -s conftest.err'
52869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52870 (eval $ac_try) 2>&5
52871 ac_status=$?
52872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52873 (exit $ac_status); }; } &&
52874 { ac_try='test -s conftest$ac_exeext'
52875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52876 (eval $ac_try) 2>&5
52877 ac_status=$?
52878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52879 (exit $ac_status); }; }; then
52880 eval "$as_ac_var=yes"
52881 else
52882 echo "$as_me: failed program was:" >&5
52883 sed 's/^/| /' conftest.$ac_ext >&5
52884
52885 eval "$as_ac_var=no"
52886 fi
52887 rm -f conftest.err conftest.$ac_objext \
52888 conftest$ac_exeext conftest.$ac_ext
52889 fi
52890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52892 if test `eval echo '${'$as_ac_var'}'` = yes; then
52893 cat >>confdefs.h <<_ACEOF
52894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52895 _ACEOF
52896
52897 fi
52898 done
52899
52900 fi
52901 fi
52902
52903
52904
52905
52906
52907
52908
52909
52910
52911
52912
52913
52914
52915
52916 echo "$as_me:$LINENO: checking for long double round functions" >&5
52917 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
52918 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
52919 echo $ECHO_N "(cached) $ECHO_C" >&6
52920 else
52921
52922
52923
52924 ac_ext=cc
52925 ac_cpp='$CXXCPP $CPPFLAGS'
52926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52929
52930 cat >conftest.$ac_ext <<_ACEOF
52931 /* confdefs.h. */
52932 _ACEOF
52933 cat confdefs.h >>conftest.$ac_ext
52934 cat >>conftest.$ac_ext <<_ACEOF
52935 /* end confdefs.h. */
52936 #include <math.h>
52937 int
52938 main ()
52939 {
52940 ceill (0); floorl (0);
52941 ;
52942 return 0;
52943 }
52944 _ACEOF
52945 rm -f conftest.$ac_objext
52946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52947 (eval $ac_compile) 2>conftest.er1
52948 ac_status=$?
52949 grep -v '^ *+' conftest.er1 >conftest.err
52950 rm -f conftest.er1
52951 cat conftest.err >&5
52952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52953 (exit $ac_status); } &&
52954 { ac_try='test -z "$ac_cxx_werror_flag"
52955 || test ! -s conftest.err'
52956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52957 (eval $ac_try) 2>&5
52958 ac_status=$?
52959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52960 (exit $ac_status); }; } &&
52961 { ac_try='test -s conftest.$ac_objext'
52962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52963 (eval $ac_try) 2>&5
52964 ac_status=$?
52965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52966 (exit $ac_status); }; }; then
52967 glibcxx_cv_func_long_double_round_use=yes
52968 else
52969 echo "$as_me: failed program was:" >&5
52970 sed 's/^/| /' conftest.$ac_ext >&5
52971
52972 glibcxx_cv_func_long_double_round_use=no
52973 fi
52974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52975 ac_ext=c
52976 ac_cpp='$CPP $CPPFLAGS'
52977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52980
52981 fi
52982
52983 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
52984 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
52985 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52986
52987
52988 for ac_func in ceill floorl
52989 do
52990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52991 echo "$as_me:$LINENO: checking for $ac_func" >&5
52992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52993 if eval "test \"\${$as_ac_var+set}\" = set"; then
52994 echo $ECHO_N "(cached) $ECHO_C" >&6
52995 else
52996 if test x$gcc_no_link = xyes; then
52997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52999 { (exit 1); exit 1; }; }
53000 fi
53001 cat >conftest.$ac_ext <<_ACEOF
53002 /* confdefs.h. */
53003 _ACEOF
53004 cat confdefs.h >>conftest.$ac_ext
53005 cat >>conftest.$ac_ext <<_ACEOF
53006 /* end confdefs.h. */
53007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53009 #define $ac_func innocuous_$ac_func
53010
53011 /* System header to define __stub macros and hopefully few prototypes,
53012 which can conflict with char $ac_func (); below.
53013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53014 <limits.h> exists even on freestanding compilers. */
53015
53016 #ifdef __STDC__
53017 # include <limits.h>
53018 #else
53019 # include <assert.h>
53020 #endif
53021
53022 #undef $ac_func
53023
53024 /* Override any gcc2 internal prototype to avoid an error. */
53025 #ifdef __cplusplus
53026 extern "C"
53027 {
53028 #endif
53029 /* We use char because int might match the return type of a gcc2
53030 builtin and then its argument prototype would still apply. */
53031 char $ac_func ();
53032 /* The GNU C library defines this for functions which it implements
53033 to always fail with ENOSYS. Some functions are actually named
53034 something starting with __ and the normal name is an alias. */
53035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53036 choke me
53037 #else
53038 char (*f) () = $ac_func;
53039 #endif
53040 #ifdef __cplusplus
53041 }
53042 #endif
53043
53044 int
53045 main ()
53046 {
53047 return f != $ac_func;
53048 ;
53049 return 0;
53050 }
53051 _ACEOF
53052 rm -f conftest.$ac_objext conftest$ac_exeext
53053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53054 (eval $ac_link) 2>conftest.er1
53055 ac_status=$?
53056 grep -v '^ *+' conftest.er1 >conftest.err
53057 rm -f conftest.er1
53058 cat conftest.err >&5
53059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53060 (exit $ac_status); } &&
53061 { ac_try='test -z "$ac_c_werror_flag"
53062 || test ! -s conftest.err'
53063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53064 (eval $ac_try) 2>&5
53065 ac_status=$?
53066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53067 (exit $ac_status); }; } &&
53068 { ac_try='test -s conftest$ac_exeext'
53069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53070 (eval $ac_try) 2>&5
53071 ac_status=$?
53072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53073 (exit $ac_status); }; }; then
53074 eval "$as_ac_var=yes"
53075 else
53076 echo "$as_me: failed program was:" >&5
53077 sed 's/^/| /' conftest.$ac_ext >&5
53078
53079 eval "$as_ac_var=no"
53080 fi
53081 rm -f conftest.err conftest.$ac_objext \
53082 conftest$ac_exeext conftest.$ac_ext
53083 fi
53084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53086 if test `eval echo '${'$as_ac_var'}'` = yes; then
53087 cat >>confdefs.h <<_ACEOF
53088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53089 _ACEOF
53090
53091 fi
53092 done
53093
53094 else
53095 echo "$as_me:$LINENO: checking for _long double round functions" >&5
53096 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
53097 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
53098 echo $ECHO_N "(cached) $ECHO_C" >&6
53099 else
53100
53101
53102
53103 ac_ext=cc
53104 ac_cpp='$CXXCPP $CPPFLAGS'
53105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53108
53109 cat >conftest.$ac_ext <<_ACEOF
53110 /* confdefs.h. */
53111 _ACEOF
53112 cat confdefs.h >>conftest.$ac_ext
53113 cat >>conftest.$ac_ext <<_ACEOF
53114 /* end confdefs.h. */
53115 #include <math.h>
53116 int
53117 main ()
53118 {
53119 _ceill (0); _floorl (0);
53120 ;
53121 return 0;
53122 }
53123 _ACEOF
53124 rm -f conftest.$ac_objext
53125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53126 (eval $ac_compile) 2>conftest.er1
53127 ac_status=$?
53128 grep -v '^ *+' conftest.er1 >conftest.err
53129 rm -f conftest.er1
53130 cat conftest.err >&5
53131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53132 (exit $ac_status); } &&
53133 { ac_try='test -z "$ac_cxx_werror_flag"
53134 || test ! -s conftest.err'
53135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53136 (eval $ac_try) 2>&5
53137 ac_status=$?
53138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53139 (exit $ac_status); }; } &&
53140 { ac_try='test -s conftest.$ac_objext'
53141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53142 (eval $ac_try) 2>&5
53143 ac_status=$?
53144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53145 (exit $ac_status); }; }; then
53146 glibcxx_cv_func__long_double_round_use=yes
53147 else
53148 echo "$as_me: failed program was:" >&5
53149 sed 's/^/| /' conftest.$ac_ext >&5
53150
53151 glibcxx_cv_func__long_double_round_use=no
53152 fi
53153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53154 ac_ext=c
53155 ac_cpp='$CPP $CPPFLAGS'
53156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53159
53160 fi
53161
53162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
53163 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
53164 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53165
53166
53167 for ac_func in _ceill _floorl
53168 do
53169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53170 echo "$as_me:$LINENO: checking for $ac_func" >&5
53171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53172 if eval "test \"\${$as_ac_var+set}\" = set"; then
53173 echo $ECHO_N "(cached) $ECHO_C" >&6
53174 else
53175 if test x$gcc_no_link = xyes; then
53176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53178 { (exit 1); exit 1; }; }
53179 fi
53180 cat >conftest.$ac_ext <<_ACEOF
53181 /* confdefs.h. */
53182 _ACEOF
53183 cat confdefs.h >>conftest.$ac_ext
53184 cat >>conftest.$ac_ext <<_ACEOF
53185 /* end confdefs.h. */
53186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53188 #define $ac_func innocuous_$ac_func
53189
53190 /* System header to define __stub macros and hopefully few prototypes,
53191 which can conflict with char $ac_func (); below.
53192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53193 <limits.h> exists even on freestanding compilers. */
53194
53195 #ifdef __STDC__
53196 # include <limits.h>
53197 #else
53198 # include <assert.h>
53199 #endif
53200
53201 #undef $ac_func
53202
53203 /* Override any gcc2 internal prototype to avoid an error. */
53204 #ifdef __cplusplus
53205 extern "C"
53206 {
53207 #endif
53208 /* We use char because int might match the return type of a gcc2
53209 builtin and then its argument prototype would still apply. */
53210 char $ac_func ();
53211 /* The GNU C library defines this for functions which it implements
53212 to always fail with ENOSYS. Some functions are actually named
53213 something starting with __ and the normal name is an alias. */
53214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53215 choke me
53216 #else
53217 char (*f) () = $ac_func;
53218 #endif
53219 #ifdef __cplusplus
53220 }
53221 #endif
53222
53223 int
53224 main ()
53225 {
53226 return f != $ac_func;
53227 ;
53228 return 0;
53229 }
53230 _ACEOF
53231 rm -f conftest.$ac_objext conftest$ac_exeext
53232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53233 (eval $ac_link) 2>conftest.er1
53234 ac_status=$?
53235 grep -v '^ *+' conftest.er1 >conftest.err
53236 rm -f conftest.er1
53237 cat conftest.err >&5
53238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53239 (exit $ac_status); } &&
53240 { ac_try='test -z "$ac_c_werror_flag"
53241 || test ! -s conftest.err'
53242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53243 (eval $ac_try) 2>&5
53244 ac_status=$?
53245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53246 (exit $ac_status); }; } &&
53247 { ac_try='test -s conftest$ac_exeext'
53248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53249 (eval $ac_try) 2>&5
53250 ac_status=$?
53251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53252 (exit $ac_status); }; }; then
53253 eval "$as_ac_var=yes"
53254 else
53255 echo "$as_me: failed program was:" >&5
53256 sed 's/^/| /' conftest.$ac_ext >&5
53257
53258 eval "$as_ac_var=no"
53259 fi
53260 rm -f conftest.err conftest.$ac_objext \
53261 conftest$ac_exeext conftest.$ac_ext
53262 fi
53263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53265 if test `eval echo '${'$as_ac_var'}'` = yes; then
53266 cat >>confdefs.h <<_ACEOF
53267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53268 _ACEOF
53269
53270 fi
53271 done
53272
53273 fi
53274 fi
53275
53276
53277
53278
53279
53280
53281
53282
53283 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
53284 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
53285 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
53286 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
53287 echo $ECHO_N "(cached) $ECHO_C" >&6
53288 else
53289
53290
53291
53292 ac_ext=cc
53293 ac_cpp='$CXXCPP $CPPFLAGS'
53294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53297
53298 cat >conftest.$ac_ext <<_ACEOF
53299 /* confdefs.h. */
53300 _ACEOF
53301 cat confdefs.h >>conftest.$ac_ext
53302 cat >>conftest.$ac_ext <<_ACEOF
53303 /* end confdefs.h. */
53304 #include <math.h>
53305 #ifdef HAVE_IEEEFP_H
53306 #include <ieeefp.h>
53307 #endif
53308
53309 int
53310 main ()
53311 {
53312 isnanl(0);
53313 ;
53314 return 0;
53315 }
53316 _ACEOF
53317 rm -f conftest.$ac_objext
53318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53319 (eval $ac_compile) 2>conftest.er1
53320 ac_status=$?
53321 grep -v '^ *+' conftest.er1 >conftest.err
53322 rm -f conftest.er1
53323 cat conftest.err >&5
53324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53325 (exit $ac_status); } &&
53326 { ac_try='test -z "$ac_cxx_werror_flag"
53327 || test ! -s conftest.err'
53328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53329 (eval $ac_try) 2>&5
53330 ac_status=$?
53331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53332 (exit $ac_status); }; } &&
53333 { ac_try='test -s conftest.$ac_objext'
53334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53335 (eval $ac_try) 2>&5
53336 ac_status=$?
53337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53338 (exit $ac_status); }; }; then
53339 glibcxx_cv_func_isnanl_use=yes
53340 else
53341 echo "$as_me: failed program was:" >&5
53342 sed 's/^/| /' conftest.$ac_ext >&5
53343
53344 glibcxx_cv_func_isnanl_use=no
53345 fi
53346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53347 ac_ext=c
53348 ac_cpp='$CPP $CPPFLAGS'
53349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53352
53353
53354 fi
53355
53356 fi
53357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
53358 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
53359
53360 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
53361
53362 for ac_func in isnanl
53363 do
53364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53365 echo "$as_me:$LINENO: checking for $ac_func" >&5
53366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53367 if eval "test \"\${$as_ac_var+set}\" = set"; then
53368 echo $ECHO_N "(cached) $ECHO_C" >&6
53369 else
53370 if test x$gcc_no_link = xyes; then
53371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53373 { (exit 1); exit 1; }; }
53374 fi
53375 cat >conftest.$ac_ext <<_ACEOF
53376 /* confdefs.h. */
53377 _ACEOF
53378 cat confdefs.h >>conftest.$ac_ext
53379 cat >>conftest.$ac_ext <<_ACEOF
53380 /* end confdefs.h. */
53381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53383 #define $ac_func innocuous_$ac_func
53384
53385 /* System header to define __stub macros and hopefully few prototypes,
53386 which can conflict with char $ac_func (); below.
53387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53388 <limits.h> exists even on freestanding compilers. */
53389
53390 #ifdef __STDC__
53391 # include <limits.h>
53392 #else
53393 # include <assert.h>
53394 #endif
53395
53396 #undef $ac_func
53397
53398 /* Override any gcc2 internal prototype to avoid an error. */
53399 #ifdef __cplusplus
53400 extern "C"
53401 {
53402 #endif
53403 /* We use char because int might match the return type of a gcc2
53404 builtin and then its argument prototype would still apply. */
53405 char $ac_func ();
53406 /* The GNU C library defines this for functions which it implements
53407 to always fail with ENOSYS. Some functions are actually named
53408 something starting with __ and the normal name is an alias. */
53409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53410 choke me
53411 #else
53412 char (*f) () = $ac_func;
53413 #endif
53414 #ifdef __cplusplus
53415 }
53416 #endif
53417
53418 int
53419 main ()
53420 {
53421 return f != $ac_func;
53422 ;
53423 return 0;
53424 }
53425 _ACEOF
53426 rm -f conftest.$ac_objext conftest$ac_exeext
53427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53428 (eval $ac_link) 2>conftest.er1
53429 ac_status=$?
53430 grep -v '^ *+' conftest.er1 >conftest.err
53431 rm -f conftest.er1
53432 cat conftest.err >&5
53433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53434 (exit $ac_status); } &&
53435 { ac_try='test -z "$ac_c_werror_flag"
53436 || test ! -s conftest.err'
53437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53438 (eval $ac_try) 2>&5
53439 ac_status=$?
53440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53441 (exit $ac_status); }; } &&
53442 { ac_try='test -s conftest$ac_exeext'
53443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53444 (eval $ac_try) 2>&5
53445 ac_status=$?
53446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53447 (exit $ac_status); }; }; then
53448 eval "$as_ac_var=yes"
53449 else
53450 echo "$as_me: failed program was:" >&5
53451 sed 's/^/| /' conftest.$ac_ext >&5
53452
53453 eval "$as_ac_var=no"
53454 fi
53455 rm -f conftest.err conftest.$ac_objext \
53456 conftest$ac_exeext conftest.$ac_ext
53457 fi
53458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53460 if test `eval echo '${'$as_ac_var'}'` = yes; then
53461 cat >>confdefs.h <<_ACEOF
53462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53463 _ACEOF
53464
53465 fi
53466 done
53467
53468 else
53469
53470 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
53471 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
53472 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
53473 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
53474 echo $ECHO_N "(cached) $ECHO_C" >&6
53475 else
53476
53477
53478
53479 ac_ext=cc
53480 ac_cpp='$CXXCPP $CPPFLAGS'
53481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53484
53485 cat >conftest.$ac_ext <<_ACEOF
53486 /* confdefs.h. */
53487 _ACEOF
53488 cat confdefs.h >>conftest.$ac_ext
53489 cat >>conftest.$ac_ext <<_ACEOF
53490 /* end confdefs.h. */
53491 #include <math.h>
53492 #ifdef HAVE_IEEEFP_H
53493 #include <ieeefp.h>
53494 #endif
53495
53496 int
53497 main ()
53498 {
53499 _isnanl(0);
53500 ;
53501 return 0;
53502 }
53503 _ACEOF
53504 rm -f conftest.$ac_objext
53505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53506 (eval $ac_compile) 2>conftest.er1
53507 ac_status=$?
53508 grep -v '^ *+' conftest.er1 >conftest.err
53509 rm -f conftest.er1
53510 cat conftest.err >&5
53511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53512 (exit $ac_status); } &&
53513 { ac_try='test -z "$ac_cxx_werror_flag"
53514 || test ! -s conftest.err'
53515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53516 (eval $ac_try) 2>&5
53517 ac_status=$?
53518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53519 (exit $ac_status); }; } &&
53520 { ac_try='test -s conftest.$ac_objext'
53521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53522 (eval $ac_try) 2>&5
53523 ac_status=$?
53524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53525 (exit $ac_status); }; }; then
53526 glibcxx_cv_func__isnanl_use=yes
53527 else
53528 echo "$as_me: failed program was:" >&5
53529 sed 's/^/| /' conftest.$ac_ext >&5
53530
53531 glibcxx_cv_func__isnanl_use=no
53532 fi
53533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53534 ac_ext=c
53535 ac_cpp='$CPP $CPPFLAGS'
53536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53539
53540
53541 fi
53542
53543 fi
53544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
53545 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
53546
53547 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
53548
53549 for ac_func in _isnanl
53550 do
53551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53552 echo "$as_me:$LINENO: checking for $ac_func" >&5
53553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53554 if eval "test \"\${$as_ac_var+set}\" = set"; then
53555 echo $ECHO_N "(cached) $ECHO_C" >&6
53556 else
53557 if test x$gcc_no_link = xyes; then
53558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53560 { (exit 1); exit 1; }; }
53561 fi
53562 cat >conftest.$ac_ext <<_ACEOF
53563 /* confdefs.h. */
53564 _ACEOF
53565 cat confdefs.h >>conftest.$ac_ext
53566 cat >>conftest.$ac_ext <<_ACEOF
53567 /* end confdefs.h. */
53568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53570 #define $ac_func innocuous_$ac_func
53571
53572 /* System header to define __stub macros and hopefully few prototypes,
53573 which can conflict with char $ac_func (); below.
53574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53575 <limits.h> exists even on freestanding compilers. */
53576
53577 #ifdef __STDC__
53578 # include <limits.h>
53579 #else
53580 # include <assert.h>
53581 #endif
53582
53583 #undef $ac_func
53584
53585 /* Override any gcc2 internal prototype to avoid an error. */
53586 #ifdef __cplusplus
53587 extern "C"
53588 {
53589 #endif
53590 /* We use char because int might match the return type of a gcc2
53591 builtin and then its argument prototype would still apply. */
53592 char $ac_func ();
53593 /* The GNU C library defines this for functions which it implements
53594 to always fail with ENOSYS. Some functions are actually named
53595 something starting with __ and the normal name is an alias. */
53596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53597 choke me
53598 #else
53599 char (*f) () = $ac_func;
53600 #endif
53601 #ifdef __cplusplus
53602 }
53603 #endif
53604
53605 int
53606 main ()
53607 {
53608 return f != $ac_func;
53609 ;
53610 return 0;
53611 }
53612 _ACEOF
53613 rm -f conftest.$ac_objext conftest$ac_exeext
53614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53615 (eval $ac_link) 2>conftest.er1
53616 ac_status=$?
53617 grep -v '^ *+' conftest.er1 >conftest.err
53618 rm -f conftest.er1
53619 cat conftest.err >&5
53620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53621 (exit $ac_status); } &&
53622 { ac_try='test -z "$ac_c_werror_flag"
53623 || test ! -s conftest.err'
53624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53625 (eval $ac_try) 2>&5
53626 ac_status=$?
53627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53628 (exit $ac_status); }; } &&
53629 { ac_try='test -s conftest$ac_exeext'
53630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53631 (eval $ac_try) 2>&5
53632 ac_status=$?
53633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53634 (exit $ac_status); }; }; then
53635 eval "$as_ac_var=yes"
53636 else
53637 echo "$as_me: failed program was:" >&5
53638 sed 's/^/| /' conftest.$ac_ext >&5
53639
53640 eval "$as_ac_var=no"
53641 fi
53642 rm -f conftest.err conftest.$ac_objext \
53643 conftest$ac_exeext conftest.$ac_ext
53644 fi
53645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53647 if test `eval echo '${'$as_ac_var'}'` = yes; then
53648 cat >>confdefs.h <<_ACEOF
53649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53650 _ACEOF
53651
53652 fi
53653 done
53654
53655 fi
53656 fi
53657
53658
53659
53660
53661
53662
53663 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
53664 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
53665 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53666 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
53667 echo $ECHO_N "(cached) $ECHO_C" >&6
53668 else
53669
53670
53671
53672 ac_ext=cc
53673 ac_cpp='$CXXCPP $CPPFLAGS'
53674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53677
53678 cat >conftest.$ac_ext <<_ACEOF
53679 /* confdefs.h. */
53680 _ACEOF
53681 cat confdefs.h >>conftest.$ac_ext
53682 cat >>conftest.$ac_ext <<_ACEOF
53683 /* end confdefs.h. */
53684 #include <math.h>
53685 #ifdef HAVE_IEEEFP_H
53686 #include <ieeefp.h>
53687 #endif
53688
53689 int
53690 main ()
53691 {
53692 isinfl(0);
53693 ;
53694 return 0;
53695 }
53696 _ACEOF
53697 rm -f conftest.$ac_objext
53698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53699 (eval $ac_compile) 2>conftest.er1
53700 ac_status=$?
53701 grep -v '^ *+' conftest.er1 >conftest.err
53702 rm -f conftest.er1
53703 cat conftest.err >&5
53704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53705 (exit $ac_status); } &&
53706 { ac_try='test -z "$ac_cxx_werror_flag"
53707 || test ! -s conftest.err'
53708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53709 (eval $ac_try) 2>&5
53710 ac_status=$?
53711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53712 (exit $ac_status); }; } &&
53713 { ac_try='test -s conftest.$ac_objext'
53714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53715 (eval $ac_try) 2>&5
53716 ac_status=$?
53717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53718 (exit $ac_status); }; }; then
53719 glibcxx_cv_func_isinfl_use=yes
53720 else
53721 echo "$as_me: failed program was:" >&5
53722 sed 's/^/| /' conftest.$ac_ext >&5
53723
53724 glibcxx_cv_func_isinfl_use=no
53725 fi
53726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53727 ac_ext=c
53728 ac_cpp='$CPP $CPPFLAGS'
53729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53732
53733
53734 fi
53735
53736 fi
53737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
53738 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
53739
53740 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53741
53742 for ac_func in isinfl
53743 do
53744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53745 echo "$as_me:$LINENO: checking for $ac_func" >&5
53746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53747 if eval "test \"\${$as_ac_var+set}\" = set"; then
53748 echo $ECHO_N "(cached) $ECHO_C" >&6
53749 else
53750 if test x$gcc_no_link = xyes; then
53751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53753 { (exit 1); exit 1; }; }
53754 fi
53755 cat >conftest.$ac_ext <<_ACEOF
53756 /* confdefs.h. */
53757 _ACEOF
53758 cat confdefs.h >>conftest.$ac_ext
53759 cat >>conftest.$ac_ext <<_ACEOF
53760 /* end confdefs.h. */
53761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53763 #define $ac_func innocuous_$ac_func
53764
53765 /* System header to define __stub macros and hopefully few prototypes,
53766 which can conflict with char $ac_func (); below.
53767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53768 <limits.h> exists even on freestanding compilers. */
53769
53770 #ifdef __STDC__
53771 # include <limits.h>
53772 #else
53773 # include <assert.h>
53774 #endif
53775
53776 #undef $ac_func
53777
53778 /* Override any gcc2 internal prototype to avoid an error. */
53779 #ifdef __cplusplus
53780 extern "C"
53781 {
53782 #endif
53783 /* We use char because int might match the return type of a gcc2
53784 builtin and then its argument prototype would still apply. */
53785 char $ac_func ();
53786 /* The GNU C library defines this for functions which it implements
53787 to always fail with ENOSYS. Some functions are actually named
53788 something starting with __ and the normal name is an alias. */
53789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53790 choke me
53791 #else
53792 char (*f) () = $ac_func;
53793 #endif
53794 #ifdef __cplusplus
53795 }
53796 #endif
53797
53798 int
53799 main ()
53800 {
53801 return f != $ac_func;
53802 ;
53803 return 0;
53804 }
53805 _ACEOF
53806 rm -f conftest.$ac_objext conftest$ac_exeext
53807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53808 (eval $ac_link) 2>conftest.er1
53809 ac_status=$?
53810 grep -v '^ *+' conftest.er1 >conftest.err
53811 rm -f conftest.er1
53812 cat conftest.err >&5
53813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53814 (exit $ac_status); } &&
53815 { ac_try='test -z "$ac_c_werror_flag"
53816 || test ! -s conftest.err'
53817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53818 (eval $ac_try) 2>&5
53819 ac_status=$?
53820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53821 (exit $ac_status); }; } &&
53822 { ac_try='test -s conftest$ac_exeext'
53823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53824 (eval $ac_try) 2>&5
53825 ac_status=$?
53826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53827 (exit $ac_status); }; }; then
53828 eval "$as_ac_var=yes"
53829 else
53830 echo "$as_me: failed program was:" >&5
53831 sed 's/^/| /' conftest.$ac_ext >&5
53832
53833 eval "$as_ac_var=no"
53834 fi
53835 rm -f conftest.err conftest.$ac_objext \
53836 conftest$ac_exeext conftest.$ac_ext
53837 fi
53838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53840 if test `eval echo '${'$as_ac_var'}'` = yes; then
53841 cat >>confdefs.h <<_ACEOF
53842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53843 _ACEOF
53844
53845 fi
53846 done
53847
53848 else
53849
53850 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
53851 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
53852 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53853 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
53854 echo $ECHO_N "(cached) $ECHO_C" >&6
53855 else
53856
53857
53858
53859 ac_ext=cc
53860 ac_cpp='$CXXCPP $CPPFLAGS'
53861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53864
53865 cat >conftest.$ac_ext <<_ACEOF
53866 /* confdefs.h. */
53867 _ACEOF
53868 cat confdefs.h >>conftest.$ac_ext
53869 cat >>conftest.$ac_ext <<_ACEOF
53870 /* end confdefs.h. */
53871 #include <math.h>
53872 #ifdef HAVE_IEEEFP_H
53873 #include <ieeefp.h>
53874 #endif
53875
53876 int
53877 main ()
53878 {
53879 _isinfl(0);
53880 ;
53881 return 0;
53882 }
53883 _ACEOF
53884 rm -f conftest.$ac_objext
53885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53886 (eval $ac_compile) 2>conftest.er1
53887 ac_status=$?
53888 grep -v '^ *+' conftest.er1 >conftest.err
53889 rm -f conftest.er1
53890 cat conftest.err >&5
53891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53892 (exit $ac_status); } &&
53893 { ac_try='test -z "$ac_cxx_werror_flag"
53894 || test ! -s conftest.err'
53895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53896 (eval $ac_try) 2>&5
53897 ac_status=$?
53898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53899 (exit $ac_status); }; } &&
53900 { ac_try='test -s conftest.$ac_objext'
53901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53902 (eval $ac_try) 2>&5
53903 ac_status=$?
53904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53905 (exit $ac_status); }; }; then
53906 glibcxx_cv_func__isinfl_use=yes
53907 else
53908 echo "$as_me: failed program was:" >&5
53909 sed 's/^/| /' conftest.$ac_ext >&5
53910
53911 glibcxx_cv_func__isinfl_use=no
53912 fi
53913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53914 ac_ext=c
53915 ac_cpp='$CPP $CPPFLAGS'
53916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53919
53920
53921 fi
53922
53923 fi
53924 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
53925 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
53926
53927 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53928
53929 for ac_func in _isinfl
53930 do
53931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53932 echo "$as_me:$LINENO: checking for $ac_func" >&5
53933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53934 if eval "test \"\${$as_ac_var+set}\" = set"; then
53935 echo $ECHO_N "(cached) $ECHO_C" >&6
53936 else
53937 if test x$gcc_no_link = xyes; then
53938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53940 { (exit 1); exit 1; }; }
53941 fi
53942 cat >conftest.$ac_ext <<_ACEOF
53943 /* confdefs.h. */
53944 _ACEOF
53945 cat confdefs.h >>conftest.$ac_ext
53946 cat >>conftest.$ac_ext <<_ACEOF
53947 /* end confdefs.h. */
53948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53950 #define $ac_func innocuous_$ac_func
53951
53952 /* System header to define __stub macros and hopefully few prototypes,
53953 which can conflict with char $ac_func (); below.
53954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53955 <limits.h> exists even on freestanding compilers. */
53956
53957 #ifdef __STDC__
53958 # include <limits.h>
53959 #else
53960 # include <assert.h>
53961 #endif
53962
53963 #undef $ac_func
53964
53965 /* Override any gcc2 internal prototype to avoid an error. */
53966 #ifdef __cplusplus
53967 extern "C"
53968 {
53969 #endif
53970 /* We use char because int might match the return type of a gcc2
53971 builtin and then its argument prototype would still apply. */
53972 char $ac_func ();
53973 /* The GNU C library defines this for functions which it implements
53974 to always fail with ENOSYS. Some functions are actually named
53975 something starting with __ and the normal name is an alias. */
53976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53977 choke me
53978 #else
53979 char (*f) () = $ac_func;
53980 #endif
53981 #ifdef __cplusplus
53982 }
53983 #endif
53984
53985 int
53986 main ()
53987 {
53988 return f != $ac_func;
53989 ;
53990 return 0;
53991 }
53992 _ACEOF
53993 rm -f conftest.$ac_objext conftest$ac_exeext
53994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53995 (eval $ac_link) 2>conftest.er1
53996 ac_status=$?
53997 grep -v '^ *+' conftest.er1 >conftest.err
53998 rm -f conftest.er1
53999 cat conftest.err >&5
54000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54001 (exit $ac_status); } &&
54002 { ac_try='test -z "$ac_c_werror_flag"
54003 || test ! -s conftest.err'
54004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54005 (eval $ac_try) 2>&5
54006 ac_status=$?
54007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54008 (exit $ac_status); }; } &&
54009 { ac_try='test -s conftest$ac_exeext'
54010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54011 (eval $ac_try) 2>&5
54012 ac_status=$?
54013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54014 (exit $ac_status); }; }; then
54015 eval "$as_ac_var=yes"
54016 else
54017 echo "$as_me: failed program was:" >&5
54018 sed 's/^/| /' conftest.$ac_ext >&5
54019
54020 eval "$as_ac_var=no"
54021 fi
54022 rm -f conftest.err conftest.$ac_objext \
54023 conftest$ac_exeext conftest.$ac_ext
54024 fi
54025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54027 if test `eval echo '${'$as_ac_var'}'` = yes; then
54028 cat >>confdefs.h <<_ACEOF
54029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54030 _ACEOF
54031
54032 fi
54033 done
54034
54035 fi
54036 fi
54037
54038
54039
54040
54041
54042
54043 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
54044 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
54045 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
54046 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
54047 echo $ECHO_N "(cached) $ECHO_C" >&6
54048 else
54049
54050
54051
54052 ac_ext=cc
54053 ac_cpp='$CXXCPP $CPPFLAGS'
54054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54057
54058 cat >conftest.$ac_ext <<_ACEOF
54059 /* confdefs.h. */
54060 _ACEOF
54061 cat confdefs.h >>conftest.$ac_ext
54062 cat >>conftest.$ac_ext <<_ACEOF
54063 /* end confdefs.h. */
54064 #include <math.h>
54065 int
54066 main ()
54067 {
54068 copysignl(0, 0);
54069 ;
54070 return 0;
54071 }
54072 _ACEOF
54073 rm -f conftest.$ac_objext
54074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54075 (eval $ac_compile) 2>conftest.er1
54076 ac_status=$?
54077 grep -v '^ *+' conftest.er1 >conftest.err
54078 rm -f conftest.er1
54079 cat conftest.err >&5
54080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54081 (exit $ac_status); } &&
54082 { ac_try='test -z "$ac_cxx_werror_flag"
54083 || test ! -s conftest.err'
54084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54085 (eval $ac_try) 2>&5
54086 ac_status=$?
54087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54088 (exit $ac_status); }; } &&
54089 { ac_try='test -s conftest.$ac_objext'
54090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54091 (eval $ac_try) 2>&5
54092 ac_status=$?
54093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54094 (exit $ac_status); }; }; then
54095 glibcxx_cv_func_copysignl_use=yes
54096 else
54097 echo "$as_me: failed program was:" >&5
54098 sed 's/^/| /' conftest.$ac_ext >&5
54099
54100 glibcxx_cv_func_copysignl_use=no
54101 fi
54102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54103 ac_ext=c
54104 ac_cpp='$CPP $CPPFLAGS'
54105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54108
54109
54110 fi
54111
54112 fi
54113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
54114 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
54115
54116 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
54117
54118 for ac_func in copysignl
54119 do
54120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54121 echo "$as_me:$LINENO: checking for $ac_func" >&5
54122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54123 if eval "test \"\${$as_ac_var+set}\" = set"; then
54124 echo $ECHO_N "(cached) $ECHO_C" >&6
54125 else
54126 if test x$gcc_no_link = xyes; then
54127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54129 { (exit 1); exit 1; }; }
54130 fi
54131 cat >conftest.$ac_ext <<_ACEOF
54132 /* confdefs.h. */
54133 _ACEOF
54134 cat confdefs.h >>conftest.$ac_ext
54135 cat >>conftest.$ac_ext <<_ACEOF
54136 /* end confdefs.h. */
54137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54139 #define $ac_func innocuous_$ac_func
54140
54141 /* System header to define __stub macros and hopefully few prototypes,
54142 which can conflict with char $ac_func (); below.
54143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54144 <limits.h> exists even on freestanding compilers. */
54145
54146 #ifdef __STDC__
54147 # include <limits.h>
54148 #else
54149 # include <assert.h>
54150 #endif
54151
54152 #undef $ac_func
54153
54154 /* Override any gcc2 internal prototype to avoid an error. */
54155 #ifdef __cplusplus
54156 extern "C"
54157 {
54158 #endif
54159 /* We use char because int might match the return type of a gcc2
54160 builtin and then its argument prototype would still apply. */
54161 char $ac_func ();
54162 /* The GNU C library defines this for functions which it implements
54163 to always fail with ENOSYS. Some functions are actually named
54164 something starting with __ and the normal name is an alias. */
54165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54166 choke me
54167 #else
54168 char (*f) () = $ac_func;
54169 #endif
54170 #ifdef __cplusplus
54171 }
54172 #endif
54173
54174 int
54175 main ()
54176 {
54177 return f != $ac_func;
54178 ;
54179 return 0;
54180 }
54181 _ACEOF
54182 rm -f conftest.$ac_objext conftest$ac_exeext
54183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54184 (eval $ac_link) 2>conftest.er1
54185 ac_status=$?
54186 grep -v '^ *+' conftest.er1 >conftest.err
54187 rm -f conftest.er1
54188 cat conftest.err >&5
54189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54190 (exit $ac_status); } &&
54191 { ac_try='test -z "$ac_c_werror_flag"
54192 || test ! -s conftest.err'
54193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54194 (eval $ac_try) 2>&5
54195 ac_status=$?
54196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54197 (exit $ac_status); }; } &&
54198 { ac_try='test -s conftest$ac_exeext'
54199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54200 (eval $ac_try) 2>&5
54201 ac_status=$?
54202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54203 (exit $ac_status); }; }; then
54204 eval "$as_ac_var=yes"
54205 else
54206 echo "$as_me: failed program was:" >&5
54207 sed 's/^/| /' conftest.$ac_ext >&5
54208
54209 eval "$as_ac_var=no"
54210 fi
54211 rm -f conftest.err conftest.$ac_objext \
54212 conftest$ac_exeext conftest.$ac_ext
54213 fi
54214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54216 if test `eval echo '${'$as_ac_var'}'` = yes; then
54217 cat >>confdefs.h <<_ACEOF
54218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54219 _ACEOF
54220
54221 fi
54222 done
54223
54224 else
54225
54226 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
54227 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
54228 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
54229 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
54230 echo $ECHO_N "(cached) $ECHO_C" >&6
54231 else
54232
54233
54234
54235 ac_ext=cc
54236 ac_cpp='$CXXCPP $CPPFLAGS'
54237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54240
54241 cat >conftest.$ac_ext <<_ACEOF
54242 /* confdefs.h. */
54243 _ACEOF
54244 cat confdefs.h >>conftest.$ac_ext
54245 cat >>conftest.$ac_ext <<_ACEOF
54246 /* end confdefs.h. */
54247 #include <math.h>
54248 int
54249 main ()
54250 {
54251 _copysignl(0, 0);
54252 ;
54253 return 0;
54254 }
54255 _ACEOF
54256 rm -f conftest.$ac_objext
54257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54258 (eval $ac_compile) 2>conftest.er1
54259 ac_status=$?
54260 grep -v '^ *+' conftest.er1 >conftest.err
54261 rm -f conftest.er1
54262 cat conftest.err >&5
54263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54264 (exit $ac_status); } &&
54265 { ac_try='test -z "$ac_cxx_werror_flag"
54266 || test ! -s conftest.err'
54267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54268 (eval $ac_try) 2>&5
54269 ac_status=$?
54270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54271 (exit $ac_status); }; } &&
54272 { ac_try='test -s conftest.$ac_objext'
54273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54274 (eval $ac_try) 2>&5
54275 ac_status=$?
54276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54277 (exit $ac_status); }; }; then
54278 glibcxx_cv_func__copysignl_use=yes
54279 else
54280 echo "$as_me: failed program was:" >&5
54281 sed 's/^/| /' conftest.$ac_ext >&5
54282
54283 glibcxx_cv_func__copysignl_use=no
54284 fi
54285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54286 ac_ext=c
54287 ac_cpp='$CPP $CPPFLAGS'
54288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54291
54292
54293 fi
54294
54295 fi
54296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
54297 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
54298
54299 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
54300
54301 for ac_func in _copysignl
54302 do
54303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54304 echo "$as_me:$LINENO: checking for $ac_func" >&5
54305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54306 if eval "test \"\${$as_ac_var+set}\" = set"; then
54307 echo $ECHO_N "(cached) $ECHO_C" >&6
54308 else
54309 if test x$gcc_no_link = xyes; then
54310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54312 { (exit 1); exit 1; }; }
54313 fi
54314 cat >conftest.$ac_ext <<_ACEOF
54315 /* confdefs.h. */
54316 _ACEOF
54317 cat confdefs.h >>conftest.$ac_ext
54318 cat >>conftest.$ac_ext <<_ACEOF
54319 /* end confdefs.h. */
54320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54322 #define $ac_func innocuous_$ac_func
54323
54324 /* System header to define __stub macros and hopefully few prototypes,
54325 which can conflict with char $ac_func (); below.
54326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54327 <limits.h> exists even on freestanding compilers. */
54328
54329 #ifdef __STDC__
54330 # include <limits.h>
54331 #else
54332 # include <assert.h>
54333 #endif
54334
54335 #undef $ac_func
54336
54337 /* Override any gcc2 internal prototype to avoid an error. */
54338 #ifdef __cplusplus
54339 extern "C"
54340 {
54341 #endif
54342 /* We use char because int might match the return type of a gcc2
54343 builtin and then its argument prototype would still apply. */
54344 char $ac_func ();
54345 /* The GNU C library defines this for functions which it implements
54346 to always fail with ENOSYS. Some functions are actually named
54347 something starting with __ and the normal name is an alias. */
54348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54349 choke me
54350 #else
54351 char (*f) () = $ac_func;
54352 #endif
54353 #ifdef __cplusplus
54354 }
54355 #endif
54356
54357 int
54358 main ()
54359 {
54360 return f != $ac_func;
54361 ;
54362 return 0;
54363 }
54364 _ACEOF
54365 rm -f conftest.$ac_objext conftest$ac_exeext
54366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54367 (eval $ac_link) 2>conftest.er1
54368 ac_status=$?
54369 grep -v '^ *+' conftest.er1 >conftest.err
54370 rm -f conftest.er1
54371 cat conftest.err >&5
54372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54373 (exit $ac_status); } &&
54374 { ac_try='test -z "$ac_c_werror_flag"
54375 || test ! -s conftest.err'
54376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54377 (eval $ac_try) 2>&5
54378 ac_status=$?
54379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54380 (exit $ac_status); }; } &&
54381 { ac_try='test -s conftest$ac_exeext'
54382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54383 (eval $ac_try) 2>&5
54384 ac_status=$?
54385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54386 (exit $ac_status); }; }; then
54387 eval "$as_ac_var=yes"
54388 else
54389 echo "$as_me: failed program was:" >&5
54390 sed 's/^/| /' conftest.$ac_ext >&5
54391
54392 eval "$as_ac_var=no"
54393 fi
54394 rm -f conftest.err conftest.$ac_objext \
54395 conftest$ac_exeext conftest.$ac_ext
54396 fi
54397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54399 if test `eval echo '${'$as_ac_var'}'` = yes; then
54400 cat >>confdefs.h <<_ACEOF
54401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54402 _ACEOF
54403
54404 fi
54405 done
54406
54407 fi
54408 fi
54409
54410
54411
54412
54413
54414
54415 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
54416 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
54417 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54418 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
54419 echo $ECHO_N "(cached) $ECHO_C" >&6
54420 else
54421
54422
54423
54424 ac_ext=cc
54425 ac_cpp='$CXXCPP $CPPFLAGS'
54426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54429
54430 cat >conftest.$ac_ext <<_ACEOF
54431 /* confdefs.h. */
54432 _ACEOF
54433 cat confdefs.h >>conftest.$ac_ext
54434 cat >>conftest.$ac_ext <<_ACEOF
54435 /* end confdefs.h. */
54436 #include <math.h>
54437 int
54438 main ()
54439 {
54440 atan2l(0, 0);
54441 ;
54442 return 0;
54443 }
54444 _ACEOF
54445 rm -f conftest.$ac_objext
54446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54447 (eval $ac_compile) 2>conftest.er1
54448 ac_status=$?
54449 grep -v '^ *+' conftest.er1 >conftest.err
54450 rm -f conftest.er1
54451 cat conftest.err >&5
54452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54453 (exit $ac_status); } &&
54454 { ac_try='test -z "$ac_cxx_werror_flag"
54455 || test ! -s conftest.err'
54456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54457 (eval $ac_try) 2>&5
54458 ac_status=$?
54459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54460 (exit $ac_status); }; } &&
54461 { ac_try='test -s conftest.$ac_objext'
54462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54463 (eval $ac_try) 2>&5
54464 ac_status=$?
54465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54466 (exit $ac_status); }; }; then
54467 glibcxx_cv_func_atan2l_use=yes
54468 else
54469 echo "$as_me: failed program was:" >&5
54470 sed 's/^/| /' conftest.$ac_ext >&5
54471
54472 glibcxx_cv_func_atan2l_use=no
54473 fi
54474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54475 ac_ext=c
54476 ac_cpp='$CPP $CPPFLAGS'
54477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54480
54481
54482 fi
54483
54484 fi
54485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
54486 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
54487
54488 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54489
54490 for ac_func in atan2l
54491 do
54492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54493 echo "$as_me:$LINENO: checking for $ac_func" >&5
54494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54495 if eval "test \"\${$as_ac_var+set}\" = set"; then
54496 echo $ECHO_N "(cached) $ECHO_C" >&6
54497 else
54498 if test x$gcc_no_link = xyes; then
54499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54501 { (exit 1); exit 1; }; }
54502 fi
54503 cat >conftest.$ac_ext <<_ACEOF
54504 /* confdefs.h. */
54505 _ACEOF
54506 cat confdefs.h >>conftest.$ac_ext
54507 cat >>conftest.$ac_ext <<_ACEOF
54508 /* end confdefs.h. */
54509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54511 #define $ac_func innocuous_$ac_func
54512
54513 /* System header to define __stub macros and hopefully few prototypes,
54514 which can conflict with char $ac_func (); below.
54515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54516 <limits.h> exists even on freestanding compilers. */
54517
54518 #ifdef __STDC__
54519 # include <limits.h>
54520 #else
54521 # include <assert.h>
54522 #endif
54523
54524 #undef $ac_func
54525
54526 /* Override any gcc2 internal prototype to avoid an error. */
54527 #ifdef __cplusplus
54528 extern "C"
54529 {
54530 #endif
54531 /* We use char because int might match the return type of a gcc2
54532 builtin and then its argument prototype would still apply. */
54533 char $ac_func ();
54534 /* The GNU C library defines this for functions which it implements
54535 to always fail with ENOSYS. Some functions are actually named
54536 something starting with __ and the normal name is an alias. */
54537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54538 choke me
54539 #else
54540 char (*f) () = $ac_func;
54541 #endif
54542 #ifdef __cplusplus
54543 }
54544 #endif
54545
54546 int
54547 main ()
54548 {
54549 return f != $ac_func;
54550 ;
54551 return 0;
54552 }
54553 _ACEOF
54554 rm -f conftest.$ac_objext conftest$ac_exeext
54555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54556 (eval $ac_link) 2>conftest.er1
54557 ac_status=$?
54558 grep -v '^ *+' conftest.er1 >conftest.err
54559 rm -f conftest.er1
54560 cat conftest.err >&5
54561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54562 (exit $ac_status); } &&
54563 { ac_try='test -z "$ac_c_werror_flag"
54564 || test ! -s conftest.err'
54565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54566 (eval $ac_try) 2>&5
54567 ac_status=$?
54568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54569 (exit $ac_status); }; } &&
54570 { ac_try='test -s conftest$ac_exeext'
54571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54572 (eval $ac_try) 2>&5
54573 ac_status=$?
54574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54575 (exit $ac_status); }; }; then
54576 eval "$as_ac_var=yes"
54577 else
54578 echo "$as_me: failed program was:" >&5
54579 sed 's/^/| /' conftest.$ac_ext >&5
54580
54581 eval "$as_ac_var=no"
54582 fi
54583 rm -f conftest.err conftest.$ac_objext \
54584 conftest$ac_exeext conftest.$ac_ext
54585 fi
54586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54588 if test `eval echo '${'$as_ac_var'}'` = yes; then
54589 cat >>confdefs.h <<_ACEOF
54590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54591 _ACEOF
54592
54593 fi
54594 done
54595
54596 else
54597
54598 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
54599 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
54600 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54601 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
54602 echo $ECHO_N "(cached) $ECHO_C" >&6
54603 else
54604
54605
54606
54607 ac_ext=cc
54608 ac_cpp='$CXXCPP $CPPFLAGS'
54609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54612
54613 cat >conftest.$ac_ext <<_ACEOF
54614 /* confdefs.h. */
54615 _ACEOF
54616 cat confdefs.h >>conftest.$ac_ext
54617 cat >>conftest.$ac_ext <<_ACEOF
54618 /* end confdefs.h. */
54619 #include <math.h>
54620 int
54621 main ()
54622 {
54623 _atan2l(0, 0);
54624 ;
54625 return 0;
54626 }
54627 _ACEOF
54628 rm -f conftest.$ac_objext
54629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54630 (eval $ac_compile) 2>conftest.er1
54631 ac_status=$?
54632 grep -v '^ *+' conftest.er1 >conftest.err
54633 rm -f conftest.er1
54634 cat conftest.err >&5
54635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54636 (exit $ac_status); } &&
54637 { ac_try='test -z "$ac_cxx_werror_flag"
54638 || test ! -s conftest.err'
54639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54640 (eval $ac_try) 2>&5
54641 ac_status=$?
54642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54643 (exit $ac_status); }; } &&
54644 { ac_try='test -s conftest.$ac_objext'
54645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54646 (eval $ac_try) 2>&5
54647 ac_status=$?
54648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54649 (exit $ac_status); }; }; then
54650 glibcxx_cv_func__atan2l_use=yes
54651 else
54652 echo "$as_me: failed program was:" >&5
54653 sed 's/^/| /' conftest.$ac_ext >&5
54654
54655 glibcxx_cv_func__atan2l_use=no
54656 fi
54657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54658 ac_ext=c
54659 ac_cpp='$CPP $CPPFLAGS'
54660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54663
54664
54665 fi
54666
54667 fi
54668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
54669 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
54670
54671 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54672
54673 for ac_func in _atan2l
54674 do
54675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54676 echo "$as_me:$LINENO: checking for $ac_func" >&5
54677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54678 if eval "test \"\${$as_ac_var+set}\" = set"; then
54679 echo $ECHO_N "(cached) $ECHO_C" >&6
54680 else
54681 if test x$gcc_no_link = xyes; then
54682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54684 { (exit 1); exit 1; }; }
54685 fi
54686 cat >conftest.$ac_ext <<_ACEOF
54687 /* confdefs.h. */
54688 _ACEOF
54689 cat confdefs.h >>conftest.$ac_ext
54690 cat >>conftest.$ac_ext <<_ACEOF
54691 /* end confdefs.h. */
54692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54694 #define $ac_func innocuous_$ac_func
54695
54696 /* System header to define __stub macros and hopefully few prototypes,
54697 which can conflict with char $ac_func (); below.
54698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54699 <limits.h> exists even on freestanding compilers. */
54700
54701 #ifdef __STDC__
54702 # include <limits.h>
54703 #else
54704 # include <assert.h>
54705 #endif
54706
54707 #undef $ac_func
54708
54709 /* Override any gcc2 internal prototype to avoid an error. */
54710 #ifdef __cplusplus
54711 extern "C"
54712 {
54713 #endif
54714 /* We use char because int might match the return type of a gcc2
54715 builtin and then its argument prototype would still apply. */
54716 char $ac_func ();
54717 /* The GNU C library defines this for functions which it implements
54718 to always fail with ENOSYS. Some functions are actually named
54719 something starting with __ and the normal name is an alias. */
54720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54721 choke me
54722 #else
54723 char (*f) () = $ac_func;
54724 #endif
54725 #ifdef __cplusplus
54726 }
54727 #endif
54728
54729 int
54730 main ()
54731 {
54732 return f != $ac_func;
54733 ;
54734 return 0;
54735 }
54736 _ACEOF
54737 rm -f conftest.$ac_objext conftest$ac_exeext
54738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54739 (eval $ac_link) 2>conftest.er1
54740 ac_status=$?
54741 grep -v '^ *+' conftest.er1 >conftest.err
54742 rm -f conftest.er1
54743 cat conftest.err >&5
54744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54745 (exit $ac_status); } &&
54746 { ac_try='test -z "$ac_c_werror_flag"
54747 || test ! -s conftest.err'
54748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54749 (eval $ac_try) 2>&5
54750 ac_status=$?
54751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54752 (exit $ac_status); }; } &&
54753 { ac_try='test -s conftest$ac_exeext'
54754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54755 (eval $ac_try) 2>&5
54756 ac_status=$?
54757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54758 (exit $ac_status); }; }; then
54759 eval "$as_ac_var=yes"
54760 else
54761 echo "$as_me: failed program was:" >&5
54762 sed 's/^/| /' conftest.$ac_ext >&5
54763
54764 eval "$as_ac_var=no"
54765 fi
54766 rm -f conftest.err conftest.$ac_objext \
54767 conftest$ac_exeext conftest.$ac_ext
54768 fi
54769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54771 if test `eval echo '${'$as_ac_var'}'` = yes; then
54772 cat >>confdefs.h <<_ACEOF
54773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54774 _ACEOF
54775
54776 fi
54777 done
54778
54779 fi
54780 fi
54781
54782
54783
54784
54785
54786
54787 echo "$as_me:$LINENO: checking for expl declaration" >&5
54788 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
54789 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54790 if test "${glibcxx_cv_func_expl_use+set}" = set; then
54791 echo $ECHO_N "(cached) $ECHO_C" >&6
54792 else
54793
54794
54795
54796 ac_ext=cc
54797 ac_cpp='$CXXCPP $CPPFLAGS'
54798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54801
54802 cat >conftest.$ac_ext <<_ACEOF
54803 /* confdefs.h. */
54804 _ACEOF
54805 cat confdefs.h >>conftest.$ac_ext
54806 cat >>conftest.$ac_ext <<_ACEOF
54807 /* end confdefs.h. */
54808 #include <math.h>
54809 #ifdef HAVE_IEEEFP_H
54810 #include <ieeefp.h>
54811 #endif
54812
54813 int
54814 main ()
54815 {
54816 expl(0);
54817 ;
54818 return 0;
54819 }
54820 _ACEOF
54821 rm -f conftest.$ac_objext
54822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54823 (eval $ac_compile) 2>conftest.er1
54824 ac_status=$?
54825 grep -v '^ *+' conftest.er1 >conftest.err
54826 rm -f conftest.er1
54827 cat conftest.err >&5
54828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54829 (exit $ac_status); } &&
54830 { ac_try='test -z "$ac_cxx_werror_flag"
54831 || test ! -s conftest.err'
54832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54833 (eval $ac_try) 2>&5
54834 ac_status=$?
54835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54836 (exit $ac_status); }; } &&
54837 { ac_try='test -s conftest.$ac_objext'
54838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54839 (eval $ac_try) 2>&5
54840 ac_status=$?
54841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54842 (exit $ac_status); }; }; then
54843 glibcxx_cv_func_expl_use=yes
54844 else
54845 echo "$as_me: failed program was:" >&5
54846 sed 's/^/| /' conftest.$ac_ext >&5
54847
54848 glibcxx_cv_func_expl_use=no
54849 fi
54850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54851 ac_ext=c
54852 ac_cpp='$CPP $CPPFLAGS'
54853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54856
54857
54858 fi
54859
54860 fi
54861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
54862 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
54863
54864 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54865
54866 for ac_func in expl
54867 do
54868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54869 echo "$as_me:$LINENO: checking for $ac_func" >&5
54870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54871 if eval "test \"\${$as_ac_var+set}\" = set"; then
54872 echo $ECHO_N "(cached) $ECHO_C" >&6
54873 else
54874 if test x$gcc_no_link = xyes; then
54875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54877 { (exit 1); exit 1; }; }
54878 fi
54879 cat >conftest.$ac_ext <<_ACEOF
54880 /* confdefs.h. */
54881 _ACEOF
54882 cat confdefs.h >>conftest.$ac_ext
54883 cat >>conftest.$ac_ext <<_ACEOF
54884 /* end confdefs.h. */
54885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54887 #define $ac_func innocuous_$ac_func
54888
54889 /* System header to define __stub macros and hopefully few prototypes,
54890 which can conflict with char $ac_func (); below.
54891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54892 <limits.h> exists even on freestanding compilers. */
54893
54894 #ifdef __STDC__
54895 # include <limits.h>
54896 #else
54897 # include <assert.h>
54898 #endif
54899
54900 #undef $ac_func
54901
54902 /* Override any gcc2 internal prototype to avoid an error. */
54903 #ifdef __cplusplus
54904 extern "C"
54905 {
54906 #endif
54907 /* We use char because int might match the return type of a gcc2
54908 builtin and then its argument prototype would still apply. */
54909 char $ac_func ();
54910 /* The GNU C library defines this for functions which it implements
54911 to always fail with ENOSYS. Some functions are actually named
54912 something starting with __ and the normal name is an alias. */
54913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54914 choke me
54915 #else
54916 char (*f) () = $ac_func;
54917 #endif
54918 #ifdef __cplusplus
54919 }
54920 #endif
54921
54922 int
54923 main ()
54924 {
54925 return f != $ac_func;
54926 ;
54927 return 0;
54928 }
54929 _ACEOF
54930 rm -f conftest.$ac_objext conftest$ac_exeext
54931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54932 (eval $ac_link) 2>conftest.er1
54933 ac_status=$?
54934 grep -v '^ *+' conftest.er1 >conftest.err
54935 rm -f conftest.er1
54936 cat conftest.err >&5
54937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54938 (exit $ac_status); } &&
54939 { ac_try='test -z "$ac_c_werror_flag"
54940 || test ! -s conftest.err'
54941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54942 (eval $ac_try) 2>&5
54943 ac_status=$?
54944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54945 (exit $ac_status); }; } &&
54946 { ac_try='test -s conftest$ac_exeext'
54947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54948 (eval $ac_try) 2>&5
54949 ac_status=$?
54950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54951 (exit $ac_status); }; }; then
54952 eval "$as_ac_var=yes"
54953 else
54954 echo "$as_me: failed program was:" >&5
54955 sed 's/^/| /' conftest.$ac_ext >&5
54956
54957 eval "$as_ac_var=no"
54958 fi
54959 rm -f conftest.err conftest.$ac_objext \
54960 conftest$ac_exeext conftest.$ac_ext
54961 fi
54962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54964 if test `eval echo '${'$as_ac_var'}'` = yes; then
54965 cat >>confdefs.h <<_ACEOF
54966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54967 _ACEOF
54968
54969 fi
54970 done
54971
54972 else
54973
54974 echo "$as_me:$LINENO: checking for _expl declaration" >&5
54975 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
54976 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54977 if test "${glibcxx_cv_func__expl_use+set}" = set; then
54978 echo $ECHO_N "(cached) $ECHO_C" >&6
54979 else
54980
54981
54982
54983 ac_ext=cc
54984 ac_cpp='$CXXCPP $CPPFLAGS'
54985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54988
54989 cat >conftest.$ac_ext <<_ACEOF
54990 /* confdefs.h. */
54991 _ACEOF
54992 cat confdefs.h >>conftest.$ac_ext
54993 cat >>conftest.$ac_ext <<_ACEOF
54994 /* end confdefs.h. */
54995 #include <math.h>
54996 #ifdef HAVE_IEEEFP_H
54997 #include <ieeefp.h>
54998 #endif
54999
55000 int
55001 main ()
55002 {
55003 _expl(0);
55004 ;
55005 return 0;
55006 }
55007 _ACEOF
55008 rm -f conftest.$ac_objext
55009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55010 (eval $ac_compile) 2>conftest.er1
55011 ac_status=$?
55012 grep -v '^ *+' conftest.er1 >conftest.err
55013 rm -f conftest.er1
55014 cat conftest.err >&5
55015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55016 (exit $ac_status); } &&
55017 { ac_try='test -z "$ac_cxx_werror_flag"
55018 || test ! -s conftest.err'
55019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55020 (eval $ac_try) 2>&5
55021 ac_status=$?
55022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55023 (exit $ac_status); }; } &&
55024 { ac_try='test -s conftest.$ac_objext'
55025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55026 (eval $ac_try) 2>&5
55027 ac_status=$?
55028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55029 (exit $ac_status); }; }; then
55030 glibcxx_cv_func__expl_use=yes
55031 else
55032 echo "$as_me: failed program was:" >&5
55033 sed 's/^/| /' conftest.$ac_ext >&5
55034
55035 glibcxx_cv_func__expl_use=no
55036 fi
55037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55038 ac_ext=c
55039 ac_cpp='$CPP $CPPFLAGS'
55040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55043
55044
55045 fi
55046
55047 fi
55048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
55049 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
55050
55051 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55052
55053 for ac_func in _expl
55054 do
55055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55056 echo "$as_me:$LINENO: checking for $ac_func" >&5
55057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55058 if eval "test \"\${$as_ac_var+set}\" = set"; then
55059 echo $ECHO_N "(cached) $ECHO_C" >&6
55060 else
55061 if test x$gcc_no_link = xyes; then
55062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55064 { (exit 1); exit 1; }; }
55065 fi
55066 cat >conftest.$ac_ext <<_ACEOF
55067 /* confdefs.h. */
55068 _ACEOF
55069 cat confdefs.h >>conftest.$ac_ext
55070 cat >>conftest.$ac_ext <<_ACEOF
55071 /* end confdefs.h. */
55072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55074 #define $ac_func innocuous_$ac_func
55075
55076 /* System header to define __stub macros and hopefully few prototypes,
55077 which can conflict with char $ac_func (); below.
55078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55079 <limits.h> exists even on freestanding compilers. */
55080
55081 #ifdef __STDC__
55082 # include <limits.h>
55083 #else
55084 # include <assert.h>
55085 #endif
55086
55087 #undef $ac_func
55088
55089 /* Override any gcc2 internal prototype to avoid an error. */
55090 #ifdef __cplusplus
55091 extern "C"
55092 {
55093 #endif
55094 /* We use char because int might match the return type of a gcc2
55095 builtin and then its argument prototype would still apply. */
55096 char $ac_func ();
55097 /* The GNU C library defines this for functions which it implements
55098 to always fail with ENOSYS. Some functions are actually named
55099 something starting with __ and the normal name is an alias. */
55100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55101 choke me
55102 #else
55103 char (*f) () = $ac_func;
55104 #endif
55105 #ifdef __cplusplus
55106 }
55107 #endif
55108
55109 int
55110 main ()
55111 {
55112 return f != $ac_func;
55113 ;
55114 return 0;
55115 }
55116 _ACEOF
55117 rm -f conftest.$ac_objext conftest$ac_exeext
55118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55119 (eval $ac_link) 2>conftest.er1
55120 ac_status=$?
55121 grep -v '^ *+' conftest.er1 >conftest.err
55122 rm -f conftest.er1
55123 cat conftest.err >&5
55124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55125 (exit $ac_status); } &&
55126 { ac_try='test -z "$ac_c_werror_flag"
55127 || test ! -s conftest.err'
55128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55129 (eval $ac_try) 2>&5
55130 ac_status=$?
55131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55132 (exit $ac_status); }; } &&
55133 { ac_try='test -s conftest$ac_exeext'
55134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55135 (eval $ac_try) 2>&5
55136 ac_status=$?
55137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55138 (exit $ac_status); }; }; then
55139 eval "$as_ac_var=yes"
55140 else
55141 echo "$as_me: failed program was:" >&5
55142 sed 's/^/| /' conftest.$ac_ext >&5
55143
55144 eval "$as_ac_var=no"
55145 fi
55146 rm -f conftest.err conftest.$ac_objext \
55147 conftest$ac_exeext conftest.$ac_ext
55148 fi
55149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55151 if test `eval echo '${'$as_ac_var'}'` = yes; then
55152 cat >>confdefs.h <<_ACEOF
55153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55154 _ACEOF
55155
55156 fi
55157 done
55158
55159 fi
55160 fi
55161
55162
55163
55164
55165
55166
55167 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
55168 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
55169 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55170 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
55171 echo $ECHO_N "(cached) $ECHO_C" >&6
55172 else
55173
55174
55175
55176 ac_ext=cc
55177 ac_cpp='$CXXCPP $CPPFLAGS'
55178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55181
55182 cat >conftest.$ac_ext <<_ACEOF
55183 /* confdefs.h. */
55184 _ACEOF
55185 cat confdefs.h >>conftest.$ac_ext
55186 cat >>conftest.$ac_ext <<_ACEOF
55187 /* end confdefs.h. */
55188 #include <math.h>
55189 #ifdef HAVE_IEEEFP_H
55190 #include <ieeefp.h>
55191 #endif
55192
55193 int
55194 main ()
55195 {
55196 fabsl(0);
55197 ;
55198 return 0;
55199 }
55200 _ACEOF
55201 rm -f conftest.$ac_objext
55202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55203 (eval $ac_compile) 2>conftest.er1
55204 ac_status=$?
55205 grep -v '^ *+' conftest.er1 >conftest.err
55206 rm -f conftest.er1
55207 cat conftest.err >&5
55208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55209 (exit $ac_status); } &&
55210 { ac_try='test -z "$ac_cxx_werror_flag"
55211 || test ! -s conftest.err'
55212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55213 (eval $ac_try) 2>&5
55214 ac_status=$?
55215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55216 (exit $ac_status); }; } &&
55217 { ac_try='test -s conftest.$ac_objext'
55218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55219 (eval $ac_try) 2>&5
55220 ac_status=$?
55221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55222 (exit $ac_status); }; }; then
55223 glibcxx_cv_func_fabsl_use=yes
55224 else
55225 echo "$as_me: failed program was:" >&5
55226 sed 's/^/| /' conftest.$ac_ext >&5
55227
55228 glibcxx_cv_func_fabsl_use=no
55229 fi
55230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55231 ac_ext=c
55232 ac_cpp='$CPP $CPPFLAGS'
55233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55236
55237
55238 fi
55239
55240 fi
55241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
55242 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
55243
55244 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55245
55246 for ac_func in fabsl
55247 do
55248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55249 echo "$as_me:$LINENO: checking for $ac_func" >&5
55250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55251 if eval "test \"\${$as_ac_var+set}\" = set"; then
55252 echo $ECHO_N "(cached) $ECHO_C" >&6
55253 else
55254 if test x$gcc_no_link = xyes; then
55255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55257 { (exit 1); exit 1; }; }
55258 fi
55259 cat >conftest.$ac_ext <<_ACEOF
55260 /* confdefs.h. */
55261 _ACEOF
55262 cat confdefs.h >>conftest.$ac_ext
55263 cat >>conftest.$ac_ext <<_ACEOF
55264 /* end confdefs.h. */
55265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55267 #define $ac_func innocuous_$ac_func
55268
55269 /* System header to define __stub macros and hopefully few prototypes,
55270 which can conflict with char $ac_func (); below.
55271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55272 <limits.h> exists even on freestanding compilers. */
55273
55274 #ifdef __STDC__
55275 # include <limits.h>
55276 #else
55277 # include <assert.h>
55278 #endif
55279
55280 #undef $ac_func
55281
55282 /* Override any gcc2 internal prototype to avoid an error. */
55283 #ifdef __cplusplus
55284 extern "C"
55285 {
55286 #endif
55287 /* We use char because int might match the return type of a gcc2
55288 builtin and then its argument prototype would still apply. */
55289 char $ac_func ();
55290 /* The GNU C library defines this for functions which it implements
55291 to always fail with ENOSYS. Some functions are actually named
55292 something starting with __ and the normal name is an alias. */
55293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55294 choke me
55295 #else
55296 char (*f) () = $ac_func;
55297 #endif
55298 #ifdef __cplusplus
55299 }
55300 #endif
55301
55302 int
55303 main ()
55304 {
55305 return f != $ac_func;
55306 ;
55307 return 0;
55308 }
55309 _ACEOF
55310 rm -f conftest.$ac_objext conftest$ac_exeext
55311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55312 (eval $ac_link) 2>conftest.er1
55313 ac_status=$?
55314 grep -v '^ *+' conftest.er1 >conftest.err
55315 rm -f conftest.er1
55316 cat conftest.err >&5
55317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55318 (exit $ac_status); } &&
55319 { ac_try='test -z "$ac_c_werror_flag"
55320 || test ! -s conftest.err'
55321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55322 (eval $ac_try) 2>&5
55323 ac_status=$?
55324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55325 (exit $ac_status); }; } &&
55326 { ac_try='test -s conftest$ac_exeext'
55327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55328 (eval $ac_try) 2>&5
55329 ac_status=$?
55330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55331 (exit $ac_status); }; }; then
55332 eval "$as_ac_var=yes"
55333 else
55334 echo "$as_me: failed program was:" >&5
55335 sed 's/^/| /' conftest.$ac_ext >&5
55336
55337 eval "$as_ac_var=no"
55338 fi
55339 rm -f conftest.err conftest.$ac_objext \
55340 conftest$ac_exeext conftest.$ac_ext
55341 fi
55342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55344 if test `eval echo '${'$as_ac_var'}'` = yes; then
55345 cat >>confdefs.h <<_ACEOF
55346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55347 _ACEOF
55348
55349 fi
55350 done
55351
55352 else
55353
55354 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
55355 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
55356 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55357 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
55358 echo $ECHO_N "(cached) $ECHO_C" >&6
55359 else
55360
55361
55362
55363 ac_ext=cc
55364 ac_cpp='$CXXCPP $CPPFLAGS'
55365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55368
55369 cat >conftest.$ac_ext <<_ACEOF
55370 /* confdefs.h. */
55371 _ACEOF
55372 cat confdefs.h >>conftest.$ac_ext
55373 cat >>conftest.$ac_ext <<_ACEOF
55374 /* end confdefs.h. */
55375 #include <math.h>
55376 #ifdef HAVE_IEEEFP_H
55377 #include <ieeefp.h>
55378 #endif
55379
55380 int
55381 main ()
55382 {
55383 _fabsl(0);
55384 ;
55385 return 0;
55386 }
55387 _ACEOF
55388 rm -f conftest.$ac_objext
55389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55390 (eval $ac_compile) 2>conftest.er1
55391 ac_status=$?
55392 grep -v '^ *+' conftest.er1 >conftest.err
55393 rm -f conftest.er1
55394 cat conftest.err >&5
55395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55396 (exit $ac_status); } &&
55397 { ac_try='test -z "$ac_cxx_werror_flag"
55398 || test ! -s conftest.err'
55399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55400 (eval $ac_try) 2>&5
55401 ac_status=$?
55402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55403 (exit $ac_status); }; } &&
55404 { ac_try='test -s conftest.$ac_objext'
55405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55406 (eval $ac_try) 2>&5
55407 ac_status=$?
55408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55409 (exit $ac_status); }; }; then
55410 glibcxx_cv_func__fabsl_use=yes
55411 else
55412 echo "$as_me: failed program was:" >&5
55413 sed 's/^/| /' conftest.$ac_ext >&5
55414
55415 glibcxx_cv_func__fabsl_use=no
55416 fi
55417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55418 ac_ext=c
55419 ac_cpp='$CPP $CPPFLAGS'
55420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55423
55424
55425 fi
55426
55427 fi
55428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
55429 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
55430
55431 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55432
55433 for ac_func in _fabsl
55434 do
55435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55436 echo "$as_me:$LINENO: checking for $ac_func" >&5
55437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55438 if eval "test \"\${$as_ac_var+set}\" = set"; then
55439 echo $ECHO_N "(cached) $ECHO_C" >&6
55440 else
55441 if test x$gcc_no_link = xyes; then
55442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55444 { (exit 1); exit 1; }; }
55445 fi
55446 cat >conftest.$ac_ext <<_ACEOF
55447 /* confdefs.h. */
55448 _ACEOF
55449 cat confdefs.h >>conftest.$ac_ext
55450 cat >>conftest.$ac_ext <<_ACEOF
55451 /* end confdefs.h. */
55452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55454 #define $ac_func innocuous_$ac_func
55455
55456 /* System header to define __stub macros and hopefully few prototypes,
55457 which can conflict with char $ac_func (); below.
55458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55459 <limits.h> exists even on freestanding compilers. */
55460
55461 #ifdef __STDC__
55462 # include <limits.h>
55463 #else
55464 # include <assert.h>
55465 #endif
55466
55467 #undef $ac_func
55468
55469 /* Override any gcc2 internal prototype to avoid an error. */
55470 #ifdef __cplusplus
55471 extern "C"
55472 {
55473 #endif
55474 /* We use char because int might match the return type of a gcc2
55475 builtin and then its argument prototype would still apply. */
55476 char $ac_func ();
55477 /* The GNU C library defines this for functions which it implements
55478 to always fail with ENOSYS. Some functions are actually named
55479 something starting with __ and the normal name is an alias. */
55480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55481 choke me
55482 #else
55483 char (*f) () = $ac_func;
55484 #endif
55485 #ifdef __cplusplus
55486 }
55487 #endif
55488
55489 int
55490 main ()
55491 {
55492 return f != $ac_func;
55493 ;
55494 return 0;
55495 }
55496 _ACEOF
55497 rm -f conftest.$ac_objext conftest$ac_exeext
55498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55499 (eval $ac_link) 2>conftest.er1
55500 ac_status=$?
55501 grep -v '^ *+' conftest.er1 >conftest.err
55502 rm -f conftest.er1
55503 cat conftest.err >&5
55504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55505 (exit $ac_status); } &&
55506 { ac_try='test -z "$ac_c_werror_flag"
55507 || test ! -s conftest.err'
55508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55509 (eval $ac_try) 2>&5
55510 ac_status=$?
55511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55512 (exit $ac_status); }; } &&
55513 { ac_try='test -s conftest$ac_exeext'
55514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55515 (eval $ac_try) 2>&5
55516 ac_status=$?
55517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55518 (exit $ac_status); }; }; then
55519 eval "$as_ac_var=yes"
55520 else
55521 echo "$as_me: failed program was:" >&5
55522 sed 's/^/| /' conftest.$ac_ext >&5
55523
55524 eval "$as_ac_var=no"
55525 fi
55526 rm -f conftest.err conftest.$ac_objext \
55527 conftest$ac_exeext conftest.$ac_ext
55528 fi
55529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55531 if test `eval echo '${'$as_ac_var'}'` = yes; then
55532 cat >>confdefs.h <<_ACEOF
55533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55534 _ACEOF
55535
55536 fi
55537 done
55538
55539 fi
55540 fi
55541
55542
55543
55544
55545
55546
55547 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
55548 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
55549 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55550 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
55551 echo $ECHO_N "(cached) $ECHO_C" >&6
55552 else
55553
55554
55555
55556 ac_ext=cc
55557 ac_cpp='$CXXCPP $CPPFLAGS'
55558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55561
55562 cat >conftest.$ac_ext <<_ACEOF
55563 /* confdefs.h. */
55564 _ACEOF
55565 cat confdefs.h >>conftest.$ac_ext
55566 cat >>conftest.$ac_ext <<_ACEOF
55567 /* end confdefs.h. */
55568 #include <math.h>
55569 int
55570 main ()
55571 {
55572 fmodl(0, 0);
55573 ;
55574 return 0;
55575 }
55576 _ACEOF
55577 rm -f conftest.$ac_objext
55578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55579 (eval $ac_compile) 2>conftest.er1
55580 ac_status=$?
55581 grep -v '^ *+' conftest.er1 >conftest.err
55582 rm -f conftest.er1
55583 cat conftest.err >&5
55584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55585 (exit $ac_status); } &&
55586 { ac_try='test -z "$ac_cxx_werror_flag"
55587 || test ! -s conftest.err'
55588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55589 (eval $ac_try) 2>&5
55590 ac_status=$?
55591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55592 (exit $ac_status); }; } &&
55593 { ac_try='test -s conftest.$ac_objext'
55594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55595 (eval $ac_try) 2>&5
55596 ac_status=$?
55597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55598 (exit $ac_status); }; }; then
55599 glibcxx_cv_func_fmodl_use=yes
55600 else
55601 echo "$as_me: failed program was:" >&5
55602 sed 's/^/| /' conftest.$ac_ext >&5
55603
55604 glibcxx_cv_func_fmodl_use=no
55605 fi
55606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55607 ac_ext=c
55608 ac_cpp='$CPP $CPPFLAGS'
55609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55612
55613
55614 fi
55615
55616 fi
55617 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
55618 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
55619
55620 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55621
55622 for ac_func in fmodl
55623 do
55624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55625 echo "$as_me:$LINENO: checking for $ac_func" >&5
55626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55627 if eval "test \"\${$as_ac_var+set}\" = set"; then
55628 echo $ECHO_N "(cached) $ECHO_C" >&6
55629 else
55630 if test x$gcc_no_link = xyes; then
55631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55633 { (exit 1); exit 1; }; }
55634 fi
55635 cat >conftest.$ac_ext <<_ACEOF
55636 /* confdefs.h. */
55637 _ACEOF
55638 cat confdefs.h >>conftest.$ac_ext
55639 cat >>conftest.$ac_ext <<_ACEOF
55640 /* end confdefs.h. */
55641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55643 #define $ac_func innocuous_$ac_func
55644
55645 /* System header to define __stub macros and hopefully few prototypes,
55646 which can conflict with char $ac_func (); below.
55647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55648 <limits.h> exists even on freestanding compilers. */
55649
55650 #ifdef __STDC__
55651 # include <limits.h>
55652 #else
55653 # include <assert.h>
55654 #endif
55655
55656 #undef $ac_func
55657
55658 /* Override any gcc2 internal prototype to avoid an error. */
55659 #ifdef __cplusplus
55660 extern "C"
55661 {
55662 #endif
55663 /* We use char because int might match the return type of a gcc2
55664 builtin and then its argument prototype would still apply. */
55665 char $ac_func ();
55666 /* The GNU C library defines this for functions which it implements
55667 to always fail with ENOSYS. Some functions are actually named
55668 something starting with __ and the normal name is an alias. */
55669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55670 choke me
55671 #else
55672 char (*f) () = $ac_func;
55673 #endif
55674 #ifdef __cplusplus
55675 }
55676 #endif
55677
55678 int
55679 main ()
55680 {
55681 return f != $ac_func;
55682 ;
55683 return 0;
55684 }
55685 _ACEOF
55686 rm -f conftest.$ac_objext conftest$ac_exeext
55687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55688 (eval $ac_link) 2>conftest.er1
55689 ac_status=$?
55690 grep -v '^ *+' conftest.er1 >conftest.err
55691 rm -f conftest.er1
55692 cat conftest.err >&5
55693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55694 (exit $ac_status); } &&
55695 { ac_try='test -z "$ac_c_werror_flag"
55696 || test ! -s conftest.err'
55697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55698 (eval $ac_try) 2>&5
55699 ac_status=$?
55700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55701 (exit $ac_status); }; } &&
55702 { ac_try='test -s conftest$ac_exeext'
55703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55704 (eval $ac_try) 2>&5
55705 ac_status=$?
55706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55707 (exit $ac_status); }; }; then
55708 eval "$as_ac_var=yes"
55709 else
55710 echo "$as_me: failed program was:" >&5
55711 sed 's/^/| /' conftest.$ac_ext >&5
55712
55713 eval "$as_ac_var=no"
55714 fi
55715 rm -f conftest.err conftest.$ac_objext \
55716 conftest$ac_exeext conftest.$ac_ext
55717 fi
55718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55720 if test `eval echo '${'$as_ac_var'}'` = yes; then
55721 cat >>confdefs.h <<_ACEOF
55722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55723 _ACEOF
55724
55725 fi
55726 done
55727
55728 else
55729
55730 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
55731 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
55732 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55733 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
55734 echo $ECHO_N "(cached) $ECHO_C" >&6
55735 else
55736
55737
55738
55739 ac_ext=cc
55740 ac_cpp='$CXXCPP $CPPFLAGS'
55741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55744
55745 cat >conftest.$ac_ext <<_ACEOF
55746 /* confdefs.h. */
55747 _ACEOF
55748 cat confdefs.h >>conftest.$ac_ext
55749 cat >>conftest.$ac_ext <<_ACEOF
55750 /* end confdefs.h. */
55751 #include <math.h>
55752 int
55753 main ()
55754 {
55755 _fmodl(0, 0);
55756 ;
55757 return 0;
55758 }
55759 _ACEOF
55760 rm -f conftest.$ac_objext
55761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55762 (eval $ac_compile) 2>conftest.er1
55763 ac_status=$?
55764 grep -v '^ *+' conftest.er1 >conftest.err
55765 rm -f conftest.er1
55766 cat conftest.err >&5
55767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55768 (exit $ac_status); } &&
55769 { ac_try='test -z "$ac_cxx_werror_flag"
55770 || test ! -s conftest.err'
55771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55772 (eval $ac_try) 2>&5
55773 ac_status=$?
55774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55775 (exit $ac_status); }; } &&
55776 { ac_try='test -s conftest.$ac_objext'
55777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55778 (eval $ac_try) 2>&5
55779 ac_status=$?
55780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55781 (exit $ac_status); }; }; then
55782 glibcxx_cv_func__fmodl_use=yes
55783 else
55784 echo "$as_me: failed program was:" >&5
55785 sed 's/^/| /' conftest.$ac_ext >&5
55786
55787 glibcxx_cv_func__fmodl_use=no
55788 fi
55789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55790 ac_ext=c
55791 ac_cpp='$CPP $CPPFLAGS'
55792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55795
55796
55797 fi
55798
55799 fi
55800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
55801 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
55802
55803 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55804
55805 for ac_func in _fmodl
55806 do
55807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55808 echo "$as_me:$LINENO: checking for $ac_func" >&5
55809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55810 if eval "test \"\${$as_ac_var+set}\" = set"; then
55811 echo $ECHO_N "(cached) $ECHO_C" >&6
55812 else
55813 if test x$gcc_no_link = xyes; then
55814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55816 { (exit 1); exit 1; }; }
55817 fi
55818 cat >conftest.$ac_ext <<_ACEOF
55819 /* confdefs.h. */
55820 _ACEOF
55821 cat confdefs.h >>conftest.$ac_ext
55822 cat >>conftest.$ac_ext <<_ACEOF
55823 /* end confdefs.h. */
55824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55826 #define $ac_func innocuous_$ac_func
55827
55828 /* System header to define __stub macros and hopefully few prototypes,
55829 which can conflict with char $ac_func (); below.
55830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55831 <limits.h> exists even on freestanding compilers. */
55832
55833 #ifdef __STDC__
55834 # include <limits.h>
55835 #else
55836 # include <assert.h>
55837 #endif
55838
55839 #undef $ac_func
55840
55841 /* Override any gcc2 internal prototype to avoid an error. */
55842 #ifdef __cplusplus
55843 extern "C"
55844 {
55845 #endif
55846 /* We use char because int might match the return type of a gcc2
55847 builtin and then its argument prototype would still apply. */
55848 char $ac_func ();
55849 /* The GNU C library defines this for functions which it implements
55850 to always fail with ENOSYS. Some functions are actually named
55851 something starting with __ and the normal name is an alias. */
55852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55853 choke me
55854 #else
55855 char (*f) () = $ac_func;
55856 #endif
55857 #ifdef __cplusplus
55858 }
55859 #endif
55860
55861 int
55862 main ()
55863 {
55864 return f != $ac_func;
55865 ;
55866 return 0;
55867 }
55868 _ACEOF
55869 rm -f conftest.$ac_objext conftest$ac_exeext
55870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55871 (eval $ac_link) 2>conftest.er1
55872 ac_status=$?
55873 grep -v '^ *+' conftest.er1 >conftest.err
55874 rm -f conftest.er1
55875 cat conftest.err >&5
55876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55877 (exit $ac_status); } &&
55878 { ac_try='test -z "$ac_c_werror_flag"
55879 || test ! -s conftest.err'
55880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55881 (eval $ac_try) 2>&5
55882 ac_status=$?
55883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55884 (exit $ac_status); }; } &&
55885 { ac_try='test -s conftest$ac_exeext'
55886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55887 (eval $ac_try) 2>&5
55888 ac_status=$?
55889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55890 (exit $ac_status); }; }; then
55891 eval "$as_ac_var=yes"
55892 else
55893 echo "$as_me: failed program was:" >&5
55894 sed 's/^/| /' conftest.$ac_ext >&5
55895
55896 eval "$as_ac_var=no"
55897 fi
55898 rm -f conftest.err conftest.$ac_objext \
55899 conftest$ac_exeext conftest.$ac_ext
55900 fi
55901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55903 if test `eval echo '${'$as_ac_var'}'` = yes; then
55904 cat >>confdefs.h <<_ACEOF
55905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55906 _ACEOF
55907
55908 fi
55909 done
55910
55911 fi
55912 fi
55913
55914
55915
55916
55917
55918
55919 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
55920 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
55921 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55922 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
55923 echo $ECHO_N "(cached) $ECHO_C" >&6
55924 else
55925
55926
55927
55928 ac_ext=cc
55929 ac_cpp='$CXXCPP $CPPFLAGS'
55930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55933
55934 cat >conftest.$ac_ext <<_ACEOF
55935 /* confdefs.h. */
55936 _ACEOF
55937 cat confdefs.h >>conftest.$ac_ext
55938 cat >>conftest.$ac_ext <<_ACEOF
55939 /* end confdefs.h. */
55940 #include <math.h>
55941 int
55942 main ()
55943 {
55944 frexpl(0, 0);
55945 ;
55946 return 0;
55947 }
55948 _ACEOF
55949 rm -f conftest.$ac_objext
55950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55951 (eval $ac_compile) 2>conftest.er1
55952 ac_status=$?
55953 grep -v '^ *+' conftest.er1 >conftest.err
55954 rm -f conftest.er1
55955 cat conftest.err >&5
55956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55957 (exit $ac_status); } &&
55958 { ac_try='test -z "$ac_cxx_werror_flag"
55959 || test ! -s conftest.err'
55960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55961 (eval $ac_try) 2>&5
55962 ac_status=$?
55963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55964 (exit $ac_status); }; } &&
55965 { ac_try='test -s conftest.$ac_objext'
55966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55967 (eval $ac_try) 2>&5
55968 ac_status=$?
55969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55970 (exit $ac_status); }; }; then
55971 glibcxx_cv_func_frexpl_use=yes
55972 else
55973 echo "$as_me: failed program was:" >&5
55974 sed 's/^/| /' conftest.$ac_ext >&5
55975
55976 glibcxx_cv_func_frexpl_use=no
55977 fi
55978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55979 ac_ext=c
55980 ac_cpp='$CPP $CPPFLAGS'
55981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55984
55985
55986 fi
55987
55988 fi
55989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
55990 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
55991
55992 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55993
55994 for ac_func in frexpl
55995 do
55996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55997 echo "$as_me:$LINENO: checking for $ac_func" >&5
55998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55999 if eval "test \"\${$as_ac_var+set}\" = set"; then
56000 echo $ECHO_N "(cached) $ECHO_C" >&6
56001 else
56002 if test x$gcc_no_link = xyes; then
56003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56005 { (exit 1); exit 1; }; }
56006 fi
56007 cat >conftest.$ac_ext <<_ACEOF
56008 /* confdefs.h. */
56009 _ACEOF
56010 cat confdefs.h >>conftest.$ac_ext
56011 cat >>conftest.$ac_ext <<_ACEOF
56012 /* end confdefs.h. */
56013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56015 #define $ac_func innocuous_$ac_func
56016
56017 /* System header to define __stub macros and hopefully few prototypes,
56018 which can conflict with char $ac_func (); below.
56019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56020 <limits.h> exists even on freestanding compilers. */
56021
56022 #ifdef __STDC__
56023 # include <limits.h>
56024 #else
56025 # include <assert.h>
56026 #endif
56027
56028 #undef $ac_func
56029
56030 /* Override any gcc2 internal prototype to avoid an error. */
56031 #ifdef __cplusplus
56032 extern "C"
56033 {
56034 #endif
56035 /* We use char because int might match the return type of a gcc2
56036 builtin and then its argument prototype would still apply. */
56037 char $ac_func ();
56038 /* The GNU C library defines this for functions which it implements
56039 to always fail with ENOSYS. Some functions are actually named
56040 something starting with __ and the normal name is an alias. */
56041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56042 choke me
56043 #else
56044 char (*f) () = $ac_func;
56045 #endif
56046 #ifdef __cplusplus
56047 }
56048 #endif
56049
56050 int
56051 main ()
56052 {
56053 return f != $ac_func;
56054 ;
56055 return 0;
56056 }
56057 _ACEOF
56058 rm -f conftest.$ac_objext conftest$ac_exeext
56059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56060 (eval $ac_link) 2>conftest.er1
56061 ac_status=$?
56062 grep -v '^ *+' conftest.er1 >conftest.err
56063 rm -f conftest.er1
56064 cat conftest.err >&5
56065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56066 (exit $ac_status); } &&
56067 { ac_try='test -z "$ac_c_werror_flag"
56068 || test ! -s conftest.err'
56069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56070 (eval $ac_try) 2>&5
56071 ac_status=$?
56072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56073 (exit $ac_status); }; } &&
56074 { ac_try='test -s conftest$ac_exeext'
56075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56076 (eval $ac_try) 2>&5
56077 ac_status=$?
56078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56079 (exit $ac_status); }; }; then
56080 eval "$as_ac_var=yes"
56081 else
56082 echo "$as_me: failed program was:" >&5
56083 sed 's/^/| /' conftest.$ac_ext >&5
56084
56085 eval "$as_ac_var=no"
56086 fi
56087 rm -f conftest.err conftest.$ac_objext \
56088 conftest$ac_exeext conftest.$ac_ext
56089 fi
56090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56092 if test `eval echo '${'$as_ac_var'}'` = yes; then
56093 cat >>confdefs.h <<_ACEOF
56094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56095 _ACEOF
56096
56097 fi
56098 done
56099
56100 else
56101
56102 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
56103 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
56104 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56105 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
56106 echo $ECHO_N "(cached) $ECHO_C" >&6
56107 else
56108
56109
56110
56111 ac_ext=cc
56112 ac_cpp='$CXXCPP $CPPFLAGS'
56113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56116
56117 cat >conftest.$ac_ext <<_ACEOF
56118 /* confdefs.h. */
56119 _ACEOF
56120 cat confdefs.h >>conftest.$ac_ext
56121 cat >>conftest.$ac_ext <<_ACEOF
56122 /* end confdefs.h. */
56123 #include <math.h>
56124 int
56125 main ()
56126 {
56127 _frexpl(0, 0);
56128 ;
56129 return 0;
56130 }
56131 _ACEOF
56132 rm -f conftest.$ac_objext
56133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56134 (eval $ac_compile) 2>conftest.er1
56135 ac_status=$?
56136 grep -v '^ *+' conftest.er1 >conftest.err
56137 rm -f conftest.er1
56138 cat conftest.err >&5
56139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56140 (exit $ac_status); } &&
56141 { ac_try='test -z "$ac_cxx_werror_flag"
56142 || test ! -s conftest.err'
56143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56144 (eval $ac_try) 2>&5
56145 ac_status=$?
56146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56147 (exit $ac_status); }; } &&
56148 { ac_try='test -s conftest.$ac_objext'
56149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56150 (eval $ac_try) 2>&5
56151 ac_status=$?
56152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56153 (exit $ac_status); }; }; then
56154 glibcxx_cv_func__frexpl_use=yes
56155 else
56156 echo "$as_me: failed program was:" >&5
56157 sed 's/^/| /' conftest.$ac_ext >&5
56158
56159 glibcxx_cv_func__frexpl_use=no
56160 fi
56161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56162 ac_ext=c
56163 ac_cpp='$CPP $CPPFLAGS'
56164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56167
56168
56169 fi
56170
56171 fi
56172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
56173 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
56174
56175 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56176
56177 for ac_func in _frexpl
56178 do
56179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56180 echo "$as_me:$LINENO: checking for $ac_func" >&5
56181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56182 if eval "test \"\${$as_ac_var+set}\" = set"; then
56183 echo $ECHO_N "(cached) $ECHO_C" >&6
56184 else
56185 if test x$gcc_no_link = xyes; then
56186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56188 { (exit 1); exit 1; }; }
56189 fi
56190 cat >conftest.$ac_ext <<_ACEOF
56191 /* confdefs.h. */
56192 _ACEOF
56193 cat confdefs.h >>conftest.$ac_ext
56194 cat >>conftest.$ac_ext <<_ACEOF
56195 /* end confdefs.h. */
56196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56198 #define $ac_func innocuous_$ac_func
56199
56200 /* System header to define __stub macros and hopefully few prototypes,
56201 which can conflict with char $ac_func (); below.
56202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56203 <limits.h> exists even on freestanding compilers. */
56204
56205 #ifdef __STDC__
56206 # include <limits.h>
56207 #else
56208 # include <assert.h>
56209 #endif
56210
56211 #undef $ac_func
56212
56213 /* Override any gcc2 internal prototype to avoid an error. */
56214 #ifdef __cplusplus
56215 extern "C"
56216 {
56217 #endif
56218 /* We use char because int might match the return type of a gcc2
56219 builtin and then its argument prototype would still apply. */
56220 char $ac_func ();
56221 /* The GNU C library defines this for functions which it implements
56222 to always fail with ENOSYS. Some functions are actually named
56223 something starting with __ and the normal name is an alias. */
56224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56225 choke me
56226 #else
56227 char (*f) () = $ac_func;
56228 #endif
56229 #ifdef __cplusplus
56230 }
56231 #endif
56232
56233 int
56234 main ()
56235 {
56236 return f != $ac_func;
56237 ;
56238 return 0;
56239 }
56240 _ACEOF
56241 rm -f conftest.$ac_objext conftest$ac_exeext
56242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56243 (eval $ac_link) 2>conftest.er1
56244 ac_status=$?
56245 grep -v '^ *+' conftest.er1 >conftest.err
56246 rm -f conftest.er1
56247 cat conftest.err >&5
56248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56249 (exit $ac_status); } &&
56250 { ac_try='test -z "$ac_c_werror_flag"
56251 || test ! -s conftest.err'
56252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56253 (eval $ac_try) 2>&5
56254 ac_status=$?
56255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56256 (exit $ac_status); }; } &&
56257 { ac_try='test -s conftest$ac_exeext'
56258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56259 (eval $ac_try) 2>&5
56260 ac_status=$?
56261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56262 (exit $ac_status); }; }; then
56263 eval "$as_ac_var=yes"
56264 else
56265 echo "$as_me: failed program was:" >&5
56266 sed 's/^/| /' conftest.$ac_ext >&5
56267
56268 eval "$as_ac_var=no"
56269 fi
56270 rm -f conftest.err conftest.$ac_objext \
56271 conftest$ac_exeext conftest.$ac_ext
56272 fi
56273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56275 if test `eval echo '${'$as_ac_var'}'` = yes; then
56276 cat >>confdefs.h <<_ACEOF
56277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56278 _ACEOF
56279
56280 fi
56281 done
56282
56283 fi
56284 fi
56285
56286
56287
56288
56289
56290
56291 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
56292 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
56293 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56294 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
56295 echo $ECHO_N "(cached) $ECHO_C" >&6
56296 else
56297
56298
56299
56300 ac_ext=cc
56301 ac_cpp='$CXXCPP $CPPFLAGS'
56302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56305
56306 cat >conftest.$ac_ext <<_ACEOF
56307 /* confdefs.h. */
56308 _ACEOF
56309 cat confdefs.h >>conftest.$ac_ext
56310 cat >>conftest.$ac_ext <<_ACEOF
56311 /* end confdefs.h. */
56312 #include <math.h>
56313 int
56314 main ()
56315 {
56316 hypotl(0, 0);
56317 ;
56318 return 0;
56319 }
56320 _ACEOF
56321 rm -f conftest.$ac_objext
56322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56323 (eval $ac_compile) 2>conftest.er1
56324 ac_status=$?
56325 grep -v '^ *+' conftest.er1 >conftest.err
56326 rm -f conftest.er1
56327 cat conftest.err >&5
56328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56329 (exit $ac_status); } &&
56330 { ac_try='test -z "$ac_cxx_werror_flag"
56331 || test ! -s conftest.err'
56332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56333 (eval $ac_try) 2>&5
56334 ac_status=$?
56335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56336 (exit $ac_status); }; } &&
56337 { ac_try='test -s conftest.$ac_objext'
56338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56339 (eval $ac_try) 2>&5
56340 ac_status=$?
56341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56342 (exit $ac_status); }; }; then
56343 glibcxx_cv_func_hypotl_use=yes
56344 else
56345 echo "$as_me: failed program was:" >&5
56346 sed 's/^/| /' conftest.$ac_ext >&5
56347
56348 glibcxx_cv_func_hypotl_use=no
56349 fi
56350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56351 ac_ext=c
56352 ac_cpp='$CPP $CPPFLAGS'
56353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56356
56357
56358 fi
56359
56360 fi
56361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
56362 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
56363
56364 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56365
56366 for ac_func in hypotl
56367 do
56368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56369 echo "$as_me:$LINENO: checking for $ac_func" >&5
56370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56371 if eval "test \"\${$as_ac_var+set}\" = set"; then
56372 echo $ECHO_N "(cached) $ECHO_C" >&6
56373 else
56374 if test x$gcc_no_link = xyes; then
56375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56377 { (exit 1); exit 1; }; }
56378 fi
56379 cat >conftest.$ac_ext <<_ACEOF
56380 /* confdefs.h. */
56381 _ACEOF
56382 cat confdefs.h >>conftest.$ac_ext
56383 cat >>conftest.$ac_ext <<_ACEOF
56384 /* end confdefs.h. */
56385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56387 #define $ac_func innocuous_$ac_func
56388
56389 /* System header to define __stub macros and hopefully few prototypes,
56390 which can conflict with char $ac_func (); below.
56391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56392 <limits.h> exists even on freestanding compilers. */
56393
56394 #ifdef __STDC__
56395 # include <limits.h>
56396 #else
56397 # include <assert.h>
56398 #endif
56399
56400 #undef $ac_func
56401
56402 /* Override any gcc2 internal prototype to avoid an error. */
56403 #ifdef __cplusplus
56404 extern "C"
56405 {
56406 #endif
56407 /* We use char because int might match the return type of a gcc2
56408 builtin and then its argument prototype would still apply. */
56409 char $ac_func ();
56410 /* The GNU C library defines this for functions which it implements
56411 to always fail with ENOSYS. Some functions are actually named
56412 something starting with __ and the normal name is an alias. */
56413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56414 choke me
56415 #else
56416 char (*f) () = $ac_func;
56417 #endif
56418 #ifdef __cplusplus
56419 }
56420 #endif
56421
56422 int
56423 main ()
56424 {
56425 return f != $ac_func;
56426 ;
56427 return 0;
56428 }
56429 _ACEOF
56430 rm -f conftest.$ac_objext conftest$ac_exeext
56431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56432 (eval $ac_link) 2>conftest.er1
56433 ac_status=$?
56434 grep -v '^ *+' conftest.er1 >conftest.err
56435 rm -f conftest.er1
56436 cat conftest.err >&5
56437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56438 (exit $ac_status); } &&
56439 { ac_try='test -z "$ac_c_werror_flag"
56440 || test ! -s conftest.err'
56441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56442 (eval $ac_try) 2>&5
56443 ac_status=$?
56444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56445 (exit $ac_status); }; } &&
56446 { ac_try='test -s conftest$ac_exeext'
56447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56448 (eval $ac_try) 2>&5
56449 ac_status=$?
56450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56451 (exit $ac_status); }; }; then
56452 eval "$as_ac_var=yes"
56453 else
56454 echo "$as_me: failed program was:" >&5
56455 sed 's/^/| /' conftest.$ac_ext >&5
56456
56457 eval "$as_ac_var=no"
56458 fi
56459 rm -f conftest.err conftest.$ac_objext \
56460 conftest$ac_exeext conftest.$ac_ext
56461 fi
56462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56464 if test `eval echo '${'$as_ac_var'}'` = yes; then
56465 cat >>confdefs.h <<_ACEOF
56466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56467 _ACEOF
56468
56469 fi
56470 done
56471
56472 else
56473
56474 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
56475 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
56476 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56477 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
56478 echo $ECHO_N "(cached) $ECHO_C" >&6
56479 else
56480
56481
56482
56483 ac_ext=cc
56484 ac_cpp='$CXXCPP $CPPFLAGS'
56485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56488
56489 cat >conftest.$ac_ext <<_ACEOF
56490 /* confdefs.h. */
56491 _ACEOF
56492 cat confdefs.h >>conftest.$ac_ext
56493 cat >>conftest.$ac_ext <<_ACEOF
56494 /* end confdefs.h. */
56495 #include <math.h>
56496 int
56497 main ()
56498 {
56499 _hypotl(0, 0);
56500 ;
56501 return 0;
56502 }
56503 _ACEOF
56504 rm -f conftest.$ac_objext
56505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56506 (eval $ac_compile) 2>conftest.er1
56507 ac_status=$?
56508 grep -v '^ *+' conftest.er1 >conftest.err
56509 rm -f conftest.er1
56510 cat conftest.err >&5
56511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56512 (exit $ac_status); } &&
56513 { ac_try='test -z "$ac_cxx_werror_flag"
56514 || test ! -s conftest.err'
56515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56516 (eval $ac_try) 2>&5
56517 ac_status=$?
56518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56519 (exit $ac_status); }; } &&
56520 { ac_try='test -s conftest.$ac_objext'
56521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56522 (eval $ac_try) 2>&5
56523 ac_status=$?
56524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56525 (exit $ac_status); }; }; then
56526 glibcxx_cv_func__hypotl_use=yes
56527 else
56528 echo "$as_me: failed program was:" >&5
56529 sed 's/^/| /' conftest.$ac_ext >&5
56530
56531 glibcxx_cv_func__hypotl_use=no
56532 fi
56533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56534 ac_ext=c
56535 ac_cpp='$CPP $CPPFLAGS'
56536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56539
56540
56541 fi
56542
56543 fi
56544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
56545 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
56546
56547 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56548
56549 for ac_func in _hypotl
56550 do
56551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56552 echo "$as_me:$LINENO: checking for $ac_func" >&5
56553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56554 if eval "test \"\${$as_ac_var+set}\" = set"; then
56555 echo $ECHO_N "(cached) $ECHO_C" >&6
56556 else
56557 if test x$gcc_no_link = xyes; then
56558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56560 { (exit 1); exit 1; }; }
56561 fi
56562 cat >conftest.$ac_ext <<_ACEOF
56563 /* confdefs.h. */
56564 _ACEOF
56565 cat confdefs.h >>conftest.$ac_ext
56566 cat >>conftest.$ac_ext <<_ACEOF
56567 /* end confdefs.h. */
56568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56570 #define $ac_func innocuous_$ac_func
56571
56572 /* System header to define __stub macros and hopefully few prototypes,
56573 which can conflict with char $ac_func (); below.
56574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56575 <limits.h> exists even on freestanding compilers. */
56576
56577 #ifdef __STDC__
56578 # include <limits.h>
56579 #else
56580 # include <assert.h>
56581 #endif
56582
56583 #undef $ac_func
56584
56585 /* Override any gcc2 internal prototype to avoid an error. */
56586 #ifdef __cplusplus
56587 extern "C"
56588 {
56589 #endif
56590 /* We use char because int might match the return type of a gcc2
56591 builtin and then its argument prototype would still apply. */
56592 char $ac_func ();
56593 /* The GNU C library defines this for functions which it implements
56594 to always fail with ENOSYS. Some functions are actually named
56595 something starting with __ and the normal name is an alias. */
56596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56597 choke me
56598 #else
56599 char (*f) () = $ac_func;
56600 #endif
56601 #ifdef __cplusplus
56602 }
56603 #endif
56604
56605 int
56606 main ()
56607 {
56608 return f != $ac_func;
56609 ;
56610 return 0;
56611 }
56612 _ACEOF
56613 rm -f conftest.$ac_objext conftest$ac_exeext
56614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56615 (eval $ac_link) 2>conftest.er1
56616 ac_status=$?
56617 grep -v '^ *+' conftest.er1 >conftest.err
56618 rm -f conftest.er1
56619 cat conftest.err >&5
56620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56621 (exit $ac_status); } &&
56622 { ac_try='test -z "$ac_c_werror_flag"
56623 || test ! -s conftest.err'
56624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56625 (eval $ac_try) 2>&5
56626 ac_status=$?
56627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56628 (exit $ac_status); }; } &&
56629 { ac_try='test -s conftest$ac_exeext'
56630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56631 (eval $ac_try) 2>&5
56632 ac_status=$?
56633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56634 (exit $ac_status); }; }; then
56635 eval "$as_ac_var=yes"
56636 else
56637 echo "$as_me: failed program was:" >&5
56638 sed 's/^/| /' conftest.$ac_ext >&5
56639
56640 eval "$as_ac_var=no"
56641 fi
56642 rm -f conftest.err conftest.$ac_objext \
56643 conftest$ac_exeext conftest.$ac_ext
56644 fi
56645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56647 if test `eval echo '${'$as_ac_var'}'` = yes; then
56648 cat >>confdefs.h <<_ACEOF
56649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56650 _ACEOF
56651
56652 fi
56653 done
56654
56655 fi
56656 fi
56657
56658
56659
56660
56661
56662
56663 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
56664 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
56665 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56666 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
56667 echo $ECHO_N "(cached) $ECHO_C" >&6
56668 else
56669
56670
56671
56672 ac_ext=cc
56673 ac_cpp='$CXXCPP $CPPFLAGS'
56674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56677
56678 cat >conftest.$ac_ext <<_ACEOF
56679 /* confdefs.h. */
56680 _ACEOF
56681 cat confdefs.h >>conftest.$ac_ext
56682 cat >>conftest.$ac_ext <<_ACEOF
56683 /* end confdefs.h. */
56684 #include <math.h>
56685 int
56686 main ()
56687 {
56688 ldexpl(0, 0);
56689 ;
56690 return 0;
56691 }
56692 _ACEOF
56693 rm -f conftest.$ac_objext
56694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56695 (eval $ac_compile) 2>conftest.er1
56696 ac_status=$?
56697 grep -v '^ *+' conftest.er1 >conftest.err
56698 rm -f conftest.er1
56699 cat conftest.err >&5
56700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56701 (exit $ac_status); } &&
56702 { ac_try='test -z "$ac_cxx_werror_flag"
56703 || test ! -s conftest.err'
56704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56705 (eval $ac_try) 2>&5
56706 ac_status=$?
56707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56708 (exit $ac_status); }; } &&
56709 { ac_try='test -s conftest.$ac_objext'
56710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56711 (eval $ac_try) 2>&5
56712 ac_status=$?
56713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56714 (exit $ac_status); }; }; then
56715 glibcxx_cv_func_ldexpl_use=yes
56716 else
56717 echo "$as_me: failed program was:" >&5
56718 sed 's/^/| /' conftest.$ac_ext >&5
56719
56720 glibcxx_cv_func_ldexpl_use=no
56721 fi
56722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56723 ac_ext=c
56724 ac_cpp='$CPP $CPPFLAGS'
56725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56728
56729
56730 fi
56731
56732 fi
56733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
56734 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
56735
56736 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56737
56738 for ac_func in ldexpl
56739 do
56740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56741 echo "$as_me:$LINENO: checking for $ac_func" >&5
56742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56743 if eval "test \"\${$as_ac_var+set}\" = set"; then
56744 echo $ECHO_N "(cached) $ECHO_C" >&6
56745 else
56746 if test x$gcc_no_link = xyes; then
56747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56749 { (exit 1); exit 1; }; }
56750 fi
56751 cat >conftest.$ac_ext <<_ACEOF
56752 /* confdefs.h. */
56753 _ACEOF
56754 cat confdefs.h >>conftest.$ac_ext
56755 cat >>conftest.$ac_ext <<_ACEOF
56756 /* end confdefs.h. */
56757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56759 #define $ac_func innocuous_$ac_func
56760
56761 /* System header to define __stub macros and hopefully few prototypes,
56762 which can conflict with char $ac_func (); below.
56763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56764 <limits.h> exists even on freestanding compilers. */
56765
56766 #ifdef __STDC__
56767 # include <limits.h>
56768 #else
56769 # include <assert.h>
56770 #endif
56771
56772 #undef $ac_func
56773
56774 /* Override any gcc2 internal prototype to avoid an error. */
56775 #ifdef __cplusplus
56776 extern "C"
56777 {
56778 #endif
56779 /* We use char because int might match the return type of a gcc2
56780 builtin and then its argument prototype would still apply. */
56781 char $ac_func ();
56782 /* The GNU C library defines this for functions which it implements
56783 to always fail with ENOSYS. Some functions are actually named
56784 something starting with __ and the normal name is an alias. */
56785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56786 choke me
56787 #else
56788 char (*f) () = $ac_func;
56789 #endif
56790 #ifdef __cplusplus
56791 }
56792 #endif
56793
56794 int
56795 main ()
56796 {
56797 return f != $ac_func;
56798 ;
56799 return 0;
56800 }
56801 _ACEOF
56802 rm -f conftest.$ac_objext conftest$ac_exeext
56803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56804 (eval $ac_link) 2>conftest.er1
56805 ac_status=$?
56806 grep -v '^ *+' conftest.er1 >conftest.err
56807 rm -f conftest.er1
56808 cat conftest.err >&5
56809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56810 (exit $ac_status); } &&
56811 { ac_try='test -z "$ac_c_werror_flag"
56812 || test ! -s conftest.err'
56813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56814 (eval $ac_try) 2>&5
56815 ac_status=$?
56816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56817 (exit $ac_status); }; } &&
56818 { ac_try='test -s conftest$ac_exeext'
56819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56820 (eval $ac_try) 2>&5
56821 ac_status=$?
56822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56823 (exit $ac_status); }; }; then
56824 eval "$as_ac_var=yes"
56825 else
56826 echo "$as_me: failed program was:" >&5
56827 sed 's/^/| /' conftest.$ac_ext >&5
56828
56829 eval "$as_ac_var=no"
56830 fi
56831 rm -f conftest.err conftest.$ac_objext \
56832 conftest$ac_exeext conftest.$ac_ext
56833 fi
56834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56836 if test `eval echo '${'$as_ac_var'}'` = yes; then
56837 cat >>confdefs.h <<_ACEOF
56838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56839 _ACEOF
56840
56841 fi
56842 done
56843
56844 else
56845
56846 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
56847 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
56848 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56849 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
56850 echo $ECHO_N "(cached) $ECHO_C" >&6
56851 else
56852
56853
56854
56855 ac_ext=cc
56856 ac_cpp='$CXXCPP $CPPFLAGS'
56857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56860
56861 cat >conftest.$ac_ext <<_ACEOF
56862 /* confdefs.h. */
56863 _ACEOF
56864 cat confdefs.h >>conftest.$ac_ext
56865 cat >>conftest.$ac_ext <<_ACEOF
56866 /* end confdefs.h. */
56867 #include <math.h>
56868 int
56869 main ()
56870 {
56871 _ldexpl(0, 0);
56872 ;
56873 return 0;
56874 }
56875 _ACEOF
56876 rm -f conftest.$ac_objext
56877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56878 (eval $ac_compile) 2>conftest.er1
56879 ac_status=$?
56880 grep -v '^ *+' conftest.er1 >conftest.err
56881 rm -f conftest.er1
56882 cat conftest.err >&5
56883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56884 (exit $ac_status); } &&
56885 { ac_try='test -z "$ac_cxx_werror_flag"
56886 || test ! -s conftest.err'
56887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56888 (eval $ac_try) 2>&5
56889 ac_status=$?
56890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56891 (exit $ac_status); }; } &&
56892 { ac_try='test -s conftest.$ac_objext'
56893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56894 (eval $ac_try) 2>&5
56895 ac_status=$?
56896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56897 (exit $ac_status); }; }; then
56898 glibcxx_cv_func__ldexpl_use=yes
56899 else
56900 echo "$as_me: failed program was:" >&5
56901 sed 's/^/| /' conftest.$ac_ext >&5
56902
56903 glibcxx_cv_func__ldexpl_use=no
56904 fi
56905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56906 ac_ext=c
56907 ac_cpp='$CPP $CPPFLAGS'
56908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56911
56912
56913 fi
56914
56915 fi
56916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
56917 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
56918
56919 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56920
56921 for ac_func in _ldexpl
56922 do
56923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56924 echo "$as_me:$LINENO: checking for $ac_func" >&5
56925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56926 if eval "test \"\${$as_ac_var+set}\" = set"; then
56927 echo $ECHO_N "(cached) $ECHO_C" >&6
56928 else
56929 if test x$gcc_no_link = xyes; then
56930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56932 { (exit 1); exit 1; }; }
56933 fi
56934 cat >conftest.$ac_ext <<_ACEOF
56935 /* confdefs.h. */
56936 _ACEOF
56937 cat confdefs.h >>conftest.$ac_ext
56938 cat >>conftest.$ac_ext <<_ACEOF
56939 /* end confdefs.h. */
56940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56942 #define $ac_func innocuous_$ac_func
56943
56944 /* System header to define __stub macros and hopefully few prototypes,
56945 which can conflict with char $ac_func (); below.
56946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56947 <limits.h> exists even on freestanding compilers. */
56948
56949 #ifdef __STDC__
56950 # include <limits.h>
56951 #else
56952 # include <assert.h>
56953 #endif
56954
56955 #undef $ac_func
56956
56957 /* Override any gcc2 internal prototype to avoid an error. */
56958 #ifdef __cplusplus
56959 extern "C"
56960 {
56961 #endif
56962 /* We use char because int might match the return type of a gcc2
56963 builtin and then its argument prototype would still apply. */
56964 char $ac_func ();
56965 /* The GNU C library defines this for functions which it implements
56966 to always fail with ENOSYS. Some functions are actually named
56967 something starting with __ and the normal name is an alias. */
56968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56969 choke me
56970 #else
56971 char (*f) () = $ac_func;
56972 #endif
56973 #ifdef __cplusplus
56974 }
56975 #endif
56976
56977 int
56978 main ()
56979 {
56980 return f != $ac_func;
56981 ;
56982 return 0;
56983 }
56984 _ACEOF
56985 rm -f conftest.$ac_objext conftest$ac_exeext
56986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56987 (eval $ac_link) 2>conftest.er1
56988 ac_status=$?
56989 grep -v '^ *+' conftest.er1 >conftest.err
56990 rm -f conftest.er1
56991 cat conftest.err >&5
56992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56993 (exit $ac_status); } &&
56994 { ac_try='test -z "$ac_c_werror_flag"
56995 || test ! -s conftest.err'
56996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56997 (eval $ac_try) 2>&5
56998 ac_status=$?
56999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57000 (exit $ac_status); }; } &&
57001 { ac_try='test -s conftest$ac_exeext'
57002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57003 (eval $ac_try) 2>&5
57004 ac_status=$?
57005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57006 (exit $ac_status); }; }; then
57007 eval "$as_ac_var=yes"
57008 else
57009 echo "$as_me: failed program was:" >&5
57010 sed 's/^/| /' conftest.$ac_ext >&5
57011
57012 eval "$as_ac_var=no"
57013 fi
57014 rm -f conftest.err conftest.$ac_objext \
57015 conftest$ac_exeext conftest.$ac_ext
57016 fi
57017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57019 if test `eval echo '${'$as_ac_var'}'` = yes; then
57020 cat >>confdefs.h <<_ACEOF
57021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57022 _ACEOF
57023
57024 fi
57025 done
57026
57027 fi
57028 fi
57029
57030
57031
57032
57033
57034
57035 echo "$as_me:$LINENO: checking for logl declaration" >&5
57036 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
57037 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57038 if test "${glibcxx_cv_func_logl_use+set}" = set; then
57039 echo $ECHO_N "(cached) $ECHO_C" >&6
57040 else
57041
57042
57043
57044 ac_ext=cc
57045 ac_cpp='$CXXCPP $CPPFLAGS'
57046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57049
57050 cat >conftest.$ac_ext <<_ACEOF
57051 /* confdefs.h. */
57052 _ACEOF
57053 cat confdefs.h >>conftest.$ac_ext
57054 cat >>conftest.$ac_ext <<_ACEOF
57055 /* end confdefs.h. */
57056 #include <math.h>
57057 #ifdef HAVE_IEEEFP_H
57058 #include <ieeefp.h>
57059 #endif
57060
57061 int
57062 main ()
57063 {
57064 logl(0);
57065 ;
57066 return 0;
57067 }
57068 _ACEOF
57069 rm -f conftest.$ac_objext
57070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57071 (eval $ac_compile) 2>conftest.er1
57072 ac_status=$?
57073 grep -v '^ *+' conftest.er1 >conftest.err
57074 rm -f conftest.er1
57075 cat conftest.err >&5
57076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57077 (exit $ac_status); } &&
57078 { ac_try='test -z "$ac_cxx_werror_flag"
57079 || test ! -s conftest.err'
57080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57081 (eval $ac_try) 2>&5
57082 ac_status=$?
57083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57084 (exit $ac_status); }; } &&
57085 { ac_try='test -s conftest.$ac_objext'
57086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57087 (eval $ac_try) 2>&5
57088 ac_status=$?
57089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57090 (exit $ac_status); }; }; then
57091 glibcxx_cv_func_logl_use=yes
57092 else
57093 echo "$as_me: failed program was:" >&5
57094 sed 's/^/| /' conftest.$ac_ext >&5
57095
57096 glibcxx_cv_func_logl_use=no
57097 fi
57098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57099 ac_ext=c
57100 ac_cpp='$CPP $CPPFLAGS'
57101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57104
57105
57106 fi
57107
57108 fi
57109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
57110 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
57111
57112 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57113
57114 for ac_func in logl
57115 do
57116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57117 echo "$as_me:$LINENO: checking for $ac_func" >&5
57118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57119 if eval "test \"\${$as_ac_var+set}\" = set"; then
57120 echo $ECHO_N "(cached) $ECHO_C" >&6
57121 else
57122 if test x$gcc_no_link = xyes; then
57123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57125 { (exit 1); exit 1; }; }
57126 fi
57127 cat >conftest.$ac_ext <<_ACEOF
57128 /* confdefs.h. */
57129 _ACEOF
57130 cat confdefs.h >>conftest.$ac_ext
57131 cat >>conftest.$ac_ext <<_ACEOF
57132 /* end confdefs.h. */
57133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57135 #define $ac_func innocuous_$ac_func
57136
57137 /* System header to define __stub macros and hopefully few prototypes,
57138 which can conflict with char $ac_func (); below.
57139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57140 <limits.h> exists even on freestanding compilers. */
57141
57142 #ifdef __STDC__
57143 # include <limits.h>
57144 #else
57145 # include <assert.h>
57146 #endif
57147
57148 #undef $ac_func
57149
57150 /* Override any gcc2 internal prototype to avoid an error. */
57151 #ifdef __cplusplus
57152 extern "C"
57153 {
57154 #endif
57155 /* We use char because int might match the return type of a gcc2
57156 builtin and then its argument prototype would still apply. */
57157 char $ac_func ();
57158 /* The GNU C library defines this for functions which it implements
57159 to always fail with ENOSYS. Some functions are actually named
57160 something starting with __ and the normal name is an alias. */
57161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57162 choke me
57163 #else
57164 char (*f) () = $ac_func;
57165 #endif
57166 #ifdef __cplusplus
57167 }
57168 #endif
57169
57170 int
57171 main ()
57172 {
57173 return f != $ac_func;
57174 ;
57175 return 0;
57176 }
57177 _ACEOF
57178 rm -f conftest.$ac_objext conftest$ac_exeext
57179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57180 (eval $ac_link) 2>conftest.er1
57181 ac_status=$?
57182 grep -v '^ *+' conftest.er1 >conftest.err
57183 rm -f conftest.er1
57184 cat conftest.err >&5
57185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57186 (exit $ac_status); } &&
57187 { ac_try='test -z "$ac_c_werror_flag"
57188 || test ! -s conftest.err'
57189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57190 (eval $ac_try) 2>&5
57191 ac_status=$?
57192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57193 (exit $ac_status); }; } &&
57194 { ac_try='test -s conftest$ac_exeext'
57195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57196 (eval $ac_try) 2>&5
57197 ac_status=$?
57198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57199 (exit $ac_status); }; }; then
57200 eval "$as_ac_var=yes"
57201 else
57202 echo "$as_me: failed program was:" >&5
57203 sed 's/^/| /' conftest.$ac_ext >&5
57204
57205 eval "$as_ac_var=no"
57206 fi
57207 rm -f conftest.err conftest.$ac_objext \
57208 conftest$ac_exeext conftest.$ac_ext
57209 fi
57210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57212 if test `eval echo '${'$as_ac_var'}'` = yes; then
57213 cat >>confdefs.h <<_ACEOF
57214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57215 _ACEOF
57216
57217 fi
57218 done
57219
57220 else
57221
57222 echo "$as_me:$LINENO: checking for _logl declaration" >&5
57223 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
57224 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57225 if test "${glibcxx_cv_func__logl_use+set}" = set; then
57226 echo $ECHO_N "(cached) $ECHO_C" >&6
57227 else
57228
57229
57230
57231 ac_ext=cc
57232 ac_cpp='$CXXCPP $CPPFLAGS'
57233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57236
57237 cat >conftest.$ac_ext <<_ACEOF
57238 /* confdefs.h. */
57239 _ACEOF
57240 cat confdefs.h >>conftest.$ac_ext
57241 cat >>conftest.$ac_ext <<_ACEOF
57242 /* end confdefs.h. */
57243 #include <math.h>
57244 #ifdef HAVE_IEEEFP_H
57245 #include <ieeefp.h>
57246 #endif
57247
57248 int
57249 main ()
57250 {
57251 _logl(0);
57252 ;
57253 return 0;
57254 }
57255 _ACEOF
57256 rm -f conftest.$ac_objext
57257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57258 (eval $ac_compile) 2>conftest.er1
57259 ac_status=$?
57260 grep -v '^ *+' conftest.er1 >conftest.err
57261 rm -f conftest.er1
57262 cat conftest.err >&5
57263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57264 (exit $ac_status); } &&
57265 { ac_try='test -z "$ac_cxx_werror_flag"
57266 || test ! -s conftest.err'
57267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57268 (eval $ac_try) 2>&5
57269 ac_status=$?
57270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57271 (exit $ac_status); }; } &&
57272 { ac_try='test -s conftest.$ac_objext'
57273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57274 (eval $ac_try) 2>&5
57275 ac_status=$?
57276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57277 (exit $ac_status); }; }; then
57278 glibcxx_cv_func__logl_use=yes
57279 else
57280 echo "$as_me: failed program was:" >&5
57281 sed 's/^/| /' conftest.$ac_ext >&5
57282
57283 glibcxx_cv_func__logl_use=no
57284 fi
57285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57286 ac_ext=c
57287 ac_cpp='$CPP $CPPFLAGS'
57288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57291
57292
57293 fi
57294
57295 fi
57296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
57297 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
57298
57299 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57300
57301 for ac_func in _logl
57302 do
57303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57304 echo "$as_me:$LINENO: checking for $ac_func" >&5
57305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57306 if eval "test \"\${$as_ac_var+set}\" = set"; then
57307 echo $ECHO_N "(cached) $ECHO_C" >&6
57308 else
57309 if test x$gcc_no_link = xyes; then
57310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57312 { (exit 1); exit 1; }; }
57313 fi
57314 cat >conftest.$ac_ext <<_ACEOF
57315 /* confdefs.h. */
57316 _ACEOF
57317 cat confdefs.h >>conftest.$ac_ext
57318 cat >>conftest.$ac_ext <<_ACEOF
57319 /* end confdefs.h. */
57320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57322 #define $ac_func innocuous_$ac_func
57323
57324 /* System header to define __stub macros and hopefully few prototypes,
57325 which can conflict with char $ac_func (); below.
57326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57327 <limits.h> exists even on freestanding compilers. */
57328
57329 #ifdef __STDC__
57330 # include <limits.h>
57331 #else
57332 # include <assert.h>
57333 #endif
57334
57335 #undef $ac_func
57336
57337 /* Override any gcc2 internal prototype to avoid an error. */
57338 #ifdef __cplusplus
57339 extern "C"
57340 {
57341 #endif
57342 /* We use char because int might match the return type of a gcc2
57343 builtin and then its argument prototype would still apply. */
57344 char $ac_func ();
57345 /* The GNU C library defines this for functions which it implements
57346 to always fail with ENOSYS. Some functions are actually named
57347 something starting with __ and the normal name is an alias. */
57348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57349 choke me
57350 #else
57351 char (*f) () = $ac_func;
57352 #endif
57353 #ifdef __cplusplus
57354 }
57355 #endif
57356
57357 int
57358 main ()
57359 {
57360 return f != $ac_func;
57361 ;
57362 return 0;
57363 }
57364 _ACEOF
57365 rm -f conftest.$ac_objext conftest$ac_exeext
57366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57367 (eval $ac_link) 2>conftest.er1
57368 ac_status=$?
57369 grep -v '^ *+' conftest.er1 >conftest.err
57370 rm -f conftest.er1
57371 cat conftest.err >&5
57372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57373 (exit $ac_status); } &&
57374 { ac_try='test -z "$ac_c_werror_flag"
57375 || test ! -s conftest.err'
57376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57377 (eval $ac_try) 2>&5
57378 ac_status=$?
57379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57380 (exit $ac_status); }; } &&
57381 { ac_try='test -s conftest$ac_exeext'
57382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57383 (eval $ac_try) 2>&5
57384 ac_status=$?
57385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57386 (exit $ac_status); }; }; then
57387 eval "$as_ac_var=yes"
57388 else
57389 echo "$as_me: failed program was:" >&5
57390 sed 's/^/| /' conftest.$ac_ext >&5
57391
57392 eval "$as_ac_var=no"
57393 fi
57394 rm -f conftest.err conftest.$ac_objext \
57395 conftest$ac_exeext conftest.$ac_ext
57396 fi
57397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57399 if test `eval echo '${'$as_ac_var'}'` = yes; then
57400 cat >>confdefs.h <<_ACEOF
57401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57402 _ACEOF
57403
57404 fi
57405 done
57406
57407 fi
57408 fi
57409
57410
57411
57412
57413
57414
57415 echo "$as_me:$LINENO: checking for log10l declaration" >&5
57416 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
57417 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57418 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
57419 echo $ECHO_N "(cached) $ECHO_C" >&6
57420 else
57421
57422
57423
57424 ac_ext=cc
57425 ac_cpp='$CXXCPP $CPPFLAGS'
57426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57429
57430 cat >conftest.$ac_ext <<_ACEOF
57431 /* confdefs.h. */
57432 _ACEOF
57433 cat confdefs.h >>conftest.$ac_ext
57434 cat >>conftest.$ac_ext <<_ACEOF
57435 /* end confdefs.h. */
57436 #include <math.h>
57437 #ifdef HAVE_IEEEFP_H
57438 #include <ieeefp.h>
57439 #endif
57440
57441 int
57442 main ()
57443 {
57444 log10l(0);
57445 ;
57446 return 0;
57447 }
57448 _ACEOF
57449 rm -f conftest.$ac_objext
57450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57451 (eval $ac_compile) 2>conftest.er1
57452 ac_status=$?
57453 grep -v '^ *+' conftest.er1 >conftest.err
57454 rm -f conftest.er1
57455 cat conftest.err >&5
57456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57457 (exit $ac_status); } &&
57458 { ac_try='test -z "$ac_cxx_werror_flag"
57459 || test ! -s conftest.err'
57460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57461 (eval $ac_try) 2>&5
57462 ac_status=$?
57463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57464 (exit $ac_status); }; } &&
57465 { ac_try='test -s conftest.$ac_objext'
57466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57467 (eval $ac_try) 2>&5
57468 ac_status=$?
57469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57470 (exit $ac_status); }; }; then
57471 glibcxx_cv_func_log10l_use=yes
57472 else
57473 echo "$as_me: failed program was:" >&5
57474 sed 's/^/| /' conftest.$ac_ext >&5
57475
57476 glibcxx_cv_func_log10l_use=no
57477 fi
57478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57479 ac_ext=c
57480 ac_cpp='$CPP $CPPFLAGS'
57481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57484
57485
57486 fi
57487
57488 fi
57489 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
57490 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
57491
57492 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57493
57494 for ac_func in log10l
57495 do
57496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57497 echo "$as_me:$LINENO: checking for $ac_func" >&5
57498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57499 if eval "test \"\${$as_ac_var+set}\" = set"; then
57500 echo $ECHO_N "(cached) $ECHO_C" >&6
57501 else
57502 if test x$gcc_no_link = xyes; then
57503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57505 { (exit 1); exit 1; }; }
57506 fi
57507 cat >conftest.$ac_ext <<_ACEOF
57508 /* confdefs.h. */
57509 _ACEOF
57510 cat confdefs.h >>conftest.$ac_ext
57511 cat >>conftest.$ac_ext <<_ACEOF
57512 /* end confdefs.h. */
57513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57515 #define $ac_func innocuous_$ac_func
57516
57517 /* System header to define __stub macros and hopefully few prototypes,
57518 which can conflict with char $ac_func (); below.
57519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57520 <limits.h> exists even on freestanding compilers. */
57521
57522 #ifdef __STDC__
57523 # include <limits.h>
57524 #else
57525 # include <assert.h>
57526 #endif
57527
57528 #undef $ac_func
57529
57530 /* Override any gcc2 internal prototype to avoid an error. */
57531 #ifdef __cplusplus
57532 extern "C"
57533 {
57534 #endif
57535 /* We use char because int might match the return type of a gcc2
57536 builtin and then its argument prototype would still apply. */
57537 char $ac_func ();
57538 /* The GNU C library defines this for functions which it implements
57539 to always fail with ENOSYS. Some functions are actually named
57540 something starting with __ and the normal name is an alias. */
57541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57542 choke me
57543 #else
57544 char (*f) () = $ac_func;
57545 #endif
57546 #ifdef __cplusplus
57547 }
57548 #endif
57549
57550 int
57551 main ()
57552 {
57553 return f != $ac_func;
57554 ;
57555 return 0;
57556 }
57557 _ACEOF
57558 rm -f conftest.$ac_objext conftest$ac_exeext
57559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57560 (eval $ac_link) 2>conftest.er1
57561 ac_status=$?
57562 grep -v '^ *+' conftest.er1 >conftest.err
57563 rm -f conftest.er1
57564 cat conftest.err >&5
57565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57566 (exit $ac_status); } &&
57567 { ac_try='test -z "$ac_c_werror_flag"
57568 || test ! -s conftest.err'
57569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57570 (eval $ac_try) 2>&5
57571 ac_status=$?
57572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57573 (exit $ac_status); }; } &&
57574 { ac_try='test -s conftest$ac_exeext'
57575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57576 (eval $ac_try) 2>&5
57577 ac_status=$?
57578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57579 (exit $ac_status); }; }; then
57580 eval "$as_ac_var=yes"
57581 else
57582 echo "$as_me: failed program was:" >&5
57583 sed 's/^/| /' conftest.$ac_ext >&5
57584
57585 eval "$as_ac_var=no"
57586 fi
57587 rm -f conftest.err conftest.$ac_objext \
57588 conftest$ac_exeext conftest.$ac_ext
57589 fi
57590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57592 if test `eval echo '${'$as_ac_var'}'` = yes; then
57593 cat >>confdefs.h <<_ACEOF
57594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57595 _ACEOF
57596
57597 fi
57598 done
57599
57600 else
57601
57602 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
57603 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
57604 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57605 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
57606 echo $ECHO_N "(cached) $ECHO_C" >&6
57607 else
57608
57609
57610
57611 ac_ext=cc
57612 ac_cpp='$CXXCPP $CPPFLAGS'
57613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57616
57617 cat >conftest.$ac_ext <<_ACEOF
57618 /* confdefs.h. */
57619 _ACEOF
57620 cat confdefs.h >>conftest.$ac_ext
57621 cat >>conftest.$ac_ext <<_ACEOF
57622 /* end confdefs.h. */
57623 #include <math.h>
57624 #ifdef HAVE_IEEEFP_H
57625 #include <ieeefp.h>
57626 #endif
57627
57628 int
57629 main ()
57630 {
57631 _log10l(0);
57632 ;
57633 return 0;
57634 }
57635 _ACEOF
57636 rm -f conftest.$ac_objext
57637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57638 (eval $ac_compile) 2>conftest.er1
57639 ac_status=$?
57640 grep -v '^ *+' conftest.er1 >conftest.err
57641 rm -f conftest.er1
57642 cat conftest.err >&5
57643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57644 (exit $ac_status); } &&
57645 { ac_try='test -z "$ac_cxx_werror_flag"
57646 || test ! -s conftest.err'
57647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57648 (eval $ac_try) 2>&5
57649 ac_status=$?
57650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57651 (exit $ac_status); }; } &&
57652 { ac_try='test -s conftest.$ac_objext'
57653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57654 (eval $ac_try) 2>&5
57655 ac_status=$?
57656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57657 (exit $ac_status); }; }; then
57658 glibcxx_cv_func__log10l_use=yes
57659 else
57660 echo "$as_me: failed program was:" >&5
57661 sed 's/^/| /' conftest.$ac_ext >&5
57662
57663 glibcxx_cv_func__log10l_use=no
57664 fi
57665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57666 ac_ext=c
57667 ac_cpp='$CPP $CPPFLAGS'
57668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57671
57672
57673 fi
57674
57675 fi
57676 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
57677 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
57678
57679 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57680
57681 for ac_func in _log10l
57682 do
57683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57684 echo "$as_me:$LINENO: checking for $ac_func" >&5
57685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57686 if eval "test \"\${$as_ac_var+set}\" = set"; then
57687 echo $ECHO_N "(cached) $ECHO_C" >&6
57688 else
57689 if test x$gcc_no_link = xyes; then
57690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57692 { (exit 1); exit 1; }; }
57693 fi
57694 cat >conftest.$ac_ext <<_ACEOF
57695 /* confdefs.h. */
57696 _ACEOF
57697 cat confdefs.h >>conftest.$ac_ext
57698 cat >>conftest.$ac_ext <<_ACEOF
57699 /* end confdefs.h. */
57700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57702 #define $ac_func innocuous_$ac_func
57703
57704 /* System header to define __stub macros and hopefully few prototypes,
57705 which can conflict with char $ac_func (); below.
57706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57707 <limits.h> exists even on freestanding compilers. */
57708
57709 #ifdef __STDC__
57710 # include <limits.h>
57711 #else
57712 # include <assert.h>
57713 #endif
57714
57715 #undef $ac_func
57716
57717 /* Override any gcc2 internal prototype to avoid an error. */
57718 #ifdef __cplusplus
57719 extern "C"
57720 {
57721 #endif
57722 /* We use char because int might match the return type of a gcc2
57723 builtin and then its argument prototype would still apply. */
57724 char $ac_func ();
57725 /* The GNU C library defines this for functions which it implements
57726 to always fail with ENOSYS. Some functions are actually named
57727 something starting with __ and the normal name is an alias. */
57728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57729 choke me
57730 #else
57731 char (*f) () = $ac_func;
57732 #endif
57733 #ifdef __cplusplus
57734 }
57735 #endif
57736
57737 int
57738 main ()
57739 {
57740 return f != $ac_func;
57741 ;
57742 return 0;
57743 }
57744 _ACEOF
57745 rm -f conftest.$ac_objext conftest$ac_exeext
57746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57747 (eval $ac_link) 2>conftest.er1
57748 ac_status=$?
57749 grep -v '^ *+' conftest.er1 >conftest.err
57750 rm -f conftest.er1
57751 cat conftest.err >&5
57752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57753 (exit $ac_status); } &&
57754 { ac_try='test -z "$ac_c_werror_flag"
57755 || test ! -s conftest.err'
57756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57757 (eval $ac_try) 2>&5
57758 ac_status=$?
57759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57760 (exit $ac_status); }; } &&
57761 { ac_try='test -s conftest$ac_exeext'
57762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57763 (eval $ac_try) 2>&5
57764 ac_status=$?
57765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57766 (exit $ac_status); }; }; then
57767 eval "$as_ac_var=yes"
57768 else
57769 echo "$as_me: failed program was:" >&5
57770 sed 's/^/| /' conftest.$ac_ext >&5
57771
57772 eval "$as_ac_var=no"
57773 fi
57774 rm -f conftest.err conftest.$ac_objext \
57775 conftest$ac_exeext conftest.$ac_ext
57776 fi
57777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57779 if test `eval echo '${'$as_ac_var'}'` = yes; then
57780 cat >>confdefs.h <<_ACEOF
57781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57782 _ACEOF
57783
57784 fi
57785 done
57786
57787 fi
57788 fi
57789
57790
57791
57792
57793
57794
57795 echo "$as_me:$LINENO: checking for modfl declaration" >&5
57796 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
57797 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57798 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
57799 echo $ECHO_N "(cached) $ECHO_C" >&6
57800 else
57801
57802
57803
57804 ac_ext=cc
57805 ac_cpp='$CXXCPP $CPPFLAGS'
57806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57809
57810 cat >conftest.$ac_ext <<_ACEOF
57811 /* confdefs.h. */
57812 _ACEOF
57813 cat confdefs.h >>conftest.$ac_ext
57814 cat >>conftest.$ac_ext <<_ACEOF
57815 /* end confdefs.h. */
57816 #include <math.h>
57817 int
57818 main ()
57819 {
57820 modfl(0, 0);
57821 ;
57822 return 0;
57823 }
57824 _ACEOF
57825 rm -f conftest.$ac_objext
57826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57827 (eval $ac_compile) 2>conftest.er1
57828 ac_status=$?
57829 grep -v '^ *+' conftest.er1 >conftest.err
57830 rm -f conftest.er1
57831 cat conftest.err >&5
57832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57833 (exit $ac_status); } &&
57834 { ac_try='test -z "$ac_cxx_werror_flag"
57835 || test ! -s conftest.err'
57836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57837 (eval $ac_try) 2>&5
57838 ac_status=$?
57839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57840 (exit $ac_status); }; } &&
57841 { ac_try='test -s conftest.$ac_objext'
57842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57843 (eval $ac_try) 2>&5
57844 ac_status=$?
57845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57846 (exit $ac_status); }; }; then
57847 glibcxx_cv_func_modfl_use=yes
57848 else
57849 echo "$as_me: failed program was:" >&5
57850 sed 's/^/| /' conftest.$ac_ext >&5
57851
57852 glibcxx_cv_func_modfl_use=no
57853 fi
57854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57855 ac_ext=c
57856 ac_cpp='$CPP $CPPFLAGS'
57857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57860
57861
57862 fi
57863
57864 fi
57865 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
57866 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
57867
57868 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57869
57870 for ac_func in modfl
57871 do
57872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57873 echo "$as_me:$LINENO: checking for $ac_func" >&5
57874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57875 if eval "test \"\${$as_ac_var+set}\" = set"; then
57876 echo $ECHO_N "(cached) $ECHO_C" >&6
57877 else
57878 if test x$gcc_no_link = xyes; then
57879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57881 { (exit 1); exit 1; }; }
57882 fi
57883 cat >conftest.$ac_ext <<_ACEOF
57884 /* confdefs.h. */
57885 _ACEOF
57886 cat confdefs.h >>conftest.$ac_ext
57887 cat >>conftest.$ac_ext <<_ACEOF
57888 /* end confdefs.h. */
57889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57891 #define $ac_func innocuous_$ac_func
57892
57893 /* System header to define __stub macros and hopefully few prototypes,
57894 which can conflict with char $ac_func (); below.
57895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57896 <limits.h> exists even on freestanding compilers. */
57897
57898 #ifdef __STDC__
57899 # include <limits.h>
57900 #else
57901 # include <assert.h>
57902 #endif
57903
57904 #undef $ac_func
57905
57906 /* Override any gcc2 internal prototype to avoid an error. */
57907 #ifdef __cplusplus
57908 extern "C"
57909 {
57910 #endif
57911 /* We use char because int might match the return type of a gcc2
57912 builtin and then its argument prototype would still apply. */
57913 char $ac_func ();
57914 /* The GNU C library defines this for functions which it implements
57915 to always fail with ENOSYS. Some functions are actually named
57916 something starting with __ and the normal name is an alias. */
57917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57918 choke me
57919 #else
57920 char (*f) () = $ac_func;
57921 #endif
57922 #ifdef __cplusplus
57923 }
57924 #endif
57925
57926 int
57927 main ()
57928 {
57929 return f != $ac_func;
57930 ;
57931 return 0;
57932 }
57933 _ACEOF
57934 rm -f conftest.$ac_objext conftest$ac_exeext
57935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57936 (eval $ac_link) 2>conftest.er1
57937 ac_status=$?
57938 grep -v '^ *+' conftest.er1 >conftest.err
57939 rm -f conftest.er1
57940 cat conftest.err >&5
57941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57942 (exit $ac_status); } &&
57943 { ac_try='test -z "$ac_c_werror_flag"
57944 || test ! -s conftest.err'
57945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57946 (eval $ac_try) 2>&5
57947 ac_status=$?
57948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57949 (exit $ac_status); }; } &&
57950 { ac_try='test -s conftest$ac_exeext'
57951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57952 (eval $ac_try) 2>&5
57953 ac_status=$?
57954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57955 (exit $ac_status); }; }; then
57956 eval "$as_ac_var=yes"
57957 else
57958 echo "$as_me: failed program was:" >&5
57959 sed 's/^/| /' conftest.$ac_ext >&5
57960
57961 eval "$as_ac_var=no"
57962 fi
57963 rm -f conftest.err conftest.$ac_objext \
57964 conftest$ac_exeext conftest.$ac_ext
57965 fi
57966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57968 if test `eval echo '${'$as_ac_var'}'` = yes; then
57969 cat >>confdefs.h <<_ACEOF
57970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57971 _ACEOF
57972
57973 fi
57974 done
57975
57976 else
57977
57978 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
57979 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
57980 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57981 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
57982 echo $ECHO_N "(cached) $ECHO_C" >&6
57983 else
57984
57985
57986
57987 ac_ext=cc
57988 ac_cpp='$CXXCPP $CPPFLAGS'
57989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57992
57993 cat >conftest.$ac_ext <<_ACEOF
57994 /* confdefs.h. */
57995 _ACEOF
57996 cat confdefs.h >>conftest.$ac_ext
57997 cat >>conftest.$ac_ext <<_ACEOF
57998 /* end confdefs.h. */
57999 #include <math.h>
58000 int
58001 main ()
58002 {
58003 _modfl(0, 0);
58004 ;
58005 return 0;
58006 }
58007 _ACEOF
58008 rm -f conftest.$ac_objext
58009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58010 (eval $ac_compile) 2>conftest.er1
58011 ac_status=$?
58012 grep -v '^ *+' conftest.er1 >conftest.err
58013 rm -f conftest.er1
58014 cat conftest.err >&5
58015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58016 (exit $ac_status); } &&
58017 { ac_try='test -z "$ac_cxx_werror_flag"
58018 || test ! -s conftest.err'
58019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58020 (eval $ac_try) 2>&5
58021 ac_status=$?
58022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58023 (exit $ac_status); }; } &&
58024 { ac_try='test -s conftest.$ac_objext'
58025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58026 (eval $ac_try) 2>&5
58027 ac_status=$?
58028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58029 (exit $ac_status); }; }; then
58030 glibcxx_cv_func__modfl_use=yes
58031 else
58032 echo "$as_me: failed program was:" >&5
58033 sed 's/^/| /' conftest.$ac_ext >&5
58034
58035 glibcxx_cv_func__modfl_use=no
58036 fi
58037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58038 ac_ext=c
58039 ac_cpp='$CPP $CPPFLAGS'
58040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58043
58044
58045 fi
58046
58047 fi
58048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
58049 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
58050
58051 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58052
58053 for ac_func in _modfl
58054 do
58055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58056 echo "$as_me:$LINENO: checking for $ac_func" >&5
58057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58058 if eval "test \"\${$as_ac_var+set}\" = set"; then
58059 echo $ECHO_N "(cached) $ECHO_C" >&6
58060 else
58061 if test x$gcc_no_link = xyes; then
58062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58064 { (exit 1); exit 1; }; }
58065 fi
58066 cat >conftest.$ac_ext <<_ACEOF
58067 /* confdefs.h. */
58068 _ACEOF
58069 cat confdefs.h >>conftest.$ac_ext
58070 cat >>conftest.$ac_ext <<_ACEOF
58071 /* end confdefs.h. */
58072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58074 #define $ac_func innocuous_$ac_func
58075
58076 /* System header to define __stub macros and hopefully few prototypes,
58077 which can conflict with char $ac_func (); below.
58078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58079 <limits.h> exists even on freestanding compilers. */
58080
58081 #ifdef __STDC__
58082 # include <limits.h>
58083 #else
58084 # include <assert.h>
58085 #endif
58086
58087 #undef $ac_func
58088
58089 /* Override any gcc2 internal prototype to avoid an error. */
58090 #ifdef __cplusplus
58091 extern "C"
58092 {
58093 #endif
58094 /* We use char because int might match the return type of a gcc2
58095 builtin and then its argument prototype would still apply. */
58096 char $ac_func ();
58097 /* The GNU C library defines this for functions which it implements
58098 to always fail with ENOSYS. Some functions are actually named
58099 something starting with __ and the normal name is an alias. */
58100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58101 choke me
58102 #else
58103 char (*f) () = $ac_func;
58104 #endif
58105 #ifdef __cplusplus
58106 }
58107 #endif
58108
58109 int
58110 main ()
58111 {
58112 return f != $ac_func;
58113 ;
58114 return 0;
58115 }
58116 _ACEOF
58117 rm -f conftest.$ac_objext conftest$ac_exeext
58118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58119 (eval $ac_link) 2>conftest.er1
58120 ac_status=$?
58121 grep -v '^ *+' conftest.er1 >conftest.err
58122 rm -f conftest.er1
58123 cat conftest.err >&5
58124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58125 (exit $ac_status); } &&
58126 { ac_try='test -z "$ac_c_werror_flag"
58127 || test ! -s conftest.err'
58128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58129 (eval $ac_try) 2>&5
58130 ac_status=$?
58131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58132 (exit $ac_status); }; } &&
58133 { ac_try='test -s conftest$ac_exeext'
58134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58135 (eval $ac_try) 2>&5
58136 ac_status=$?
58137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58138 (exit $ac_status); }; }; then
58139 eval "$as_ac_var=yes"
58140 else
58141 echo "$as_me: failed program was:" >&5
58142 sed 's/^/| /' conftest.$ac_ext >&5
58143
58144 eval "$as_ac_var=no"
58145 fi
58146 rm -f conftest.err conftest.$ac_objext \
58147 conftest$ac_exeext conftest.$ac_ext
58148 fi
58149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58151 if test `eval echo '${'$as_ac_var'}'` = yes; then
58152 cat >>confdefs.h <<_ACEOF
58153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58154 _ACEOF
58155
58156 fi
58157 done
58158
58159 fi
58160 fi
58161
58162
58163
58164
58165
58166
58167 echo "$as_me:$LINENO: checking for powl declaration" >&5
58168 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
58169 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58170 if test "${glibcxx_cv_func_powl_use+set}" = set; then
58171 echo $ECHO_N "(cached) $ECHO_C" >&6
58172 else
58173
58174
58175
58176 ac_ext=cc
58177 ac_cpp='$CXXCPP $CPPFLAGS'
58178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58181
58182 cat >conftest.$ac_ext <<_ACEOF
58183 /* confdefs.h. */
58184 _ACEOF
58185 cat confdefs.h >>conftest.$ac_ext
58186 cat >>conftest.$ac_ext <<_ACEOF
58187 /* end confdefs.h. */
58188 #include <math.h>
58189 int
58190 main ()
58191 {
58192 powl(0, 0);
58193 ;
58194 return 0;
58195 }
58196 _ACEOF
58197 rm -f conftest.$ac_objext
58198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58199 (eval $ac_compile) 2>conftest.er1
58200 ac_status=$?
58201 grep -v '^ *+' conftest.er1 >conftest.err
58202 rm -f conftest.er1
58203 cat conftest.err >&5
58204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58205 (exit $ac_status); } &&
58206 { ac_try='test -z "$ac_cxx_werror_flag"
58207 || test ! -s conftest.err'
58208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58209 (eval $ac_try) 2>&5
58210 ac_status=$?
58211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58212 (exit $ac_status); }; } &&
58213 { ac_try='test -s conftest.$ac_objext'
58214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58215 (eval $ac_try) 2>&5
58216 ac_status=$?
58217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58218 (exit $ac_status); }; }; then
58219 glibcxx_cv_func_powl_use=yes
58220 else
58221 echo "$as_me: failed program was:" >&5
58222 sed 's/^/| /' conftest.$ac_ext >&5
58223
58224 glibcxx_cv_func_powl_use=no
58225 fi
58226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58227 ac_ext=c
58228 ac_cpp='$CPP $CPPFLAGS'
58229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58232
58233
58234 fi
58235
58236 fi
58237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
58238 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
58239
58240 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58241
58242 for ac_func in powl
58243 do
58244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58245 echo "$as_me:$LINENO: checking for $ac_func" >&5
58246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58247 if eval "test \"\${$as_ac_var+set}\" = set"; then
58248 echo $ECHO_N "(cached) $ECHO_C" >&6
58249 else
58250 if test x$gcc_no_link = xyes; then
58251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58253 { (exit 1); exit 1; }; }
58254 fi
58255 cat >conftest.$ac_ext <<_ACEOF
58256 /* confdefs.h. */
58257 _ACEOF
58258 cat confdefs.h >>conftest.$ac_ext
58259 cat >>conftest.$ac_ext <<_ACEOF
58260 /* end confdefs.h. */
58261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58263 #define $ac_func innocuous_$ac_func
58264
58265 /* System header to define __stub macros and hopefully few prototypes,
58266 which can conflict with char $ac_func (); below.
58267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58268 <limits.h> exists even on freestanding compilers. */
58269
58270 #ifdef __STDC__
58271 # include <limits.h>
58272 #else
58273 # include <assert.h>
58274 #endif
58275
58276 #undef $ac_func
58277
58278 /* Override any gcc2 internal prototype to avoid an error. */
58279 #ifdef __cplusplus
58280 extern "C"
58281 {
58282 #endif
58283 /* We use char because int might match the return type of a gcc2
58284 builtin and then its argument prototype would still apply. */
58285 char $ac_func ();
58286 /* The GNU C library defines this for functions which it implements
58287 to always fail with ENOSYS. Some functions are actually named
58288 something starting with __ and the normal name is an alias. */
58289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58290 choke me
58291 #else
58292 char (*f) () = $ac_func;
58293 #endif
58294 #ifdef __cplusplus
58295 }
58296 #endif
58297
58298 int
58299 main ()
58300 {
58301 return f != $ac_func;
58302 ;
58303 return 0;
58304 }
58305 _ACEOF
58306 rm -f conftest.$ac_objext conftest$ac_exeext
58307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58308 (eval $ac_link) 2>conftest.er1
58309 ac_status=$?
58310 grep -v '^ *+' conftest.er1 >conftest.err
58311 rm -f conftest.er1
58312 cat conftest.err >&5
58313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58314 (exit $ac_status); } &&
58315 { ac_try='test -z "$ac_c_werror_flag"
58316 || test ! -s conftest.err'
58317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58318 (eval $ac_try) 2>&5
58319 ac_status=$?
58320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58321 (exit $ac_status); }; } &&
58322 { ac_try='test -s conftest$ac_exeext'
58323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58324 (eval $ac_try) 2>&5
58325 ac_status=$?
58326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58327 (exit $ac_status); }; }; then
58328 eval "$as_ac_var=yes"
58329 else
58330 echo "$as_me: failed program was:" >&5
58331 sed 's/^/| /' conftest.$ac_ext >&5
58332
58333 eval "$as_ac_var=no"
58334 fi
58335 rm -f conftest.err conftest.$ac_objext \
58336 conftest$ac_exeext conftest.$ac_ext
58337 fi
58338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58340 if test `eval echo '${'$as_ac_var'}'` = yes; then
58341 cat >>confdefs.h <<_ACEOF
58342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58343 _ACEOF
58344
58345 fi
58346 done
58347
58348 else
58349
58350 echo "$as_me:$LINENO: checking for _powl declaration" >&5
58351 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
58352 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58353 if test "${glibcxx_cv_func__powl_use+set}" = set; then
58354 echo $ECHO_N "(cached) $ECHO_C" >&6
58355 else
58356
58357
58358
58359 ac_ext=cc
58360 ac_cpp='$CXXCPP $CPPFLAGS'
58361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58364
58365 cat >conftest.$ac_ext <<_ACEOF
58366 /* confdefs.h. */
58367 _ACEOF
58368 cat confdefs.h >>conftest.$ac_ext
58369 cat >>conftest.$ac_ext <<_ACEOF
58370 /* end confdefs.h. */
58371 #include <math.h>
58372 int
58373 main ()
58374 {
58375 _powl(0, 0);
58376 ;
58377 return 0;
58378 }
58379 _ACEOF
58380 rm -f conftest.$ac_objext
58381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58382 (eval $ac_compile) 2>conftest.er1
58383 ac_status=$?
58384 grep -v '^ *+' conftest.er1 >conftest.err
58385 rm -f conftest.er1
58386 cat conftest.err >&5
58387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58388 (exit $ac_status); } &&
58389 { ac_try='test -z "$ac_cxx_werror_flag"
58390 || test ! -s conftest.err'
58391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58392 (eval $ac_try) 2>&5
58393 ac_status=$?
58394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58395 (exit $ac_status); }; } &&
58396 { ac_try='test -s conftest.$ac_objext'
58397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58398 (eval $ac_try) 2>&5
58399 ac_status=$?
58400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58401 (exit $ac_status); }; }; then
58402 glibcxx_cv_func__powl_use=yes
58403 else
58404 echo "$as_me: failed program was:" >&5
58405 sed 's/^/| /' conftest.$ac_ext >&5
58406
58407 glibcxx_cv_func__powl_use=no
58408 fi
58409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58410 ac_ext=c
58411 ac_cpp='$CPP $CPPFLAGS'
58412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58415
58416
58417 fi
58418
58419 fi
58420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
58421 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
58422
58423 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58424
58425 for ac_func in _powl
58426 do
58427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58428 echo "$as_me:$LINENO: checking for $ac_func" >&5
58429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58430 if eval "test \"\${$as_ac_var+set}\" = set"; then
58431 echo $ECHO_N "(cached) $ECHO_C" >&6
58432 else
58433 if test x$gcc_no_link = xyes; then
58434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58436 { (exit 1); exit 1; }; }
58437 fi
58438 cat >conftest.$ac_ext <<_ACEOF
58439 /* confdefs.h. */
58440 _ACEOF
58441 cat confdefs.h >>conftest.$ac_ext
58442 cat >>conftest.$ac_ext <<_ACEOF
58443 /* end confdefs.h. */
58444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58446 #define $ac_func innocuous_$ac_func
58447
58448 /* System header to define __stub macros and hopefully few prototypes,
58449 which can conflict with char $ac_func (); below.
58450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58451 <limits.h> exists even on freestanding compilers. */
58452
58453 #ifdef __STDC__
58454 # include <limits.h>
58455 #else
58456 # include <assert.h>
58457 #endif
58458
58459 #undef $ac_func
58460
58461 /* Override any gcc2 internal prototype to avoid an error. */
58462 #ifdef __cplusplus
58463 extern "C"
58464 {
58465 #endif
58466 /* We use char because int might match the return type of a gcc2
58467 builtin and then its argument prototype would still apply. */
58468 char $ac_func ();
58469 /* The GNU C library defines this for functions which it implements
58470 to always fail with ENOSYS. Some functions are actually named
58471 something starting with __ and the normal name is an alias. */
58472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58473 choke me
58474 #else
58475 char (*f) () = $ac_func;
58476 #endif
58477 #ifdef __cplusplus
58478 }
58479 #endif
58480
58481 int
58482 main ()
58483 {
58484 return f != $ac_func;
58485 ;
58486 return 0;
58487 }
58488 _ACEOF
58489 rm -f conftest.$ac_objext conftest$ac_exeext
58490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58491 (eval $ac_link) 2>conftest.er1
58492 ac_status=$?
58493 grep -v '^ *+' conftest.er1 >conftest.err
58494 rm -f conftest.er1
58495 cat conftest.err >&5
58496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58497 (exit $ac_status); } &&
58498 { ac_try='test -z "$ac_c_werror_flag"
58499 || test ! -s conftest.err'
58500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58501 (eval $ac_try) 2>&5
58502 ac_status=$?
58503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58504 (exit $ac_status); }; } &&
58505 { ac_try='test -s conftest$ac_exeext'
58506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58507 (eval $ac_try) 2>&5
58508 ac_status=$?
58509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58510 (exit $ac_status); }; }; then
58511 eval "$as_ac_var=yes"
58512 else
58513 echo "$as_me: failed program was:" >&5
58514 sed 's/^/| /' conftest.$ac_ext >&5
58515
58516 eval "$as_ac_var=no"
58517 fi
58518 rm -f conftest.err conftest.$ac_objext \
58519 conftest$ac_exeext conftest.$ac_ext
58520 fi
58521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58523 if test `eval echo '${'$as_ac_var'}'` = yes; then
58524 cat >>confdefs.h <<_ACEOF
58525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58526 _ACEOF
58527
58528 fi
58529 done
58530
58531 fi
58532 fi
58533
58534
58535
58536
58537
58538
58539 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
58540 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
58541 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58542 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
58543 echo $ECHO_N "(cached) $ECHO_C" >&6
58544 else
58545
58546
58547
58548 ac_ext=cc
58549 ac_cpp='$CXXCPP $CPPFLAGS'
58550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58553
58554 cat >conftest.$ac_ext <<_ACEOF
58555 /* confdefs.h. */
58556 _ACEOF
58557 cat confdefs.h >>conftest.$ac_ext
58558 cat >>conftest.$ac_ext <<_ACEOF
58559 /* end confdefs.h. */
58560 #include <math.h>
58561 #ifdef HAVE_IEEEFP_H
58562 #include <ieeefp.h>
58563 #endif
58564
58565 int
58566 main ()
58567 {
58568 sqrtl(0);
58569 ;
58570 return 0;
58571 }
58572 _ACEOF
58573 rm -f conftest.$ac_objext
58574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58575 (eval $ac_compile) 2>conftest.er1
58576 ac_status=$?
58577 grep -v '^ *+' conftest.er1 >conftest.err
58578 rm -f conftest.er1
58579 cat conftest.err >&5
58580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58581 (exit $ac_status); } &&
58582 { ac_try='test -z "$ac_cxx_werror_flag"
58583 || test ! -s conftest.err'
58584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58585 (eval $ac_try) 2>&5
58586 ac_status=$?
58587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58588 (exit $ac_status); }; } &&
58589 { ac_try='test -s conftest.$ac_objext'
58590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58591 (eval $ac_try) 2>&5
58592 ac_status=$?
58593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58594 (exit $ac_status); }; }; then
58595 glibcxx_cv_func_sqrtl_use=yes
58596 else
58597 echo "$as_me: failed program was:" >&5
58598 sed 's/^/| /' conftest.$ac_ext >&5
58599
58600 glibcxx_cv_func_sqrtl_use=no
58601 fi
58602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58603 ac_ext=c
58604 ac_cpp='$CPP $CPPFLAGS'
58605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58608
58609
58610 fi
58611
58612 fi
58613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
58614 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
58615
58616 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58617
58618 for ac_func in sqrtl
58619 do
58620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58621 echo "$as_me:$LINENO: checking for $ac_func" >&5
58622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58623 if eval "test \"\${$as_ac_var+set}\" = set"; then
58624 echo $ECHO_N "(cached) $ECHO_C" >&6
58625 else
58626 if test x$gcc_no_link = xyes; then
58627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58629 { (exit 1); exit 1; }; }
58630 fi
58631 cat >conftest.$ac_ext <<_ACEOF
58632 /* confdefs.h. */
58633 _ACEOF
58634 cat confdefs.h >>conftest.$ac_ext
58635 cat >>conftest.$ac_ext <<_ACEOF
58636 /* end confdefs.h. */
58637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58639 #define $ac_func innocuous_$ac_func
58640
58641 /* System header to define __stub macros and hopefully few prototypes,
58642 which can conflict with char $ac_func (); below.
58643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58644 <limits.h> exists even on freestanding compilers. */
58645
58646 #ifdef __STDC__
58647 # include <limits.h>
58648 #else
58649 # include <assert.h>
58650 #endif
58651
58652 #undef $ac_func
58653
58654 /* Override any gcc2 internal prototype to avoid an error. */
58655 #ifdef __cplusplus
58656 extern "C"
58657 {
58658 #endif
58659 /* We use char because int might match the return type of a gcc2
58660 builtin and then its argument prototype would still apply. */
58661 char $ac_func ();
58662 /* The GNU C library defines this for functions which it implements
58663 to always fail with ENOSYS. Some functions are actually named
58664 something starting with __ and the normal name is an alias. */
58665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58666 choke me
58667 #else
58668 char (*f) () = $ac_func;
58669 #endif
58670 #ifdef __cplusplus
58671 }
58672 #endif
58673
58674 int
58675 main ()
58676 {
58677 return f != $ac_func;
58678 ;
58679 return 0;
58680 }
58681 _ACEOF
58682 rm -f conftest.$ac_objext conftest$ac_exeext
58683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58684 (eval $ac_link) 2>conftest.er1
58685 ac_status=$?
58686 grep -v '^ *+' conftest.er1 >conftest.err
58687 rm -f conftest.er1
58688 cat conftest.err >&5
58689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58690 (exit $ac_status); } &&
58691 { ac_try='test -z "$ac_c_werror_flag"
58692 || test ! -s conftest.err'
58693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58694 (eval $ac_try) 2>&5
58695 ac_status=$?
58696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58697 (exit $ac_status); }; } &&
58698 { ac_try='test -s conftest$ac_exeext'
58699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58700 (eval $ac_try) 2>&5
58701 ac_status=$?
58702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58703 (exit $ac_status); }; }; then
58704 eval "$as_ac_var=yes"
58705 else
58706 echo "$as_me: failed program was:" >&5
58707 sed 's/^/| /' conftest.$ac_ext >&5
58708
58709 eval "$as_ac_var=no"
58710 fi
58711 rm -f conftest.err conftest.$ac_objext \
58712 conftest$ac_exeext conftest.$ac_ext
58713 fi
58714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58716 if test `eval echo '${'$as_ac_var'}'` = yes; then
58717 cat >>confdefs.h <<_ACEOF
58718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58719 _ACEOF
58720
58721 fi
58722 done
58723
58724 else
58725
58726 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
58727 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
58728 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58729 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
58730 echo $ECHO_N "(cached) $ECHO_C" >&6
58731 else
58732
58733
58734
58735 ac_ext=cc
58736 ac_cpp='$CXXCPP $CPPFLAGS'
58737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58740
58741 cat >conftest.$ac_ext <<_ACEOF
58742 /* confdefs.h. */
58743 _ACEOF
58744 cat confdefs.h >>conftest.$ac_ext
58745 cat >>conftest.$ac_ext <<_ACEOF
58746 /* end confdefs.h. */
58747 #include <math.h>
58748 #ifdef HAVE_IEEEFP_H
58749 #include <ieeefp.h>
58750 #endif
58751
58752 int
58753 main ()
58754 {
58755 _sqrtl(0);
58756 ;
58757 return 0;
58758 }
58759 _ACEOF
58760 rm -f conftest.$ac_objext
58761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58762 (eval $ac_compile) 2>conftest.er1
58763 ac_status=$?
58764 grep -v '^ *+' conftest.er1 >conftest.err
58765 rm -f conftest.er1
58766 cat conftest.err >&5
58767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58768 (exit $ac_status); } &&
58769 { ac_try='test -z "$ac_cxx_werror_flag"
58770 || test ! -s conftest.err'
58771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58772 (eval $ac_try) 2>&5
58773 ac_status=$?
58774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58775 (exit $ac_status); }; } &&
58776 { ac_try='test -s conftest.$ac_objext'
58777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58778 (eval $ac_try) 2>&5
58779 ac_status=$?
58780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58781 (exit $ac_status); }; }; then
58782 glibcxx_cv_func__sqrtl_use=yes
58783 else
58784 echo "$as_me: failed program was:" >&5
58785 sed 's/^/| /' conftest.$ac_ext >&5
58786
58787 glibcxx_cv_func__sqrtl_use=no
58788 fi
58789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58790 ac_ext=c
58791 ac_cpp='$CPP $CPPFLAGS'
58792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58795
58796
58797 fi
58798
58799 fi
58800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
58801 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
58802
58803 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58804
58805 for ac_func in _sqrtl
58806 do
58807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58808 echo "$as_me:$LINENO: checking for $ac_func" >&5
58809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58810 if eval "test \"\${$as_ac_var+set}\" = set"; then
58811 echo $ECHO_N "(cached) $ECHO_C" >&6
58812 else
58813 if test x$gcc_no_link = xyes; then
58814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58816 { (exit 1); exit 1; }; }
58817 fi
58818 cat >conftest.$ac_ext <<_ACEOF
58819 /* confdefs.h. */
58820 _ACEOF
58821 cat confdefs.h >>conftest.$ac_ext
58822 cat >>conftest.$ac_ext <<_ACEOF
58823 /* end confdefs.h. */
58824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58826 #define $ac_func innocuous_$ac_func
58827
58828 /* System header to define __stub macros and hopefully few prototypes,
58829 which can conflict with char $ac_func (); below.
58830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58831 <limits.h> exists even on freestanding compilers. */
58832
58833 #ifdef __STDC__
58834 # include <limits.h>
58835 #else
58836 # include <assert.h>
58837 #endif
58838
58839 #undef $ac_func
58840
58841 /* Override any gcc2 internal prototype to avoid an error. */
58842 #ifdef __cplusplus
58843 extern "C"
58844 {
58845 #endif
58846 /* We use char because int might match the return type of a gcc2
58847 builtin and then its argument prototype would still apply. */
58848 char $ac_func ();
58849 /* The GNU C library defines this for functions which it implements
58850 to always fail with ENOSYS. Some functions are actually named
58851 something starting with __ and the normal name is an alias. */
58852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58853 choke me
58854 #else
58855 char (*f) () = $ac_func;
58856 #endif
58857 #ifdef __cplusplus
58858 }
58859 #endif
58860
58861 int
58862 main ()
58863 {
58864 return f != $ac_func;
58865 ;
58866 return 0;
58867 }
58868 _ACEOF
58869 rm -f conftest.$ac_objext conftest$ac_exeext
58870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58871 (eval $ac_link) 2>conftest.er1
58872 ac_status=$?
58873 grep -v '^ *+' conftest.er1 >conftest.err
58874 rm -f conftest.er1
58875 cat conftest.err >&5
58876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58877 (exit $ac_status); } &&
58878 { ac_try='test -z "$ac_c_werror_flag"
58879 || test ! -s conftest.err'
58880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58881 (eval $ac_try) 2>&5
58882 ac_status=$?
58883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58884 (exit $ac_status); }; } &&
58885 { ac_try='test -s conftest$ac_exeext'
58886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58887 (eval $ac_try) 2>&5
58888 ac_status=$?
58889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58890 (exit $ac_status); }; }; then
58891 eval "$as_ac_var=yes"
58892 else
58893 echo "$as_me: failed program was:" >&5
58894 sed 's/^/| /' conftest.$ac_ext >&5
58895
58896 eval "$as_ac_var=no"
58897 fi
58898 rm -f conftest.err conftest.$ac_objext \
58899 conftest$ac_exeext conftest.$ac_ext
58900 fi
58901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58903 if test `eval echo '${'$as_ac_var'}'` = yes; then
58904 cat >>confdefs.h <<_ACEOF
58905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58906 _ACEOF
58907
58908 fi
58909 done
58910
58911 fi
58912 fi
58913
58914
58915
58916
58917
58918
58919 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
58920 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
58921 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58922 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
58923 echo $ECHO_N "(cached) $ECHO_C" >&6
58924 else
58925
58926
58927
58928 ac_ext=cc
58929 ac_cpp='$CXXCPP $CPPFLAGS'
58930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58933
58934 cat >conftest.$ac_ext <<_ACEOF
58935 /* confdefs.h. */
58936 _ACEOF
58937 cat confdefs.h >>conftest.$ac_ext
58938 cat >>conftest.$ac_ext <<_ACEOF
58939 /* end confdefs.h. */
58940 #include <math.h>
58941 int
58942 main ()
58943 {
58944 sincosl(0, 0, 0);
58945 ;
58946 return 0;
58947 }
58948 _ACEOF
58949 rm -f conftest.$ac_objext
58950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58951 (eval $ac_compile) 2>conftest.er1
58952 ac_status=$?
58953 grep -v '^ *+' conftest.er1 >conftest.err
58954 rm -f conftest.er1
58955 cat conftest.err >&5
58956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58957 (exit $ac_status); } &&
58958 { ac_try='test -z "$ac_cxx_werror_flag"
58959 || test ! -s conftest.err'
58960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58961 (eval $ac_try) 2>&5
58962 ac_status=$?
58963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58964 (exit $ac_status); }; } &&
58965 { ac_try='test -s conftest.$ac_objext'
58966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58967 (eval $ac_try) 2>&5
58968 ac_status=$?
58969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58970 (exit $ac_status); }; }; then
58971 glibcxx_cv_func_sincosl_use=yes
58972 else
58973 echo "$as_me: failed program was:" >&5
58974 sed 's/^/| /' conftest.$ac_ext >&5
58975
58976 glibcxx_cv_func_sincosl_use=no
58977 fi
58978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58979 ac_ext=c
58980 ac_cpp='$CPP $CPPFLAGS'
58981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58984
58985
58986 fi
58987
58988 fi
58989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
58990 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
58991
58992 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58993
58994 for ac_func in sincosl
58995 do
58996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58997 echo "$as_me:$LINENO: checking for $ac_func" >&5
58998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58999 if eval "test \"\${$as_ac_var+set}\" = set"; then
59000 echo $ECHO_N "(cached) $ECHO_C" >&6
59001 else
59002 if test x$gcc_no_link = xyes; then
59003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59005 { (exit 1); exit 1; }; }
59006 fi
59007 cat >conftest.$ac_ext <<_ACEOF
59008 /* confdefs.h. */
59009 _ACEOF
59010 cat confdefs.h >>conftest.$ac_ext
59011 cat >>conftest.$ac_ext <<_ACEOF
59012 /* end confdefs.h. */
59013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59015 #define $ac_func innocuous_$ac_func
59016
59017 /* System header to define __stub macros and hopefully few prototypes,
59018 which can conflict with char $ac_func (); below.
59019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59020 <limits.h> exists even on freestanding compilers. */
59021
59022 #ifdef __STDC__
59023 # include <limits.h>
59024 #else
59025 # include <assert.h>
59026 #endif
59027
59028 #undef $ac_func
59029
59030 /* Override any gcc2 internal prototype to avoid an error. */
59031 #ifdef __cplusplus
59032 extern "C"
59033 {
59034 #endif
59035 /* We use char because int might match the return type of a gcc2
59036 builtin and then its argument prototype would still apply. */
59037 char $ac_func ();
59038 /* The GNU C library defines this for functions which it implements
59039 to always fail with ENOSYS. Some functions are actually named
59040 something starting with __ and the normal name is an alias. */
59041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59042 choke me
59043 #else
59044 char (*f) () = $ac_func;
59045 #endif
59046 #ifdef __cplusplus
59047 }
59048 #endif
59049
59050 int
59051 main ()
59052 {
59053 return f != $ac_func;
59054 ;
59055 return 0;
59056 }
59057 _ACEOF
59058 rm -f conftest.$ac_objext conftest$ac_exeext
59059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59060 (eval $ac_link) 2>conftest.er1
59061 ac_status=$?
59062 grep -v '^ *+' conftest.er1 >conftest.err
59063 rm -f conftest.er1
59064 cat conftest.err >&5
59065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59066 (exit $ac_status); } &&
59067 { ac_try='test -z "$ac_c_werror_flag"
59068 || test ! -s conftest.err'
59069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59070 (eval $ac_try) 2>&5
59071 ac_status=$?
59072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59073 (exit $ac_status); }; } &&
59074 { ac_try='test -s conftest$ac_exeext'
59075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59076 (eval $ac_try) 2>&5
59077 ac_status=$?
59078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59079 (exit $ac_status); }; }; then
59080 eval "$as_ac_var=yes"
59081 else
59082 echo "$as_me: failed program was:" >&5
59083 sed 's/^/| /' conftest.$ac_ext >&5
59084
59085 eval "$as_ac_var=no"
59086 fi
59087 rm -f conftest.err conftest.$ac_objext \
59088 conftest$ac_exeext conftest.$ac_ext
59089 fi
59090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59092 if test `eval echo '${'$as_ac_var'}'` = yes; then
59093 cat >>confdefs.h <<_ACEOF
59094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59095 _ACEOF
59096
59097 fi
59098 done
59099
59100 else
59101
59102 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
59103 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
59104 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59105 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
59106 echo $ECHO_N "(cached) $ECHO_C" >&6
59107 else
59108
59109
59110
59111 ac_ext=cc
59112 ac_cpp='$CXXCPP $CPPFLAGS'
59113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59116
59117 cat >conftest.$ac_ext <<_ACEOF
59118 /* confdefs.h. */
59119 _ACEOF
59120 cat confdefs.h >>conftest.$ac_ext
59121 cat >>conftest.$ac_ext <<_ACEOF
59122 /* end confdefs.h. */
59123 #include <math.h>
59124 int
59125 main ()
59126 {
59127 _sincosl(0, 0, 0);
59128 ;
59129 return 0;
59130 }
59131 _ACEOF
59132 rm -f conftest.$ac_objext
59133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59134 (eval $ac_compile) 2>conftest.er1
59135 ac_status=$?
59136 grep -v '^ *+' conftest.er1 >conftest.err
59137 rm -f conftest.er1
59138 cat conftest.err >&5
59139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59140 (exit $ac_status); } &&
59141 { ac_try='test -z "$ac_cxx_werror_flag"
59142 || test ! -s conftest.err'
59143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59144 (eval $ac_try) 2>&5
59145 ac_status=$?
59146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59147 (exit $ac_status); }; } &&
59148 { ac_try='test -s conftest.$ac_objext'
59149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59150 (eval $ac_try) 2>&5
59151 ac_status=$?
59152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59153 (exit $ac_status); }; }; then
59154 glibcxx_cv_func__sincosl_use=yes
59155 else
59156 echo "$as_me: failed program was:" >&5
59157 sed 's/^/| /' conftest.$ac_ext >&5
59158
59159 glibcxx_cv_func__sincosl_use=no
59160 fi
59161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59162 ac_ext=c
59163 ac_cpp='$CPP $CPPFLAGS'
59164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59167
59168
59169 fi
59170
59171 fi
59172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
59173 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
59174
59175 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59176
59177 for ac_func in _sincosl
59178 do
59179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59180 echo "$as_me:$LINENO: checking for $ac_func" >&5
59181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59182 if eval "test \"\${$as_ac_var+set}\" = set"; then
59183 echo $ECHO_N "(cached) $ECHO_C" >&6
59184 else
59185 if test x$gcc_no_link = xyes; then
59186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59188 { (exit 1); exit 1; }; }
59189 fi
59190 cat >conftest.$ac_ext <<_ACEOF
59191 /* confdefs.h. */
59192 _ACEOF
59193 cat confdefs.h >>conftest.$ac_ext
59194 cat >>conftest.$ac_ext <<_ACEOF
59195 /* end confdefs.h. */
59196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59198 #define $ac_func innocuous_$ac_func
59199
59200 /* System header to define __stub macros and hopefully few prototypes,
59201 which can conflict with char $ac_func (); below.
59202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59203 <limits.h> exists even on freestanding compilers. */
59204
59205 #ifdef __STDC__
59206 # include <limits.h>
59207 #else
59208 # include <assert.h>
59209 #endif
59210
59211 #undef $ac_func
59212
59213 /* Override any gcc2 internal prototype to avoid an error. */
59214 #ifdef __cplusplus
59215 extern "C"
59216 {
59217 #endif
59218 /* We use char because int might match the return type of a gcc2
59219 builtin and then its argument prototype would still apply. */
59220 char $ac_func ();
59221 /* The GNU C library defines this for functions which it implements
59222 to always fail with ENOSYS. Some functions are actually named
59223 something starting with __ and the normal name is an alias. */
59224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59225 choke me
59226 #else
59227 char (*f) () = $ac_func;
59228 #endif
59229 #ifdef __cplusplus
59230 }
59231 #endif
59232
59233 int
59234 main ()
59235 {
59236 return f != $ac_func;
59237 ;
59238 return 0;
59239 }
59240 _ACEOF
59241 rm -f conftest.$ac_objext conftest$ac_exeext
59242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59243 (eval $ac_link) 2>conftest.er1
59244 ac_status=$?
59245 grep -v '^ *+' conftest.er1 >conftest.err
59246 rm -f conftest.er1
59247 cat conftest.err >&5
59248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59249 (exit $ac_status); } &&
59250 { ac_try='test -z "$ac_c_werror_flag"
59251 || test ! -s conftest.err'
59252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59253 (eval $ac_try) 2>&5
59254 ac_status=$?
59255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59256 (exit $ac_status); }; } &&
59257 { ac_try='test -s conftest$ac_exeext'
59258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59259 (eval $ac_try) 2>&5
59260 ac_status=$?
59261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59262 (exit $ac_status); }; }; then
59263 eval "$as_ac_var=yes"
59264 else
59265 echo "$as_me: failed program was:" >&5
59266 sed 's/^/| /' conftest.$ac_ext >&5
59267
59268 eval "$as_ac_var=no"
59269 fi
59270 rm -f conftest.err conftest.$ac_objext \
59271 conftest$ac_exeext conftest.$ac_ext
59272 fi
59273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59275 if test `eval echo '${'$as_ac_var'}'` = yes; then
59276 cat >>confdefs.h <<_ACEOF
59277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59278 _ACEOF
59279
59280 fi
59281 done
59282
59283 fi
59284 fi
59285
59286
59287
59288
59289
59290
59291 echo "$as_me:$LINENO: checking for finitel declaration" >&5
59292 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
59293 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59294 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
59295 echo $ECHO_N "(cached) $ECHO_C" >&6
59296 else
59297
59298
59299
59300 ac_ext=cc
59301 ac_cpp='$CXXCPP $CPPFLAGS'
59302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59305
59306 cat >conftest.$ac_ext <<_ACEOF
59307 /* confdefs.h. */
59308 _ACEOF
59309 cat confdefs.h >>conftest.$ac_ext
59310 cat >>conftest.$ac_ext <<_ACEOF
59311 /* end confdefs.h. */
59312 #include <math.h>
59313 #ifdef HAVE_IEEEFP_H
59314 #include <ieeefp.h>
59315 #endif
59316
59317 int
59318 main ()
59319 {
59320 finitel(0);
59321 ;
59322 return 0;
59323 }
59324 _ACEOF
59325 rm -f conftest.$ac_objext
59326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59327 (eval $ac_compile) 2>conftest.er1
59328 ac_status=$?
59329 grep -v '^ *+' conftest.er1 >conftest.err
59330 rm -f conftest.er1
59331 cat conftest.err >&5
59332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59333 (exit $ac_status); } &&
59334 { ac_try='test -z "$ac_cxx_werror_flag"
59335 || test ! -s conftest.err'
59336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59337 (eval $ac_try) 2>&5
59338 ac_status=$?
59339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59340 (exit $ac_status); }; } &&
59341 { ac_try='test -s conftest.$ac_objext'
59342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59343 (eval $ac_try) 2>&5
59344 ac_status=$?
59345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59346 (exit $ac_status); }; }; then
59347 glibcxx_cv_func_finitel_use=yes
59348 else
59349 echo "$as_me: failed program was:" >&5
59350 sed 's/^/| /' conftest.$ac_ext >&5
59351
59352 glibcxx_cv_func_finitel_use=no
59353 fi
59354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59355 ac_ext=c
59356 ac_cpp='$CPP $CPPFLAGS'
59357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59360
59361
59362 fi
59363
59364 fi
59365 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
59366 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
59367
59368 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59369
59370 for ac_func in finitel
59371 do
59372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59373 echo "$as_me:$LINENO: checking for $ac_func" >&5
59374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59375 if eval "test \"\${$as_ac_var+set}\" = set"; then
59376 echo $ECHO_N "(cached) $ECHO_C" >&6
59377 else
59378 if test x$gcc_no_link = xyes; then
59379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59381 { (exit 1); exit 1; }; }
59382 fi
59383 cat >conftest.$ac_ext <<_ACEOF
59384 /* confdefs.h. */
59385 _ACEOF
59386 cat confdefs.h >>conftest.$ac_ext
59387 cat >>conftest.$ac_ext <<_ACEOF
59388 /* end confdefs.h. */
59389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59391 #define $ac_func innocuous_$ac_func
59392
59393 /* System header to define __stub macros and hopefully few prototypes,
59394 which can conflict with char $ac_func (); below.
59395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59396 <limits.h> exists even on freestanding compilers. */
59397
59398 #ifdef __STDC__
59399 # include <limits.h>
59400 #else
59401 # include <assert.h>
59402 #endif
59403
59404 #undef $ac_func
59405
59406 /* Override any gcc2 internal prototype to avoid an error. */
59407 #ifdef __cplusplus
59408 extern "C"
59409 {
59410 #endif
59411 /* We use char because int might match the return type of a gcc2
59412 builtin and then its argument prototype would still apply. */
59413 char $ac_func ();
59414 /* The GNU C library defines this for functions which it implements
59415 to always fail with ENOSYS. Some functions are actually named
59416 something starting with __ and the normal name is an alias. */
59417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59418 choke me
59419 #else
59420 char (*f) () = $ac_func;
59421 #endif
59422 #ifdef __cplusplus
59423 }
59424 #endif
59425
59426 int
59427 main ()
59428 {
59429 return f != $ac_func;
59430 ;
59431 return 0;
59432 }
59433 _ACEOF
59434 rm -f conftest.$ac_objext conftest$ac_exeext
59435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59436 (eval $ac_link) 2>conftest.er1
59437 ac_status=$?
59438 grep -v '^ *+' conftest.er1 >conftest.err
59439 rm -f conftest.er1
59440 cat conftest.err >&5
59441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59442 (exit $ac_status); } &&
59443 { ac_try='test -z "$ac_c_werror_flag"
59444 || test ! -s conftest.err'
59445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59446 (eval $ac_try) 2>&5
59447 ac_status=$?
59448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59449 (exit $ac_status); }; } &&
59450 { ac_try='test -s conftest$ac_exeext'
59451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59452 (eval $ac_try) 2>&5
59453 ac_status=$?
59454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59455 (exit $ac_status); }; }; then
59456 eval "$as_ac_var=yes"
59457 else
59458 echo "$as_me: failed program was:" >&5
59459 sed 's/^/| /' conftest.$ac_ext >&5
59460
59461 eval "$as_ac_var=no"
59462 fi
59463 rm -f conftest.err conftest.$ac_objext \
59464 conftest$ac_exeext conftest.$ac_ext
59465 fi
59466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59468 if test `eval echo '${'$as_ac_var'}'` = yes; then
59469 cat >>confdefs.h <<_ACEOF
59470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59471 _ACEOF
59472
59473 fi
59474 done
59475
59476 else
59477
59478 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
59479 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
59480 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59481 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
59482 echo $ECHO_N "(cached) $ECHO_C" >&6
59483 else
59484
59485
59486
59487 ac_ext=cc
59488 ac_cpp='$CXXCPP $CPPFLAGS'
59489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59492
59493 cat >conftest.$ac_ext <<_ACEOF
59494 /* confdefs.h. */
59495 _ACEOF
59496 cat confdefs.h >>conftest.$ac_ext
59497 cat >>conftest.$ac_ext <<_ACEOF
59498 /* end confdefs.h. */
59499 #include <math.h>
59500 #ifdef HAVE_IEEEFP_H
59501 #include <ieeefp.h>
59502 #endif
59503
59504 int
59505 main ()
59506 {
59507 _finitel(0);
59508 ;
59509 return 0;
59510 }
59511 _ACEOF
59512 rm -f conftest.$ac_objext
59513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59514 (eval $ac_compile) 2>conftest.er1
59515 ac_status=$?
59516 grep -v '^ *+' conftest.er1 >conftest.err
59517 rm -f conftest.er1
59518 cat conftest.err >&5
59519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59520 (exit $ac_status); } &&
59521 { ac_try='test -z "$ac_cxx_werror_flag"
59522 || test ! -s conftest.err'
59523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59524 (eval $ac_try) 2>&5
59525 ac_status=$?
59526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59527 (exit $ac_status); }; } &&
59528 { ac_try='test -s conftest.$ac_objext'
59529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59530 (eval $ac_try) 2>&5
59531 ac_status=$?
59532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59533 (exit $ac_status); }; }; then
59534 glibcxx_cv_func__finitel_use=yes
59535 else
59536 echo "$as_me: failed program was:" >&5
59537 sed 's/^/| /' conftest.$ac_ext >&5
59538
59539 glibcxx_cv_func__finitel_use=no
59540 fi
59541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59542 ac_ext=c
59543 ac_cpp='$CPP $CPPFLAGS'
59544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59547
59548
59549 fi
59550
59551 fi
59552 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
59553 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
59554
59555 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59556
59557 for ac_func in _finitel
59558 do
59559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59560 echo "$as_me:$LINENO: checking for $ac_func" >&5
59561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59562 if eval "test \"\${$as_ac_var+set}\" = set"; then
59563 echo $ECHO_N "(cached) $ECHO_C" >&6
59564 else
59565 if test x$gcc_no_link = xyes; then
59566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59568 { (exit 1); exit 1; }; }
59569 fi
59570 cat >conftest.$ac_ext <<_ACEOF
59571 /* confdefs.h. */
59572 _ACEOF
59573 cat confdefs.h >>conftest.$ac_ext
59574 cat >>conftest.$ac_ext <<_ACEOF
59575 /* end confdefs.h. */
59576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59578 #define $ac_func innocuous_$ac_func
59579
59580 /* System header to define __stub macros and hopefully few prototypes,
59581 which can conflict with char $ac_func (); below.
59582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59583 <limits.h> exists even on freestanding compilers. */
59584
59585 #ifdef __STDC__
59586 # include <limits.h>
59587 #else
59588 # include <assert.h>
59589 #endif
59590
59591 #undef $ac_func
59592
59593 /* Override any gcc2 internal prototype to avoid an error. */
59594 #ifdef __cplusplus
59595 extern "C"
59596 {
59597 #endif
59598 /* We use char because int might match the return type of a gcc2
59599 builtin and then its argument prototype would still apply. */
59600 char $ac_func ();
59601 /* The GNU C library defines this for functions which it implements
59602 to always fail with ENOSYS. Some functions are actually named
59603 something starting with __ and the normal name is an alias. */
59604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59605 choke me
59606 #else
59607 char (*f) () = $ac_func;
59608 #endif
59609 #ifdef __cplusplus
59610 }
59611 #endif
59612
59613 int
59614 main ()
59615 {
59616 return f != $ac_func;
59617 ;
59618 return 0;
59619 }
59620 _ACEOF
59621 rm -f conftest.$ac_objext conftest$ac_exeext
59622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59623 (eval $ac_link) 2>conftest.er1
59624 ac_status=$?
59625 grep -v '^ *+' conftest.er1 >conftest.err
59626 rm -f conftest.er1
59627 cat conftest.err >&5
59628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59629 (exit $ac_status); } &&
59630 { ac_try='test -z "$ac_c_werror_flag"
59631 || test ! -s conftest.err'
59632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59633 (eval $ac_try) 2>&5
59634 ac_status=$?
59635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59636 (exit $ac_status); }; } &&
59637 { ac_try='test -s conftest$ac_exeext'
59638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59639 (eval $ac_try) 2>&5
59640 ac_status=$?
59641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59642 (exit $ac_status); }; }; then
59643 eval "$as_ac_var=yes"
59644 else
59645 echo "$as_me: failed program was:" >&5
59646 sed 's/^/| /' conftest.$ac_ext >&5
59647
59648 eval "$as_ac_var=no"
59649 fi
59650 rm -f conftest.err conftest.$ac_objext \
59651 conftest$ac_exeext conftest.$ac_ext
59652 fi
59653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59655 if test `eval echo '${'$as_ac_var'}'` = yes; then
59656 cat >>confdefs.h <<_ACEOF
59657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59658 _ACEOF
59659
59660 fi
59661 done
59662
59663 fi
59664 fi
59665
59666
59667
59668
59669
59670 LIBS="$ac_save_LIBS"
59671 CXXFLAGS="$ac_save_CXXFLAGS"
59672
59673
59674
59675 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
59676 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
59677 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
59678 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
59679 echo $ECHO_N "(cached) $ECHO_C" >&6
59680 else
59681
59682
59683
59684 ac_ext=cc
59685 ac_cpp='$CXXCPP $CPPFLAGS'
59686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59689
59690 cat >conftest.$ac_ext <<_ACEOF
59691 /* confdefs.h. */
59692 _ACEOF
59693 cat confdefs.h >>conftest.$ac_ext
59694 cat >>conftest.$ac_ext <<_ACEOF
59695 /* end confdefs.h. */
59696 #include <math.h>
59697 int
59698 main ()
59699 {
59700 __builtin_abs(0);
59701 ;
59702 return 0;
59703 }
59704 _ACEOF
59705 rm -f conftest.$ac_objext
59706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59707 (eval $ac_compile) 2>conftest.er1
59708 ac_status=$?
59709 grep -v '^ *+' conftest.er1 >conftest.err
59710 rm -f conftest.er1
59711 cat conftest.err >&5
59712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59713 (exit $ac_status); } &&
59714 { ac_try='test -z "$ac_cxx_werror_flag"
59715 || test ! -s conftest.err'
59716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59717 (eval $ac_try) 2>&5
59718 ac_status=$?
59719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59720 (exit $ac_status); }; } &&
59721 { ac_try='test -s conftest.$ac_objext'
59722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59723 (eval $ac_try) 2>&5
59724 ac_status=$?
59725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59726 (exit $ac_status); }; }; then
59727 glibcxx_cv_func___builtin_abs_use=yes
59728 else
59729 echo "$as_me: failed program was:" >&5
59730 sed 's/^/| /' conftest.$ac_ext >&5
59731
59732 glibcxx_cv_func___builtin_abs_use=no
59733 fi
59734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59735 ac_ext=c
59736 ac_cpp='$CPP $CPPFLAGS'
59737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59740
59741
59742 fi
59743
59744 fi
59745 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
59746 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
59747 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
59748 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
59749 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
59750 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
59751 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
59752 echo $ECHO_N "(cached) $ECHO_C" >&6
59753 else
59754
59755 if test x$gcc_no_link = xyes; then
59756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59758 { (exit 1); exit 1; }; }
59759 fi
59760 cat >conftest.$ac_ext <<_ACEOF
59761 /* confdefs.h. */
59762 _ACEOF
59763 cat confdefs.h >>conftest.$ac_ext
59764 cat >>conftest.$ac_ext <<_ACEOF
59765 /* end confdefs.h. */
59766 #include <math.h>
59767 int
59768 main ()
59769 {
59770 __builtin_abs(0);
59771 ;
59772 return 0;
59773 }
59774 _ACEOF
59775 rm -f conftest.$ac_objext conftest$ac_exeext
59776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59777 (eval $ac_link) 2>conftest.er1
59778 ac_status=$?
59779 grep -v '^ *+' conftest.er1 >conftest.err
59780 rm -f conftest.er1
59781 cat conftest.err >&5
59782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59783 (exit $ac_status); } &&
59784 { ac_try='test -z "$ac_c_werror_flag"
59785 || test ! -s conftest.err'
59786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59787 (eval $ac_try) 2>&5
59788 ac_status=$?
59789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59790 (exit $ac_status); }; } &&
59791 { ac_try='test -s conftest$ac_exeext'
59792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59793 (eval $ac_try) 2>&5
59794 ac_status=$?
59795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59796 (exit $ac_status); }; }; then
59797 glibcxx_cv_func___builtin_abs_link=yes
59798 else
59799 echo "$as_me: failed program was:" >&5
59800 sed 's/^/| /' conftest.$ac_ext >&5
59801
59802 glibcxx_cv_func___builtin_abs_link=no
59803 fi
59804 rm -f conftest.err conftest.$ac_objext \
59805 conftest$ac_exeext conftest.$ac_ext
59806
59807 fi
59808
59809 fi
59810 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
59811 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
59812
59813 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
59814
59815 cat >>confdefs.h <<\_ACEOF
59816 #define HAVE___BUILTIN_ABS 1
59817 _ACEOF
59818
59819 fi
59820
59821 fi
59822
59823
59824 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
59825 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
59826 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
59827 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
59828 echo $ECHO_N "(cached) $ECHO_C" >&6
59829 else
59830
59831
59832
59833 ac_ext=cc
59834 ac_cpp='$CXXCPP $CPPFLAGS'
59835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59838
59839 cat >conftest.$ac_ext <<_ACEOF
59840 /* confdefs.h. */
59841 _ACEOF
59842 cat confdefs.h >>conftest.$ac_ext
59843 cat >>conftest.$ac_ext <<_ACEOF
59844 /* end confdefs.h. */
59845 #include <math.h>
59846 int
59847 main ()
59848 {
59849 __builtin_fabsf(0);
59850 ;
59851 return 0;
59852 }
59853 _ACEOF
59854 rm -f conftest.$ac_objext
59855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59856 (eval $ac_compile) 2>conftest.er1
59857 ac_status=$?
59858 grep -v '^ *+' conftest.er1 >conftest.err
59859 rm -f conftest.er1
59860 cat conftest.err >&5
59861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59862 (exit $ac_status); } &&
59863 { ac_try='test -z "$ac_cxx_werror_flag"
59864 || test ! -s conftest.err'
59865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59866 (eval $ac_try) 2>&5
59867 ac_status=$?
59868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59869 (exit $ac_status); }; } &&
59870 { ac_try='test -s conftest.$ac_objext'
59871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59872 (eval $ac_try) 2>&5
59873 ac_status=$?
59874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59875 (exit $ac_status); }; }; then
59876 glibcxx_cv_func___builtin_fabsf_use=yes
59877 else
59878 echo "$as_me: failed program was:" >&5
59879 sed 's/^/| /' conftest.$ac_ext >&5
59880
59881 glibcxx_cv_func___builtin_fabsf_use=no
59882 fi
59883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59884 ac_ext=c
59885 ac_cpp='$CPP $CPPFLAGS'
59886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59889
59890
59891 fi
59892
59893 fi
59894 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
59895 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
59896 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
59897 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
59898 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
59899 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
59900 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
59901 echo $ECHO_N "(cached) $ECHO_C" >&6
59902 else
59903
59904 if test x$gcc_no_link = xyes; then
59905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59907 { (exit 1); exit 1; }; }
59908 fi
59909 cat >conftest.$ac_ext <<_ACEOF
59910 /* confdefs.h. */
59911 _ACEOF
59912 cat confdefs.h >>conftest.$ac_ext
59913 cat >>conftest.$ac_ext <<_ACEOF
59914 /* end confdefs.h. */
59915 #include <math.h>
59916 int
59917 main ()
59918 {
59919 __builtin_fabsf(0);
59920 ;
59921 return 0;
59922 }
59923 _ACEOF
59924 rm -f conftest.$ac_objext conftest$ac_exeext
59925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59926 (eval $ac_link) 2>conftest.er1
59927 ac_status=$?
59928 grep -v '^ *+' conftest.er1 >conftest.err
59929 rm -f conftest.er1
59930 cat conftest.err >&5
59931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59932 (exit $ac_status); } &&
59933 { ac_try='test -z "$ac_c_werror_flag"
59934 || test ! -s conftest.err'
59935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59936 (eval $ac_try) 2>&5
59937 ac_status=$?
59938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59939 (exit $ac_status); }; } &&
59940 { ac_try='test -s conftest$ac_exeext'
59941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59942 (eval $ac_try) 2>&5
59943 ac_status=$?
59944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59945 (exit $ac_status); }; }; then
59946 glibcxx_cv_func___builtin_fabsf_link=yes
59947 else
59948 echo "$as_me: failed program was:" >&5
59949 sed 's/^/| /' conftest.$ac_ext >&5
59950
59951 glibcxx_cv_func___builtin_fabsf_link=no
59952 fi
59953 rm -f conftest.err conftest.$ac_objext \
59954 conftest$ac_exeext conftest.$ac_ext
59955
59956 fi
59957
59958 fi
59959 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
59960 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
59961
59962 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
59963
59964 cat >>confdefs.h <<\_ACEOF
59965 #define HAVE___BUILTIN_FABSF 1
59966 _ACEOF
59967
59968 fi
59969
59970 fi
59971
59972
59973 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
59974 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
59975 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
59976 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
59977 echo $ECHO_N "(cached) $ECHO_C" >&6
59978 else
59979
59980
59981
59982 ac_ext=cc
59983 ac_cpp='$CXXCPP $CPPFLAGS'
59984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59987
59988 cat >conftest.$ac_ext <<_ACEOF
59989 /* confdefs.h. */
59990 _ACEOF
59991 cat confdefs.h >>conftest.$ac_ext
59992 cat >>conftest.$ac_ext <<_ACEOF
59993 /* end confdefs.h. */
59994 #include <math.h>
59995 int
59996 main ()
59997 {
59998 __builtin_fabs(0);
59999 ;
60000 return 0;
60001 }
60002 _ACEOF
60003 rm -f conftest.$ac_objext
60004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60005 (eval $ac_compile) 2>conftest.er1
60006 ac_status=$?
60007 grep -v '^ *+' conftest.er1 >conftest.err
60008 rm -f conftest.er1
60009 cat conftest.err >&5
60010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60011 (exit $ac_status); } &&
60012 { ac_try='test -z "$ac_cxx_werror_flag"
60013 || test ! -s conftest.err'
60014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60015 (eval $ac_try) 2>&5
60016 ac_status=$?
60017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60018 (exit $ac_status); }; } &&
60019 { ac_try='test -s conftest.$ac_objext'
60020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60021 (eval $ac_try) 2>&5
60022 ac_status=$?
60023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60024 (exit $ac_status); }; }; then
60025 glibcxx_cv_func___builtin_fabs_use=yes
60026 else
60027 echo "$as_me: failed program was:" >&5
60028 sed 's/^/| /' conftest.$ac_ext >&5
60029
60030 glibcxx_cv_func___builtin_fabs_use=no
60031 fi
60032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60033 ac_ext=c
60034 ac_cpp='$CPP $CPPFLAGS'
60035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60038
60039
60040 fi
60041
60042 fi
60043 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
60044 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
60045 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
60046 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
60047 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
60048 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
60049 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
60050 echo $ECHO_N "(cached) $ECHO_C" >&6
60051 else
60052
60053 if test x$gcc_no_link = xyes; then
60054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60056 { (exit 1); exit 1; }; }
60057 fi
60058 cat >conftest.$ac_ext <<_ACEOF
60059 /* confdefs.h. */
60060 _ACEOF
60061 cat confdefs.h >>conftest.$ac_ext
60062 cat >>conftest.$ac_ext <<_ACEOF
60063 /* end confdefs.h. */
60064 #include <math.h>
60065 int
60066 main ()
60067 {
60068 __builtin_fabs(0);
60069 ;
60070 return 0;
60071 }
60072 _ACEOF
60073 rm -f conftest.$ac_objext conftest$ac_exeext
60074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60075 (eval $ac_link) 2>conftest.er1
60076 ac_status=$?
60077 grep -v '^ *+' conftest.er1 >conftest.err
60078 rm -f conftest.er1
60079 cat conftest.err >&5
60080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60081 (exit $ac_status); } &&
60082 { ac_try='test -z "$ac_c_werror_flag"
60083 || test ! -s conftest.err'
60084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60085 (eval $ac_try) 2>&5
60086 ac_status=$?
60087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60088 (exit $ac_status); }; } &&
60089 { ac_try='test -s conftest$ac_exeext'
60090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60091 (eval $ac_try) 2>&5
60092 ac_status=$?
60093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60094 (exit $ac_status); }; }; then
60095 glibcxx_cv_func___builtin_fabs_link=yes
60096 else
60097 echo "$as_me: failed program was:" >&5
60098 sed 's/^/| /' conftest.$ac_ext >&5
60099
60100 glibcxx_cv_func___builtin_fabs_link=no
60101 fi
60102 rm -f conftest.err conftest.$ac_objext \
60103 conftest$ac_exeext conftest.$ac_ext
60104
60105 fi
60106
60107 fi
60108 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
60109 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
60110
60111 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
60112
60113 cat >>confdefs.h <<\_ACEOF
60114 #define HAVE___BUILTIN_FABS 1
60115 _ACEOF
60116
60117 fi
60118
60119 fi
60120
60121
60122 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
60123 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
60124 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
60125 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
60126 echo $ECHO_N "(cached) $ECHO_C" >&6
60127 else
60128
60129
60130
60131 ac_ext=cc
60132 ac_cpp='$CXXCPP $CPPFLAGS'
60133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60136
60137 cat >conftest.$ac_ext <<_ACEOF
60138 /* confdefs.h. */
60139 _ACEOF
60140 cat confdefs.h >>conftest.$ac_ext
60141 cat >>conftest.$ac_ext <<_ACEOF
60142 /* end confdefs.h. */
60143 #include <math.h>
60144 int
60145 main ()
60146 {
60147 __builtin_fabsl(0);
60148 ;
60149 return 0;
60150 }
60151 _ACEOF
60152 rm -f conftest.$ac_objext
60153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60154 (eval $ac_compile) 2>conftest.er1
60155 ac_status=$?
60156 grep -v '^ *+' conftest.er1 >conftest.err
60157 rm -f conftest.er1
60158 cat conftest.err >&5
60159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60160 (exit $ac_status); } &&
60161 { ac_try='test -z "$ac_cxx_werror_flag"
60162 || test ! -s conftest.err'
60163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60164 (eval $ac_try) 2>&5
60165 ac_status=$?
60166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60167 (exit $ac_status); }; } &&
60168 { ac_try='test -s conftest.$ac_objext'
60169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60170 (eval $ac_try) 2>&5
60171 ac_status=$?
60172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60173 (exit $ac_status); }; }; then
60174 glibcxx_cv_func___builtin_fabsl_use=yes
60175 else
60176 echo "$as_me: failed program was:" >&5
60177 sed 's/^/| /' conftest.$ac_ext >&5
60178
60179 glibcxx_cv_func___builtin_fabsl_use=no
60180 fi
60181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60182 ac_ext=c
60183 ac_cpp='$CPP $CPPFLAGS'
60184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60187
60188
60189 fi
60190
60191 fi
60192 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
60193 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
60194 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
60195 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
60196 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
60197 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
60198 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
60199 echo $ECHO_N "(cached) $ECHO_C" >&6
60200 else
60201
60202 if test x$gcc_no_link = xyes; then
60203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60205 { (exit 1); exit 1; }; }
60206 fi
60207 cat >conftest.$ac_ext <<_ACEOF
60208 /* confdefs.h. */
60209 _ACEOF
60210 cat confdefs.h >>conftest.$ac_ext
60211 cat >>conftest.$ac_ext <<_ACEOF
60212 /* end confdefs.h. */
60213 #include <math.h>
60214 int
60215 main ()
60216 {
60217 __builtin_fabsl(0);
60218 ;
60219 return 0;
60220 }
60221 _ACEOF
60222 rm -f conftest.$ac_objext conftest$ac_exeext
60223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60224 (eval $ac_link) 2>conftest.er1
60225 ac_status=$?
60226 grep -v '^ *+' conftest.er1 >conftest.err
60227 rm -f conftest.er1
60228 cat conftest.err >&5
60229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60230 (exit $ac_status); } &&
60231 { ac_try='test -z "$ac_c_werror_flag"
60232 || test ! -s conftest.err'
60233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60234 (eval $ac_try) 2>&5
60235 ac_status=$?
60236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60237 (exit $ac_status); }; } &&
60238 { ac_try='test -s conftest$ac_exeext'
60239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60240 (eval $ac_try) 2>&5
60241 ac_status=$?
60242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60243 (exit $ac_status); }; }; then
60244 glibcxx_cv_func___builtin_fabsl_link=yes
60245 else
60246 echo "$as_me: failed program was:" >&5
60247 sed 's/^/| /' conftest.$ac_ext >&5
60248
60249 glibcxx_cv_func___builtin_fabsl_link=no
60250 fi
60251 rm -f conftest.err conftest.$ac_objext \
60252 conftest$ac_exeext conftest.$ac_ext
60253
60254 fi
60255
60256 fi
60257 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
60258 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
60259
60260 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
60261
60262 cat >>confdefs.h <<\_ACEOF
60263 #define HAVE___BUILTIN_FABSL 1
60264 _ACEOF
60265
60266 fi
60267
60268 fi
60269
60270
60271 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
60272 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
60273 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
60274 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
60275 echo $ECHO_N "(cached) $ECHO_C" >&6
60276 else
60277
60278
60279
60280 ac_ext=cc
60281 ac_cpp='$CXXCPP $CPPFLAGS'
60282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60285
60286 cat >conftest.$ac_ext <<_ACEOF
60287 /* confdefs.h. */
60288 _ACEOF
60289 cat confdefs.h >>conftest.$ac_ext
60290 cat >>conftest.$ac_ext <<_ACEOF
60291 /* end confdefs.h. */
60292 #include <math.h>
60293 int
60294 main ()
60295 {
60296 __builtin_labs(0);
60297 ;
60298 return 0;
60299 }
60300 _ACEOF
60301 rm -f conftest.$ac_objext
60302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60303 (eval $ac_compile) 2>conftest.er1
60304 ac_status=$?
60305 grep -v '^ *+' conftest.er1 >conftest.err
60306 rm -f conftest.er1
60307 cat conftest.err >&5
60308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60309 (exit $ac_status); } &&
60310 { ac_try='test -z "$ac_cxx_werror_flag"
60311 || test ! -s conftest.err'
60312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60313 (eval $ac_try) 2>&5
60314 ac_status=$?
60315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60316 (exit $ac_status); }; } &&
60317 { ac_try='test -s conftest.$ac_objext'
60318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60319 (eval $ac_try) 2>&5
60320 ac_status=$?
60321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60322 (exit $ac_status); }; }; then
60323 glibcxx_cv_func___builtin_labs_use=yes
60324 else
60325 echo "$as_me: failed program was:" >&5
60326 sed 's/^/| /' conftest.$ac_ext >&5
60327
60328 glibcxx_cv_func___builtin_labs_use=no
60329 fi
60330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60331 ac_ext=c
60332 ac_cpp='$CPP $CPPFLAGS'
60333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60336
60337
60338 fi
60339
60340 fi
60341 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
60342 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
60343 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
60344 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
60345 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
60346 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
60347 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
60348 echo $ECHO_N "(cached) $ECHO_C" >&6
60349 else
60350
60351 if test x$gcc_no_link = xyes; then
60352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60354 { (exit 1); exit 1; }; }
60355 fi
60356 cat >conftest.$ac_ext <<_ACEOF
60357 /* confdefs.h. */
60358 _ACEOF
60359 cat confdefs.h >>conftest.$ac_ext
60360 cat >>conftest.$ac_ext <<_ACEOF
60361 /* end confdefs.h. */
60362 #include <math.h>
60363 int
60364 main ()
60365 {
60366 __builtin_labs(0);
60367 ;
60368 return 0;
60369 }
60370 _ACEOF
60371 rm -f conftest.$ac_objext conftest$ac_exeext
60372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60373 (eval $ac_link) 2>conftest.er1
60374 ac_status=$?
60375 grep -v '^ *+' conftest.er1 >conftest.err
60376 rm -f conftest.er1
60377 cat conftest.err >&5
60378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60379 (exit $ac_status); } &&
60380 { ac_try='test -z "$ac_c_werror_flag"
60381 || test ! -s conftest.err'
60382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60383 (eval $ac_try) 2>&5
60384 ac_status=$?
60385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60386 (exit $ac_status); }; } &&
60387 { ac_try='test -s conftest$ac_exeext'
60388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60389 (eval $ac_try) 2>&5
60390 ac_status=$?
60391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60392 (exit $ac_status); }; }; then
60393 glibcxx_cv_func___builtin_labs_link=yes
60394 else
60395 echo "$as_me: failed program was:" >&5
60396 sed 's/^/| /' conftest.$ac_ext >&5
60397
60398 glibcxx_cv_func___builtin_labs_link=no
60399 fi
60400 rm -f conftest.err conftest.$ac_objext \
60401 conftest$ac_exeext conftest.$ac_ext
60402
60403 fi
60404
60405 fi
60406 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
60407 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
60408
60409 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
60410
60411 cat >>confdefs.h <<\_ACEOF
60412 #define HAVE___BUILTIN_LABS 1
60413 _ACEOF
60414
60415 fi
60416
60417 fi
60418
60419
60420
60421 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
60422 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
60423 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
60424 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
60425 echo $ECHO_N "(cached) $ECHO_C" >&6
60426 else
60427
60428
60429
60430 ac_ext=cc
60431 ac_cpp='$CXXCPP $CPPFLAGS'
60432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60435
60436 cat >conftest.$ac_ext <<_ACEOF
60437 /* confdefs.h. */
60438 _ACEOF
60439 cat confdefs.h >>conftest.$ac_ext
60440 cat >>conftest.$ac_ext <<_ACEOF
60441 /* end confdefs.h. */
60442 #include <math.h>
60443 int
60444 main ()
60445 {
60446 __builtin_sqrtf(0);
60447 ;
60448 return 0;
60449 }
60450 _ACEOF
60451 rm -f conftest.$ac_objext
60452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60453 (eval $ac_compile) 2>conftest.er1
60454 ac_status=$?
60455 grep -v '^ *+' conftest.er1 >conftest.err
60456 rm -f conftest.er1
60457 cat conftest.err >&5
60458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60459 (exit $ac_status); } &&
60460 { ac_try='test -z "$ac_cxx_werror_flag"
60461 || test ! -s conftest.err'
60462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60463 (eval $ac_try) 2>&5
60464 ac_status=$?
60465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60466 (exit $ac_status); }; } &&
60467 { ac_try='test -s conftest.$ac_objext'
60468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60469 (eval $ac_try) 2>&5
60470 ac_status=$?
60471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60472 (exit $ac_status); }; }; then
60473 glibcxx_cv_func___builtin_sqrtf_use=yes
60474 else
60475 echo "$as_me: failed program was:" >&5
60476 sed 's/^/| /' conftest.$ac_ext >&5
60477
60478 glibcxx_cv_func___builtin_sqrtf_use=no
60479 fi
60480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60481 ac_ext=c
60482 ac_cpp='$CPP $CPPFLAGS'
60483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60486
60487
60488 fi
60489
60490 fi
60491 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
60492 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
60493 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
60494 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
60495 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
60496 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
60497 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
60498 echo $ECHO_N "(cached) $ECHO_C" >&6
60499 else
60500
60501 if test x$gcc_no_link = xyes; then
60502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60504 { (exit 1); exit 1; }; }
60505 fi
60506 cat >conftest.$ac_ext <<_ACEOF
60507 /* confdefs.h. */
60508 _ACEOF
60509 cat confdefs.h >>conftest.$ac_ext
60510 cat >>conftest.$ac_ext <<_ACEOF
60511 /* end confdefs.h. */
60512 #include <math.h>
60513 int
60514 main ()
60515 {
60516 __builtin_sqrtf(0);
60517 ;
60518 return 0;
60519 }
60520 _ACEOF
60521 rm -f conftest.$ac_objext conftest$ac_exeext
60522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60523 (eval $ac_link) 2>conftest.er1
60524 ac_status=$?
60525 grep -v '^ *+' conftest.er1 >conftest.err
60526 rm -f conftest.er1
60527 cat conftest.err >&5
60528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60529 (exit $ac_status); } &&
60530 { ac_try='test -z "$ac_c_werror_flag"
60531 || test ! -s conftest.err'
60532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60533 (eval $ac_try) 2>&5
60534 ac_status=$?
60535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60536 (exit $ac_status); }; } &&
60537 { ac_try='test -s conftest$ac_exeext'
60538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60539 (eval $ac_try) 2>&5
60540 ac_status=$?
60541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60542 (exit $ac_status); }; }; then
60543 glibcxx_cv_func___builtin_sqrtf_link=yes
60544 else
60545 echo "$as_me: failed program was:" >&5
60546 sed 's/^/| /' conftest.$ac_ext >&5
60547
60548 glibcxx_cv_func___builtin_sqrtf_link=no
60549 fi
60550 rm -f conftest.err conftest.$ac_objext \
60551 conftest$ac_exeext conftest.$ac_ext
60552
60553 fi
60554
60555 fi
60556 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
60557 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
60558
60559 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
60560
60561 cat >>confdefs.h <<\_ACEOF
60562 #define HAVE___BUILTIN_SQRTF 1
60563 _ACEOF
60564
60565 fi
60566
60567 fi
60568
60569
60570 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
60571 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
60572 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
60573 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
60574 echo $ECHO_N "(cached) $ECHO_C" >&6
60575 else
60576
60577
60578
60579 ac_ext=cc
60580 ac_cpp='$CXXCPP $CPPFLAGS'
60581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60584
60585 cat >conftest.$ac_ext <<_ACEOF
60586 /* confdefs.h. */
60587 _ACEOF
60588 cat confdefs.h >>conftest.$ac_ext
60589 cat >>conftest.$ac_ext <<_ACEOF
60590 /* end confdefs.h. */
60591 #include <math.h>
60592 int
60593 main ()
60594 {
60595 __builtin_sqrt(0);
60596 ;
60597 return 0;
60598 }
60599 _ACEOF
60600 rm -f conftest.$ac_objext
60601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60602 (eval $ac_compile) 2>conftest.er1
60603 ac_status=$?
60604 grep -v '^ *+' conftest.er1 >conftest.err
60605 rm -f conftest.er1
60606 cat conftest.err >&5
60607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60608 (exit $ac_status); } &&
60609 { ac_try='test -z "$ac_cxx_werror_flag"
60610 || test ! -s conftest.err'
60611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60612 (eval $ac_try) 2>&5
60613 ac_status=$?
60614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60615 (exit $ac_status); }; } &&
60616 { ac_try='test -s conftest.$ac_objext'
60617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60618 (eval $ac_try) 2>&5
60619 ac_status=$?
60620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60621 (exit $ac_status); }; }; then
60622 glibcxx_cv_func___builtin_sqrt_use=yes
60623 else
60624 echo "$as_me: failed program was:" >&5
60625 sed 's/^/| /' conftest.$ac_ext >&5
60626
60627 glibcxx_cv_func___builtin_sqrt_use=no
60628 fi
60629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60630 ac_ext=c
60631 ac_cpp='$CPP $CPPFLAGS'
60632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60635
60636
60637 fi
60638
60639 fi
60640 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
60641 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
60642 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
60643 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
60644 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
60645 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
60646 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
60647 echo $ECHO_N "(cached) $ECHO_C" >&6
60648 else
60649
60650 if test x$gcc_no_link = xyes; then
60651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60653 { (exit 1); exit 1; }; }
60654 fi
60655 cat >conftest.$ac_ext <<_ACEOF
60656 /* confdefs.h. */
60657 _ACEOF
60658 cat confdefs.h >>conftest.$ac_ext
60659 cat >>conftest.$ac_ext <<_ACEOF
60660 /* end confdefs.h. */
60661 #include <math.h>
60662 int
60663 main ()
60664 {
60665 __builtin_sqrt(0);
60666 ;
60667 return 0;
60668 }
60669 _ACEOF
60670 rm -f conftest.$ac_objext conftest$ac_exeext
60671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60672 (eval $ac_link) 2>conftest.er1
60673 ac_status=$?
60674 grep -v '^ *+' conftest.er1 >conftest.err
60675 rm -f conftest.er1
60676 cat conftest.err >&5
60677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60678 (exit $ac_status); } &&
60679 { ac_try='test -z "$ac_c_werror_flag"
60680 || test ! -s conftest.err'
60681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60682 (eval $ac_try) 2>&5
60683 ac_status=$?
60684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60685 (exit $ac_status); }; } &&
60686 { ac_try='test -s conftest$ac_exeext'
60687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60688 (eval $ac_try) 2>&5
60689 ac_status=$?
60690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60691 (exit $ac_status); }; }; then
60692 glibcxx_cv_func___builtin_sqrt_link=yes
60693 else
60694 echo "$as_me: failed program was:" >&5
60695 sed 's/^/| /' conftest.$ac_ext >&5
60696
60697 glibcxx_cv_func___builtin_sqrt_link=no
60698 fi
60699 rm -f conftest.err conftest.$ac_objext \
60700 conftest$ac_exeext conftest.$ac_ext
60701
60702 fi
60703
60704 fi
60705 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
60706 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
60707
60708 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
60709
60710 cat >>confdefs.h <<\_ACEOF
60711 #define HAVE___BUILTIN_SQRT 1
60712 _ACEOF
60713
60714 fi
60715
60716 fi
60717
60718
60719 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
60720 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
60721 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
60722 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
60723 echo $ECHO_N "(cached) $ECHO_C" >&6
60724 else
60725
60726
60727
60728 ac_ext=cc
60729 ac_cpp='$CXXCPP $CPPFLAGS'
60730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60733
60734 cat >conftest.$ac_ext <<_ACEOF
60735 /* confdefs.h. */
60736 _ACEOF
60737 cat confdefs.h >>conftest.$ac_ext
60738 cat >>conftest.$ac_ext <<_ACEOF
60739 /* end confdefs.h. */
60740 #include <math.h>
60741 int
60742 main ()
60743 {
60744 __builtin_sqrtl(0);
60745 ;
60746 return 0;
60747 }
60748 _ACEOF
60749 rm -f conftest.$ac_objext
60750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60751 (eval $ac_compile) 2>conftest.er1
60752 ac_status=$?
60753 grep -v '^ *+' conftest.er1 >conftest.err
60754 rm -f conftest.er1
60755 cat conftest.err >&5
60756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60757 (exit $ac_status); } &&
60758 { ac_try='test -z "$ac_cxx_werror_flag"
60759 || test ! -s conftest.err'
60760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60761 (eval $ac_try) 2>&5
60762 ac_status=$?
60763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60764 (exit $ac_status); }; } &&
60765 { ac_try='test -s conftest.$ac_objext'
60766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60767 (eval $ac_try) 2>&5
60768 ac_status=$?
60769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60770 (exit $ac_status); }; }; then
60771 glibcxx_cv_func___builtin_sqrtl_use=yes
60772 else
60773 echo "$as_me: failed program was:" >&5
60774 sed 's/^/| /' conftest.$ac_ext >&5
60775
60776 glibcxx_cv_func___builtin_sqrtl_use=no
60777 fi
60778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60779 ac_ext=c
60780 ac_cpp='$CPP $CPPFLAGS'
60781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60784
60785
60786 fi
60787
60788 fi
60789 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
60790 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
60791 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
60792 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
60793 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
60794 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
60795 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
60796 echo $ECHO_N "(cached) $ECHO_C" >&6
60797 else
60798
60799 if test x$gcc_no_link = xyes; then
60800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60802 { (exit 1); exit 1; }; }
60803 fi
60804 cat >conftest.$ac_ext <<_ACEOF
60805 /* confdefs.h. */
60806 _ACEOF
60807 cat confdefs.h >>conftest.$ac_ext
60808 cat >>conftest.$ac_ext <<_ACEOF
60809 /* end confdefs.h. */
60810 #include <math.h>
60811 int
60812 main ()
60813 {
60814 __builtin_sqrtl(0);
60815 ;
60816 return 0;
60817 }
60818 _ACEOF
60819 rm -f conftest.$ac_objext conftest$ac_exeext
60820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60821 (eval $ac_link) 2>conftest.er1
60822 ac_status=$?
60823 grep -v '^ *+' conftest.er1 >conftest.err
60824 rm -f conftest.er1
60825 cat conftest.err >&5
60826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60827 (exit $ac_status); } &&
60828 { ac_try='test -z "$ac_c_werror_flag"
60829 || test ! -s conftest.err'
60830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60831 (eval $ac_try) 2>&5
60832 ac_status=$?
60833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60834 (exit $ac_status); }; } &&
60835 { ac_try='test -s conftest$ac_exeext'
60836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60837 (eval $ac_try) 2>&5
60838 ac_status=$?
60839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60840 (exit $ac_status); }; }; then
60841 glibcxx_cv_func___builtin_sqrtl_link=yes
60842 else
60843 echo "$as_me: failed program was:" >&5
60844 sed 's/^/| /' conftest.$ac_ext >&5
60845
60846 glibcxx_cv_func___builtin_sqrtl_link=no
60847 fi
60848 rm -f conftest.err conftest.$ac_objext \
60849 conftest$ac_exeext conftest.$ac_ext
60850
60851 fi
60852
60853 fi
60854 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
60855 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
60856
60857 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
60858
60859 cat >>confdefs.h <<\_ACEOF
60860 #define HAVE___BUILTIN_SQRTL 1
60861 _ACEOF
60862
60863 fi
60864
60865 fi
60866
60867
60868
60869 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
60870 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
60871 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
60872 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
60873 echo $ECHO_N "(cached) $ECHO_C" >&6
60874 else
60875
60876
60877
60878 ac_ext=cc
60879 ac_cpp='$CXXCPP $CPPFLAGS'
60880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60883
60884 cat >conftest.$ac_ext <<_ACEOF
60885 /* confdefs.h. */
60886 _ACEOF
60887 cat confdefs.h >>conftest.$ac_ext
60888 cat >>conftest.$ac_ext <<_ACEOF
60889 /* end confdefs.h. */
60890 #include <math.h>
60891 int
60892 main ()
60893 {
60894 __builtin_sinf(0);
60895 ;
60896 return 0;
60897 }
60898 _ACEOF
60899 rm -f conftest.$ac_objext
60900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60901 (eval $ac_compile) 2>conftest.er1
60902 ac_status=$?
60903 grep -v '^ *+' conftest.er1 >conftest.err
60904 rm -f conftest.er1
60905 cat conftest.err >&5
60906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60907 (exit $ac_status); } &&
60908 { ac_try='test -z "$ac_cxx_werror_flag"
60909 || test ! -s conftest.err'
60910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60911 (eval $ac_try) 2>&5
60912 ac_status=$?
60913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60914 (exit $ac_status); }; } &&
60915 { ac_try='test -s conftest.$ac_objext'
60916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60917 (eval $ac_try) 2>&5
60918 ac_status=$?
60919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60920 (exit $ac_status); }; }; then
60921 glibcxx_cv_func___builtin_sinf_use=yes
60922 else
60923 echo "$as_me: failed program was:" >&5
60924 sed 's/^/| /' conftest.$ac_ext >&5
60925
60926 glibcxx_cv_func___builtin_sinf_use=no
60927 fi
60928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60929 ac_ext=c
60930 ac_cpp='$CPP $CPPFLAGS'
60931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60934
60935
60936 fi
60937
60938 fi
60939 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
60940 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
60941 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
60942 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
60943 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
60944 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
60945 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
60946 echo $ECHO_N "(cached) $ECHO_C" >&6
60947 else
60948
60949 if test x$gcc_no_link = xyes; then
60950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60952 { (exit 1); exit 1; }; }
60953 fi
60954 cat >conftest.$ac_ext <<_ACEOF
60955 /* confdefs.h. */
60956 _ACEOF
60957 cat confdefs.h >>conftest.$ac_ext
60958 cat >>conftest.$ac_ext <<_ACEOF
60959 /* end confdefs.h. */
60960 #include <math.h>
60961 int
60962 main ()
60963 {
60964 __builtin_sinf(0);
60965 ;
60966 return 0;
60967 }
60968 _ACEOF
60969 rm -f conftest.$ac_objext conftest$ac_exeext
60970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60971 (eval $ac_link) 2>conftest.er1
60972 ac_status=$?
60973 grep -v '^ *+' conftest.er1 >conftest.err
60974 rm -f conftest.er1
60975 cat conftest.err >&5
60976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60977 (exit $ac_status); } &&
60978 { ac_try='test -z "$ac_c_werror_flag"
60979 || test ! -s conftest.err'
60980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60981 (eval $ac_try) 2>&5
60982 ac_status=$?
60983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60984 (exit $ac_status); }; } &&
60985 { ac_try='test -s conftest$ac_exeext'
60986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60987 (eval $ac_try) 2>&5
60988 ac_status=$?
60989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60990 (exit $ac_status); }; }; then
60991 glibcxx_cv_func___builtin_sinf_link=yes
60992 else
60993 echo "$as_me: failed program was:" >&5
60994 sed 's/^/| /' conftest.$ac_ext >&5
60995
60996 glibcxx_cv_func___builtin_sinf_link=no
60997 fi
60998 rm -f conftest.err conftest.$ac_objext \
60999 conftest$ac_exeext conftest.$ac_ext
61000
61001 fi
61002
61003 fi
61004 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
61005 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
61006
61007 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
61008
61009 cat >>confdefs.h <<\_ACEOF
61010 #define HAVE___BUILTIN_SINF 1
61011 _ACEOF
61012
61013 fi
61014
61015 fi
61016
61017
61018 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
61019 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
61020 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
61021 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
61022 echo $ECHO_N "(cached) $ECHO_C" >&6
61023 else
61024
61025
61026
61027 ac_ext=cc
61028 ac_cpp='$CXXCPP $CPPFLAGS'
61029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61032
61033 cat >conftest.$ac_ext <<_ACEOF
61034 /* confdefs.h. */
61035 _ACEOF
61036 cat confdefs.h >>conftest.$ac_ext
61037 cat >>conftest.$ac_ext <<_ACEOF
61038 /* end confdefs.h. */
61039 #include <math.h>
61040 int
61041 main ()
61042 {
61043 __builtin_sin(0);
61044 ;
61045 return 0;
61046 }
61047 _ACEOF
61048 rm -f conftest.$ac_objext
61049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61050 (eval $ac_compile) 2>conftest.er1
61051 ac_status=$?
61052 grep -v '^ *+' conftest.er1 >conftest.err
61053 rm -f conftest.er1
61054 cat conftest.err >&5
61055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61056 (exit $ac_status); } &&
61057 { ac_try='test -z "$ac_cxx_werror_flag"
61058 || test ! -s conftest.err'
61059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61060 (eval $ac_try) 2>&5
61061 ac_status=$?
61062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61063 (exit $ac_status); }; } &&
61064 { ac_try='test -s conftest.$ac_objext'
61065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61066 (eval $ac_try) 2>&5
61067 ac_status=$?
61068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61069 (exit $ac_status); }; }; then
61070 glibcxx_cv_func___builtin_sin_use=yes
61071 else
61072 echo "$as_me: failed program was:" >&5
61073 sed 's/^/| /' conftest.$ac_ext >&5
61074
61075 glibcxx_cv_func___builtin_sin_use=no
61076 fi
61077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61078 ac_ext=c
61079 ac_cpp='$CPP $CPPFLAGS'
61080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61083
61084
61085 fi
61086
61087 fi
61088 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
61089 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
61090 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
61091 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
61092 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
61093 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
61094 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
61095 echo $ECHO_N "(cached) $ECHO_C" >&6
61096 else
61097
61098 if test x$gcc_no_link = xyes; then
61099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61101 { (exit 1); exit 1; }; }
61102 fi
61103 cat >conftest.$ac_ext <<_ACEOF
61104 /* confdefs.h. */
61105 _ACEOF
61106 cat confdefs.h >>conftest.$ac_ext
61107 cat >>conftest.$ac_ext <<_ACEOF
61108 /* end confdefs.h. */
61109 #include <math.h>
61110 int
61111 main ()
61112 {
61113 __builtin_sin(0);
61114 ;
61115 return 0;
61116 }
61117 _ACEOF
61118 rm -f conftest.$ac_objext conftest$ac_exeext
61119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61120 (eval $ac_link) 2>conftest.er1
61121 ac_status=$?
61122 grep -v '^ *+' conftest.er1 >conftest.err
61123 rm -f conftest.er1
61124 cat conftest.err >&5
61125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61126 (exit $ac_status); } &&
61127 { ac_try='test -z "$ac_c_werror_flag"
61128 || test ! -s conftest.err'
61129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61130 (eval $ac_try) 2>&5
61131 ac_status=$?
61132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61133 (exit $ac_status); }; } &&
61134 { ac_try='test -s conftest$ac_exeext'
61135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61136 (eval $ac_try) 2>&5
61137 ac_status=$?
61138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61139 (exit $ac_status); }; }; then
61140 glibcxx_cv_func___builtin_sin_link=yes
61141 else
61142 echo "$as_me: failed program was:" >&5
61143 sed 's/^/| /' conftest.$ac_ext >&5
61144
61145 glibcxx_cv_func___builtin_sin_link=no
61146 fi
61147 rm -f conftest.err conftest.$ac_objext \
61148 conftest$ac_exeext conftest.$ac_ext
61149
61150 fi
61151
61152 fi
61153 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
61154 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
61155
61156 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
61157
61158 cat >>confdefs.h <<\_ACEOF
61159 #define HAVE___BUILTIN_SIN 1
61160 _ACEOF
61161
61162 fi
61163
61164 fi
61165
61166
61167 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
61168 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
61169 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
61170 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
61171 echo $ECHO_N "(cached) $ECHO_C" >&6
61172 else
61173
61174
61175
61176 ac_ext=cc
61177 ac_cpp='$CXXCPP $CPPFLAGS'
61178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61181
61182 cat >conftest.$ac_ext <<_ACEOF
61183 /* confdefs.h. */
61184 _ACEOF
61185 cat confdefs.h >>conftest.$ac_ext
61186 cat >>conftest.$ac_ext <<_ACEOF
61187 /* end confdefs.h. */
61188 #include <math.h>
61189 int
61190 main ()
61191 {
61192 __builtin_sinl(0);
61193 ;
61194 return 0;
61195 }
61196 _ACEOF
61197 rm -f conftest.$ac_objext
61198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61199 (eval $ac_compile) 2>conftest.er1
61200 ac_status=$?
61201 grep -v '^ *+' conftest.er1 >conftest.err
61202 rm -f conftest.er1
61203 cat conftest.err >&5
61204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61205 (exit $ac_status); } &&
61206 { ac_try='test -z "$ac_cxx_werror_flag"
61207 || test ! -s conftest.err'
61208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61209 (eval $ac_try) 2>&5
61210 ac_status=$?
61211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61212 (exit $ac_status); }; } &&
61213 { ac_try='test -s conftest.$ac_objext'
61214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61215 (eval $ac_try) 2>&5
61216 ac_status=$?
61217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61218 (exit $ac_status); }; }; then
61219 glibcxx_cv_func___builtin_sinl_use=yes
61220 else
61221 echo "$as_me: failed program was:" >&5
61222 sed 's/^/| /' conftest.$ac_ext >&5
61223
61224 glibcxx_cv_func___builtin_sinl_use=no
61225 fi
61226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61227 ac_ext=c
61228 ac_cpp='$CPP $CPPFLAGS'
61229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61232
61233
61234 fi
61235
61236 fi
61237 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
61238 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
61239 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
61240 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
61241 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
61242 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
61243 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
61244 echo $ECHO_N "(cached) $ECHO_C" >&6
61245 else
61246
61247 if test x$gcc_no_link = xyes; then
61248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61250 { (exit 1); exit 1; }; }
61251 fi
61252 cat >conftest.$ac_ext <<_ACEOF
61253 /* confdefs.h. */
61254 _ACEOF
61255 cat confdefs.h >>conftest.$ac_ext
61256 cat >>conftest.$ac_ext <<_ACEOF
61257 /* end confdefs.h. */
61258 #include <math.h>
61259 int
61260 main ()
61261 {
61262 __builtin_sinl(0);
61263 ;
61264 return 0;
61265 }
61266 _ACEOF
61267 rm -f conftest.$ac_objext conftest$ac_exeext
61268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61269 (eval $ac_link) 2>conftest.er1
61270 ac_status=$?
61271 grep -v '^ *+' conftest.er1 >conftest.err
61272 rm -f conftest.er1
61273 cat conftest.err >&5
61274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61275 (exit $ac_status); } &&
61276 { ac_try='test -z "$ac_c_werror_flag"
61277 || test ! -s conftest.err'
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); }; } &&
61283 { ac_try='test -s conftest$ac_exeext'
61284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61285 (eval $ac_try) 2>&5
61286 ac_status=$?
61287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61288 (exit $ac_status); }; }; then
61289 glibcxx_cv_func___builtin_sinl_link=yes
61290 else
61291 echo "$as_me: failed program was:" >&5
61292 sed 's/^/| /' conftest.$ac_ext >&5
61293
61294 glibcxx_cv_func___builtin_sinl_link=no
61295 fi
61296 rm -f conftest.err conftest.$ac_objext \
61297 conftest$ac_exeext conftest.$ac_ext
61298
61299 fi
61300
61301 fi
61302 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
61303 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
61304
61305 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
61306
61307 cat >>confdefs.h <<\_ACEOF
61308 #define HAVE___BUILTIN_SINL 1
61309 _ACEOF
61310
61311 fi
61312
61313 fi
61314
61315
61316
61317 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
61318 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
61319 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
61320 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
61321 echo $ECHO_N "(cached) $ECHO_C" >&6
61322 else
61323
61324
61325
61326 ac_ext=cc
61327 ac_cpp='$CXXCPP $CPPFLAGS'
61328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61331
61332 cat >conftest.$ac_ext <<_ACEOF
61333 /* confdefs.h. */
61334 _ACEOF
61335 cat confdefs.h >>conftest.$ac_ext
61336 cat >>conftest.$ac_ext <<_ACEOF
61337 /* end confdefs.h. */
61338 #include <math.h>
61339 int
61340 main ()
61341 {
61342 __builtin_cosf(0);
61343 ;
61344 return 0;
61345 }
61346 _ACEOF
61347 rm -f conftest.$ac_objext
61348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61349 (eval $ac_compile) 2>conftest.er1
61350 ac_status=$?
61351 grep -v '^ *+' conftest.er1 >conftest.err
61352 rm -f conftest.er1
61353 cat conftest.err >&5
61354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61355 (exit $ac_status); } &&
61356 { ac_try='test -z "$ac_cxx_werror_flag"
61357 || test ! -s conftest.err'
61358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61359 (eval $ac_try) 2>&5
61360 ac_status=$?
61361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61362 (exit $ac_status); }; } &&
61363 { ac_try='test -s conftest.$ac_objext'
61364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61365 (eval $ac_try) 2>&5
61366 ac_status=$?
61367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61368 (exit $ac_status); }; }; then
61369 glibcxx_cv_func___builtin_cosf_use=yes
61370 else
61371 echo "$as_me: failed program was:" >&5
61372 sed 's/^/| /' conftest.$ac_ext >&5
61373
61374 glibcxx_cv_func___builtin_cosf_use=no
61375 fi
61376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61377 ac_ext=c
61378 ac_cpp='$CPP $CPPFLAGS'
61379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61382
61383
61384 fi
61385
61386 fi
61387 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
61388 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
61389 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
61390 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
61391 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
61392 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
61393 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
61394 echo $ECHO_N "(cached) $ECHO_C" >&6
61395 else
61396
61397 if test x$gcc_no_link = xyes; then
61398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61400 { (exit 1); exit 1; }; }
61401 fi
61402 cat >conftest.$ac_ext <<_ACEOF
61403 /* confdefs.h. */
61404 _ACEOF
61405 cat confdefs.h >>conftest.$ac_ext
61406 cat >>conftest.$ac_ext <<_ACEOF
61407 /* end confdefs.h. */
61408 #include <math.h>
61409 int
61410 main ()
61411 {
61412 __builtin_cosf(0);
61413 ;
61414 return 0;
61415 }
61416 _ACEOF
61417 rm -f conftest.$ac_objext conftest$ac_exeext
61418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61419 (eval $ac_link) 2>conftest.er1
61420 ac_status=$?
61421 grep -v '^ *+' conftest.er1 >conftest.err
61422 rm -f conftest.er1
61423 cat conftest.err >&5
61424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61425 (exit $ac_status); } &&
61426 { ac_try='test -z "$ac_c_werror_flag"
61427 || test ! -s conftest.err'
61428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61429 (eval $ac_try) 2>&5
61430 ac_status=$?
61431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61432 (exit $ac_status); }; } &&
61433 { ac_try='test -s conftest$ac_exeext'
61434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61435 (eval $ac_try) 2>&5
61436 ac_status=$?
61437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61438 (exit $ac_status); }; }; then
61439 glibcxx_cv_func___builtin_cosf_link=yes
61440 else
61441 echo "$as_me: failed program was:" >&5
61442 sed 's/^/| /' conftest.$ac_ext >&5
61443
61444 glibcxx_cv_func___builtin_cosf_link=no
61445 fi
61446 rm -f conftest.err conftest.$ac_objext \
61447 conftest$ac_exeext conftest.$ac_ext
61448
61449 fi
61450
61451 fi
61452 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
61453 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
61454
61455 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
61456
61457 cat >>confdefs.h <<\_ACEOF
61458 #define HAVE___BUILTIN_COSF 1
61459 _ACEOF
61460
61461 fi
61462
61463 fi
61464
61465
61466 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
61467 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
61468 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
61469 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
61470 echo $ECHO_N "(cached) $ECHO_C" >&6
61471 else
61472
61473
61474
61475 ac_ext=cc
61476 ac_cpp='$CXXCPP $CPPFLAGS'
61477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61480
61481 cat >conftest.$ac_ext <<_ACEOF
61482 /* confdefs.h. */
61483 _ACEOF
61484 cat confdefs.h >>conftest.$ac_ext
61485 cat >>conftest.$ac_ext <<_ACEOF
61486 /* end confdefs.h. */
61487 #include <math.h>
61488 int
61489 main ()
61490 {
61491 __builtin_cos(0);
61492 ;
61493 return 0;
61494 }
61495 _ACEOF
61496 rm -f conftest.$ac_objext
61497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61498 (eval $ac_compile) 2>conftest.er1
61499 ac_status=$?
61500 grep -v '^ *+' conftest.er1 >conftest.err
61501 rm -f conftest.er1
61502 cat conftest.err >&5
61503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61504 (exit $ac_status); } &&
61505 { ac_try='test -z "$ac_cxx_werror_flag"
61506 || test ! -s conftest.err'
61507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61508 (eval $ac_try) 2>&5
61509 ac_status=$?
61510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61511 (exit $ac_status); }; } &&
61512 { ac_try='test -s conftest.$ac_objext'
61513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61514 (eval $ac_try) 2>&5
61515 ac_status=$?
61516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61517 (exit $ac_status); }; }; then
61518 glibcxx_cv_func___builtin_cos_use=yes
61519 else
61520 echo "$as_me: failed program was:" >&5
61521 sed 's/^/| /' conftest.$ac_ext >&5
61522
61523 glibcxx_cv_func___builtin_cos_use=no
61524 fi
61525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61526 ac_ext=c
61527 ac_cpp='$CPP $CPPFLAGS'
61528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61531
61532
61533 fi
61534
61535 fi
61536 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
61537 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
61538 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
61539 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
61540 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
61541 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
61542 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
61543 echo $ECHO_N "(cached) $ECHO_C" >&6
61544 else
61545
61546 if test x$gcc_no_link = xyes; then
61547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61549 { (exit 1); exit 1; }; }
61550 fi
61551 cat >conftest.$ac_ext <<_ACEOF
61552 /* confdefs.h. */
61553 _ACEOF
61554 cat confdefs.h >>conftest.$ac_ext
61555 cat >>conftest.$ac_ext <<_ACEOF
61556 /* end confdefs.h. */
61557 #include <math.h>
61558 int
61559 main ()
61560 {
61561 __builtin_cos(0);
61562 ;
61563 return 0;
61564 }
61565 _ACEOF
61566 rm -f conftest.$ac_objext conftest$ac_exeext
61567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61568 (eval $ac_link) 2>conftest.er1
61569 ac_status=$?
61570 grep -v '^ *+' conftest.er1 >conftest.err
61571 rm -f conftest.er1
61572 cat conftest.err >&5
61573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61574 (exit $ac_status); } &&
61575 { ac_try='test -z "$ac_c_werror_flag"
61576 || test ! -s conftest.err'
61577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61578 (eval $ac_try) 2>&5
61579 ac_status=$?
61580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61581 (exit $ac_status); }; } &&
61582 { ac_try='test -s conftest$ac_exeext'
61583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61584 (eval $ac_try) 2>&5
61585 ac_status=$?
61586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61587 (exit $ac_status); }; }; then
61588 glibcxx_cv_func___builtin_cos_link=yes
61589 else
61590 echo "$as_me: failed program was:" >&5
61591 sed 's/^/| /' conftest.$ac_ext >&5
61592
61593 glibcxx_cv_func___builtin_cos_link=no
61594 fi
61595 rm -f conftest.err conftest.$ac_objext \
61596 conftest$ac_exeext conftest.$ac_ext
61597
61598 fi
61599
61600 fi
61601 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
61602 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
61603
61604 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
61605
61606 cat >>confdefs.h <<\_ACEOF
61607 #define HAVE___BUILTIN_COS 1
61608 _ACEOF
61609
61610 fi
61611
61612 fi
61613
61614
61615 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
61616 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
61617 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
61618 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
61619 echo $ECHO_N "(cached) $ECHO_C" >&6
61620 else
61621
61622
61623
61624 ac_ext=cc
61625 ac_cpp='$CXXCPP $CPPFLAGS'
61626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61629
61630 cat >conftest.$ac_ext <<_ACEOF
61631 /* confdefs.h. */
61632 _ACEOF
61633 cat confdefs.h >>conftest.$ac_ext
61634 cat >>conftest.$ac_ext <<_ACEOF
61635 /* end confdefs.h. */
61636 #include <math.h>
61637 int
61638 main ()
61639 {
61640 __builtin_cosl(0);
61641 ;
61642 return 0;
61643 }
61644 _ACEOF
61645 rm -f conftest.$ac_objext
61646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61647 (eval $ac_compile) 2>conftest.er1
61648 ac_status=$?
61649 grep -v '^ *+' conftest.er1 >conftest.err
61650 rm -f conftest.er1
61651 cat conftest.err >&5
61652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61653 (exit $ac_status); } &&
61654 { ac_try='test -z "$ac_cxx_werror_flag"
61655 || test ! -s conftest.err'
61656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61657 (eval $ac_try) 2>&5
61658 ac_status=$?
61659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61660 (exit $ac_status); }; } &&
61661 { ac_try='test -s conftest.$ac_objext'
61662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61663 (eval $ac_try) 2>&5
61664 ac_status=$?
61665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61666 (exit $ac_status); }; }; then
61667 glibcxx_cv_func___builtin_cosl_use=yes
61668 else
61669 echo "$as_me: failed program was:" >&5
61670 sed 's/^/| /' conftest.$ac_ext >&5
61671
61672 glibcxx_cv_func___builtin_cosl_use=no
61673 fi
61674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61675 ac_ext=c
61676 ac_cpp='$CPP $CPPFLAGS'
61677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61680
61681
61682 fi
61683
61684 fi
61685 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
61686 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
61687 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
61688 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
61689 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
61690 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
61691 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
61692 echo $ECHO_N "(cached) $ECHO_C" >&6
61693 else
61694
61695 if test x$gcc_no_link = xyes; then
61696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61698 { (exit 1); exit 1; }; }
61699 fi
61700 cat >conftest.$ac_ext <<_ACEOF
61701 /* confdefs.h. */
61702 _ACEOF
61703 cat confdefs.h >>conftest.$ac_ext
61704 cat >>conftest.$ac_ext <<_ACEOF
61705 /* end confdefs.h. */
61706 #include <math.h>
61707 int
61708 main ()
61709 {
61710 __builtin_cosl(0);
61711 ;
61712 return 0;
61713 }
61714 _ACEOF
61715 rm -f conftest.$ac_objext conftest$ac_exeext
61716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61717 (eval $ac_link) 2>conftest.er1
61718 ac_status=$?
61719 grep -v '^ *+' conftest.er1 >conftest.err
61720 rm -f conftest.er1
61721 cat conftest.err >&5
61722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61723 (exit $ac_status); } &&
61724 { ac_try='test -z "$ac_c_werror_flag"
61725 || test ! -s conftest.err'
61726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61727 (eval $ac_try) 2>&5
61728 ac_status=$?
61729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61730 (exit $ac_status); }; } &&
61731 { ac_try='test -s conftest$ac_exeext'
61732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61733 (eval $ac_try) 2>&5
61734 ac_status=$?
61735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61736 (exit $ac_status); }; }; then
61737 glibcxx_cv_func___builtin_cosl_link=yes
61738 else
61739 echo "$as_me: failed program was:" >&5
61740 sed 's/^/| /' conftest.$ac_ext >&5
61741
61742 glibcxx_cv_func___builtin_cosl_link=no
61743 fi
61744 rm -f conftest.err conftest.$ac_objext \
61745 conftest$ac_exeext conftest.$ac_ext
61746
61747 fi
61748
61749 fi
61750 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
61751 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
61752
61753 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
61754
61755 cat >>confdefs.h <<\_ACEOF
61756 #define HAVE___BUILTIN_COSL 1
61757 _ACEOF
61758
61759 fi
61760
61761 fi
61762
61763
61764
61765
61766 echo "$as_me:$LINENO: checking for main in -lm" >&5
61767 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
61768 if test "${ac_cv_lib_m_main+set}" = set; then
61769 echo $ECHO_N "(cached) $ECHO_C" >&6
61770 else
61771 ac_check_lib_save_LIBS=$LIBS
61772 LIBS="-lm $LIBS"
61773 if test x$gcc_no_link = xyes; then
61774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61776 { (exit 1); exit 1; }; }
61777 fi
61778 cat >conftest.$ac_ext <<_ACEOF
61779 /* confdefs.h. */
61780 _ACEOF
61781 cat confdefs.h >>conftest.$ac_ext
61782 cat >>conftest.$ac_ext <<_ACEOF
61783 /* end confdefs.h. */
61784
61785
61786 int
61787 main ()
61788 {
61789 main ();
61790 ;
61791 return 0;
61792 }
61793 _ACEOF
61794 rm -f conftest.$ac_objext conftest$ac_exeext
61795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61796 (eval $ac_link) 2>conftest.er1
61797 ac_status=$?
61798 grep -v '^ *+' conftest.er1 >conftest.err
61799 rm -f conftest.er1
61800 cat conftest.err >&5
61801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61802 (exit $ac_status); } &&
61803 { ac_try='test -z "$ac_c_werror_flag"
61804 || test ! -s conftest.err'
61805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61806 (eval $ac_try) 2>&5
61807 ac_status=$?
61808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61809 (exit $ac_status); }; } &&
61810 { ac_try='test -s conftest$ac_exeext'
61811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61812 (eval $ac_try) 2>&5
61813 ac_status=$?
61814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61815 (exit $ac_status); }; }; then
61816 ac_cv_lib_m_main=yes
61817 else
61818 echo "$as_me: failed program was:" >&5
61819 sed 's/^/| /' conftest.$ac_ext >&5
61820
61821 ac_cv_lib_m_main=no
61822 fi
61823 rm -f conftest.err conftest.$ac_objext \
61824 conftest$ac_exeext conftest.$ac_ext
61825 LIBS=$ac_check_lib_save_LIBS
61826 fi
61827 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
61828 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
61829 if test $ac_cv_lib_m_main = yes; then
61830 cat >>confdefs.h <<_ACEOF
61831 #define HAVE_LIBM 1
61832 _ACEOF
61833
61834 LIBS="-lm $LIBS"
61835
61836 fi
61837
61838
61839 for ac_func in copysignf
61840 do
61841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61842 echo "$as_me:$LINENO: checking for $ac_func" >&5
61843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61844 if eval "test \"\${$as_ac_var+set}\" = set"; then
61845 echo $ECHO_N "(cached) $ECHO_C" >&6
61846 else
61847 if test x$gcc_no_link = xyes; then
61848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61850 { (exit 1); exit 1; }; }
61851 fi
61852 cat >conftest.$ac_ext <<_ACEOF
61853 /* confdefs.h. */
61854 _ACEOF
61855 cat confdefs.h >>conftest.$ac_ext
61856 cat >>conftest.$ac_ext <<_ACEOF
61857 /* end confdefs.h. */
61858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61860 #define $ac_func innocuous_$ac_func
61861
61862 /* System header to define __stub macros and hopefully few prototypes,
61863 which can conflict with char $ac_func (); below.
61864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61865 <limits.h> exists even on freestanding compilers. */
61866
61867 #ifdef __STDC__
61868 # include <limits.h>
61869 #else
61870 # include <assert.h>
61871 #endif
61872
61873 #undef $ac_func
61874
61875 /* Override any gcc2 internal prototype to avoid an error. */
61876 #ifdef __cplusplus
61877 extern "C"
61878 {
61879 #endif
61880 /* We use char because int might match the return type of a gcc2
61881 builtin and then its argument prototype would still apply. */
61882 char $ac_func ();
61883 /* The GNU C library defines this for functions which it implements
61884 to always fail with ENOSYS. Some functions are actually named
61885 something starting with __ and the normal name is an alias. */
61886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61887 choke me
61888 #else
61889 char (*f) () = $ac_func;
61890 #endif
61891 #ifdef __cplusplus
61892 }
61893 #endif
61894
61895 int
61896 main ()
61897 {
61898 return f != $ac_func;
61899 ;
61900 return 0;
61901 }
61902 _ACEOF
61903 rm -f conftest.$ac_objext conftest$ac_exeext
61904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61905 (eval $ac_link) 2>conftest.er1
61906 ac_status=$?
61907 grep -v '^ *+' conftest.er1 >conftest.err
61908 rm -f conftest.er1
61909 cat conftest.err >&5
61910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61911 (exit $ac_status); } &&
61912 { ac_try='test -z "$ac_c_werror_flag"
61913 || test ! -s conftest.err'
61914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61915 (eval $ac_try) 2>&5
61916 ac_status=$?
61917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61918 (exit $ac_status); }; } &&
61919 { ac_try='test -s conftest$ac_exeext'
61920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61921 (eval $ac_try) 2>&5
61922 ac_status=$?
61923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61924 (exit $ac_status); }; }; then
61925 eval "$as_ac_var=yes"
61926 else
61927 echo "$as_me: failed program was:" >&5
61928 sed 's/^/| /' conftest.$ac_ext >&5
61929
61930 eval "$as_ac_var=no"
61931 fi
61932 rm -f conftest.err conftest.$ac_objext \
61933 conftest$ac_exeext conftest.$ac_ext
61934 fi
61935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61937 if test `eval echo '${'$as_ac_var'}'` = yes; then
61938 cat >>confdefs.h <<_ACEOF
61939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61940 _ACEOF
61941
61942 else
61943 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
61944 fi
61945 done
61946
61947
61948
61949 for ac_func in __signbit
61950 do
61951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61952 echo "$as_me:$LINENO: checking for $ac_func" >&5
61953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61954 if eval "test \"\${$as_ac_var+set}\" = set"; then
61955 echo $ECHO_N "(cached) $ECHO_C" >&6
61956 else
61957 if test x$gcc_no_link = xyes; then
61958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61960 { (exit 1); exit 1; }; }
61961 fi
61962 cat >conftest.$ac_ext <<_ACEOF
61963 /* confdefs.h. */
61964 _ACEOF
61965 cat confdefs.h >>conftest.$ac_ext
61966 cat >>conftest.$ac_ext <<_ACEOF
61967 /* end confdefs.h. */
61968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61970 #define $ac_func innocuous_$ac_func
61971
61972 /* System header to define __stub macros and hopefully few prototypes,
61973 which can conflict with char $ac_func (); below.
61974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61975 <limits.h> exists even on freestanding compilers. */
61976
61977 #ifdef __STDC__
61978 # include <limits.h>
61979 #else
61980 # include <assert.h>
61981 #endif
61982
61983 #undef $ac_func
61984
61985 /* Override any gcc2 internal prototype to avoid an error. */
61986 #ifdef __cplusplus
61987 extern "C"
61988 {
61989 #endif
61990 /* We use char because int might match the return type of a gcc2
61991 builtin and then its argument prototype would still apply. */
61992 char $ac_func ();
61993 /* The GNU C library defines this for functions which it implements
61994 to always fail with ENOSYS. Some functions are actually named
61995 something starting with __ and the normal name is an alias. */
61996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61997 choke me
61998 #else
61999 char (*f) () = $ac_func;
62000 #endif
62001 #ifdef __cplusplus
62002 }
62003 #endif
62004
62005 int
62006 main ()
62007 {
62008 return f != $ac_func;
62009 ;
62010 return 0;
62011 }
62012 _ACEOF
62013 rm -f conftest.$ac_objext conftest$ac_exeext
62014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62015 (eval $ac_link) 2>conftest.er1
62016 ac_status=$?
62017 grep -v '^ *+' conftest.er1 >conftest.err
62018 rm -f conftest.er1
62019 cat conftest.err >&5
62020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62021 (exit $ac_status); } &&
62022 { ac_try='test -z "$ac_c_werror_flag"
62023 || test ! -s conftest.err'
62024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62025 (eval $ac_try) 2>&5
62026 ac_status=$?
62027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62028 (exit $ac_status); }; } &&
62029 { ac_try='test -s conftest$ac_exeext'
62030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62031 (eval $ac_try) 2>&5
62032 ac_status=$?
62033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62034 (exit $ac_status); }; }; then
62035 eval "$as_ac_var=yes"
62036 else
62037 echo "$as_me: failed program was:" >&5
62038 sed 's/^/| /' conftest.$ac_ext >&5
62039
62040 eval "$as_ac_var=no"
62041 fi
62042 rm -f conftest.err conftest.$ac_objext \
62043 conftest$ac_exeext conftest.$ac_ext
62044 fi
62045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62047 if test `eval echo '${'$as_ac_var'}'` = yes; then
62048 cat >>confdefs.h <<_ACEOF
62049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62050 _ACEOF
62051
62052 else
62053 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
62054 fi
62055 done
62056
62057
62058
62059 for ac_func in __signbitf
62060 do
62061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62062 echo "$as_me:$LINENO: checking for $ac_func" >&5
62063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62064 if eval "test \"\${$as_ac_var+set}\" = set"; then
62065 echo $ECHO_N "(cached) $ECHO_C" >&6
62066 else
62067 if test x$gcc_no_link = xyes; then
62068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62070 { (exit 1); exit 1; }; }
62071 fi
62072 cat >conftest.$ac_ext <<_ACEOF
62073 /* confdefs.h. */
62074 _ACEOF
62075 cat confdefs.h >>conftest.$ac_ext
62076 cat >>conftest.$ac_ext <<_ACEOF
62077 /* end confdefs.h. */
62078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62080 #define $ac_func innocuous_$ac_func
62081
62082 /* System header to define __stub macros and hopefully few prototypes,
62083 which can conflict with char $ac_func (); below.
62084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62085 <limits.h> exists even on freestanding compilers. */
62086
62087 #ifdef __STDC__
62088 # include <limits.h>
62089 #else
62090 # include <assert.h>
62091 #endif
62092
62093 #undef $ac_func
62094
62095 /* Override any gcc2 internal prototype to avoid an error. */
62096 #ifdef __cplusplus
62097 extern "C"
62098 {
62099 #endif
62100 /* We use char because int might match the return type of a gcc2
62101 builtin and then its argument prototype would still apply. */
62102 char $ac_func ();
62103 /* The GNU C library defines this for functions which it implements
62104 to always fail with ENOSYS. Some functions are actually named
62105 something starting with __ and the normal name is an alias. */
62106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62107 choke me
62108 #else
62109 char (*f) () = $ac_func;
62110 #endif
62111 #ifdef __cplusplus
62112 }
62113 #endif
62114
62115 int
62116 main ()
62117 {
62118 return f != $ac_func;
62119 ;
62120 return 0;
62121 }
62122 _ACEOF
62123 rm -f conftest.$ac_objext conftest$ac_exeext
62124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62125 (eval $ac_link) 2>conftest.er1
62126 ac_status=$?
62127 grep -v '^ *+' conftest.er1 >conftest.err
62128 rm -f conftest.er1
62129 cat conftest.err >&5
62130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62131 (exit $ac_status); } &&
62132 { ac_try='test -z "$ac_c_werror_flag"
62133 || test ! -s conftest.err'
62134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62135 (eval $ac_try) 2>&5
62136 ac_status=$?
62137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62138 (exit $ac_status); }; } &&
62139 { ac_try='test -s conftest$ac_exeext'
62140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62141 (eval $ac_try) 2>&5
62142 ac_status=$?
62143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62144 (exit $ac_status); }; }; then
62145 eval "$as_ac_var=yes"
62146 else
62147 echo "$as_me: failed program was:" >&5
62148 sed 's/^/| /' conftest.$ac_ext >&5
62149
62150 eval "$as_ac_var=no"
62151 fi
62152 rm -f conftest.err conftest.$ac_objext \
62153 conftest$ac_exeext conftest.$ac_ext
62154 fi
62155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62157 if test `eval echo '${'$as_ac_var'}'` = yes; then
62158 cat >>confdefs.h <<_ACEOF
62159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62160 _ACEOF
62161
62162 else
62163 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
62164 fi
62165 done
62166
62167
62168 if test x$ac_cv_func_copysignl = x"yes"; then
62169
62170 for ac_func in __signbitl
62171 do
62172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62173 echo "$as_me:$LINENO: checking for $ac_func" >&5
62174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62175 if eval "test \"\${$as_ac_var+set}\" = set"; then
62176 echo $ECHO_N "(cached) $ECHO_C" >&6
62177 else
62178 if test x$gcc_no_link = xyes; then
62179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62181 { (exit 1); exit 1; }; }
62182 fi
62183 cat >conftest.$ac_ext <<_ACEOF
62184 /* confdefs.h. */
62185 _ACEOF
62186 cat confdefs.h >>conftest.$ac_ext
62187 cat >>conftest.$ac_ext <<_ACEOF
62188 /* end confdefs.h. */
62189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62191 #define $ac_func innocuous_$ac_func
62192
62193 /* System header to define __stub macros and hopefully few prototypes,
62194 which can conflict with char $ac_func (); below.
62195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62196 <limits.h> exists even on freestanding compilers. */
62197
62198 #ifdef __STDC__
62199 # include <limits.h>
62200 #else
62201 # include <assert.h>
62202 #endif
62203
62204 #undef $ac_func
62205
62206 /* Override any gcc2 internal prototype to avoid an error. */
62207 #ifdef __cplusplus
62208 extern "C"
62209 {
62210 #endif
62211 /* We use char because int might match the return type of a gcc2
62212 builtin and then its argument prototype would still apply. */
62213 char $ac_func ();
62214 /* The GNU C library defines this for functions which it implements
62215 to always fail with ENOSYS. Some functions are actually named
62216 something starting with __ and the normal name is an alias. */
62217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62218 choke me
62219 #else
62220 char (*f) () = $ac_func;
62221 #endif
62222 #ifdef __cplusplus
62223 }
62224 #endif
62225
62226 int
62227 main ()
62228 {
62229 return f != $ac_func;
62230 ;
62231 return 0;
62232 }
62233 _ACEOF
62234 rm -f conftest.$ac_objext conftest$ac_exeext
62235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62236 (eval $ac_link) 2>conftest.er1
62237 ac_status=$?
62238 grep -v '^ *+' conftest.er1 >conftest.err
62239 rm -f conftest.er1
62240 cat conftest.err >&5
62241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62242 (exit $ac_status); } &&
62243 { ac_try='test -z "$ac_c_werror_flag"
62244 || test ! -s conftest.err'
62245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62246 (eval $ac_try) 2>&5
62247 ac_status=$?
62248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62249 (exit $ac_status); }; } &&
62250 { ac_try='test -s conftest$ac_exeext'
62251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62252 (eval $ac_try) 2>&5
62253 ac_status=$?
62254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62255 (exit $ac_status); }; }; then
62256 eval "$as_ac_var=yes"
62257 else
62258 echo "$as_me: failed program was:" >&5
62259 sed 's/^/| /' conftest.$ac_ext >&5
62260
62261 eval "$as_ac_var=no"
62262 fi
62263 rm -f conftest.err conftest.$ac_objext \
62264 conftest$ac_exeext conftest.$ac_ext
62265 fi
62266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62268 if test `eval echo '${'$as_ac_var'}'` = yes; then
62269 cat >>confdefs.h <<_ACEOF
62270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62271 _ACEOF
62272
62273 else
62274 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
62275 fi
62276 done
62277
62278 fi
62279
62280 # Used in libmath/Makefile.am.
62281 if test -n "$LIBMATHOBJS"; then
62282 need_libmath=yes
62283 fi
62284
62285
62286
62287 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62288 ac_save_CXXFLAGS="$CXXFLAGS"
62289 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62290
62291
62292 echo "$as_me:$LINENO: checking for strtold declaration" >&5
62293 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
62294 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62295 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
62296 echo $ECHO_N "(cached) $ECHO_C" >&6
62297 else
62298
62299
62300
62301 ac_ext=cc
62302 ac_cpp='$CXXCPP $CPPFLAGS'
62303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62306
62307 cat >conftest.$ac_ext <<_ACEOF
62308 /* confdefs.h. */
62309 _ACEOF
62310 cat confdefs.h >>conftest.$ac_ext
62311 cat >>conftest.$ac_ext <<_ACEOF
62312 /* end confdefs.h. */
62313 #include <stdlib.h>
62314 int
62315 main ()
62316 {
62317 strtold(0, 0);
62318 ;
62319 return 0;
62320 }
62321 _ACEOF
62322 rm -f conftest.$ac_objext
62323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62324 (eval $ac_compile) 2>conftest.er1
62325 ac_status=$?
62326 grep -v '^ *+' conftest.er1 >conftest.err
62327 rm -f conftest.er1
62328 cat conftest.err >&5
62329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62330 (exit $ac_status); } &&
62331 { ac_try='test -z "$ac_cxx_werror_flag"
62332 || test ! -s conftest.err'
62333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62334 (eval $ac_try) 2>&5
62335 ac_status=$?
62336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62337 (exit $ac_status); }; } &&
62338 { ac_try='test -s conftest.$ac_objext'
62339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62340 (eval $ac_try) 2>&5
62341 ac_status=$?
62342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62343 (exit $ac_status); }; }; then
62344 glibcxx_cv_func_strtold_use=yes
62345 else
62346 echo "$as_me: failed program was:" >&5
62347 sed 's/^/| /' conftest.$ac_ext >&5
62348
62349 glibcxx_cv_func_strtold_use=no
62350 fi
62351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62352 ac_ext=c
62353 ac_cpp='$CPP $CPPFLAGS'
62354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62357
62358
62359 fi
62360
62361 fi
62362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
62363 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
62364 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62365
62366 for ac_func in strtold
62367 do
62368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62369 echo "$as_me:$LINENO: checking for $ac_func" >&5
62370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62371 if eval "test \"\${$as_ac_var+set}\" = set"; then
62372 echo $ECHO_N "(cached) $ECHO_C" >&6
62373 else
62374 if test x$gcc_no_link = xyes; then
62375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62377 { (exit 1); exit 1; }; }
62378 fi
62379 cat >conftest.$ac_ext <<_ACEOF
62380 /* confdefs.h. */
62381 _ACEOF
62382 cat confdefs.h >>conftest.$ac_ext
62383 cat >>conftest.$ac_ext <<_ACEOF
62384 /* end confdefs.h. */
62385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62387 #define $ac_func innocuous_$ac_func
62388
62389 /* System header to define __stub macros and hopefully few prototypes,
62390 which can conflict with char $ac_func (); below.
62391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62392 <limits.h> exists even on freestanding compilers. */
62393
62394 #ifdef __STDC__
62395 # include <limits.h>
62396 #else
62397 # include <assert.h>
62398 #endif
62399
62400 #undef $ac_func
62401
62402 /* Override any gcc2 internal prototype to avoid an error. */
62403 #ifdef __cplusplus
62404 extern "C"
62405 {
62406 #endif
62407 /* We use char because int might match the return type of a gcc2
62408 builtin and then its argument prototype would still apply. */
62409 char $ac_func ();
62410 /* The GNU C library defines this for functions which it implements
62411 to always fail with ENOSYS. Some functions are actually named
62412 something starting with __ and the normal name is an alias. */
62413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62414 choke me
62415 #else
62416 char (*f) () = $ac_func;
62417 #endif
62418 #ifdef __cplusplus
62419 }
62420 #endif
62421
62422 int
62423 main ()
62424 {
62425 return f != $ac_func;
62426 ;
62427 return 0;
62428 }
62429 _ACEOF
62430 rm -f conftest.$ac_objext conftest$ac_exeext
62431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62432 (eval $ac_link) 2>conftest.er1
62433 ac_status=$?
62434 grep -v '^ *+' conftest.er1 >conftest.err
62435 rm -f conftest.er1
62436 cat conftest.err >&5
62437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62438 (exit $ac_status); } &&
62439 { ac_try='test -z "$ac_c_werror_flag"
62440 || test ! -s conftest.err'
62441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62442 (eval $ac_try) 2>&5
62443 ac_status=$?
62444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62445 (exit $ac_status); }; } &&
62446 { ac_try='test -s conftest$ac_exeext'
62447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62448 (eval $ac_try) 2>&5
62449 ac_status=$?
62450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62451 (exit $ac_status); }; }; then
62452 eval "$as_ac_var=yes"
62453 else
62454 echo "$as_me: failed program was:" >&5
62455 sed 's/^/| /' conftest.$ac_ext >&5
62456
62457 eval "$as_ac_var=no"
62458 fi
62459 rm -f conftest.err conftest.$ac_objext \
62460 conftest$ac_exeext conftest.$ac_ext
62461 fi
62462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62464 if test `eval echo '${'$as_ac_var'}'` = yes; then
62465 cat >>confdefs.h <<_ACEOF
62466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62467 _ACEOF
62468
62469 fi
62470 done
62471
62472 fi
62473
62474
62475
62476
62477
62478 echo "$as_me:$LINENO: checking for strtof declaration" >&5
62479 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
62480 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62481 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
62482 echo $ECHO_N "(cached) $ECHO_C" >&6
62483 else
62484
62485
62486
62487 ac_ext=cc
62488 ac_cpp='$CXXCPP $CPPFLAGS'
62489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62492
62493 cat >conftest.$ac_ext <<_ACEOF
62494 /* confdefs.h. */
62495 _ACEOF
62496 cat confdefs.h >>conftest.$ac_ext
62497 cat >>conftest.$ac_ext <<_ACEOF
62498 /* end confdefs.h. */
62499 #include <stdlib.h>
62500 int
62501 main ()
62502 {
62503 strtof(0, 0);
62504 ;
62505 return 0;
62506 }
62507 _ACEOF
62508 rm -f conftest.$ac_objext
62509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62510 (eval $ac_compile) 2>conftest.er1
62511 ac_status=$?
62512 grep -v '^ *+' conftest.er1 >conftest.err
62513 rm -f conftest.er1
62514 cat conftest.err >&5
62515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62516 (exit $ac_status); } &&
62517 { ac_try='test -z "$ac_cxx_werror_flag"
62518 || test ! -s conftest.err'
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); }; } &&
62524 { ac_try='test -s conftest.$ac_objext'
62525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62526 (eval $ac_try) 2>&5
62527 ac_status=$?
62528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62529 (exit $ac_status); }; }; then
62530 glibcxx_cv_func_strtof_use=yes
62531 else
62532 echo "$as_me: failed program was:" >&5
62533 sed 's/^/| /' conftest.$ac_ext >&5
62534
62535 glibcxx_cv_func_strtof_use=no
62536 fi
62537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62538 ac_ext=c
62539 ac_cpp='$CPP $CPPFLAGS'
62540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62543
62544
62545 fi
62546
62547 fi
62548 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
62549 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
62550 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
62551
62552 for ac_func in strtof
62553 do
62554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62555 echo "$as_me:$LINENO: checking for $ac_func" >&5
62556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62557 if eval "test \"\${$as_ac_var+set}\" = set"; then
62558 echo $ECHO_N "(cached) $ECHO_C" >&6
62559 else
62560 if test x$gcc_no_link = xyes; then
62561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62563 { (exit 1); exit 1; }; }
62564 fi
62565 cat >conftest.$ac_ext <<_ACEOF
62566 /* confdefs.h. */
62567 _ACEOF
62568 cat confdefs.h >>conftest.$ac_ext
62569 cat >>conftest.$ac_ext <<_ACEOF
62570 /* end confdefs.h. */
62571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62573 #define $ac_func innocuous_$ac_func
62574
62575 /* System header to define __stub macros and hopefully few prototypes,
62576 which can conflict with char $ac_func (); below.
62577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62578 <limits.h> exists even on freestanding compilers. */
62579
62580 #ifdef __STDC__
62581 # include <limits.h>
62582 #else
62583 # include <assert.h>
62584 #endif
62585
62586 #undef $ac_func
62587
62588 /* Override any gcc2 internal prototype to avoid an error. */
62589 #ifdef __cplusplus
62590 extern "C"
62591 {
62592 #endif
62593 /* We use char because int might match the return type of a gcc2
62594 builtin and then its argument prototype would still apply. */
62595 char $ac_func ();
62596 /* The GNU C library defines this for functions which it implements
62597 to always fail with ENOSYS. Some functions are actually named
62598 something starting with __ and the normal name is an alias. */
62599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62600 choke me
62601 #else
62602 char (*f) () = $ac_func;
62603 #endif
62604 #ifdef __cplusplus
62605 }
62606 #endif
62607
62608 int
62609 main ()
62610 {
62611 return f != $ac_func;
62612 ;
62613 return 0;
62614 }
62615 _ACEOF
62616 rm -f conftest.$ac_objext conftest$ac_exeext
62617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62618 (eval $ac_link) 2>conftest.er1
62619 ac_status=$?
62620 grep -v '^ *+' conftest.er1 >conftest.err
62621 rm -f conftest.er1
62622 cat conftest.err >&5
62623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62624 (exit $ac_status); } &&
62625 { ac_try='test -z "$ac_c_werror_flag"
62626 || test ! -s conftest.err'
62627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62628 (eval $ac_try) 2>&5
62629 ac_status=$?
62630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62631 (exit $ac_status); }; } &&
62632 { ac_try='test -s conftest$ac_exeext'
62633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62634 (eval $ac_try) 2>&5
62635 ac_status=$?
62636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62637 (exit $ac_status); }; }; then
62638 eval "$as_ac_var=yes"
62639 else
62640 echo "$as_me: failed program was:" >&5
62641 sed 's/^/| /' conftest.$ac_ext >&5
62642
62643 eval "$as_ac_var=no"
62644 fi
62645 rm -f conftest.err conftest.$ac_objext \
62646 conftest$ac_exeext conftest.$ac_ext
62647 fi
62648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62650 if test `eval echo '${'$as_ac_var'}'` = yes; then
62651 cat >>confdefs.h <<_ACEOF
62652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62653 _ACEOF
62654
62655 fi
62656 done
62657
62658 fi
62659
62660
62661
62662
62663
62664 CXXFLAGS="$ac_save_CXXFLAGS"
62665
62666
62667 # For showmanyc_helper().
62668
62669
62670 for ac_header in sys/ioctl.h sys/filio.h
62671 do
62672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62674 echo "$as_me:$LINENO: checking for $ac_header" >&5
62675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62677 echo $ECHO_N "(cached) $ECHO_C" >&6
62678 fi
62679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62681 else
62682 # Is the header compilable?
62683 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62685 cat >conftest.$ac_ext <<_ACEOF
62686 /* confdefs.h. */
62687 _ACEOF
62688 cat confdefs.h >>conftest.$ac_ext
62689 cat >>conftest.$ac_ext <<_ACEOF
62690 /* end confdefs.h. */
62691 $ac_includes_default
62692 #include <$ac_header>
62693 _ACEOF
62694 rm -f conftest.$ac_objext
62695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62696 (eval $ac_compile) 2>conftest.er1
62697 ac_status=$?
62698 grep -v '^ *+' conftest.er1 >conftest.err
62699 rm -f conftest.er1
62700 cat conftest.err >&5
62701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62702 (exit $ac_status); } &&
62703 { ac_try='test -z "$ac_c_werror_flag"
62704 || test ! -s conftest.err'
62705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62706 (eval $ac_try) 2>&5
62707 ac_status=$?
62708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62709 (exit $ac_status); }; } &&
62710 { ac_try='test -s conftest.$ac_objext'
62711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62712 (eval $ac_try) 2>&5
62713 ac_status=$?
62714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62715 (exit $ac_status); }; }; then
62716 ac_header_compiler=yes
62717 else
62718 echo "$as_me: failed program was:" >&5
62719 sed 's/^/| /' conftest.$ac_ext >&5
62720
62721 ac_header_compiler=no
62722 fi
62723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62725 echo "${ECHO_T}$ac_header_compiler" >&6
62726
62727 # Is the header present?
62728 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62729 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62730 cat >conftest.$ac_ext <<_ACEOF
62731 /* confdefs.h. */
62732 _ACEOF
62733 cat confdefs.h >>conftest.$ac_ext
62734 cat >>conftest.$ac_ext <<_ACEOF
62735 /* end confdefs.h. */
62736 #include <$ac_header>
62737 _ACEOF
62738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62740 ac_status=$?
62741 grep -v '^ *+' conftest.er1 >conftest.err
62742 rm -f conftest.er1
62743 cat conftest.err >&5
62744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62745 (exit $ac_status); } >/dev/null; then
62746 if test -s conftest.err; then
62747 ac_cpp_err=$ac_c_preproc_warn_flag
62748 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62749 else
62750 ac_cpp_err=
62751 fi
62752 else
62753 ac_cpp_err=yes
62754 fi
62755 if test -z "$ac_cpp_err"; then
62756 ac_header_preproc=yes
62757 else
62758 echo "$as_me: failed program was:" >&5
62759 sed 's/^/| /' conftest.$ac_ext >&5
62760
62761 ac_header_preproc=no
62762 fi
62763 rm -f conftest.err conftest.$ac_ext
62764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62765 echo "${ECHO_T}$ac_header_preproc" >&6
62766
62767 # So? What about this header?
62768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62769 yes:no: )
62770 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62771 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62773 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62774 ac_header_preproc=yes
62775 ;;
62776 no:yes:* )
62777 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62779 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62780 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62781 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62782 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62783 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62784 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62787 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62788 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62789 (
62790 cat <<\_ASBOX
62791 ## ----------------------------------------- ##
62792 ## Report this to the package-unused lists. ##
62793 ## ----------------------------------------- ##
62794 _ASBOX
62795 ) |
62796 sed "s/^/$as_me: WARNING: /" >&2
62797 ;;
62798 esac
62799 echo "$as_me:$LINENO: checking for $ac_header" >&5
62800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62802 echo $ECHO_N "(cached) $ECHO_C" >&6
62803 else
62804 eval "$as_ac_Header=\$ac_header_preproc"
62805 fi
62806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62808
62809 fi
62810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62811 cat >>confdefs.h <<_ACEOF
62812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62813 _ACEOF
62814
62815 fi
62816
62817 done
62818
62819
62820 echo "$as_me:$LINENO: checking for poll" >&5
62821 echo $ECHO_N "checking for poll... $ECHO_C" >&6
62822 if test "${glibcxx_cv_POLL+set}" = set; then
62823 echo $ECHO_N "(cached) $ECHO_C" >&6
62824 else
62825
62826 if test x$gcc_no_link = xyes; then
62827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62829 { (exit 1); exit 1; }; }
62830 fi
62831 cat >conftest.$ac_ext <<_ACEOF
62832 /* confdefs.h. */
62833 _ACEOF
62834 cat confdefs.h >>conftest.$ac_ext
62835 cat >>conftest.$ac_ext <<_ACEOF
62836 /* end confdefs.h. */
62837 #include <poll.h>
62838 int
62839 main ()
62840 {
62841 struct pollfd pfd[1];
62842 pfd[0].events = POLLIN;
62843 poll(pfd, 1, 0);
62844 ;
62845 return 0;
62846 }
62847 _ACEOF
62848 rm -f conftest.$ac_objext conftest$ac_exeext
62849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62850 (eval $ac_link) 2>conftest.er1
62851 ac_status=$?
62852 grep -v '^ *+' conftest.er1 >conftest.err
62853 rm -f conftest.er1
62854 cat conftest.err >&5
62855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62856 (exit $ac_status); } &&
62857 { ac_try='test -z "$ac_c_werror_flag"
62858 || test ! -s conftest.err'
62859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62860 (eval $ac_try) 2>&5
62861 ac_status=$?
62862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62863 (exit $ac_status); }; } &&
62864 { ac_try='test -s conftest$ac_exeext'
62865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62866 (eval $ac_try) 2>&5
62867 ac_status=$?
62868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62869 (exit $ac_status); }; }; then
62870 glibcxx_cv_POLL=yes
62871 else
62872 echo "$as_me: failed program was:" >&5
62873 sed 's/^/| /' conftest.$ac_ext >&5
62874
62875 glibcxx_cv_POLL=no
62876 fi
62877 rm -f conftest.err conftest.$ac_objext \
62878 conftest$ac_exeext conftest.$ac_ext
62879
62880 fi
62881
62882 if test $glibcxx_cv_POLL = yes; then
62883
62884 cat >>confdefs.h <<\_ACEOF
62885 #define HAVE_POLL 1
62886 _ACEOF
62887
62888 fi
62889 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
62890 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
62891
62892
62893 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
62894 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
62895 if test "${glibcxx_cv_S_ISREG+set}" = set; then
62896 echo $ECHO_N "(cached) $ECHO_C" >&6
62897 else
62898
62899 if test x$gcc_no_link = xyes; then
62900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62902 { (exit 1); exit 1; }; }
62903 fi
62904 cat >conftest.$ac_ext <<_ACEOF
62905 /* confdefs.h. */
62906 _ACEOF
62907 cat confdefs.h >>conftest.$ac_ext
62908 cat >>conftest.$ac_ext <<_ACEOF
62909 /* end confdefs.h. */
62910 #include <sys/stat.h>
62911 int
62912 main ()
62913 {
62914 struct stat buffer;
62915 fstat(0, &buffer);
62916 S_ISREG(buffer.st_mode);
62917 ;
62918 return 0;
62919 }
62920 _ACEOF
62921 rm -f conftest.$ac_objext conftest$ac_exeext
62922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62923 (eval $ac_link) 2>conftest.er1
62924 ac_status=$?
62925 grep -v '^ *+' conftest.er1 >conftest.err
62926 rm -f conftest.er1
62927 cat conftest.err >&5
62928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62929 (exit $ac_status); } &&
62930 { ac_try='test -z "$ac_c_werror_flag"
62931 || test ! -s conftest.err'
62932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62933 (eval $ac_try) 2>&5
62934 ac_status=$?
62935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62936 (exit $ac_status); }; } &&
62937 { ac_try='test -s conftest$ac_exeext'
62938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62939 (eval $ac_try) 2>&5
62940 ac_status=$?
62941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62942 (exit $ac_status); }; }; then
62943 glibcxx_cv_S_ISREG=yes
62944 else
62945 echo "$as_me: failed program was:" >&5
62946 sed 's/^/| /' conftest.$ac_ext >&5
62947
62948 glibcxx_cv_S_ISREG=no
62949 fi
62950 rm -f conftest.err conftest.$ac_objext \
62951 conftest$ac_exeext conftest.$ac_ext
62952
62953 fi
62954
62955 if test "${glibcxx_cv_S_IFREG+set}" = set; then
62956 echo $ECHO_N "(cached) $ECHO_C" >&6
62957 else
62958
62959 if test x$gcc_no_link = xyes; then
62960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62962 { (exit 1); exit 1; }; }
62963 fi
62964 cat >conftest.$ac_ext <<_ACEOF
62965 /* confdefs.h. */
62966 _ACEOF
62967 cat confdefs.h >>conftest.$ac_ext
62968 cat >>conftest.$ac_ext <<_ACEOF
62969 /* end confdefs.h. */
62970 #include <sys/stat.h>
62971 int
62972 main ()
62973 {
62974 struct stat buffer;
62975 fstat(0, &buffer);
62976 S_IFREG & buffer.st_mode;
62977 ;
62978 return 0;
62979 }
62980 _ACEOF
62981 rm -f conftest.$ac_objext conftest$ac_exeext
62982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62983 (eval $ac_link) 2>conftest.er1
62984 ac_status=$?
62985 grep -v '^ *+' conftest.er1 >conftest.err
62986 rm -f conftest.er1
62987 cat conftest.err >&5
62988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62989 (exit $ac_status); } &&
62990 { ac_try='test -z "$ac_c_werror_flag"
62991 || test ! -s conftest.err'
62992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62993 (eval $ac_try) 2>&5
62994 ac_status=$?
62995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62996 (exit $ac_status); }; } &&
62997 { ac_try='test -s conftest$ac_exeext'
62998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62999 (eval $ac_try) 2>&5
63000 ac_status=$?
63001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63002 (exit $ac_status); }; }; then
63003 glibcxx_cv_S_IFREG=yes
63004 else
63005 echo "$as_me: failed program was:" >&5
63006 sed 's/^/| /' conftest.$ac_ext >&5
63007
63008 glibcxx_cv_S_IFREG=no
63009 fi
63010 rm -f conftest.err conftest.$ac_objext \
63011 conftest$ac_exeext conftest.$ac_ext
63012
63013 fi
63014
63015 res=no
63016 if test $glibcxx_cv_S_ISREG = yes; then
63017
63018 cat >>confdefs.h <<\_ACEOF
63019 #define HAVE_S_ISREG 1
63020 _ACEOF
63021
63022 res=S_ISREG
63023 elif test $glibcxx_cv_S_IFREG = yes; then
63024
63025 cat >>confdefs.h <<\_ACEOF
63026 #define HAVE_S_IFREG 1
63027 _ACEOF
63028
63029 res=S_IFREG
63030 fi
63031 echo "$as_me:$LINENO: result: $res" >&5
63032 echo "${ECHO_T}$res" >&6
63033
63034
63035 # For xsputn_2().
63036
63037 for ac_header in sys/uio.h
63038 do
63039 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63041 echo "$as_me:$LINENO: checking for $ac_header" >&5
63042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63044 echo $ECHO_N "(cached) $ECHO_C" >&6
63045 fi
63046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63048 else
63049 # Is the header compilable?
63050 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63051 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63052 cat >conftest.$ac_ext <<_ACEOF
63053 /* confdefs.h. */
63054 _ACEOF
63055 cat confdefs.h >>conftest.$ac_ext
63056 cat >>conftest.$ac_ext <<_ACEOF
63057 /* end confdefs.h. */
63058 $ac_includes_default
63059 #include <$ac_header>
63060 _ACEOF
63061 rm -f conftest.$ac_objext
63062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63063 (eval $ac_compile) 2>conftest.er1
63064 ac_status=$?
63065 grep -v '^ *+' conftest.er1 >conftest.err
63066 rm -f conftest.er1
63067 cat conftest.err >&5
63068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63069 (exit $ac_status); } &&
63070 { ac_try='test -z "$ac_c_werror_flag"
63071 || test ! -s conftest.err'
63072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63073 (eval $ac_try) 2>&5
63074 ac_status=$?
63075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63076 (exit $ac_status); }; } &&
63077 { ac_try='test -s conftest.$ac_objext'
63078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63079 (eval $ac_try) 2>&5
63080 ac_status=$?
63081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63082 (exit $ac_status); }; }; then
63083 ac_header_compiler=yes
63084 else
63085 echo "$as_me: failed program was:" >&5
63086 sed 's/^/| /' conftest.$ac_ext >&5
63087
63088 ac_header_compiler=no
63089 fi
63090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63092 echo "${ECHO_T}$ac_header_compiler" >&6
63093
63094 # Is the header present?
63095 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63096 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63097 cat >conftest.$ac_ext <<_ACEOF
63098 /* confdefs.h. */
63099 _ACEOF
63100 cat confdefs.h >>conftest.$ac_ext
63101 cat >>conftest.$ac_ext <<_ACEOF
63102 /* end confdefs.h. */
63103 #include <$ac_header>
63104 _ACEOF
63105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63107 ac_status=$?
63108 grep -v '^ *+' conftest.er1 >conftest.err
63109 rm -f conftest.er1
63110 cat conftest.err >&5
63111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63112 (exit $ac_status); } >/dev/null; then
63113 if test -s conftest.err; then
63114 ac_cpp_err=$ac_c_preproc_warn_flag
63115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63116 else
63117 ac_cpp_err=
63118 fi
63119 else
63120 ac_cpp_err=yes
63121 fi
63122 if test -z "$ac_cpp_err"; then
63123 ac_header_preproc=yes
63124 else
63125 echo "$as_me: failed program was:" >&5
63126 sed 's/^/| /' conftest.$ac_ext >&5
63127
63128 ac_header_preproc=no
63129 fi
63130 rm -f conftest.err conftest.$ac_ext
63131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63132 echo "${ECHO_T}$ac_header_preproc" >&6
63133
63134 # So? What about this header?
63135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63136 yes:no: )
63137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63141 ac_header_preproc=yes
63142 ;;
63143 no:yes:* )
63144 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63146 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63147 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63148 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63150 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63151 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63154 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63156 (
63157 cat <<\_ASBOX
63158 ## ----------------------------------------- ##
63159 ## Report this to the package-unused lists. ##
63160 ## ----------------------------------------- ##
63161 _ASBOX
63162 ) |
63163 sed "s/^/$as_me: WARNING: /" >&2
63164 ;;
63165 esac
63166 echo "$as_me:$LINENO: checking for $ac_header" >&5
63167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63169 echo $ECHO_N "(cached) $ECHO_C" >&6
63170 else
63171 eval "$as_ac_Header=\$ac_header_preproc"
63172 fi
63173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63175
63176 fi
63177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63178 cat >>confdefs.h <<_ACEOF
63179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63180 _ACEOF
63181
63182 fi
63183
63184 done
63185
63186
63187 echo "$as_me:$LINENO: checking for writev" >&5
63188 echo $ECHO_N "checking for writev... $ECHO_C" >&6
63189 if test "${glibcxx_cv_WRITEV+set}" = set; then
63190 echo $ECHO_N "(cached) $ECHO_C" >&6
63191 else
63192
63193 if test x$gcc_no_link = xyes; then
63194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63196 { (exit 1); exit 1; }; }
63197 fi
63198 cat >conftest.$ac_ext <<_ACEOF
63199 /* confdefs.h. */
63200 _ACEOF
63201 cat confdefs.h >>conftest.$ac_ext
63202 cat >>conftest.$ac_ext <<_ACEOF
63203 /* end confdefs.h. */
63204 #include <sys/uio.h>
63205 int
63206 main ()
63207 {
63208 struct iovec iov[2];
63209 writev(0, iov, 0);
63210 ;
63211 return 0;
63212 }
63213 _ACEOF
63214 rm -f conftest.$ac_objext conftest$ac_exeext
63215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63216 (eval $ac_link) 2>conftest.er1
63217 ac_status=$?
63218 grep -v '^ *+' conftest.er1 >conftest.err
63219 rm -f conftest.er1
63220 cat conftest.err >&5
63221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63222 (exit $ac_status); } &&
63223 { ac_try='test -z "$ac_c_werror_flag"
63224 || test ! -s conftest.err'
63225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63226 (eval $ac_try) 2>&5
63227 ac_status=$?
63228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63229 (exit $ac_status); }; } &&
63230 { ac_try='test -s conftest$ac_exeext'
63231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63232 (eval $ac_try) 2>&5
63233 ac_status=$?
63234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63235 (exit $ac_status); }; }; then
63236 glibcxx_cv_WRITEV=yes
63237 else
63238 echo "$as_me: failed program was:" >&5
63239 sed 's/^/| /' conftest.$ac_ext >&5
63240
63241 glibcxx_cv_WRITEV=no
63242 fi
63243 rm -f conftest.err conftest.$ac_objext \
63244 conftest$ac_exeext conftest.$ac_ext
63245
63246 fi
63247
63248 if test $glibcxx_cv_WRITEV = yes; then
63249
63250 cat >>confdefs.h <<\_ACEOF
63251 #define HAVE_WRITEV 1
63252 _ACEOF
63253
63254 fi
63255 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
63256 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
63257
63258
63259 cat >>confdefs.h <<\_ACEOF
63260 #define HAVE_LC_MESSAGES 1
63261 _ACEOF
63262
63263
63264 cat >conftest.$ac_ext <<_ACEOF
63265 /* confdefs.h. */
63266 _ACEOF
63267 cat confdefs.h >>conftest.$ac_ext
63268 cat >>conftest.$ac_ext <<_ACEOF
63269 /* end confdefs.h. */
63270 #include <setjmp.h>
63271 int
63272 main ()
63273 {
63274 sigjmp_buf env;
63275 while (! sigsetjmp (env, 1))
63276 siglongjmp (env, 1);
63277
63278 ;
63279 return 0;
63280 }
63281 _ACEOF
63282 rm -f conftest.$ac_objext
63283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63284 (eval $ac_compile) 2>conftest.er1
63285 ac_status=$?
63286 grep -v '^ *+' conftest.er1 >conftest.err
63287 rm -f conftest.er1
63288 cat conftest.err >&5
63289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63290 (exit $ac_status); } &&
63291 { ac_try='test -z "$ac_c_werror_flag"
63292 || test ! -s conftest.err'
63293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63294 (eval $ac_try) 2>&5
63295 ac_status=$?
63296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63297 (exit $ac_status); }; } &&
63298 { ac_try='test -s conftest.$ac_objext'
63299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63300 (eval $ac_try) 2>&5
63301 ac_status=$?
63302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63303 (exit $ac_status); }; }; then
63304
63305 cat >>confdefs.h <<\_ACEOF
63306 #define HAVE_SIGSETJMP 1
63307 _ACEOF
63308
63309 else
63310 echo "$as_me: failed program was:" >&5
63311 sed 's/^/| /' conftest.$ac_ext >&5
63312
63313 fi
63314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63315
63316 cat >>confdefs.h <<\_ACEOF
63317 #define HAVE_MMAP 1
63318 _ACEOF
63319
63320 ;;
63321
63322 *djgpp)
63323
63324
63325
63326
63327
63328
63329
63330
63331
63332
63333
63334
63335
63336
63337
63338
63339
63340
63341
63342
63343 for ac_header in float.h ieeefp.h inttypes.h locale.h \
63344 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
63345 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
63346 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
63347 do
63348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63350 echo "$as_me:$LINENO: checking for $ac_header" >&5
63351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63353 echo $ECHO_N "(cached) $ECHO_C" >&6
63354 fi
63355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63357 else
63358 # Is the header compilable?
63359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63361 cat >conftest.$ac_ext <<_ACEOF
63362 /* confdefs.h. */
63363 _ACEOF
63364 cat confdefs.h >>conftest.$ac_ext
63365 cat >>conftest.$ac_ext <<_ACEOF
63366 /* end confdefs.h. */
63367 $ac_includes_default
63368 #include <$ac_header>
63369 _ACEOF
63370 rm -f conftest.$ac_objext
63371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63372 (eval $ac_compile) 2>conftest.er1
63373 ac_status=$?
63374 grep -v '^ *+' conftest.er1 >conftest.err
63375 rm -f conftest.er1
63376 cat conftest.err >&5
63377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63378 (exit $ac_status); } &&
63379 { ac_try='test -z "$ac_c_werror_flag"
63380 || test ! -s conftest.err'
63381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63382 (eval $ac_try) 2>&5
63383 ac_status=$?
63384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63385 (exit $ac_status); }; } &&
63386 { ac_try='test -s conftest.$ac_objext'
63387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63388 (eval $ac_try) 2>&5
63389 ac_status=$?
63390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63391 (exit $ac_status); }; }; then
63392 ac_header_compiler=yes
63393 else
63394 echo "$as_me: failed program was:" >&5
63395 sed 's/^/| /' conftest.$ac_ext >&5
63396
63397 ac_header_compiler=no
63398 fi
63399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63401 echo "${ECHO_T}$ac_header_compiler" >&6
63402
63403 # Is the header present?
63404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63406 cat >conftest.$ac_ext <<_ACEOF
63407 /* confdefs.h. */
63408 _ACEOF
63409 cat confdefs.h >>conftest.$ac_ext
63410 cat >>conftest.$ac_ext <<_ACEOF
63411 /* end confdefs.h. */
63412 #include <$ac_header>
63413 _ACEOF
63414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63416 ac_status=$?
63417 grep -v '^ *+' conftest.er1 >conftest.err
63418 rm -f conftest.er1
63419 cat conftest.err >&5
63420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63421 (exit $ac_status); } >/dev/null; then
63422 if test -s conftest.err; then
63423 ac_cpp_err=$ac_c_preproc_warn_flag
63424 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63425 else
63426 ac_cpp_err=
63427 fi
63428 else
63429 ac_cpp_err=yes
63430 fi
63431 if test -z "$ac_cpp_err"; then
63432 ac_header_preproc=yes
63433 else
63434 echo "$as_me: failed program was:" >&5
63435 sed 's/^/| /' conftest.$ac_ext >&5
63436
63437 ac_header_preproc=no
63438 fi
63439 rm -f conftest.err conftest.$ac_ext
63440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63441 echo "${ECHO_T}$ac_header_preproc" >&6
63442
63443 # So? What about this header?
63444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63445 yes:no: )
63446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63449 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63450 ac_header_preproc=yes
63451 ;;
63452 no:yes:* )
63453 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63454 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63455 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63456 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63457 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63458 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63459 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63460 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63462 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63463 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63464 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63465 (
63466 cat <<\_ASBOX
63467 ## ----------------------------------------- ##
63468 ## Report this to the package-unused lists. ##
63469 ## ----------------------------------------- ##
63470 _ASBOX
63471 ) |
63472 sed "s/^/$as_me: WARNING: /" >&2
63473 ;;
63474 esac
63475 echo "$as_me:$LINENO: checking for $ac_header" >&5
63476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63478 echo $ECHO_N "(cached) $ECHO_C" >&6
63479 else
63480 eval "$as_ac_Header=\$ac_header_preproc"
63481 fi
63482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63484
63485 fi
63486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63487 cat >>confdefs.h <<_ACEOF
63488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63489 _ACEOF
63490
63491 fi
63492
63493 done
63494
63495 # GLIBCXX_CHECK_MATH_SUPPORT
63496 cat >>confdefs.h <<\_ACEOF
63497 #define HAVE_LIBM 1
63498 _ACEOF
63499
63500 cat >>confdefs.h <<\_ACEOF
63501 #define HAVE_ISINF 1
63502 _ACEOF
63503
63504 cat >>confdefs.h <<\_ACEOF
63505 #define HAVE_ISNAN 1
63506 _ACEOF
63507
63508 cat >>confdefs.h <<\_ACEOF
63509 #define HAVE_FINITE 1
63510 _ACEOF
63511
63512 cat >>confdefs.h <<\_ACEOF
63513 #define HAVE_COPYSIGN 1
63514 _ACEOF
63515
63516 cat >>confdefs.h <<\_ACEOF
63517 #define HAVE_SINCOS 1
63518 _ACEOF
63519
63520 cat >>confdefs.h <<\_ACEOF
63521 #define HAVE_HYPOT 1
63522 _ACEOF
63523
63524 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
63525 cat >>confdefs.h <<\_ACEOF
63526 #define HAVE___BUILTIN_ABS 1
63527 _ACEOF
63528
63529 cat >>confdefs.h <<\_ACEOF
63530 #define HAVE___BUILTIN_FABSF 1
63531 _ACEOF
63532
63533 cat >>confdefs.h <<\_ACEOF
63534 #define HAVE___BUILTIN_FABS 1
63535 _ACEOF
63536
63537 cat >>confdefs.h <<\_ACEOF
63538 #define HAVE___BUILTIN_FABSL 1
63539 _ACEOF
63540
63541 cat >>confdefs.h <<\_ACEOF
63542 #define HAVE___BUILTIN_LABS 1
63543 _ACEOF
63544
63545 cat >>confdefs.h <<\_ACEOF
63546 #define HAVE___BUILTIN_SQRTF 1
63547 _ACEOF
63548
63549 cat >>confdefs.h <<\_ACEOF
63550 #define HAVE___BUILTIN_SQRT 1
63551 _ACEOF
63552
63553 cat >>confdefs.h <<\_ACEOF
63554 #define HAVE___BUILTIN_SQRTL 1
63555 _ACEOF
63556
63557 cat >>confdefs.h <<\_ACEOF
63558 #define HAVE___BUILTIN_SINF 1
63559 _ACEOF
63560
63561 cat >>confdefs.h <<\_ACEOF
63562 #define HAVE___BUILTIN_SIN 1
63563 _ACEOF
63564
63565 cat >>confdefs.h <<\_ACEOF
63566 #define HAVE___BUILTIN_SINL 1
63567 _ACEOF
63568
63569 cat >>confdefs.h <<\_ACEOF
63570 #define HAVE___BUILTIN_COSF 1
63571 _ACEOF
63572
63573 cat >>confdefs.h <<\_ACEOF
63574 #define HAVE___BUILTIN_COS 1
63575 _ACEOF
63576
63577 cat >>confdefs.h <<\_ACEOF
63578 #define HAVE___BUILTIN_COSL 1
63579 _ACEOF
63580
63581 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
63582 # GLIBCXX_CHECK_STDLIB_SUPPORT
63583 cat >>confdefs.h <<\_ACEOF
63584 #define HAVE_COPYSIGN 1
63585 _ACEOF
63586
63587 cat >>confdefs.h <<\_ACEOF
63588 #define HAVE_COPYSIGNF 1
63589 _ACEOF
63590
63591 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
63592 cat >>confdefs.h <<\_ACEOF
63593 #define HAVE_S_ISREG 1
63594 _ACEOF
63595
63596 cat >>confdefs.h <<\_ACEOF
63597 #define HAVE_S_IFREG 1
63598 _ACEOF
63599
63600 cat >>confdefs.h <<\_ACEOF
63601 #define HAVE_WRITEV 1
63602 _ACEOF
63603
63604 ;;
63605
63606 *-freebsd*)
63607
63608
63609
63610
63611
63612
63613
63614
63615
63616
63617
63618
63619
63620
63621
63622
63623 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
63624 machine/endian.h machine/param.h sys/machine.h sys/types.h \
63625 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
63626 sys/time.h unistd.h
63627 do
63628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63630 echo "$as_me:$LINENO: checking for $ac_header" >&5
63631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63633 echo $ECHO_N "(cached) $ECHO_C" >&6
63634 fi
63635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63637 else
63638 # Is the header compilable?
63639 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63640 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63641 cat >conftest.$ac_ext <<_ACEOF
63642 /* confdefs.h. */
63643 _ACEOF
63644 cat confdefs.h >>conftest.$ac_ext
63645 cat >>conftest.$ac_ext <<_ACEOF
63646 /* end confdefs.h. */
63647 $ac_includes_default
63648 #include <$ac_header>
63649 _ACEOF
63650 rm -f conftest.$ac_objext
63651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63652 (eval $ac_compile) 2>conftest.er1
63653 ac_status=$?
63654 grep -v '^ *+' conftest.er1 >conftest.err
63655 rm -f conftest.er1
63656 cat conftest.err >&5
63657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63658 (exit $ac_status); } &&
63659 { ac_try='test -z "$ac_c_werror_flag"
63660 || test ! -s conftest.err'
63661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63662 (eval $ac_try) 2>&5
63663 ac_status=$?
63664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63665 (exit $ac_status); }; } &&
63666 { ac_try='test -s conftest.$ac_objext'
63667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63668 (eval $ac_try) 2>&5
63669 ac_status=$?
63670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63671 (exit $ac_status); }; }; then
63672 ac_header_compiler=yes
63673 else
63674 echo "$as_me: failed program was:" >&5
63675 sed 's/^/| /' conftest.$ac_ext >&5
63676
63677 ac_header_compiler=no
63678 fi
63679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63681 echo "${ECHO_T}$ac_header_compiler" >&6
63682
63683 # Is the header present?
63684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63686 cat >conftest.$ac_ext <<_ACEOF
63687 /* confdefs.h. */
63688 _ACEOF
63689 cat confdefs.h >>conftest.$ac_ext
63690 cat >>conftest.$ac_ext <<_ACEOF
63691 /* end confdefs.h. */
63692 #include <$ac_header>
63693 _ACEOF
63694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63696 ac_status=$?
63697 grep -v '^ *+' conftest.er1 >conftest.err
63698 rm -f conftest.er1
63699 cat conftest.err >&5
63700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63701 (exit $ac_status); } >/dev/null; then
63702 if test -s conftest.err; then
63703 ac_cpp_err=$ac_c_preproc_warn_flag
63704 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63705 else
63706 ac_cpp_err=
63707 fi
63708 else
63709 ac_cpp_err=yes
63710 fi
63711 if test -z "$ac_cpp_err"; then
63712 ac_header_preproc=yes
63713 else
63714 echo "$as_me: failed program was:" >&5
63715 sed 's/^/| /' conftest.$ac_ext >&5
63716
63717 ac_header_preproc=no
63718 fi
63719 rm -f conftest.err conftest.$ac_ext
63720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63721 echo "${ECHO_T}$ac_header_preproc" >&6
63722
63723 # So? What about this header?
63724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63725 yes:no: )
63726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63730 ac_header_preproc=yes
63731 ;;
63732 no:yes:* )
63733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63745 (
63746 cat <<\_ASBOX
63747 ## ----------------------------------------- ##
63748 ## Report this to the package-unused lists. ##
63749 ## ----------------------------------------- ##
63750 _ASBOX
63751 ) |
63752 sed "s/^/$as_me: WARNING: /" >&2
63753 ;;
63754 esac
63755 echo "$as_me:$LINENO: checking for $ac_header" >&5
63756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63758 echo $ECHO_N "(cached) $ECHO_C" >&6
63759 else
63760 eval "$as_ac_Header=\$ac_header_preproc"
63761 fi
63762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63764
63765 fi
63766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63767 cat >>confdefs.h <<_ACEOF
63768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63769 _ACEOF
63770
63771 fi
63772
63773 done
63774
63775 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63776
63777
63778 # If we're not using GNU ld, then there's no point in even trying these
63779 # tests. Check for that first. We should have already tested for gld
63780 # by now (in libtool), but require it now just to be safe...
63781 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63782 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63783
63784
63785
63786 # The name set by libtool depends on the version of libtool. Shame on us
63787 # for depending on an impl detail, but c'est la vie. Older versions used
63788 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63789 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63790 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63791 # set (hence we're using an older libtool), then set it.
63792 if test x${with_gnu_ld+set} != xset; then
63793 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63794 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63795 with_gnu_ld=no
63796 else
63797 with_gnu_ld=$ac_cv_prog_gnu_ld
63798 fi
63799 fi
63800
63801 # Start by getting the version number. I think the libtool test already
63802 # does some of this, but throws away the result.
63803 if test x"$with_gnu_ld" = x"yes"; then
63804 echo "$as_me:$LINENO: checking for ld version" >&5
63805 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
63806
63807 ldver=`$LD --version 2>/dev/null | head -1 | \
63808 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
63809
63810 glibcxx_gnu_ld_version=`echo $ldver | \
63811 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63812 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
63813 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
63814 fi
63815
63816 # Set --gc-sections.
63817 glibcxx_gcsections_min_ld=21602
63818 if test x"$with_gnu_ld" = x"yes" &&
63819 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63820
63821 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63822 # NB: This flag only works reliably after 2.16.1. Configure tests
63823 # for this are difficult, so hard wire a value that should work.
63824
63825 ac_test_CFLAGS="${CFLAGS+set}"
63826 ac_save_CFLAGS="$CFLAGS"
63827 CFLAGS='-Wl,--gc-sections'
63828
63829 # Check for -Wl,--gc-sections
63830 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
63831 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
63832 if test x$gcc_no_link = xyes; then
63833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63835 { (exit 1); exit 1; }; }
63836 fi
63837 cat >conftest.$ac_ext <<_ACEOF
63838 /* confdefs.h. */
63839 _ACEOF
63840 cat confdefs.h >>conftest.$ac_ext
63841 cat >>conftest.$ac_ext <<_ACEOF
63842 /* end confdefs.h. */
63843 int one(void) { return 1; }
63844 int two(void) { return 2; }
63845
63846 int
63847 main ()
63848 {
63849 two();
63850 ;
63851 return 0;
63852 }
63853 _ACEOF
63854 rm -f conftest.$ac_objext conftest$ac_exeext
63855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63856 (eval $ac_link) 2>conftest.er1
63857 ac_status=$?
63858 grep -v '^ *+' conftest.er1 >conftest.err
63859 rm -f conftest.er1
63860 cat conftest.err >&5
63861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63862 (exit $ac_status); } &&
63863 { ac_try='test -z "$ac_c_werror_flag"
63864 || test ! -s conftest.err'
63865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63866 (eval $ac_try) 2>&5
63867 ac_status=$?
63868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63869 (exit $ac_status); }; } &&
63870 { ac_try='test -s conftest$ac_exeext'
63871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63872 (eval $ac_try) 2>&5
63873 ac_status=$?
63874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63875 (exit $ac_status); }; }; then
63876 ac_gcsections=yes
63877 else
63878 echo "$as_me: failed program was:" >&5
63879 sed 's/^/| /' conftest.$ac_ext >&5
63880
63881 ac_gcsections=no
63882 fi
63883 rm -f conftest.err conftest.$ac_objext \
63884 conftest$ac_exeext conftest.$ac_ext
63885 if test "$ac_gcsections" = "yes"; then
63886 rm -f conftest.c
63887 touch conftest.c
63888 if $CC -c conftest.c; then
63889 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63890 grep "Warning: gc-sections option ignored" > /dev/null; then
63891 ac_gcsections=no
63892 fi
63893 fi
63894 rm -f conftest.c conftest.o conftest
63895 fi
63896 if test "$ac_gcsections" = "yes"; then
63897 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63898 fi
63899 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
63900 echo "${ECHO_T}$ac_gcsections" >&6
63901
63902 if test "$ac_test_CFLAGS" = set; then
63903 CFLAGS="$ac_save_CFLAGS"
63904 else
63905 # this is the suspicious part
63906 CFLAGS=''
63907 fi
63908 fi
63909
63910 # Set -z,relro.
63911 # Note this is only for shared objects.
63912 ac_ld_relro=no
63913 if test x"$with_gnu_ld" = x"yes"; then
63914 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
63915 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
63916 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63917 if test -n "$cxx_z_relo"; then
63918 OPT_LDFLAGS="-Wl,-z,relro"
63919 ac_ld_relro=yes
63920 fi
63921 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
63922 echo "${ECHO_T}$ac_ld_relro" >&6
63923 fi
63924
63925 # Set linker optimization flags.
63926 if test x"$with_gnu_ld" = x"yes"; then
63927 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63928 fi
63929
63930
63931
63932
63933
63934
63935 echo "$as_me:$LINENO: checking for main in -lm" >&5
63936 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
63937 if test "${ac_cv_lib_m_main+set}" = set; then
63938 echo $ECHO_N "(cached) $ECHO_C" >&6
63939 else
63940 ac_check_lib_save_LIBS=$LIBS
63941 LIBS="-lm $LIBS"
63942 if test x$gcc_no_link = xyes; then
63943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63945 { (exit 1); exit 1; }; }
63946 fi
63947 cat >conftest.$ac_ext <<_ACEOF
63948 /* confdefs.h. */
63949 _ACEOF
63950 cat confdefs.h >>conftest.$ac_ext
63951 cat >>conftest.$ac_ext <<_ACEOF
63952 /* end confdefs.h. */
63953
63954
63955 int
63956 main ()
63957 {
63958 main ();
63959 ;
63960 return 0;
63961 }
63962 _ACEOF
63963 rm -f conftest.$ac_objext conftest$ac_exeext
63964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63965 (eval $ac_link) 2>conftest.er1
63966 ac_status=$?
63967 grep -v '^ *+' conftest.er1 >conftest.err
63968 rm -f conftest.er1
63969 cat conftest.err >&5
63970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63971 (exit $ac_status); } &&
63972 { ac_try='test -z "$ac_c_werror_flag"
63973 || test ! -s conftest.err'
63974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63975 (eval $ac_try) 2>&5
63976 ac_status=$?
63977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63978 (exit $ac_status); }; } &&
63979 { ac_try='test -s conftest$ac_exeext'
63980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63981 (eval $ac_try) 2>&5
63982 ac_status=$?
63983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63984 (exit $ac_status); }; }; then
63985 ac_cv_lib_m_main=yes
63986 else
63987 echo "$as_me: failed program was:" >&5
63988 sed 's/^/| /' conftest.$ac_ext >&5
63989
63990 ac_cv_lib_m_main=no
63991 fi
63992 rm -f conftest.err conftest.$ac_objext \
63993 conftest$ac_exeext conftest.$ac_ext
63994 LIBS=$ac_check_lib_save_LIBS
63995 fi
63996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63997 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63998 if test $ac_cv_lib_m_main = yes; then
63999 cat >>confdefs.h <<_ACEOF
64000 #define HAVE_LIBM 1
64001 _ACEOF
64002
64003 LIBS="-lm $LIBS"
64004
64005 fi
64006
64007
64008 for ac_func in copysignf
64009 do
64010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64011 echo "$as_me:$LINENO: checking for $ac_func" >&5
64012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64013 if eval "test \"\${$as_ac_var+set}\" = set"; then
64014 echo $ECHO_N "(cached) $ECHO_C" >&6
64015 else
64016 if test x$gcc_no_link = xyes; then
64017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64019 { (exit 1); exit 1; }; }
64020 fi
64021 cat >conftest.$ac_ext <<_ACEOF
64022 /* confdefs.h. */
64023 _ACEOF
64024 cat confdefs.h >>conftest.$ac_ext
64025 cat >>conftest.$ac_ext <<_ACEOF
64026 /* end confdefs.h. */
64027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64029 #define $ac_func innocuous_$ac_func
64030
64031 /* System header to define __stub macros and hopefully few prototypes,
64032 which can conflict with char $ac_func (); below.
64033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64034 <limits.h> exists even on freestanding compilers. */
64035
64036 #ifdef __STDC__
64037 # include <limits.h>
64038 #else
64039 # include <assert.h>
64040 #endif
64041
64042 #undef $ac_func
64043
64044 /* Override any gcc2 internal prototype to avoid an error. */
64045 #ifdef __cplusplus
64046 extern "C"
64047 {
64048 #endif
64049 /* We use char because int might match the return type of a gcc2
64050 builtin and then its argument prototype would still apply. */
64051 char $ac_func ();
64052 /* The GNU C library defines this for functions which it implements
64053 to always fail with ENOSYS. Some functions are actually named
64054 something starting with __ and the normal name is an alias. */
64055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64056 choke me
64057 #else
64058 char (*f) () = $ac_func;
64059 #endif
64060 #ifdef __cplusplus
64061 }
64062 #endif
64063
64064 int
64065 main ()
64066 {
64067 return f != $ac_func;
64068 ;
64069 return 0;
64070 }
64071 _ACEOF
64072 rm -f conftest.$ac_objext conftest$ac_exeext
64073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64074 (eval $ac_link) 2>conftest.er1
64075 ac_status=$?
64076 grep -v '^ *+' conftest.er1 >conftest.err
64077 rm -f conftest.er1
64078 cat conftest.err >&5
64079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64080 (exit $ac_status); } &&
64081 { ac_try='test -z "$ac_c_werror_flag"
64082 || test ! -s conftest.err'
64083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64084 (eval $ac_try) 2>&5
64085 ac_status=$?
64086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64087 (exit $ac_status); }; } &&
64088 { ac_try='test -s conftest$ac_exeext'
64089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64090 (eval $ac_try) 2>&5
64091 ac_status=$?
64092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64093 (exit $ac_status); }; }; then
64094 eval "$as_ac_var=yes"
64095 else
64096 echo "$as_me: failed program was:" >&5
64097 sed 's/^/| /' conftest.$ac_ext >&5
64098
64099 eval "$as_ac_var=no"
64100 fi
64101 rm -f conftest.err conftest.$ac_objext \
64102 conftest$ac_exeext conftest.$ac_ext
64103 fi
64104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64106 if test `eval echo '${'$as_ac_var'}'` = yes; then
64107 cat >>confdefs.h <<_ACEOF
64108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64109 _ACEOF
64110
64111 else
64112 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
64113 fi
64114 done
64115
64116
64117
64118 for ac_func in __signbit
64119 do
64120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64121 echo "$as_me:$LINENO: checking for $ac_func" >&5
64122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64123 if eval "test \"\${$as_ac_var+set}\" = set"; then
64124 echo $ECHO_N "(cached) $ECHO_C" >&6
64125 else
64126 if test x$gcc_no_link = xyes; then
64127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64129 { (exit 1); exit 1; }; }
64130 fi
64131 cat >conftest.$ac_ext <<_ACEOF
64132 /* confdefs.h. */
64133 _ACEOF
64134 cat confdefs.h >>conftest.$ac_ext
64135 cat >>conftest.$ac_ext <<_ACEOF
64136 /* end confdefs.h. */
64137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64139 #define $ac_func innocuous_$ac_func
64140
64141 /* System header to define __stub macros and hopefully few prototypes,
64142 which can conflict with char $ac_func (); below.
64143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64144 <limits.h> exists even on freestanding compilers. */
64145
64146 #ifdef __STDC__
64147 # include <limits.h>
64148 #else
64149 # include <assert.h>
64150 #endif
64151
64152 #undef $ac_func
64153
64154 /* Override any gcc2 internal prototype to avoid an error. */
64155 #ifdef __cplusplus
64156 extern "C"
64157 {
64158 #endif
64159 /* We use char because int might match the return type of a gcc2
64160 builtin and then its argument prototype would still apply. */
64161 char $ac_func ();
64162 /* The GNU C library defines this for functions which it implements
64163 to always fail with ENOSYS. Some functions are actually named
64164 something starting with __ and the normal name is an alias. */
64165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64166 choke me
64167 #else
64168 char (*f) () = $ac_func;
64169 #endif
64170 #ifdef __cplusplus
64171 }
64172 #endif
64173
64174 int
64175 main ()
64176 {
64177 return f != $ac_func;
64178 ;
64179 return 0;
64180 }
64181 _ACEOF
64182 rm -f conftest.$ac_objext conftest$ac_exeext
64183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64184 (eval $ac_link) 2>conftest.er1
64185 ac_status=$?
64186 grep -v '^ *+' conftest.er1 >conftest.err
64187 rm -f conftest.er1
64188 cat conftest.err >&5
64189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64190 (exit $ac_status); } &&
64191 { ac_try='test -z "$ac_c_werror_flag"
64192 || test ! -s conftest.err'
64193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64194 (eval $ac_try) 2>&5
64195 ac_status=$?
64196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64197 (exit $ac_status); }; } &&
64198 { ac_try='test -s conftest$ac_exeext'
64199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64200 (eval $ac_try) 2>&5
64201 ac_status=$?
64202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64203 (exit $ac_status); }; }; then
64204 eval "$as_ac_var=yes"
64205 else
64206 echo "$as_me: failed program was:" >&5
64207 sed 's/^/| /' conftest.$ac_ext >&5
64208
64209 eval "$as_ac_var=no"
64210 fi
64211 rm -f conftest.err conftest.$ac_objext \
64212 conftest$ac_exeext conftest.$ac_ext
64213 fi
64214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64216 if test `eval echo '${'$as_ac_var'}'` = yes; then
64217 cat >>confdefs.h <<_ACEOF
64218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64219 _ACEOF
64220
64221 else
64222 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
64223 fi
64224 done
64225
64226
64227
64228 for ac_func in __signbitf
64229 do
64230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64231 echo "$as_me:$LINENO: checking for $ac_func" >&5
64232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64233 if eval "test \"\${$as_ac_var+set}\" = set"; then
64234 echo $ECHO_N "(cached) $ECHO_C" >&6
64235 else
64236 if test x$gcc_no_link = xyes; then
64237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64239 { (exit 1); exit 1; }; }
64240 fi
64241 cat >conftest.$ac_ext <<_ACEOF
64242 /* confdefs.h. */
64243 _ACEOF
64244 cat confdefs.h >>conftest.$ac_ext
64245 cat >>conftest.$ac_ext <<_ACEOF
64246 /* end confdefs.h. */
64247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64249 #define $ac_func innocuous_$ac_func
64250
64251 /* System header to define __stub macros and hopefully few prototypes,
64252 which can conflict with char $ac_func (); below.
64253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64254 <limits.h> exists even on freestanding compilers. */
64255
64256 #ifdef __STDC__
64257 # include <limits.h>
64258 #else
64259 # include <assert.h>
64260 #endif
64261
64262 #undef $ac_func
64263
64264 /* Override any gcc2 internal prototype to avoid an error. */
64265 #ifdef __cplusplus
64266 extern "C"
64267 {
64268 #endif
64269 /* We use char because int might match the return type of a gcc2
64270 builtin and then its argument prototype would still apply. */
64271 char $ac_func ();
64272 /* The GNU C library defines this for functions which it implements
64273 to always fail with ENOSYS. Some functions are actually named
64274 something starting with __ and the normal name is an alias. */
64275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64276 choke me
64277 #else
64278 char (*f) () = $ac_func;
64279 #endif
64280 #ifdef __cplusplus
64281 }
64282 #endif
64283
64284 int
64285 main ()
64286 {
64287 return f != $ac_func;
64288 ;
64289 return 0;
64290 }
64291 _ACEOF
64292 rm -f conftest.$ac_objext conftest$ac_exeext
64293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64294 (eval $ac_link) 2>conftest.er1
64295 ac_status=$?
64296 grep -v '^ *+' conftest.er1 >conftest.err
64297 rm -f conftest.er1
64298 cat conftest.err >&5
64299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64300 (exit $ac_status); } &&
64301 { ac_try='test -z "$ac_c_werror_flag"
64302 || test ! -s conftest.err'
64303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64304 (eval $ac_try) 2>&5
64305 ac_status=$?
64306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64307 (exit $ac_status); }; } &&
64308 { ac_try='test -s conftest$ac_exeext'
64309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64310 (eval $ac_try) 2>&5
64311 ac_status=$?
64312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64313 (exit $ac_status); }; }; then
64314 eval "$as_ac_var=yes"
64315 else
64316 echo "$as_me: failed program was:" >&5
64317 sed 's/^/| /' conftest.$ac_ext >&5
64318
64319 eval "$as_ac_var=no"
64320 fi
64321 rm -f conftest.err conftest.$ac_objext \
64322 conftest$ac_exeext conftest.$ac_ext
64323 fi
64324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64326 if test `eval echo '${'$as_ac_var'}'` = yes; then
64327 cat >>confdefs.h <<_ACEOF
64328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64329 _ACEOF
64330
64331 else
64332 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
64333 fi
64334 done
64335
64336
64337 if test x$ac_cv_func_copysignl = x"yes"; then
64338
64339 for ac_func in __signbitl
64340 do
64341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64342 echo "$as_me:$LINENO: checking for $ac_func" >&5
64343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64344 if eval "test \"\${$as_ac_var+set}\" = set"; then
64345 echo $ECHO_N "(cached) $ECHO_C" >&6
64346 else
64347 if test x$gcc_no_link = xyes; then
64348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64350 { (exit 1); exit 1; }; }
64351 fi
64352 cat >conftest.$ac_ext <<_ACEOF
64353 /* confdefs.h. */
64354 _ACEOF
64355 cat confdefs.h >>conftest.$ac_ext
64356 cat >>conftest.$ac_ext <<_ACEOF
64357 /* end confdefs.h. */
64358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64360 #define $ac_func innocuous_$ac_func
64361
64362 /* System header to define __stub macros and hopefully few prototypes,
64363 which can conflict with char $ac_func (); below.
64364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64365 <limits.h> exists even on freestanding compilers. */
64366
64367 #ifdef __STDC__
64368 # include <limits.h>
64369 #else
64370 # include <assert.h>
64371 #endif
64372
64373 #undef $ac_func
64374
64375 /* Override any gcc2 internal prototype to avoid an error. */
64376 #ifdef __cplusplus
64377 extern "C"
64378 {
64379 #endif
64380 /* We use char because int might match the return type of a gcc2
64381 builtin and then its argument prototype would still apply. */
64382 char $ac_func ();
64383 /* The GNU C library defines this for functions which it implements
64384 to always fail with ENOSYS. Some functions are actually named
64385 something starting with __ and the normal name is an alias. */
64386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64387 choke me
64388 #else
64389 char (*f) () = $ac_func;
64390 #endif
64391 #ifdef __cplusplus
64392 }
64393 #endif
64394
64395 int
64396 main ()
64397 {
64398 return f != $ac_func;
64399 ;
64400 return 0;
64401 }
64402 _ACEOF
64403 rm -f conftest.$ac_objext conftest$ac_exeext
64404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64405 (eval $ac_link) 2>conftest.er1
64406 ac_status=$?
64407 grep -v '^ *+' conftest.er1 >conftest.err
64408 rm -f conftest.er1
64409 cat conftest.err >&5
64410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64411 (exit $ac_status); } &&
64412 { ac_try='test -z "$ac_c_werror_flag"
64413 || test ! -s conftest.err'
64414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64415 (eval $ac_try) 2>&5
64416 ac_status=$?
64417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64418 (exit $ac_status); }; } &&
64419 { ac_try='test -s conftest$ac_exeext'
64420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64421 (eval $ac_try) 2>&5
64422 ac_status=$?
64423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64424 (exit $ac_status); }; }; then
64425 eval "$as_ac_var=yes"
64426 else
64427 echo "$as_me: failed program was:" >&5
64428 sed 's/^/| /' conftest.$ac_ext >&5
64429
64430 eval "$as_ac_var=no"
64431 fi
64432 rm -f conftest.err conftest.$ac_objext \
64433 conftest$ac_exeext conftest.$ac_ext
64434 fi
64435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64437 if test `eval echo '${'$as_ac_var'}'` = yes; then
64438 cat >>confdefs.h <<_ACEOF
64439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64440 _ACEOF
64441
64442 else
64443 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
64444 fi
64445 done
64446
64447 fi
64448
64449 # Used in libmath/Makefile.am.
64450 if test -n "$LIBMATHOBJS"; then
64451 need_libmath=yes
64452 fi
64453
64454
64455 cat >>confdefs.h <<\_ACEOF
64456 #define HAVE_LC_MESSAGES 1
64457 _ACEOF
64458
64459 cat >>confdefs.h <<\_ACEOF
64460 #define HAVE_GETPAGESIZE 1
64461 _ACEOF
64462
64463 cat >>confdefs.h <<\_ACEOF
64464 #define HAVE_SETENV 1
64465 _ACEOF
64466
64467 cat >>confdefs.h <<\_ACEOF
64468 #define HAVE_SIGSETJMP 1
64469 _ACEOF
64470
64471 cat >>confdefs.h <<\_ACEOF
64472 #define HAVE_COPYSIGN 1
64473 _ACEOF
64474
64475 cat >>confdefs.h <<\_ACEOF
64476 #define HAVE_COPYSIGNF 1
64477 _ACEOF
64478
64479 cat >>confdefs.h <<\_ACEOF
64480 #define HAVE_FINITEF 1
64481 _ACEOF
64482
64483 cat >>confdefs.h <<\_ACEOF
64484 #define HAVE_FINITE 1
64485 _ACEOF
64486
64487 cat >>confdefs.h <<\_ACEOF
64488 #define HAVE_FREXPF 1
64489 _ACEOF
64490
64491 cat >>confdefs.h <<\_ACEOF
64492 #define HAVE_HYPOT 1
64493 _ACEOF
64494
64495 cat >>confdefs.h <<\_ACEOF
64496 #define HAVE_HYPOTF 1
64497 _ACEOF
64498
64499 cat >>confdefs.h <<\_ACEOF
64500 #define HAVE_ISINF 1
64501 _ACEOF
64502
64503 cat >>confdefs.h <<\_ACEOF
64504 #define HAVE_ISNAN 1
64505 _ACEOF
64506
64507 cat >>confdefs.h <<\_ACEOF
64508 #define HAVE_ISNANF 1
64509 _ACEOF
64510
64511
64512 cat >>confdefs.h <<\_ACEOF
64513 #define HAVE_MMAP 1
64514 _ACEOF
64515
64516 cat >>confdefs.h <<\_ACEOF
64517 #define HAVE_ACOSF 1
64518 _ACEOF
64519
64520 cat >>confdefs.h <<\_ACEOF
64521 #define HAVE_ASINF 1
64522 _ACEOF
64523
64524 cat >>confdefs.h <<\_ACEOF
64525 #define HAVE_ATAN2F 1
64526 _ACEOF
64527
64528 cat >>confdefs.h <<\_ACEOF
64529 #define HAVE_ATANF 1
64530 _ACEOF
64531
64532 cat >>confdefs.h <<\_ACEOF
64533 #define HAVE_CEILF 1
64534 _ACEOF
64535
64536 cat >>confdefs.h <<\_ACEOF
64537 #define HAVE_COPYSIGN 1
64538 _ACEOF
64539
64540 cat >>confdefs.h <<\_ACEOF
64541 #define HAVE_COPYSIGNF 1
64542 _ACEOF
64543
64544 cat >>confdefs.h <<\_ACEOF
64545 #define HAVE_COSF 1
64546 _ACEOF
64547
64548 cat >>confdefs.h <<\_ACEOF
64549 #define HAVE_COSHF 1
64550 _ACEOF
64551
64552 cat >>confdefs.h <<\_ACEOF
64553 #define HAVE_EXPF 1
64554 _ACEOF
64555
64556 cat >>confdefs.h <<\_ACEOF
64557 #define HAVE_FABSF 1
64558 _ACEOF
64559
64560 cat >>confdefs.h <<\_ACEOF
64561 #define HAVE_FLOORF 1
64562 _ACEOF
64563
64564 cat >>confdefs.h <<\_ACEOF
64565 #define HAVE_FMODF 1
64566 _ACEOF
64567
64568 cat >>confdefs.h <<\_ACEOF
64569 #define HAVE_FREXPF 1
64570 _ACEOF
64571
64572 cat >>confdefs.h <<\_ACEOF
64573 #define HAVE_LDEXPF 1
64574 _ACEOF
64575
64576 cat >>confdefs.h <<\_ACEOF
64577 #define HAVE_LOG10F 1
64578 _ACEOF
64579
64580 cat >>confdefs.h <<\_ACEOF
64581 #define HAVE_LOGF 1
64582 _ACEOF
64583
64584 cat >>confdefs.h <<\_ACEOF
64585 #define HAVE_MODFF 1
64586 _ACEOF
64587
64588 cat >>confdefs.h <<\_ACEOF
64589 #define HAVE_POWF 1
64590 _ACEOF
64591
64592 cat >>confdefs.h <<\_ACEOF
64593 #define HAVE_SINF 1
64594 _ACEOF
64595
64596 cat >>confdefs.h <<\_ACEOF
64597 #define HAVE_SINHF 1
64598 _ACEOF
64599
64600 cat >>confdefs.h <<\_ACEOF
64601 #define HAVE_SQRTF 1
64602 _ACEOF
64603
64604 cat >>confdefs.h <<\_ACEOF
64605 #define HAVE_TANF 1
64606 _ACEOF
64607
64608 cat >>confdefs.h <<\_ACEOF
64609 #define HAVE_TANHF 1
64610 _ACEOF
64611
64612 if test x"long_double_math_on_this_cpu" = x"yes"; then
64613 cat >>confdefs.h <<\_ACEOF
64614 #define HAVE_FINITEL 1
64615 _ACEOF
64616
64617 cat >>confdefs.h <<\_ACEOF
64618 #define HAVE_ISINFL 1
64619 _ACEOF
64620
64621 cat >>confdefs.h <<\_ACEOF
64622 #define HAVE_ISNANL 1
64623 _ACEOF
64624
64625 fi
64626 ;;
64627 *-hpux*)
64628
64629
64630
64631
64632
64633
64634
64635
64636
64637
64638
64639
64640 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
64641 machine/endian.h machine/param.h sys/machine.h sys/types.h \
64642 fp.h locale.h float.h inttypes.h
64643 do
64644 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64646 echo "$as_me:$LINENO: checking for $ac_header" >&5
64647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64649 echo $ECHO_N "(cached) $ECHO_C" >&6
64650 fi
64651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64653 else
64654 # Is the header compilable?
64655 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64657 cat >conftest.$ac_ext <<_ACEOF
64658 /* confdefs.h. */
64659 _ACEOF
64660 cat confdefs.h >>conftest.$ac_ext
64661 cat >>conftest.$ac_ext <<_ACEOF
64662 /* end confdefs.h. */
64663 $ac_includes_default
64664 #include <$ac_header>
64665 _ACEOF
64666 rm -f conftest.$ac_objext
64667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64668 (eval $ac_compile) 2>conftest.er1
64669 ac_status=$?
64670 grep -v '^ *+' conftest.er1 >conftest.err
64671 rm -f conftest.er1
64672 cat conftest.err >&5
64673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64674 (exit $ac_status); } &&
64675 { ac_try='test -z "$ac_c_werror_flag"
64676 || test ! -s conftest.err'
64677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64678 (eval $ac_try) 2>&5
64679 ac_status=$?
64680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64681 (exit $ac_status); }; } &&
64682 { ac_try='test -s conftest.$ac_objext'
64683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64684 (eval $ac_try) 2>&5
64685 ac_status=$?
64686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64687 (exit $ac_status); }; }; then
64688 ac_header_compiler=yes
64689 else
64690 echo "$as_me: failed program was:" >&5
64691 sed 's/^/| /' conftest.$ac_ext >&5
64692
64693 ac_header_compiler=no
64694 fi
64695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64696 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64697 echo "${ECHO_T}$ac_header_compiler" >&6
64698
64699 # Is the header present?
64700 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64701 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64702 cat >conftest.$ac_ext <<_ACEOF
64703 /* confdefs.h. */
64704 _ACEOF
64705 cat confdefs.h >>conftest.$ac_ext
64706 cat >>conftest.$ac_ext <<_ACEOF
64707 /* end confdefs.h. */
64708 #include <$ac_header>
64709 _ACEOF
64710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64711 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64712 ac_status=$?
64713 grep -v '^ *+' conftest.er1 >conftest.err
64714 rm -f conftest.er1
64715 cat conftest.err >&5
64716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64717 (exit $ac_status); } >/dev/null; then
64718 if test -s conftest.err; then
64719 ac_cpp_err=$ac_c_preproc_warn_flag
64720 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64721 else
64722 ac_cpp_err=
64723 fi
64724 else
64725 ac_cpp_err=yes
64726 fi
64727 if test -z "$ac_cpp_err"; then
64728 ac_header_preproc=yes
64729 else
64730 echo "$as_me: failed program was:" >&5
64731 sed 's/^/| /' conftest.$ac_ext >&5
64732
64733 ac_header_preproc=no
64734 fi
64735 rm -f conftest.err conftest.$ac_ext
64736 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64737 echo "${ECHO_T}$ac_header_preproc" >&6
64738
64739 # So? What about this header?
64740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64741 yes:no: )
64742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64745 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64746 ac_header_preproc=yes
64747 ;;
64748 no:yes:* )
64749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64753 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64754 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64755 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64756 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64759 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64760 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64761 (
64762 cat <<\_ASBOX
64763 ## ----------------------------------------- ##
64764 ## Report this to the package-unused lists. ##
64765 ## ----------------------------------------- ##
64766 _ASBOX
64767 ) |
64768 sed "s/^/$as_me: WARNING: /" >&2
64769 ;;
64770 esac
64771 echo "$as_me:$LINENO: checking for $ac_header" >&5
64772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64774 echo $ECHO_N "(cached) $ECHO_C" >&6
64775 else
64776 eval "$as_ac_Header=\$ac_header_preproc"
64777 fi
64778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64780
64781 fi
64782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64783 cat >>confdefs.h <<_ACEOF
64784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64785 _ACEOF
64786
64787 fi
64788
64789 done
64790
64791 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64792
64793
64794 # If we're not using GNU ld, then there's no point in even trying these
64795 # tests. Check for that first. We should have already tested for gld
64796 # by now (in libtool), but require it now just to be safe...
64797 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64798 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64799
64800
64801
64802 # The name set by libtool depends on the version of libtool. Shame on us
64803 # for depending on an impl detail, but c'est la vie. Older versions used
64804 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64805 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64806 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64807 # set (hence we're using an older libtool), then set it.
64808 if test x${with_gnu_ld+set} != xset; then
64809 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64810 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64811 with_gnu_ld=no
64812 else
64813 with_gnu_ld=$ac_cv_prog_gnu_ld
64814 fi
64815 fi
64816
64817 # Start by getting the version number. I think the libtool test already
64818 # does some of this, but throws away the result.
64819 if test x"$with_gnu_ld" = x"yes"; then
64820 echo "$as_me:$LINENO: checking for ld version" >&5
64821 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
64822
64823 ldver=`$LD --version 2>/dev/null | head -1 | \
64824 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
64825
64826 glibcxx_gnu_ld_version=`echo $ldver | \
64827 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64828 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
64829 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
64830 fi
64831
64832 # Set --gc-sections.
64833 glibcxx_gcsections_min_ld=21602
64834 if test x"$with_gnu_ld" = x"yes" &&
64835 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64836
64837 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64838 # NB: This flag only works reliably after 2.16.1. Configure tests
64839 # for this are difficult, so hard wire a value that should work.
64840
64841 ac_test_CFLAGS="${CFLAGS+set}"
64842 ac_save_CFLAGS="$CFLAGS"
64843 CFLAGS='-Wl,--gc-sections'
64844
64845 # Check for -Wl,--gc-sections
64846 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
64847 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
64848 if test x$gcc_no_link = xyes; then
64849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64851 { (exit 1); exit 1; }; }
64852 fi
64853 cat >conftest.$ac_ext <<_ACEOF
64854 /* confdefs.h. */
64855 _ACEOF
64856 cat confdefs.h >>conftest.$ac_ext
64857 cat >>conftest.$ac_ext <<_ACEOF
64858 /* end confdefs.h. */
64859 int one(void) { return 1; }
64860 int two(void) { return 2; }
64861
64862 int
64863 main ()
64864 {
64865 two();
64866 ;
64867 return 0;
64868 }
64869 _ACEOF
64870 rm -f conftest.$ac_objext conftest$ac_exeext
64871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64872 (eval $ac_link) 2>conftest.er1
64873 ac_status=$?
64874 grep -v '^ *+' conftest.er1 >conftest.err
64875 rm -f conftest.er1
64876 cat conftest.err >&5
64877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64878 (exit $ac_status); } &&
64879 { ac_try='test -z "$ac_c_werror_flag"
64880 || test ! -s conftest.err'
64881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64882 (eval $ac_try) 2>&5
64883 ac_status=$?
64884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64885 (exit $ac_status); }; } &&
64886 { ac_try='test -s conftest$ac_exeext'
64887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64888 (eval $ac_try) 2>&5
64889 ac_status=$?
64890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64891 (exit $ac_status); }; }; then
64892 ac_gcsections=yes
64893 else
64894 echo "$as_me: failed program was:" >&5
64895 sed 's/^/| /' conftest.$ac_ext >&5
64896
64897 ac_gcsections=no
64898 fi
64899 rm -f conftest.err conftest.$ac_objext \
64900 conftest$ac_exeext conftest.$ac_ext
64901 if test "$ac_gcsections" = "yes"; then
64902 rm -f conftest.c
64903 touch conftest.c
64904 if $CC -c conftest.c; then
64905 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64906 grep "Warning: gc-sections option ignored" > /dev/null; then
64907 ac_gcsections=no
64908 fi
64909 fi
64910 rm -f conftest.c conftest.o conftest
64911 fi
64912 if test "$ac_gcsections" = "yes"; then
64913 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64914 fi
64915 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
64916 echo "${ECHO_T}$ac_gcsections" >&6
64917
64918 if test "$ac_test_CFLAGS" = set; then
64919 CFLAGS="$ac_save_CFLAGS"
64920 else
64921 # this is the suspicious part
64922 CFLAGS=''
64923 fi
64924 fi
64925
64926 # Set -z,relro.
64927 # Note this is only for shared objects.
64928 ac_ld_relro=no
64929 if test x"$with_gnu_ld" = x"yes"; then
64930 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
64931 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
64932 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64933 if test -n "$cxx_z_relo"; then
64934 OPT_LDFLAGS="-Wl,-z,relro"
64935 ac_ld_relro=yes
64936 fi
64937 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
64938 echo "${ECHO_T}$ac_ld_relro" >&6
64939 fi
64940
64941 # Set linker optimization flags.
64942 if test x"$with_gnu_ld" = x"yes"; then
64943 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64944 fi
64945
64946
64947
64948
64949
64950
64951 echo "$as_me:$LINENO: checking for main in -lm" >&5
64952 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
64953 if test "${ac_cv_lib_m_main+set}" = set; then
64954 echo $ECHO_N "(cached) $ECHO_C" >&6
64955 else
64956 ac_check_lib_save_LIBS=$LIBS
64957 LIBS="-lm $LIBS"
64958 if test x$gcc_no_link = xyes; then
64959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64961 { (exit 1); exit 1; }; }
64962 fi
64963 cat >conftest.$ac_ext <<_ACEOF
64964 /* confdefs.h. */
64965 _ACEOF
64966 cat confdefs.h >>conftest.$ac_ext
64967 cat >>conftest.$ac_ext <<_ACEOF
64968 /* end confdefs.h. */
64969
64970
64971 int
64972 main ()
64973 {
64974 main ();
64975 ;
64976 return 0;
64977 }
64978 _ACEOF
64979 rm -f conftest.$ac_objext conftest$ac_exeext
64980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64981 (eval $ac_link) 2>conftest.er1
64982 ac_status=$?
64983 grep -v '^ *+' conftest.er1 >conftest.err
64984 rm -f conftest.er1
64985 cat conftest.err >&5
64986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64987 (exit $ac_status); } &&
64988 { ac_try='test -z "$ac_c_werror_flag"
64989 || test ! -s conftest.err'
64990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64991 (eval $ac_try) 2>&5
64992 ac_status=$?
64993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64994 (exit $ac_status); }; } &&
64995 { ac_try='test -s conftest$ac_exeext'
64996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64997 (eval $ac_try) 2>&5
64998 ac_status=$?
64999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65000 (exit $ac_status); }; }; then
65001 ac_cv_lib_m_main=yes
65002 else
65003 echo "$as_me: failed program was:" >&5
65004 sed 's/^/| /' conftest.$ac_ext >&5
65005
65006 ac_cv_lib_m_main=no
65007 fi
65008 rm -f conftest.err conftest.$ac_objext \
65009 conftest$ac_exeext conftest.$ac_ext
65010 LIBS=$ac_check_lib_save_LIBS
65011 fi
65012 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
65013 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
65014 if test $ac_cv_lib_m_main = yes; then
65015 cat >>confdefs.h <<_ACEOF
65016 #define HAVE_LIBM 1
65017 _ACEOF
65018
65019 LIBS="-lm $LIBS"
65020
65021 fi
65022
65023
65024 for ac_func in copysignf
65025 do
65026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65027 echo "$as_me:$LINENO: checking for $ac_func" >&5
65028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65029 if eval "test \"\${$as_ac_var+set}\" = set"; then
65030 echo $ECHO_N "(cached) $ECHO_C" >&6
65031 else
65032 if test x$gcc_no_link = xyes; then
65033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65035 { (exit 1); exit 1; }; }
65036 fi
65037 cat >conftest.$ac_ext <<_ACEOF
65038 /* confdefs.h. */
65039 _ACEOF
65040 cat confdefs.h >>conftest.$ac_ext
65041 cat >>conftest.$ac_ext <<_ACEOF
65042 /* end confdefs.h. */
65043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65045 #define $ac_func innocuous_$ac_func
65046
65047 /* System header to define __stub macros and hopefully few prototypes,
65048 which can conflict with char $ac_func (); below.
65049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65050 <limits.h> exists even on freestanding compilers. */
65051
65052 #ifdef __STDC__
65053 # include <limits.h>
65054 #else
65055 # include <assert.h>
65056 #endif
65057
65058 #undef $ac_func
65059
65060 /* Override any gcc2 internal prototype to avoid an error. */
65061 #ifdef __cplusplus
65062 extern "C"
65063 {
65064 #endif
65065 /* We use char because int might match the return type of a gcc2
65066 builtin and then its argument prototype would still apply. */
65067 char $ac_func ();
65068 /* The GNU C library defines this for functions which it implements
65069 to always fail with ENOSYS. Some functions are actually named
65070 something starting with __ and the normal name is an alias. */
65071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65072 choke me
65073 #else
65074 char (*f) () = $ac_func;
65075 #endif
65076 #ifdef __cplusplus
65077 }
65078 #endif
65079
65080 int
65081 main ()
65082 {
65083 return f != $ac_func;
65084 ;
65085 return 0;
65086 }
65087 _ACEOF
65088 rm -f conftest.$ac_objext conftest$ac_exeext
65089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65090 (eval $ac_link) 2>conftest.er1
65091 ac_status=$?
65092 grep -v '^ *+' conftest.er1 >conftest.err
65093 rm -f conftest.er1
65094 cat conftest.err >&5
65095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65096 (exit $ac_status); } &&
65097 { ac_try='test -z "$ac_c_werror_flag"
65098 || test ! -s conftest.err'
65099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65100 (eval $ac_try) 2>&5
65101 ac_status=$?
65102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65103 (exit $ac_status); }; } &&
65104 { ac_try='test -s conftest$ac_exeext'
65105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65106 (eval $ac_try) 2>&5
65107 ac_status=$?
65108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65109 (exit $ac_status); }; }; then
65110 eval "$as_ac_var=yes"
65111 else
65112 echo "$as_me: failed program was:" >&5
65113 sed 's/^/| /' conftest.$ac_ext >&5
65114
65115 eval "$as_ac_var=no"
65116 fi
65117 rm -f conftest.err conftest.$ac_objext \
65118 conftest$ac_exeext conftest.$ac_ext
65119 fi
65120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65122 if test `eval echo '${'$as_ac_var'}'` = yes; then
65123 cat >>confdefs.h <<_ACEOF
65124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65125 _ACEOF
65126
65127 else
65128 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
65129 fi
65130 done
65131
65132
65133
65134 for ac_func in __signbit
65135 do
65136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65137 echo "$as_me:$LINENO: checking for $ac_func" >&5
65138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65139 if eval "test \"\${$as_ac_var+set}\" = set"; then
65140 echo $ECHO_N "(cached) $ECHO_C" >&6
65141 else
65142 if test x$gcc_no_link = xyes; then
65143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65145 { (exit 1); exit 1; }; }
65146 fi
65147 cat >conftest.$ac_ext <<_ACEOF
65148 /* confdefs.h. */
65149 _ACEOF
65150 cat confdefs.h >>conftest.$ac_ext
65151 cat >>conftest.$ac_ext <<_ACEOF
65152 /* end confdefs.h. */
65153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65155 #define $ac_func innocuous_$ac_func
65156
65157 /* System header to define __stub macros and hopefully few prototypes,
65158 which can conflict with char $ac_func (); below.
65159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65160 <limits.h> exists even on freestanding compilers. */
65161
65162 #ifdef __STDC__
65163 # include <limits.h>
65164 #else
65165 # include <assert.h>
65166 #endif
65167
65168 #undef $ac_func
65169
65170 /* Override any gcc2 internal prototype to avoid an error. */
65171 #ifdef __cplusplus
65172 extern "C"
65173 {
65174 #endif
65175 /* We use char because int might match the return type of a gcc2
65176 builtin and then its argument prototype would still apply. */
65177 char $ac_func ();
65178 /* The GNU C library defines this for functions which it implements
65179 to always fail with ENOSYS. Some functions are actually named
65180 something starting with __ and the normal name is an alias. */
65181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65182 choke me
65183 #else
65184 char (*f) () = $ac_func;
65185 #endif
65186 #ifdef __cplusplus
65187 }
65188 #endif
65189
65190 int
65191 main ()
65192 {
65193 return f != $ac_func;
65194 ;
65195 return 0;
65196 }
65197 _ACEOF
65198 rm -f conftest.$ac_objext conftest$ac_exeext
65199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65200 (eval $ac_link) 2>conftest.er1
65201 ac_status=$?
65202 grep -v '^ *+' conftest.er1 >conftest.err
65203 rm -f conftest.er1
65204 cat conftest.err >&5
65205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65206 (exit $ac_status); } &&
65207 { ac_try='test -z "$ac_c_werror_flag"
65208 || test ! -s conftest.err'
65209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65210 (eval $ac_try) 2>&5
65211 ac_status=$?
65212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65213 (exit $ac_status); }; } &&
65214 { ac_try='test -s conftest$ac_exeext'
65215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65216 (eval $ac_try) 2>&5
65217 ac_status=$?
65218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65219 (exit $ac_status); }; }; then
65220 eval "$as_ac_var=yes"
65221 else
65222 echo "$as_me: failed program was:" >&5
65223 sed 's/^/| /' conftest.$ac_ext >&5
65224
65225 eval "$as_ac_var=no"
65226 fi
65227 rm -f conftest.err conftest.$ac_objext \
65228 conftest$ac_exeext conftest.$ac_ext
65229 fi
65230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65232 if test `eval echo '${'$as_ac_var'}'` = yes; then
65233 cat >>confdefs.h <<_ACEOF
65234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65235 _ACEOF
65236
65237 else
65238 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
65239 fi
65240 done
65241
65242
65243
65244 for ac_func in __signbitf
65245 do
65246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65247 echo "$as_me:$LINENO: checking for $ac_func" >&5
65248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65249 if eval "test \"\${$as_ac_var+set}\" = set"; then
65250 echo $ECHO_N "(cached) $ECHO_C" >&6
65251 else
65252 if test x$gcc_no_link = xyes; then
65253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65255 { (exit 1); exit 1; }; }
65256 fi
65257 cat >conftest.$ac_ext <<_ACEOF
65258 /* confdefs.h. */
65259 _ACEOF
65260 cat confdefs.h >>conftest.$ac_ext
65261 cat >>conftest.$ac_ext <<_ACEOF
65262 /* end confdefs.h. */
65263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65265 #define $ac_func innocuous_$ac_func
65266
65267 /* System header to define __stub macros and hopefully few prototypes,
65268 which can conflict with char $ac_func (); below.
65269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65270 <limits.h> exists even on freestanding compilers. */
65271
65272 #ifdef __STDC__
65273 # include <limits.h>
65274 #else
65275 # include <assert.h>
65276 #endif
65277
65278 #undef $ac_func
65279
65280 /* Override any gcc2 internal prototype to avoid an error. */
65281 #ifdef __cplusplus
65282 extern "C"
65283 {
65284 #endif
65285 /* We use char because int might match the return type of a gcc2
65286 builtin and then its argument prototype would still apply. */
65287 char $ac_func ();
65288 /* The GNU C library defines this for functions which it implements
65289 to always fail with ENOSYS. Some functions are actually named
65290 something starting with __ and the normal name is an alias. */
65291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65292 choke me
65293 #else
65294 char (*f) () = $ac_func;
65295 #endif
65296 #ifdef __cplusplus
65297 }
65298 #endif
65299
65300 int
65301 main ()
65302 {
65303 return f != $ac_func;
65304 ;
65305 return 0;
65306 }
65307 _ACEOF
65308 rm -f conftest.$ac_objext conftest$ac_exeext
65309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65310 (eval $ac_link) 2>conftest.er1
65311 ac_status=$?
65312 grep -v '^ *+' conftest.er1 >conftest.err
65313 rm -f conftest.er1
65314 cat conftest.err >&5
65315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65316 (exit $ac_status); } &&
65317 { ac_try='test -z "$ac_c_werror_flag"
65318 || test ! -s conftest.err'
65319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65320 (eval $ac_try) 2>&5
65321 ac_status=$?
65322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65323 (exit $ac_status); }; } &&
65324 { ac_try='test -s conftest$ac_exeext'
65325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65326 (eval $ac_try) 2>&5
65327 ac_status=$?
65328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65329 (exit $ac_status); }; }; then
65330 eval "$as_ac_var=yes"
65331 else
65332 echo "$as_me: failed program was:" >&5
65333 sed 's/^/| /' conftest.$ac_ext >&5
65334
65335 eval "$as_ac_var=no"
65336 fi
65337 rm -f conftest.err conftest.$ac_objext \
65338 conftest$ac_exeext conftest.$ac_ext
65339 fi
65340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65342 if test `eval echo '${'$as_ac_var'}'` = yes; then
65343 cat >>confdefs.h <<_ACEOF
65344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65345 _ACEOF
65346
65347 else
65348 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
65349 fi
65350 done
65351
65352
65353 if test x$ac_cv_func_copysignl = x"yes"; then
65354
65355 for ac_func in __signbitl
65356 do
65357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65358 echo "$as_me:$LINENO: checking for $ac_func" >&5
65359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65360 if eval "test \"\${$as_ac_var+set}\" = set"; then
65361 echo $ECHO_N "(cached) $ECHO_C" >&6
65362 else
65363 if test x$gcc_no_link = xyes; then
65364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65366 { (exit 1); exit 1; }; }
65367 fi
65368 cat >conftest.$ac_ext <<_ACEOF
65369 /* confdefs.h. */
65370 _ACEOF
65371 cat confdefs.h >>conftest.$ac_ext
65372 cat >>conftest.$ac_ext <<_ACEOF
65373 /* end confdefs.h. */
65374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65376 #define $ac_func innocuous_$ac_func
65377
65378 /* System header to define __stub macros and hopefully few prototypes,
65379 which can conflict with char $ac_func (); below.
65380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65381 <limits.h> exists even on freestanding compilers. */
65382
65383 #ifdef __STDC__
65384 # include <limits.h>
65385 #else
65386 # include <assert.h>
65387 #endif
65388
65389 #undef $ac_func
65390
65391 /* Override any gcc2 internal prototype to avoid an error. */
65392 #ifdef __cplusplus
65393 extern "C"
65394 {
65395 #endif
65396 /* We use char because int might match the return type of a gcc2
65397 builtin and then its argument prototype would still apply. */
65398 char $ac_func ();
65399 /* The GNU C library defines this for functions which it implements
65400 to always fail with ENOSYS. Some functions are actually named
65401 something starting with __ and the normal name is an alias. */
65402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65403 choke me
65404 #else
65405 char (*f) () = $ac_func;
65406 #endif
65407 #ifdef __cplusplus
65408 }
65409 #endif
65410
65411 int
65412 main ()
65413 {
65414 return f != $ac_func;
65415 ;
65416 return 0;
65417 }
65418 _ACEOF
65419 rm -f conftest.$ac_objext conftest$ac_exeext
65420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65421 (eval $ac_link) 2>conftest.er1
65422 ac_status=$?
65423 grep -v '^ *+' conftest.er1 >conftest.err
65424 rm -f conftest.er1
65425 cat conftest.err >&5
65426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65427 (exit $ac_status); } &&
65428 { ac_try='test -z "$ac_c_werror_flag"
65429 || test ! -s conftest.err'
65430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65431 (eval $ac_try) 2>&5
65432 ac_status=$?
65433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65434 (exit $ac_status); }; } &&
65435 { ac_try='test -s conftest$ac_exeext'
65436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65437 (eval $ac_try) 2>&5
65438 ac_status=$?
65439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65440 (exit $ac_status); }; }; then
65441 eval "$as_ac_var=yes"
65442 else
65443 echo "$as_me: failed program was:" >&5
65444 sed 's/^/| /' conftest.$ac_ext >&5
65445
65446 eval "$as_ac_var=no"
65447 fi
65448 rm -f conftest.err conftest.$ac_objext \
65449 conftest$ac_exeext conftest.$ac_ext
65450 fi
65451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65453 if test `eval echo '${'$as_ac_var'}'` = yes; then
65454 cat >>confdefs.h <<_ACEOF
65455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65456 _ACEOF
65457
65458 else
65459 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
65460 fi
65461 done
65462
65463 fi
65464
65465 # Used in libmath/Makefile.am.
65466 if test -n "$LIBMATHOBJS"; then
65467 need_libmath=yes
65468 fi
65469
65470
65471 cat >>confdefs.h <<\_ACEOF
65472 #define HAVE_COPYSIGN 1
65473 _ACEOF
65474
65475 cat >>confdefs.h <<\_ACEOF
65476 #define HAVE_COPYSIGNF 1
65477 _ACEOF
65478
65479 cat >>confdefs.h <<\_ACEOF
65480 #define HAVE_FREXPF 1
65481 _ACEOF
65482
65483 cat >>confdefs.h <<\_ACEOF
65484 #define HAVE_HYPOT 1
65485 _ACEOF
65486
65487 case "$target" in
65488 *-hpux10*)
65489 cat >>confdefs.h <<\_ACEOF
65490 #define HAVE_FINITE 1
65491 _ACEOF
65492
65493 cat >>confdefs.h <<\_ACEOF
65494 #define HAVE_FINITEF 1
65495 _ACEOF
65496
65497 cat >>confdefs.h <<\_ACEOF
65498 #define HAVE_ISINF 1
65499 _ACEOF
65500
65501 cat >>confdefs.h <<\_ACEOF
65502 #define HAVE_ISINFF 1
65503 _ACEOF
65504
65505 cat >>confdefs.h <<\_ACEOF
65506 #define HAVE_ISNAN 1
65507 _ACEOF
65508
65509 cat >>confdefs.h <<\_ACEOF
65510 #define HAVE_ISNANF 1
65511 _ACEOF
65512
65513 ;;
65514 esac
65515 ;;
65516 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
65517
65518
65519
65520
65521
65522
65523
65524
65525
65526
65527
65528
65529
65530
65531
65532 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
65533 machine/endian.h machine/param.h sys/machine.h sys/types.h \
65534 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
65535 do
65536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
65537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65538 echo "$as_me:$LINENO: checking for $ac_header" >&5
65539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65541 echo $ECHO_N "(cached) $ECHO_C" >&6
65542 fi
65543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65545 else
65546 # Is the header compilable?
65547 echo "$as_me:$LINENO: checking $ac_header usability" >&5
65548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
65549 cat >conftest.$ac_ext <<_ACEOF
65550 /* confdefs.h. */
65551 _ACEOF
65552 cat confdefs.h >>conftest.$ac_ext
65553 cat >>conftest.$ac_ext <<_ACEOF
65554 /* end confdefs.h. */
65555 $ac_includes_default
65556 #include <$ac_header>
65557 _ACEOF
65558 rm -f conftest.$ac_objext
65559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65560 (eval $ac_compile) 2>conftest.er1
65561 ac_status=$?
65562 grep -v '^ *+' conftest.er1 >conftest.err
65563 rm -f conftest.er1
65564 cat conftest.err >&5
65565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65566 (exit $ac_status); } &&
65567 { ac_try='test -z "$ac_c_werror_flag"
65568 || test ! -s conftest.err'
65569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65570 (eval $ac_try) 2>&5
65571 ac_status=$?
65572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65573 (exit $ac_status); }; } &&
65574 { ac_try='test -s conftest.$ac_objext'
65575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65576 (eval $ac_try) 2>&5
65577 ac_status=$?
65578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65579 (exit $ac_status); }; }; then
65580 ac_header_compiler=yes
65581 else
65582 echo "$as_me: failed program was:" >&5
65583 sed 's/^/| /' conftest.$ac_ext >&5
65584
65585 ac_header_compiler=no
65586 fi
65587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65588 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
65589 echo "${ECHO_T}$ac_header_compiler" >&6
65590
65591 # Is the header present?
65592 echo "$as_me:$LINENO: checking $ac_header presence" >&5
65593 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
65594 cat >conftest.$ac_ext <<_ACEOF
65595 /* confdefs.h. */
65596 _ACEOF
65597 cat confdefs.h >>conftest.$ac_ext
65598 cat >>conftest.$ac_ext <<_ACEOF
65599 /* end confdefs.h. */
65600 #include <$ac_header>
65601 _ACEOF
65602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
65603 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
65604 ac_status=$?
65605 grep -v '^ *+' conftest.er1 >conftest.err
65606 rm -f conftest.er1
65607 cat conftest.err >&5
65608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65609 (exit $ac_status); } >/dev/null; then
65610 if test -s conftest.err; then
65611 ac_cpp_err=$ac_c_preproc_warn_flag
65612 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
65613 else
65614 ac_cpp_err=
65615 fi
65616 else
65617 ac_cpp_err=yes
65618 fi
65619 if test -z "$ac_cpp_err"; then
65620 ac_header_preproc=yes
65621 else
65622 echo "$as_me: failed program was:" >&5
65623 sed 's/^/| /' conftest.$ac_ext >&5
65624
65625 ac_header_preproc=no
65626 fi
65627 rm -f conftest.err conftest.$ac_ext
65628 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
65629 echo "${ECHO_T}$ac_header_preproc" >&6
65630
65631 # So? What about this header?
65632 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
65633 yes:no: )
65634 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
65635 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
65636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
65637 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
65638 ac_header_preproc=yes
65639 ;;
65640 no:yes:* )
65641 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
65642 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
65643 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
65644 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
65645 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
65646 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
65647 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
65648 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
65649 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
65650 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
65651 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
65652 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
65653 (
65654 cat <<\_ASBOX
65655 ## ----------------------------------------- ##
65656 ## Report this to the package-unused lists. ##
65657 ## ----------------------------------------- ##
65658 _ASBOX
65659 ) |
65660 sed "s/^/$as_me: WARNING: /" >&2
65661 ;;
65662 esac
65663 echo "$as_me:$LINENO: checking for $ac_header" >&5
65664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65666 echo $ECHO_N "(cached) $ECHO_C" >&6
65667 else
65668 eval "$as_ac_Header=\$ac_header_preproc"
65669 fi
65670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65672
65673 fi
65674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65675 cat >>confdefs.h <<_ACEOF
65676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
65677 _ACEOF
65678
65679 fi
65680
65681 done
65682
65683 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65684
65685
65686 # All these tests are for C++; save the language and the compiler flags.
65687 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65688 # found in GLIBCXX_CONFIGURE.
65689
65690
65691 ac_ext=cc
65692 ac_cpp='$CXXCPP $CPPFLAGS'
65693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65696
65697 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65698 ac_save_CXXFLAGS="$CXXFLAGS"
65699
65700 # Check for maintainer-mode bits.
65701 if test x"$USE_MAINTAINER_MODE" = xno; then
65702 WERROR=''
65703 else
65704 WERROR='-Werror'
65705 fi
65706
65707 # Check for -ffunction-sections -fdata-sections
65708 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65709 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
65710 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65711 cat >conftest.$ac_ext <<_ACEOF
65712 /* confdefs.h. */
65713 _ACEOF
65714 cat confdefs.h >>conftest.$ac_ext
65715 cat >>conftest.$ac_ext <<_ACEOF
65716 /* end confdefs.h. */
65717 int foo; void bar() { };
65718 int
65719 main ()
65720 {
65721
65722 ;
65723 return 0;
65724 }
65725 _ACEOF
65726 rm -f conftest.$ac_objext
65727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65728 (eval $ac_compile) 2>conftest.er1
65729 ac_status=$?
65730 grep -v '^ *+' conftest.er1 >conftest.err
65731 rm -f conftest.er1
65732 cat conftest.err >&5
65733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65734 (exit $ac_status); } &&
65735 { ac_try='test -z "$ac_cxx_werror_flag"
65736 || test ! -s conftest.err'
65737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65738 (eval $ac_try) 2>&5
65739 ac_status=$?
65740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65741 (exit $ac_status); }; } &&
65742 { ac_try='test -s conftest.$ac_objext'
65743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65744 (eval $ac_try) 2>&5
65745 ac_status=$?
65746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65747 (exit $ac_status); }; }; then
65748 ac_fdsections=yes
65749 else
65750 echo "$as_me: failed program was:" >&5
65751 sed 's/^/| /' conftest.$ac_ext >&5
65752
65753 ac_fdsections=no
65754 fi
65755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65756 if test "$ac_test_CXXFLAGS" = set; then
65757 CXXFLAGS="$ac_save_CXXFLAGS"
65758 else
65759 # this is the suspicious part
65760 CXXFLAGS=''
65761 fi
65762 if test x"$ac_fdsections" = x"yes"; then
65763 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65764 fi
65765 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
65766 echo "${ECHO_T}$ac_fdsections" >&6
65767
65768 ac_ext=c
65769 ac_cpp='$CPP $CPPFLAGS'
65770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65773
65774
65775
65776
65777
65778 # If we're not using GNU ld, then there's no point in even trying these
65779 # tests. Check for that first. We should have already tested for gld
65780 # by now (in libtool), but require it now just to be safe...
65781 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65782 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65783
65784
65785
65786 # The name set by libtool depends on the version of libtool. Shame on us
65787 # for depending on an impl detail, but c'est la vie. Older versions used
65788 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65789 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65790 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65791 # set (hence we're using an older libtool), then set it.
65792 if test x${with_gnu_ld+set} != xset; then
65793 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65794 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65795 with_gnu_ld=no
65796 else
65797 with_gnu_ld=$ac_cv_prog_gnu_ld
65798 fi
65799 fi
65800
65801 # Start by getting the version number. I think the libtool test already
65802 # does some of this, but throws away the result.
65803 if test x"$with_gnu_ld" = x"yes"; then
65804 echo "$as_me:$LINENO: checking for ld version" >&5
65805 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
65806
65807 ldver=`$LD --version 2>/dev/null | head -1 | \
65808 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
65809
65810 glibcxx_gnu_ld_version=`echo $ldver | \
65811 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65812 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
65813 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
65814 fi
65815
65816 # Set --gc-sections.
65817 glibcxx_gcsections_min_ld=21602
65818 if test x"$with_gnu_ld" = x"yes" &&
65819 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65820
65821 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65822 # NB: This flag only works reliably after 2.16.1. Configure tests
65823 # for this are difficult, so hard wire a value that should work.
65824
65825 ac_test_CFLAGS="${CFLAGS+set}"
65826 ac_save_CFLAGS="$CFLAGS"
65827 CFLAGS='-Wl,--gc-sections'
65828
65829 # Check for -Wl,--gc-sections
65830 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
65831 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
65832 if test x$gcc_no_link = xyes; then
65833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65835 { (exit 1); exit 1; }; }
65836 fi
65837 cat >conftest.$ac_ext <<_ACEOF
65838 /* confdefs.h. */
65839 _ACEOF
65840 cat confdefs.h >>conftest.$ac_ext
65841 cat >>conftest.$ac_ext <<_ACEOF
65842 /* end confdefs.h. */
65843 int one(void) { return 1; }
65844 int two(void) { return 2; }
65845
65846 int
65847 main ()
65848 {
65849 two();
65850 ;
65851 return 0;
65852 }
65853 _ACEOF
65854 rm -f conftest.$ac_objext conftest$ac_exeext
65855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65856 (eval $ac_link) 2>conftest.er1
65857 ac_status=$?
65858 grep -v '^ *+' conftest.er1 >conftest.err
65859 rm -f conftest.er1
65860 cat conftest.err >&5
65861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65862 (exit $ac_status); } &&
65863 { ac_try='test -z "$ac_c_werror_flag"
65864 || test ! -s conftest.err'
65865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65866 (eval $ac_try) 2>&5
65867 ac_status=$?
65868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65869 (exit $ac_status); }; } &&
65870 { ac_try='test -s conftest$ac_exeext'
65871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65872 (eval $ac_try) 2>&5
65873 ac_status=$?
65874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65875 (exit $ac_status); }; }; then
65876 ac_gcsections=yes
65877 else
65878 echo "$as_me: failed program was:" >&5
65879 sed 's/^/| /' conftest.$ac_ext >&5
65880
65881 ac_gcsections=no
65882 fi
65883 rm -f conftest.err conftest.$ac_objext \
65884 conftest$ac_exeext conftest.$ac_ext
65885 if test "$ac_gcsections" = "yes"; then
65886 rm -f conftest.c
65887 touch conftest.c
65888 if $CC -c conftest.c; then
65889 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65890 grep "Warning: gc-sections option ignored" > /dev/null; then
65891 ac_gcsections=no
65892 fi
65893 fi
65894 rm -f conftest.c conftest.o conftest
65895 fi
65896 if test "$ac_gcsections" = "yes"; then
65897 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65898 fi
65899 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
65900 echo "${ECHO_T}$ac_gcsections" >&6
65901
65902 if test "$ac_test_CFLAGS" = set; then
65903 CFLAGS="$ac_save_CFLAGS"
65904 else
65905 # this is the suspicious part
65906 CFLAGS=''
65907 fi
65908 fi
65909
65910 # Set -z,relro.
65911 # Note this is only for shared objects.
65912 ac_ld_relro=no
65913 if test x"$with_gnu_ld" = x"yes"; then
65914 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
65915 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
65916 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65917 if test -n "$cxx_z_relo"; then
65918 OPT_LDFLAGS="-Wl,-z,relro"
65919 ac_ld_relro=yes
65920 fi
65921 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
65922 echo "${ECHO_T}$ac_ld_relro" >&6
65923 fi
65924
65925 # Set linker optimization flags.
65926 if test x"$with_gnu_ld" = x"yes"; then
65927 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65928 fi
65929
65930
65931
65932
65933
65934 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65935 ac_save_CXXFLAGS="$CXXFLAGS"
65936 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65937
65938 echo "$as_me:$LINENO: checking for sin in -lm" >&5
65939 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
65940 if test "${ac_cv_lib_m_sin+set}" = set; then
65941 echo $ECHO_N "(cached) $ECHO_C" >&6
65942 else
65943 ac_check_lib_save_LIBS=$LIBS
65944 LIBS="-lm $LIBS"
65945 if test x$gcc_no_link = xyes; then
65946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65948 { (exit 1); exit 1; }; }
65949 fi
65950 cat >conftest.$ac_ext <<_ACEOF
65951 /* confdefs.h. */
65952 _ACEOF
65953 cat confdefs.h >>conftest.$ac_ext
65954 cat >>conftest.$ac_ext <<_ACEOF
65955 /* end confdefs.h. */
65956
65957 /* Override any gcc2 internal prototype to avoid an error. */
65958 #ifdef __cplusplus
65959 extern "C"
65960 #endif
65961 /* We use char because int might match the return type of a gcc2
65962 builtin and then its argument prototype would still apply. */
65963 char sin ();
65964 int
65965 main ()
65966 {
65967 sin ();
65968 ;
65969 return 0;
65970 }
65971 _ACEOF
65972 rm -f conftest.$ac_objext conftest$ac_exeext
65973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65974 (eval $ac_link) 2>conftest.er1
65975 ac_status=$?
65976 grep -v '^ *+' conftest.er1 >conftest.err
65977 rm -f conftest.er1
65978 cat conftest.err >&5
65979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65980 (exit $ac_status); } &&
65981 { ac_try='test -z "$ac_c_werror_flag"
65982 || test ! -s conftest.err'
65983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65984 (eval $ac_try) 2>&5
65985 ac_status=$?
65986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65987 (exit $ac_status); }; } &&
65988 { ac_try='test -s conftest$ac_exeext'
65989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65990 (eval $ac_try) 2>&5
65991 ac_status=$?
65992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65993 (exit $ac_status); }; }; then
65994 ac_cv_lib_m_sin=yes
65995 else
65996 echo "$as_me: failed program was:" >&5
65997 sed 's/^/| /' conftest.$ac_ext >&5
65998
65999 ac_cv_lib_m_sin=no
66000 fi
66001 rm -f conftest.err conftest.$ac_objext \
66002 conftest$ac_exeext conftest.$ac_ext
66003 LIBS=$ac_check_lib_save_LIBS
66004 fi
66005 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
66006 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
66007 if test $ac_cv_lib_m_sin = yes; then
66008 libm="-lm"
66009 fi
66010
66011 ac_save_LIBS="$LIBS"
66012 LIBS="$LIBS $libm"
66013
66014
66015
66016 echo "$as_me:$LINENO: checking for isinf declaration" >&5
66017 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
66018 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66019 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
66020 echo $ECHO_N "(cached) $ECHO_C" >&6
66021 else
66022
66023
66024
66025 ac_ext=cc
66026 ac_cpp='$CXXCPP $CPPFLAGS'
66027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66030
66031 cat >conftest.$ac_ext <<_ACEOF
66032 /* confdefs.h. */
66033 _ACEOF
66034 cat confdefs.h >>conftest.$ac_ext
66035 cat >>conftest.$ac_ext <<_ACEOF
66036 /* end confdefs.h. */
66037 #include <math.h>
66038 #ifdef HAVE_IEEEFP_H
66039 #include <ieeefp.h>
66040 #endif
66041
66042 int
66043 main ()
66044 {
66045 isinf(0);
66046 ;
66047 return 0;
66048 }
66049 _ACEOF
66050 rm -f conftest.$ac_objext
66051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66052 (eval $ac_compile) 2>conftest.er1
66053 ac_status=$?
66054 grep -v '^ *+' conftest.er1 >conftest.err
66055 rm -f conftest.er1
66056 cat conftest.err >&5
66057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66058 (exit $ac_status); } &&
66059 { ac_try='test -z "$ac_cxx_werror_flag"
66060 || test ! -s conftest.err'
66061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66062 (eval $ac_try) 2>&5
66063 ac_status=$?
66064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66065 (exit $ac_status); }; } &&
66066 { ac_try='test -s conftest.$ac_objext'
66067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66068 (eval $ac_try) 2>&5
66069 ac_status=$?
66070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66071 (exit $ac_status); }; }; then
66072 glibcxx_cv_func_isinf_use=yes
66073 else
66074 echo "$as_me: failed program was:" >&5
66075 sed 's/^/| /' conftest.$ac_ext >&5
66076
66077 glibcxx_cv_func_isinf_use=no
66078 fi
66079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66080 ac_ext=c
66081 ac_cpp='$CPP $CPPFLAGS'
66082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66085
66086
66087 fi
66088
66089 fi
66090 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
66091 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
66092
66093 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66094
66095 for ac_func in isinf
66096 do
66097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66098 echo "$as_me:$LINENO: checking for $ac_func" >&5
66099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66100 if eval "test \"\${$as_ac_var+set}\" = set"; then
66101 echo $ECHO_N "(cached) $ECHO_C" >&6
66102 else
66103 if test x$gcc_no_link = xyes; then
66104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66106 { (exit 1); exit 1; }; }
66107 fi
66108 cat >conftest.$ac_ext <<_ACEOF
66109 /* confdefs.h. */
66110 _ACEOF
66111 cat confdefs.h >>conftest.$ac_ext
66112 cat >>conftest.$ac_ext <<_ACEOF
66113 /* end confdefs.h. */
66114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66116 #define $ac_func innocuous_$ac_func
66117
66118 /* System header to define __stub macros and hopefully few prototypes,
66119 which can conflict with char $ac_func (); below.
66120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66121 <limits.h> exists even on freestanding compilers. */
66122
66123 #ifdef __STDC__
66124 # include <limits.h>
66125 #else
66126 # include <assert.h>
66127 #endif
66128
66129 #undef $ac_func
66130
66131 /* Override any gcc2 internal prototype to avoid an error. */
66132 #ifdef __cplusplus
66133 extern "C"
66134 {
66135 #endif
66136 /* We use char because int might match the return type of a gcc2
66137 builtin and then its argument prototype would still apply. */
66138 char $ac_func ();
66139 /* The GNU C library defines this for functions which it implements
66140 to always fail with ENOSYS. Some functions are actually named
66141 something starting with __ and the normal name is an alias. */
66142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66143 choke me
66144 #else
66145 char (*f) () = $ac_func;
66146 #endif
66147 #ifdef __cplusplus
66148 }
66149 #endif
66150
66151 int
66152 main ()
66153 {
66154 return f != $ac_func;
66155 ;
66156 return 0;
66157 }
66158 _ACEOF
66159 rm -f conftest.$ac_objext conftest$ac_exeext
66160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66161 (eval $ac_link) 2>conftest.er1
66162 ac_status=$?
66163 grep -v '^ *+' conftest.er1 >conftest.err
66164 rm -f conftest.er1
66165 cat conftest.err >&5
66166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66167 (exit $ac_status); } &&
66168 { ac_try='test -z "$ac_c_werror_flag"
66169 || test ! -s conftest.err'
66170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66171 (eval $ac_try) 2>&5
66172 ac_status=$?
66173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66174 (exit $ac_status); }; } &&
66175 { ac_try='test -s conftest$ac_exeext'
66176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66177 (eval $ac_try) 2>&5
66178 ac_status=$?
66179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66180 (exit $ac_status); }; }; then
66181 eval "$as_ac_var=yes"
66182 else
66183 echo "$as_me: failed program was:" >&5
66184 sed 's/^/| /' conftest.$ac_ext >&5
66185
66186 eval "$as_ac_var=no"
66187 fi
66188 rm -f conftest.err conftest.$ac_objext \
66189 conftest$ac_exeext conftest.$ac_ext
66190 fi
66191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66193 if test `eval echo '${'$as_ac_var'}'` = yes; then
66194 cat >>confdefs.h <<_ACEOF
66195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66196 _ACEOF
66197
66198 fi
66199 done
66200
66201 else
66202
66203 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
66204 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
66205 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66206 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
66207 echo $ECHO_N "(cached) $ECHO_C" >&6
66208 else
66209
66210
66211
66212 ac_ext=cc
66213 ac_cpp='$CXXCPP $CPPFLAGS'
66214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66217
66218 cat >conftest.$ac_ext <<_ACEOF
66219 /* confdefs.h. */
66220 _ACEOF
66221 cat confdefs.h >>conftest.$ac_ext
66222 cat >>conftest.$ac_ext <<_ACEOF
66223 /* end confdefs.h. */
66224 #include <math.h>
66225 #ifdef HAVE_IEEEFP_H
66226 #include <ieeefp.h>
66227 #endif
66228
66229 int
66230 main ()
66231 {
66232 _isinf(0);
66233 ;
66234 return 0;
66235 }
66236 _ACEOF
66237 rm -f conftest.$ac_objext
66238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66239 (eval $ac_compile) 2>conftest.er1
66240 ac_status=$?
66241 grep -v '^ *+' conftest.er1 >conftest.err
66242 rm -f conftest.er1
66243 cat conftest.err >&5
66244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66245 (exit $ac_status); } &&
66246 { ac_try='test -z "$ac_cxx_werror_flag"
66247 || test ! -s conftest.err'
66248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66249 (eval $ac_try) 2>&5
66250 ac_status=$?
66251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66252 (exit $ac_status); }; } &&
66253 { ac_try='test -s conftest.$ac_objext'
66254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66255 (eval $ac_try) 2>&5
66256 ac_status=$?
66257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66258 (exit $ac_status); }; }; then
66259 glibcxx_cv_func__isinf_use=yes
66260 else
66261 echo "$as_me: failed program was:" >&5
66262 sed 's/^/| /' conftest.$ac_ext >&5
66263
66264 glibcxx_cv_func__isinf_use=no
66265 fi
66266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66267 ac_ext=c
66268 ac_cpp='$CPP $CPPFLAGS'
66269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66272
66273
66274 fi
66275
66276 fi
66277 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
66278 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
66279
66280 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66281
66282 for ac_func in _isinf
66283 do
66284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66285 echo "$as_me:$LINENO: checking for $ac_func" >&5
66286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66287 if eval "test \"\${$as_ac_var+set}\" = set"; then
66288 echo $ECHO_N "(cached) $ECHO_C" >&6
66289 else
66290 if test x$gcc_no_link = xyes; then
66291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66293 { (exit 1); exit 1; }; }
66294 fi
66295 cat >conftest.$ac_ext <<_ACEOF
66296 /* confdefs.h. */
66297 _ACEOF
66298 cat confdefs.h >>conftest.$ac_ext
66299 cat >>conftest.$ac_ext <<_ACEOF
66300 /* end confdefs.h. */
66301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66303 #define $ac_func innocuous_$ac_func
66304
66305 /* System header to define __stub macros and hopefully few prototypes,
66306 which can conflict with char $ac_func (); below.
66307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66308 <limits.h> exists even on freestanding compilers. */
66309
66310 #ifdef __STDC__
66311 # include <limits.h>
66312 #else
66313 # include <assert.h>
66314 #endif
66315
66316 #undef $ac_func
66317
66318 /* Override any gcc2 internal prototype to avoid an error. */
66319 #ifdef __cplusplus
66320 extern "C"
66321 {
66322 #endif
66323 /* We use char because int might match the return type of a gcc2
66324 builtin and then its argument prototype would still apply. */
66325 char $ac_func ();
66326 /* The GNU C library defines this for functions which it implements
66327 to always fail with ENOSYS. Some functions are actually named
66328 something starting with __ and the normal name is an alias. */
66329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66330 choke me
66331 #else
66332 char (*f) () = $ac_func;
66333 #endif
66334 #ifdef __cplusplus
66335 }
66336 #endif
66337
66338 int
66339 main ()
66340 {
66341 return f != $ac_func;
66342 ;
66343 return 0;
66344 }
66345 _ACEOF
66346 rm -f conftest.$ac_objext conftest$ac_exeext
66347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66348 (eval $ac_link) 2>conftest.er1
66349 ac_status=$?
66350 grep -v '^ *+' conftest.er1 >conftest.err
66351 rm -f conftest.er1
66352 cat conftest.err >&5
66353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66354 (exit $ac_status); } &&
66355 { ac_try='test -z "$ac_c_werror_flag"
66356 || test ! -s conftest.err'
66357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66358 (eval $ac_try) 2>&5
66359 ac_status=$?
66360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66361 (exit $ac_status); }; } &&
66362 { ac_try='test -s conftest$ac_exeext'
66363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66364 (eval $ac_try) 2>&5
66365 ac_status=$?
66366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66367 (exit $ac_status); }; }; then
66368 eval "$as_ac_var=yes"
66369 else
66370 echo "$as_me: failed program was:" >&5
66371 sed 's/^/| /' conftest.$ac_ext >&5
66372
66373 eval "$as_ac_var=no"
66374 fi
66375 rm -f conftest.err conftest.$ac_objext \
66376 conftest$ac_exeext conftest.$ac_ext
66377 fi
66378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66380 if test `eval echo '${'$as_ac_var'}'` = yes; then
66381 cat >>confdefs.h <<_ACEOF
66382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66383 _ACEOF
66384
66385 fi
66386 done
66387
66388 fi
66389 fi
66390
66391
66392
66393
66394
66395
66396 echo "$as_me:$LINENO: checking for isnan declaration" >&5
66397 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
66398 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66399 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
66400 echo $ECHO_N "(cached) $ECHO_C" >&6
66401 else
66402
66403
66404
66405 ac_ext=cc
66406 ac_cpp='$CXXCPP $CPPFLAGS'
66407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66410
66411 cat >conftest.$ac_ext <<_ACEOF
66412 /* confdefs.h. */
66413 _ACEOF
66414 cat confdefs.h >>conftest.$ac_ext
66415 cat >>conftest.$ac_ext <<_ACEOF
66416 /* end confdefs.h. */
66417 #include <math.h>
66418 #ifdef HAVE_IEEEFP_H
66419 #include <ieeefp.h>
66420 #endif
66421
66422 int
66423 main ()
66424 {
66425 isnan(0);
66426 ;
66427 return 0;
66428 }
66429 _ACEOF
66430 rm -f conftest.$ac_objext
66431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66432 (eval $ac_compile) 2>conftest.er1
66433 ac_status=$?
66434 grep -v '^ *+' conftest.er1 >conftest.err
66435 rm -f conftest.er1
66436 cat conftest.err >&5
66437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66438 (exit $ac_status); } &&
66439 { ac_try='test -z "$ac_cxx_werror_flag"
66440 || test ! -s conftest.err'
66441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66442 (eval $ac_try) 2>&5
66443 ac_status=$?
66444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66445 (exit $ac_status); }; } &&
66446 { ac_try='test -s conftest.$ac_objext'
66447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66448 (eval $ac_try) 2>&5
66449 ac_status=$?
66450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66451 (exit $ac_status); }; }; then
66452 glibcxx_cv_func_isnan_use=yes
66453 else
66454 echo "$as_me: failed program was:" >&5
66455 sed 's/^/| /' conftest.$ac_ext >&5
66456
66457 glibcxx_cv_func_isnan_use=no
66458 fi
66459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66460 ac_ext=c
66461 ac_cpp='$CPP $CPPFLAGS'
66462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66465
66466
66467 fi
66468
66469 fi
66470 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
66471 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
66472
66473 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66474
66475 for ac_func in isnan
66476 do
66477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66478 echo "$as_me:$LINENO: checking for $ac_func" >&5
66479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66480 if eval "test \"\${$as_ac_var+set}\" = set"; then
66481 echo $ECHO_N "(cached) $ECHO_C" >&6
66482 else
66483 if test x$gcc_no_link = xyes; then
66484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66486 { (exit 1); exit 1; }; }
66487 fi
66488 cat >conftest.$ac_ext <<_ACEOF
66489 /* confdefs.h. */
66490 _ACEOF
66491 cat confdefs.h >>conftest.$ac_ext
66492 cat >>conftest.$ac_ext <<_ACEOF
66493 /* end confdefs.h. */
66494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66496 #define $ac_func innocuous_$ac_func
66497
66498 /* System header to define __stub macros and hopefully few prototypes,
66499 which can conflict with char $ac_func (); below.
66500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66501 <limits.h> exists even on freestanding compilers. */
66502
66503 #ifdef __STDC__
66504 # include <limits.h>
66505 #else
66506 # include <assert.h>
66507 #endif
66508
66509 #undef $ac_func
66510
66511 /* Override any gcc2 internal prototype to avoid an error. */
66512 #ifdef __cplusplus
66513 extern "C"
66514 {
66515 #endif
66516 /* We use char because int might match the return type of a gcc2
66517 builtin and then its argument prototype would still apply. */
66518 char $ac_func ();
66519 /* The GNU C library defines this for functions which it implements
66520 to always fail with ENOSYS. Some functions are actually named
66521 something starting with __ and the normal name is an alias. */
66522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66523 choke me
66524 #else
66525 char (*f) () = $ac_func;
66526 #endif
66527 #ifdef __cplusplus
66528 }
66529 #endif
66530
66531 int
66532 main ()
66533 {
66534 return f != $ac_func;
66535 ;
66536 return 0;
66537 }
66538 _ACEOF
66539 rm -f conftest.$ac_objext conftest$ac_exeext
66540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66541 (eval $ac_link) 2>conftest.er1
66542 ac_status=$?
66543 grep -v '^ *+' conftest.er1 >conftest.err
66544 rm -f conftest.er1
66545 cat conftest.err >&5
66546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66547 (exit $ac_status); } &&
66548 { ac_try='test -z "$ac_c_werror_flag"
66549 || test ! -s conftest.err'
66550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66551 (eval $ac_try) 2>&5
66552 ac_status=$?
66553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66554 (exit $ac_status); }; } &&
66555 { ac_try='test -s conftest$ac_exeext'
66556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66557 (eval $ac_try) 2>&5
66558 ac_status=$?
66559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66560 (exit $ac_status); }; }; then
66561 eval "$as_ac_var=yes"
66562 else
66563 echo "$as_me: failed program was:" >&5
66564 sed 's/^/| /' conftest.$ac_ext >&5
66565
66566 eval "$as_ac_var=no"
66567 fi
66568 rm -f conftest.err conftest.$ac_objext \
66569 conftest$ac_exeext conftest.$ac_ext
66570 fi
66571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66573 if test `eval echo '${'$as_ac_var'}'` = yes; then
66574 cat >>confdefs.h <<_ACEOF
66575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66576 _ACEOF
66577
66578 fi
66579 done
66580
66581 else
66582
66583 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
66584 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
66585 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66586 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
66587 echo $ECHO_N "(cached) $ECHO_C" >&6
66588 else
66589
66590
66591
66592 ac_ext=cc
66593 ac_cpp='$CXXCPP $CPPFLAGS'
66594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66597
66598 cat >conftest.$ac_ext <<_ACEOF
66599 /* confdefs.h. */
66600 _ACEOF
66601 cat confdefs.h >>conftest.$ac_ext
66602 cat >>conftest.$ac_ext <<_ACEOF
66603 /* end confdefs.h. */
66604 #include <math.h>
66605 #ifdef HAVE_IEEEFP_H
66606 #include <ieeefp.h>
66607 #endif
66608
66609 int
66610 main ()
66611 {
66612 _isnan(0);
66613 ;
66614 return 0;
66615 }
66616 _ACEOF
66617 rm -f conftest.$ac_objext
66618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66619 (eval $ac_compile) 2>conftest.er1
66620 ac_status=$?
66621 grep -v '^ *+' conftest.er1 >conftest.err
66622 rm -f conftest.er1
66623 cat conftest.err >&5
66624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66625 (exit $ac_status); } &&
66626 { ac_try='test -z "$ac_cxx_werror_flag"
66627 || test ! -s conftest.err'
66628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66629 (eval $ac_try) 2>&5
66630 ac_status=$?
66631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66632 (exit $ac_status); }; } &&
66633 { ac_try='test -s conftest.$ac_objext'
66634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66635 (eval $ac_try) 2>&5
66636 ac_status=$?
66637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66638 (exit $ac_status); }; }; then
66639 glibcxx_cv_func__isnan_use=yes
66640 else
66641 echo "$as_me: failed program was:" >&5
66642 sed 's/^/| /' conftest.$ac_ext >&5
66643
66644 glibcxx_cv_func__isnan_use=no
66645 fi
66646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66647 ac_ext=c
66648 ac_cpp='$CPP $CPPFLAGS'
66649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66652
66653
66654 fi
66655
66656 fi
66657 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
66658 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
66659
66660 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66661
66662 for ac_func in _isnan
66663 do
66664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66665 echo "$as_me:$LINENO: checking for $ac_func" >&5
66666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66667 if eval "test \"\${$as_ac_var+set}\" = set"; then
66668 echo $ECHO_N "(cached) $ECHO_C" >&6
66669 else
66670 if test x$gcc_no_link = xyes; then
66671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66673 { (exit 1); exit 1; }; }
66674 fi
66675 cat >conftest.$ac_ext <<_ACEOF
66676 /* confdefs.h. */
66677 _ACEOF
66678 cat confdefs.h >>conftest.$ac_ext
66679 cat >>conftest.$ac_ext <<_ACEOF
66680 /* end confdefs.h. */
66681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66683 #define $ac_func innocuous_$ac_func
66684
66685 /* System header to define __stub macros and hopefully few prototypes,
66686 which can conflict with char $ac_func (); below.
66687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66688 <limits.h> exists even on freestanding compilers. */
66689
66690 #ifdef __STDC__
66691 # include <limits.h>
66692 #else
66693 # include <assert.h>
66694 #endif
66695
66696 #undef $ac_func
66697
66698 /* Override any gcc2 internal prototype to avoid an error. */
66699 #ifdef __cplusplus
66700 extern "C"
66701 {
66702 #endif
66703 /* We use char because int might match the return type of a gcc2
66704 builtin and then its argument prototype would still apply. */
66705 char $ac_func ();
66706 /* The GNU C library defines this for functions which it implements
66707 to always fail with ENOSYS. Some functions are actually named
66708 something starting with __ and the normal name is an alias. */
66709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66710 choke me
66711 #else
66712 char (*f) () = $ac_func;
66713 #endif
66714 #ifdef __cplusplus
66715 }
66716 #endif
66717
66718 int
66719 main ()
66720 {
66721 return f != $ac_func;
66722 ;
66723 return 0;
66724 }
66725 _ACEOF
66726 rm -f conftest.$ac_objext conftest$ac_exeext
66727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66728 (eval $ac_link) 2>conftest.er1
66729 ac_status=$?
66730 grep -v '^ *+' conftest.er1 >conftest.err
66731 rm -f conftest.er1
66732 cat conftest.err >&5
66733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66734 (exit $ac_status); } &&
66735 { ac_try='test -z "$ac_c_werror_flag"
66736 || test ! -s conftest.err'
66737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66738 (eval $ac_try) 2>&5
66739 ac_status=$?
66740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66741 (exit $ac_status); }; } &&
66742 { ac_try='test -s conftest$ac_exeext'
66743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66744 (eval $ac_try) 2>&5
66745 ac_status=$?
66746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66747 (exit $ac_status); }; }; then
66748 eval "$as_ac_var=yes"
66749 else
66750 echo "$as_me: failed program was:" >&5
66751 sed 's/^/| /' conftest.$ac_ext >&5
66752
66753 eval "$as_ac_var=no"
66754 fi
66755 rm -f conftest.err conftest.$ac_objext \
66756 conftest$ac_exeext conftest.$ac_ext
66757 fi
66758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66760 if test `eval echo '${'$as_ac_var'}'` = yes; then
66761 cat >>confdefs.h <<_ACEOF
66762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66763 _ACEOF
66764
66765 fi
66766 done
66767
66768 fi
66769 fi
66770
66771
66772
66773
66774
66775
66776 echo "$as_me:$LINENO: checking for finite declaration" >&5
66777 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
66778 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66779 if test "${glibcxx_cv_func_finite_use+set}" = set; then
66780 echo $ECHO_N "(cached) $ECHO_C" >&6
66781 else
66782
66783
66784
66785 ac_ext=cc
66786 ac_cpp='$CXXCPP $CPPFLAGS'
66787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66790
66791 cat >conftest.$ac_ext <<_ACEOF
66792 /* confdefs.h. */
66793 _ACEOF
66794 cat confdefs.h >>conftest.$ac_ext
66795 cat >>conftest.$ac_ext <<_ACEOF
66796 /* end confdefs.h. */
66797 #include <math.h>
66798 #ifdef HAVE_IEEEFP_H
66799 #include <ieeefp.h>
66800 #endif
66801
66802 int
66803 main ()
66804 {
66805 finite(0);
66806 ;
66807 return 0;
66808 }
66809 _ACEOF
66810 rm -f conftest.$ac_objext
66811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66812 (eval $ac_compile) 2>conftest.er1
66813 ac_status=$?
66814 grep -v '^ *+' conftest.er1 >conftest.err
66815 rm -f conftest.er1
66816 cat conftest.err >&5
66817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66818 (exit $ac_status); } &&
66819 { ac_try='test -z "$ac_cxx_werror_flag"
66820 || test ! -s conftest.err'
66821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66822 (eval $ac_try) 2>&5
66823 ac_status=$?
66824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66825 (exit $ac_status); }; } &&
66826 { ac_try='test -s conftest.$ac_objext'
66827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66828 (eval $ac_try) 2>&5
66829 ac_status=$?
66830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66831 (exit $ac_status); }; }; then
66832 glibcxx_cv_func_finite_use=yes
66833 else
66834 echo "$as_me: failed program was:" >&5
66835 sed 's/^/| /' conftest.$ac_ext >&5
66836
66837 glibcxx_cv_func_finite_use=no
66838 fi
66839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66840 ac_ext=c
66841 ac_cpp='$CPP $CPPFLAGS'
66842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66845
66846
66847 fi
66848
66849 fi
66850 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
66851 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
66852
66853 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66854
66855 for ac_func in finite
66856 do
66857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66858 echo "$as_me:$LINENO: checking for $ac_func" >&5
66859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66860 if eval "test \"\${$as_ac_var+set}\" = set"; then
66861 echo $ECHO_N "(cached) $ECHO_C" >&6
66862 else
66863 if test x$gcc_no_link = xyes; then
66864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66866 { (exit 1); exit 1; }; }
66867 fi
66868 cat >conftest.$ac_ext <<_ACEOF
66869 /* confdefs.h. */
66870 _ACEOF
66871 cat confdefs.h >>conftest.$ac_ext
66872 cat >>conftest.$ac_ext <<_ACEOF
66873 /* end confdefs.h. */
66874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66876 #define $ac_func innocuous_$ac_func
66877
66878 /* System header to define __stub macros and hopefully few prototypes,
66879 which can conflict with char $ac_func (); below.
66880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66881 <limits.h> exists even on freestanding compilers. */
66882
66883 #ifdef __STDC__
66884 # include <limits.h>
66885 #else
66886 # include <assert.h>
66887 #endif
66888
66889 #undef $ac_func
66890
66891 /* Override any gcc2 internal prototype to avoid an error. */
66892 #ifdef __cplusplus
66893 extern "C"
66894 {
66895 #endif
66896 /* We use char because int might match the return type of a gcc2
66897 builtin and then its argument prototype would still apply. */
66898 char $ac_func ();
66899 /* The GNU C library defines this for functions which it implements
66900 to always fail with ENOSYS. Some functions are actually named
66901 something starting with __ and the normal name is an alias. */
66902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66903 choke me
66904 #else
66905 char (*f) () = $ac_func;
66906 #endif
66907 #ifdef __cplusplus
66908 }
66909 #endif
66910
66911 int
66912 main ()
66913 {
66914 return f != $ac_func;
66915 ;
66916 return 0;
66917 }
66918 _ACEOF
66919 rm -f conftest.$ac_objext conftest$ac_exeext
66920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66921 (eval $ac_link) 2>conftest.er1
66922 ac_status=$?
66923 grep -v '^ *+' conftest.er1 >conftest.err
66924 rm -f conftest.er1
66925 cat conftest.err >&5
66926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66927 (exit $ac_status); } &&
66928 { ac_try='test -z "$ac_c_werror_flag"
66929 || test ! -s conftest.err'
66930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66931 (eval $ac_try) 2>&5
66932 ac_status=$?
66933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66934 (exit $ac_status); }; } &&
66935 { ac_try='test -s conftest$ac_exeext'
66936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66937 (eval $ac_try) 2>&5
66938 ac_status=$?
66939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66940 (exit $ac_status); }; }; then
66941 eval "$as_ac_var=yes"
66942 else
66943 echo "$as_me: failed program was:" >&5
66944 sed 's/^/| /' conftest.$ac_ext >&5
66945
66946 eval "$as_ac_var=no"
66947 fi
66948 rm -f conftest.err conftest.$ac_objext \
66949 conftest$ac_exeext conftest.$ac_ext
66950 fi
66951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66953 if test `eval echo '${'$as_ac_var'}'` = yes; then
66954 cat >>confdefs.h <<_ACEOF
66955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66956 _ACEOF
66957
66958 fi
66959 done
66960
66961 else
66962
66963 echo "$as_me:$LINENO: checking for _finite declaration" >&5
66964 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
66965 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66966 if test "${glibcxx_cv_func__finite_use+set}" = set; then
66967 echo $ECHO_N "(cached) $ECHO_C" >&6
66968 else
66969
66970
66971
66972 ac_ext=cc
66973 ac_cpp='$CXXCPP $CPPFLAGS'
66974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66977
66978 cat >conftest.$ac_ext <<_ACEOF
66979 /* confdefs.h. */
66980 _ACEOF
66981 cat confdefs.h >>conftest.$ac_ext
66982 cat >>conftest.$ac_ext <<_ACEOF
66983 /* end confdefs.h. */
66984 #include <math.h>
66985 #ifdef HAVE_IEEEFP_H
66986 #include <ieeefp.h>
66987 #endif
66988
66989 int
66990 main ()
66991 {
66992 _finite(0);
66993 ;
66994 return 0;
66995 }
66996 _ACEOF
66997 rm -f conftest.$ac_objext
66998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66999 (eval $ac_compile) 2>conftest.er1
67000 ac_status=$?
67001 grep -v '^ *+' conftest.er1 >conftest.err
67002 rm -f conftest.er1
67003 cat conftest.err >&5
67004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67005 (exit $ac_status); } &&
67006 { ac_try='test -z "$ac_cxx_werror_flag"
67007 || test ! -s conftest.err'
67008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67009 (eval $ac_try) 2>&5
67010 ac_status=$?
67011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67012 (exit $ac_status); }; } &&
67013 { ac_try='test -s conftest.$ac_objext'
67014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67015 (eval $ac_try) 2>&5
67016 ac_status=$?
67017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67018 (exit $ac_status); }; }; then
67019 glibcxx_cv_func__finite_use=yes
67020 else
67021 echo "$as_me: failed program was:" >&5
67022 sed 's/^/| /' conftest.$ac_ext >&5
67023
67024 glibcxx_cv_func__finite_use=no
67025 fi
67026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67027 ac_ext=c
67028 ac_cpp='$CPP $CPPFLAGS'
67029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67032
67033
67034 fi
67035
67036 fi
67037 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
67038 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
67039
67040 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67041
67042 for ac_func in _finite
67043 do
67044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67045 echo "$as_me:$LINENO: checking for $ac_func" >&5
67046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67047 if eval "test \"\${$as_ac_var+set}\" = set"; then
67048 echo $ECHO_N "(cached) $ECHO_C" >&6
67049 else
67050 if test x$gcc_no_link = xyes; then
67051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67053 { (exit 1); exit 1; }; }
67054 fi
67055 cat >conftest.$ac_ext <<_ACEOF
67056 /* confdefs.h. */
67057 _ACEOF
67058 cat confdefs.h >>conftest.$ac_ext
67059 cat >>conftest.$ac_ext <<_ACEOF
67060 /* end confdefs.h. */
67061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67063 #define $ac_func innocuous_$ac_func
67064
67065 /* System header to define __stub macros and hopefully few prototypes,
67066 which can conflict with char $ac_func (); below.
67067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67068 <limits.h> exists even on freestanding compilers. */
67069
67070 #ifdef __STDC__
67071 # include <limits.h>
67072 #else
67073 # include <assert.h>
67074 #endif
67075
67076 #undef $ac_func
67077
67078 /* Override any gcc2 internal prototype to avoid an error. */
67079 #ifdef __cplusplus
67080 extern "C"
67081 {
67082 #endif
67083 /* We use char because int might match the return type of a gcc2
67084 builtin and then its argument prototype would still apply. */
67085 char $ac_func ();
67086 /* The GNU C library defines this for functions which it implements
67087 to always fail with ENOSYS. Some functions are actually named
67088 something starting with __ and the normal name is an alias. */
67089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67090 choke me
67091 #else
67092 char (*f) () = $ac_func;
67093 #endif
67094 #ifdef __cplusplus
67095 }
67096 #endif
67097
67098 int
67099 main ()
67100 {
67101 return f != $ac_func;
67102 ;
67103 return 0;
67104 }
67105 _ACEOF
67106 rm -f conftest.$ac_objext conftest$ac_exeext
67107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67108 (eval $ac_link) 2>conftest.er1
67109 ac_status=$?
67110 grep -v '^ *+' conftest.er1 >conftest.err
67111 rm -f conftest.er1
67112 cat conftest.err >&5
67113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67114 (exit $ac_status); } &&
67115 { ac_try='test -z "$ac_c_werror_flag"
67116 || test ! -s conftest.err'
67117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67118 (eval $ac_try) 2>&5
67119 ac_status=$?
67120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67121 (exit $ac_status); }; } &&
67122 { ac_try='test -s conftest$ac_exeext'
67123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67124 (eval $ac_try) 2>&5
67125 ac_status=$?
67126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67127 (exit $ac_status); }; }; then
67128 eval "$as_ac_var=yes"
67129 else
67130 echo "$as_me: failed program was:" >&5
67131 sed 's/^/| /' conftest.$ac_ext >&5
67132
67133 eval "$as_ac_var=no"
67134 fi
67135 rm -f conftest.err conftest.$ac_objext \
67136 conftest$ac_exeext conftest.$ac_ext
67137 fi
67138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67140 if test `eval echo '${'$as_ac_var'}'` = yes; then
67141 cat >>confdefs.h <<_ACEOF
67142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67143 _ACEOF
67144
67145 fi
67146 done
67147
67148 fi
67149 fi
67150
67151
67152
67153
67154
67155
67156 echo "$as_me:$LINENO: checking for copysign declaration" >&5
67157 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
67158 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
67159 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
67160 echo $ECHO_N "(cached) $ECHO_C" >&6
67161 else
67162
67163
67164
67165 ac_ext=cc
67166 ac_cpp='$CXXCPP $CPPFLAGS'
67167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67170
67171 cat >conftest.$ac_ext <<_ACEOF
67172 /* confdefs.h. */
67173 _ACEOF
67174 cat confdefs.h >>conftest.$ac_ext
67175 cat >>conftest.$ac_ext <<_ACEOF
67176 /* end confdefs.h. */
67177 #include <math.h>
67178 int
67179 main ()
67180 {
67181 copysign(0, 0);
67182 ;
67183 return 0;
67184 }
67185 _ACEOF
67186 rm -f conftest.$ac_objext
67187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67188 (eval $ac_compile) 2>conftest.er1
67189 ac_status=$?
67190 grep -v '^ *+' conftest.er1 >conftest.err
67191 rm -f conftest.er1
67192 cat conftest.err >&5
67193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67194 (exit $ac_status); } &&
67195 { ac_try='test -z "$ac_cxx_werror_flag"
67196 || test ! -s conftest.err'
67197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67198 (eval $ac_try) 2>&5
67199 ac_status=$?
67200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67201 (exit $ac_status); }; } &&
67202 { ac_try='test -s conftest.$ac_objext'
67203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67204 (eval $ac_try) 2>&5
67205 ac_status=$?
67206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67207 (exit $ac_status); }; }; then
67208 glibcxx_cv_func_copysign_use=yes
67209 else
67210 echo "$as_me: failed program was:" >&5
67211 sed 's/^/| /' conftest.$ac_ext >&5
67212
67213 glibcxx_cv_func_copysign_use=no
67214 fi
67215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67216 ac_ext=c
67217 ac_cpp='$CPP $CPPFLAGS'
67218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67221
67222
67223 fi
67224
67225 fi
67226 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
67227 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
67228
67229 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
67230
67231 for ac_func in copysign
67232 do
67233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67234 echo "$as_me:$LINENO: checking for $ac_func" >&5
67235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67236 if eval "test \"\${$as_ac_var+set}\" = set"; then
67237 echo $ECHO_N "(cached) $ECHO_C" >&6
67238 else
67239 if test x$gcc_no_link = xyes; then
67240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67242 { (exit 1); exit 1; }; }
67243 fi
67244 cat >conftest.$ac_ext <<_ACEOF
67245 /* confdefs.h. */
67246 _ACEOF
67247 cat confdefs.h >>conftest.$ac_ext
67248 cat >>conftest.$ac_ext <<_ACEOF
67249 /* end confdefs.h. */
67250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67252 #define $ac_func innocuous_$ac_func
67253
67254 /* System header to define __stub macros and hopefully few prototypes,
67255 which can conflict with char $ac_func (); below.
67256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67257 <limits.h> exists even on freestanding compilers. */
67258
67259 #ifdef __STDC__
67260 # include <limits.h>
67261 #else
67262 # include <assert.h>
67263 #endif
67264
67265 #undef $ac_func
67266
67267 /* Override any gcc2 internal prototype to avoid an error. */
67268 #ifdef __cplusplus
67269 extern "C"
67270 {
67271 #endif
67272 /* We use char because int might match the return type of a gcc2
67273 builtin and then its argument prototype would still apply. */
67274 char $ac_func ();
67275 /* The GNU C library defines this for functions which it implements
67276 to always fail with ENOSYS. Some functions are actually named
67277 something starting with __ and the normal name is an alias. */
67278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67279 choke me
67280 #else
67281 char (*f) () = $ac_func;
67282 #endif
67283 #ifdef __cplusplus
67284 }
67285 #endif
67286
67287 int
67288 main ()
67289 {
67290 return f != $ac_func;
67291 ;
67292 return 0;
67293 }
67294 _ACEOF
67295 rm -f conftest.$ac_objext conftest$ac_exeext
67296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67297 (eval $ac_link) 2>conftest.er1
67298 ac_status=$?
67299 grep -v '^ *+' conftest.er1 >conftest.err
67300 rm -f conftest.er1
67301 cat conftest.err >&5
67302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67303 (exit $ac_status); } &&
67304 { ac_try='test -z "$ac_c_werror_flag"
67305 || test ! -s conftest.err'
67306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67307 (eval $ac_try) 2>&5
67308 ac_status=$?
67309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67310 (exit $ac_status); }; } &&
67311 { ac_try='test -s conftest$ac_exeext'
67312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67313 (eval $ac_try) 2>&5
67314 ac_status=$?
67315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67316 (exit $ac_status); }; }; then
67317 eval "$as_ac_var=yes"
67318 else
67319 echo "$as_me: failed program was:" >&5
67320 sed 's/^/| /' conftest.$ac_ext >&5
67321
67322 eval "$as_ac_var=no"
67323 fi
67324 rm -f conftest.err conftest.$ac_objext \
67325 conftest$ac_exeext conftest.$ac_ext
67326 fi
67327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67329 if test `eval echo '${'$as_ac_var'}'` = yes; then
67330 cat >>confdefs.h <<_ACEOF
67331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67332 _ACEOF
67333
67334 fi
67335 done
67336
67337 else
67338
67339 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
67340 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
67341 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
67342 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
67343 echo $ECHO_N "(cached) $ECHO_C" >&6
67344 else
67345
67346
67347
67348 ac_ext=cc
67349 ac_cpp='$CXXCPP $CPPFLAGS'
67350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67353
67354 cat >conftest.$ac_ext <<_ACEOF
67355 /* confdefs.h. */
67356 _ACEOF
67357 cat confdefs.h >>conftest.$ac_ext
67358 cat >>conftest.$ac_ext <<_ACEOF
67359 /* end confdefs.h. */
67360 #include <math.h>
67361 int
67362 main ()
67363 {
67364 _copysign(0, 0);
67365 ;
67366 return 0;
67367 }
67368 _ACEOF
67369 rm -f conftest.$ac_objext
67370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67371 (eval $ac_compile) 2>conftest.er1
67372 ac_status=$?
67373 grep -v '^ *+' conftest.er1 >conftest.err
67374 rm -f conftest.er1
67375 cat conftest.err >&5
67376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67377 (exit $ac_status); } &&
67378 { ac_try='test -z "$ac_cxx_werror_flag"
67379 || test ! -s conftest.err'
67380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67381 (eval $ac_try) 2>&5
67382 ac_status=$?
67383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67384 (exit $ac_status); }; } &&
67385 { ac_try='test -s conftest.$ac_objext'
67386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67387 (eval $ac_try) 2>&5
67388 ac_status=$?
67389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67390 (exit $ac_status); }; }; then
67391 glibcxx_cv_func__copysign_use=yes
67392 else
67393 echo "$as_me: failed program was:" >&5
67394 sed 's/^/| /' conftest.$ac_ext >&5
67395
67396 glibcxx_cv_func__copysign_use=no
67397 fi
67398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67399 ac_ext=c
67400 ac_cpp='$CPP $CPPFLAGS'
67401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67404
67405
67406 fi
67407
67408 fi
67409 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
67410 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
67411
67412 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
67413
67414 for ac_func in _copysign
67415 do
67416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67417 echo "$as_me:$LINENO: checking for $ac_func" >&5
67418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67419 if eval "test \"\${$as_ac_var+set}\" = set"; then
67420 echo $ECHO_N "(cached) $ECHO_C" >&6
67421 else
67422 if test x$gcc_no_link = xyes; then
67423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67425 { (exit 1); exit 1; }; }
67426 fi
67427 cat >conftest.$ac_ext <<_ACEOF
67428 /* confdefs.h. */
67429 _ACEOF
67430 cat confdefs.h >>conftest.$ac_ext
67431 cat >>conftest.$ac_ext <<_ACEOF
67432 /* end confdefs.h. */
67433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67435 #define $ac_func innocuous_$ac_func
67436
67437 /* System header to define __stub macros and hopefully few prototypes,
67438 which can conflict with char $ac_func (); below.
67439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67440 <limits.h> exists even on freestanding compilers. */
67441
67442 #ifdef __STDC__
67443 # include <limits.h>
67444 #else
67445 # include <assert.h>
67446 #endif
67447
67448 #undef $ac_func
67449
67450 /* Override any gcc2 internal prototype to avoid an error. */
67451 #ifdef __cplusplus
67452 extern "C"
67453 {
67454 #endif
67455 /* We use char because int might match the return type of a gcc2
67456 builtin and then its argument prototype would still apply. */
67457 char $ac_func ();
67458 /* The GNU C library defines this for functions which it implements
67459 to always fail with ENOSYS. Some functions are actually named
67460 something starting with __ and the normal name is an alias. */
67461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67462 choke me
67463 #else
67464 char (*f) () = $ac_func;
67465 #endif
67466 #ifdef __cplusplus
67467 }
67468 #endif
67469
67470 int
67471 main ()
67472 {
67473 return f != $ac_func;
67474 ;
67475 return 0;
67476 }
67477 _ACEOF
67478 rm -f conftest.$ac_objext conftest$ac_exeext
67479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67480 (eval $ac_link) 2>conftest.er1
67481 ac_status=$?
67482 grep -v '^ *+' conftest.er1 >conftest.err
67483 rm -f conftest.er1
67484 cat conftest.err >&5
67485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67486 (exit $ac_status); } &&
67487 { ac_try='test -z "$ac_c_werror_flag"
67488 || test ! -s conftest.err'
67489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67490 (eval $ac_try) 2>&5
67491 ac_status=$?
67492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67493 (exit $ac_status); }; } &&
67494 { ac_try='test -s conftest$ac_exeext'
67495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67496 (eval $ac_try) 2>&5
67497 ac_status=$?
67498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67499 (exit $ac_status); }; }; then
67500 eval "$as_ac_var=yes"
67501 else
67502 echo "$as_me: failed program was:" >&5
67503 sed 's/^/| /' conftest.$ac_ext >&5
67504
67505 eval "$as_ac_var=no"
67506 fi
67507 rm -f conftest.err conftest.$ac_objext \
67508 conftest$ac_exeext conftest.$ac_ext
67509 fi
67510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67512 if test `eval echo '${'$as_ac_var'}'` = yes; then
67513 cat >>confdefs.h <<_ACEOF
67514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67515 _ACEOF
67516
67517 fi
67518 done
67519
67520 fi
67521 fi
67522
67523
67524
67525
67526
67527
67528 echo "$as_me:$LINENO: checking for sincos declaration" >&5
67529 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
67530 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67531 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
67532 echo $ECHO_N "(cached) $ECHO_C" >&6
67533 else
67534
67535
67536
67537 ac_ext=cc
67538 ac_cpp='$CXXCPP $CPPFLAGS'
67539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67542
67543 cat >conftest.$ac_ext <<_ACEOF
67544 /* confdefs.h. */
67545 _ACEOF
67546 cat confdefs.h >>conftest.$ac_ext
67547 cat >>conftest.$ac_ext <<_ACEOF
67548 /* end confdefs.h. */
67549 #include <math.h>
67550 int
67551 main ()
67552 {
67553 sincos(0, 0, 0);
67554 ;
67555 return 0;
67556 }
67557 _ACEOF
67558 rm -f conftest.$ac_objext
67559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67560 (eval $ac_compile) 2>conftest.er1
67561 ac_status=$?
67562 grep -v '^ *+' conftest.er1 >conftest.err
67563 rm -f conftest.er1
67564 cat conftest.err >&5
67565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67566 (exit $ac_status); } &&
67567 { ac_try='test -z "$ac_cxx_werror_flag"
67568 || test ! -s conftest.err'
67569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67570 (eval $ac_try) 2>&5
67571 ac_status=$?
67572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67573 (exit $ac_status); }; } &&
67574 { ac_try='test -s conftest.$ac_objext'
67575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67576 (eval $ac_try) 2>&5
67577 ac_status=$?
67578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67579 (exit $ac_status); }; }; then
67580 glibcxx_cv_func_sincos_use=yes
67581 else
67582 echo "$as_me: failed program was:" >&5
67583 sed 's/^/| /' conftest.$ac_ext >&5
67584
67585 glibcxx_cv_func_sincos_use=no
67586 fi
67587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67588 ac_ext=c
67589 ac_cpp='$CPP $CPPFLAGS'
67590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67593
67594
67595 fi
67596
67597 fi
67598 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
67599 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
67600
67601 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67602
67603 for ac_func in sincos
67604 do
67605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67606 echo "$as_me:$LINENO: checking for $ac_func" >&5
67607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67608 if eval "test \"\${$as_ac_var+set}\" = set"; then
67609 echo $ECHO_N "(cached) $ECHO_C" >&6
67610 else
67611 if test x$gcc_no_link = xyes; then
67612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67614 { (exit 1); exit 1; }; }
67615 fi
67616 cat >conftest.$ac_ext <<_ACEOF
67617 /* confdefs.h. */
67618 _ACEOF
67619 cat confdefs.h >>conftest.$ac_ext
67620 cat >>conftest.$ac_ext <<_ACEOF
67621 /* end confdefs.h. */
67622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67624 #define $ac_func innocuous_$ac_func
67625
67626 /* System header to define __stub macros and hopefully few prototypes,
67627 which can conflict with char $ac_func (); below.
67628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67629 <limits.h> exists even on freestanding compilers. */
67630
67631 #ifdef __STDC__
67632 # include <limits.h>
67633 #else
67634 # include <assert.h>
67635 #endif
67636
67637 #undef $ac_func
67638
67639 /* Override any gcc2 internal prototype to avoid an error. */
67640 #ifdef __cplusplus
67641 extern "C"
67642 {
67643 #endif
67644 /* We use char because int might match the return type of a gcc2
67645 builtin and then its argument prototype would still apply. */
67646 char $ac_func ();
67647 /* The GNU C library defines this for functions which it implements
67648 to always fail with ENOSYS. Some functions are actually named
67649 something starting with __ and the normal name is an alias. */
67650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67651 choke me
67652 #else
67653 char (*f) () = $ac_func;
67654 #endif
67655 #ifdef __cplusplus
67656 }
67657 #endif
67658
67659 int
67660 main ()
67661 {
67662 return f != $ac_func;
67663 ;
67664 return 0;
67665 }
67666 _ACEOF
67667 rm -f conftest.$ac_objext conftest$ac_exeext
67668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67669 (eval $ac_link) 2>conftest.er1
67670 ac_status=$?
67671 grep -v '^ *+' conftest.er1 >conftest.err
67672 rm -f conftest.er1
67673 cat conftest.err >&5
67674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67675 (exit $ac_status); } &&
67676 { ac_try='test -z "$ac_c_werror_flag"
67677 || test ! -s conftest.err'
67678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67679 (eval $ac_try) 2>&5
67680 ac_status=$?
67681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67682 (exit $ac_status); }; } &&
67683 { ac_try='test -s conftest$ac_exeext'
67684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67685 (eval $ac_try) 2>&5
67686 ac_status=$?
67687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67688 (exit $ac_status); }; }; then
67689 eval "$as_ac_var=yes"
67690 else
67691 echo "$as_me: failed program was:" >&5
67692 sed 's/^/| /' conftest.$ac_ext >&5
67693
67694 eval "$as_ac_var=no"
67695 fi
67696 rm -f conftest.err conftest.$ac_objext \
67697 conftest$ac_exeext conftest.$ac_ext
67698 fi
67699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67701 if test `eval echo '${'$as_ac_var'}'` = yes; then
67702 cat >>confdefs.h <<_ACEOF
67703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67704 _ACEOF
67705
67706 fi
67707 done
67708
67709 else
67710
67711 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
67712 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
67713 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67714 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
67715 echo $ECHO_N "(cached) $ECHO_C" >&6
67716 else
67717
67718
67719
67720 ac_ext=cc
67721 ac_cpp='$CXXCPP $CPPFLAGS'
67722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67725
67726 cat >conftest.$ac_ext <<_ACEOF
67727 /* confdefs.h. */
67728 _ACEOF
67729 cat confdefs.h >>conftest.$ac_ext
67730 cat >>conftest.$ac_ext <<_ACEOF
67731 /* end confdefs.h. */
67732 #include <math.h>
67733 int
67734 main ()
67735 {
67736 _sincos(0, 0, 0);
67737 ;
67738 return 0;
67739 }
67740 _ACEOF
67741 rm -f conftest.$ac_objext
67742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67743 (eval $ac_compile) 2>conftest.er1
67744 ac_status=$?
67745 grep -v '^ *+' conftest.er1 >conftest.err
67746 rm -f conftest.er1
67747 cat conftest.err >&5
67748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67749 (exit $ac_status); } &&
67750 { ac_try='test -z "$ac_cxx_werror_flag"
67751 || test ! -s conftest.err'
67752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67753 (eval $ac_try) 2>&5
67754 ac_status=$?
67755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67756 (exit $ac_status); }; } &&
67757 { ac_try='test -s conftest.$ac_objext'
67758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67759 (eval $ac_try) 2>&5
67760 ac_status=$?
67761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67762 (exit $ac_status); }; }; then
67763 glibcxx_cv_func__sincos_use=yes
67764 else
67765 echo "$as_me: failed program was:" >&5
67766 sed 's/^/| /' conftest.$ac_ext >&5
67767
67768 glibcxx_cv_func__sincos_use=no
67769 fi
67770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67771 ac_ext=c
67772 ac_cpp='$CPP $CPPFLAGS'
67773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67776
67777
67778 fi
67779
67780 fi
67781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
67782 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
67783
67784 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67785
67786 for ac_func in _sincos
67787 do
67788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67789 echo "$as_me:$LINENO: checking for $ac_func" >&5
67790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67791 if eval "test \"\${$as_ac_var+set}\" = set"; then
67792 echo $ECHO_N "(cached) $ECHO_C" >&6
67793 else
67794 if test x$gcc_no_link = xyes; then
67795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67797 { (exit 1); exit 1; }; }
67798 fi
67799 cat >conftest.$ac_ext <<_ACEOF
67800 /* confdefs.h. */
67801 _ACEOF
67802 cat confdefs.h >>conftest.$ac_ext
67803 cat >>conftest.$ac_ext <<_ACEOF
67804 /* end confdefs.h. */
67805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67807 #define $ac_func innocuous_$ac_func
67808
67809 /* System header to define __stub macros and hopefully few prototypes,
67810 which can conflict with char $ac_func (); below.
67811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67812 <limits.h> exists even on freestanding compilers. */
67813
67814 #ifdef __STDC__
67815 # include <limits.h>
67816 #else
67817 # include <assert.h>
67818 #endif
67819
67820 #undef $ac_func
67821
67822 /* Override any gcc2 internal prototype to avoid an error. */
67823 #ifdef __cplusplus
67824 extern "C"
67825 {
67826 #endif
67827 /* We use char because int might match the return type of a gcc2
67828 builtin and then its argument prototype would still apply. */
67829 char $ac_func ();
67830 /* The GNU C library defines this for functions which it implements
67831 to always fail with ENOSYS. Some functions are actually named
67832 something starting with __ and the normal name is an alias. */
67833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67834 choke me
67835 #else
67836 char (*f) () = $ac_func;
67837 #endif
67838 #ifdef __cplusplus
67839 }
67840 #endif
67841
67842 int
67843 main ()
67844 {
67845 return f != $ac_func;
67846 ;
67847 return 0;
67848 }
67849 _ACEOF
67850 rm -f conftest.$ac_objext conftest$ac_exeext
67851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67852 (eval $ac_link) 2>conftest.er1
67853 ac_status=$?
67854 grep -v '^ *+' conftest.er1 >conftest.err
67855 rm -f conftest.er1
67856 cat conftest.err >&5
67857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67858 (exit $ac_status); } &&
67859 { ac_try='test -z "$ac_c_werror_flag"
67860 || test ! -s conftest.err'
67861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67862 (eval $ac_try) 2>&5
67863 ac_status=$?
67864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67865 (exit $ac_status); }; } &&
67866 { ac_try='test -s conftest$ac_exeext'
67867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67868 (eval $ac_try) 2>&5
67869 ac_status=$?
67870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67871 (exit $ac_status); }; }; then
67872 eval "$as_ac_var=yes"
67873 else
67874 echo "$as_me: failed program was:" >&5
67875 sed 's/^/| /' conftest.$ac_ext >&5
67876
67877 eval "$as_ac_var=no"
67878 fi
67879 rm -f conftest.err conftest.$ac_objext \
67880 conftest$ac_exeext conftest.$ac_ext
67881 fi
67882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67884 if test `eval echo '${'$as_ac_var'}'` = yes; then
67885 cat >>confdefs.h <<_ACEOF
67886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67887 _ACEOF
67888
67889 fi
67890 done
67891
67892 fi
67893 fi
67894
67895
67896
67897
67898
67899
67900 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
67901 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
67902 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67903 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
67904 echo $ECHO_N "(cached) $ECHO_C" >&6
67905 else
67906
67907
67908
67909 ac_ext=cc
67910 ac_cpp='$CXXCPP $CPPFLAGS'
67911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67914
67915 cat >conftest.$ac_ext <<_ACEOF
67916 /* confdefs.h. */
67917 _ACEOF
67918 cat confdefs.h >>conftest.$ac_ext
67919 cat >>conftest.$ac_ext <<_ACEOF
67920 /* end confdefs.h. */
67921 #include <math.h>
67922 #ifdef HAVE_IEEEFP_H
67923 #include <ieeefp.h>
67924 #endif
67925
67926 int
67927 main ()
67928 {
67929 fpclass(0);
67930 ;
67931 return 0;
67932 }
67933 _ACEOF
67934 rm -f conftest.$ac_objext
67935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67936 (eval $ac_compile) 2>conftest.er1
67937 ac_status=$?
67938 grep -v '^ *+' conftest.er1 >conftest.err
67939 rm -f conftest.er1
67940 cat conftest.err >&5
67941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67942 (exit $ac_status); } &&
67943 { ac_try='test -z "$ac_cxx_werror_flag"
67944 || test ! -s conftest.err'
67945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67946 (eval $ac_try) 2>&5
67947 ac_status=$?
67948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67949 (exit $ac_status); }; } &&
67950 { ac_try='test -s conftest.$ac_objext'
67951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67952 (eval $ac_try) 2>&5
67953 ac_status=$?
67954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67955 (exit $ac_status); }; }; then
67956 glibcxx_cv_func_fpclass_use=yes
67957 else
67958 echo "$as_me: failed program was:" >&5
67959 sed 's/^/| /' conftest.$ac_ext >&5
67960
67961 glibcxx_cv_func_fpclass_use=no
67962 fi
67963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67964 ac_ext=c
67965 ac_cpp='$CPP $CPPFLAGS'
67966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67969
67970
67971 fi
67972
67973 fi
67974 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
67975 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
67976
67977 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67978
67979 for ac_func in fpclass
67980 do
67981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67982 echo "$as_me:$LINENO: checking for $ac_func" >&5
67983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67984 if eval "test \"\${$as_ac_var+set}\" = set"; then
67985 echo $ECHO_N "(cached) $ECHO_C" >&6
67986 else
67987 if test x$gcc_no_link = xyes; then
67988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67990 { (exit 1); exit 1; }; }
67991 fi
67992 cat >conftest.$ac_ext <<_ACEOF
67993 /* confdefs.h. */
67994 _ACEOF
67995 cat confdefs.h >>conftest.$ac_ext
67996 cat >>conftest.$ac_ext <<_ACEOF
67997 /* end confdefs.h. */
67998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68000 #define $ac_func innocuous_$ac_func
68001
68002 /* System header to define __stub macros and hopefully few prototypes,
68003 which can conflict with char $ac_func (); below.
68004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68005 <limits.h> exists even on freestanding compilers. */
68006
68007 #ifdef __STDC__
68008 # include <limits.h>
68009 #else
68010 # include <assert.h>
68011 #endif
68012
68013 #undef $ac_func
68014
68015 /* Override any gcc2 internal prototype to avoid an error. */
68016 #ifdef __cplusplus
68017 extern "C"
68018 {
68019 #endif
68020 /* We use char because int might match the return type of a gcc2
68021 builtin and then its argument prototype would still apply. */
68022 char $ac_func ();
68023 /* The GNU C library defines this for functions which it implements
68024 to always fail with ENOSYS. Some functions are actually named
68025 something starting with __ and the normal name is an alias. */
68026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68027 choke me
68028 #else
68029 char (*f) () = $ac_func;
68030 #endif
68031 #ifdef __cplusplus
68032 }
68033 #endif
68034
68035 int
68036 main ()
68037 {
68038 return f != $ac_func;
68039 ;
68040 return 0;
68041 }
68042 _ACEOF
68043 rm -f conftest.$ac_objext conftest$ac_exeext
68044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68045 (eval $ac_link) 2>conftest.er1
68046 ac_status=$?
68047 grep -v '^ *+' conftest.er1 >conftest.err
68048 rm -f conftest.er1
68049 cat conftest.err >&5
68050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68051 (exit $ac_status); } &&
68052 { ac_try='test -z "$ac_c_werror_flag"
68053 || test ! -s conftest.err'
68054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68055 (eval $ac_try) 2>&5
68056 ac_status=$?
68057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68058 (exit $ac_status); }; } &&
68059 { ac_try='test -s conftest$ac_exeext'
68060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68061 (eval $ac_try) 2>&5
68062 ac_status=$?
68063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68064 (exit $ac_status); }; }; then
68065 eval "$as_ac_var=yes"
68066 else
68067 echo "$as_me: failed program was:" >&5
68068 sed 's/^/| /' conftest.$ac_ext >&5
68069
68070 eval "$as_ac_var=no"
68071 fi
68072 rm -f conftest.err conftest.$ac_objext \
68073 conftest$ac_exeext conftest.$ac_ext
68074 fi
68075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68077 if test `eval echo '${'$as_ac_var'}'` = yes; then
68078 cat >>confdefs.h <<_ACEOF
68079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68080 _ACEOF
68081
68082 fi
68083 done
68084
68085 else
68086
68087 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
68088 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
68089 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
68090 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
68091 echo $ECHO_N "(cached) $ECHO_C" >&6
68092 else
68093
68094
68095
68096 ac_ext=cc
68097 ac_cpp='$CXXCPP $CPPFLAGS'
68098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68101
68102 cat >conftest.$ac_ext <<_ACEOF
68103 /* confdefs.h. */
68104 _ACEOF
68105 cat confdefs.h >>conftest.$ac_ext
68106 cat >>conftest.$ac_ext <<_ACEOF
68107 /* end confdefs.h. */
68108 #include <math.h>
68109 #ifdef HAVE_IEEEFP_H
68110 #include <ieeefp.h>
68111 #endif
68112
68113 int
68114 main ()
68115 {
68116 _fpclass(0);
68117 ;
68118 return 0;
68119 }
68120 _ACEOF
68121 rm -f conftest.$ac_objext
68122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68123 (eval $ac_compile) 2>conftest.er1
68124 ac_status=$?
68125 grep -v '^ *+' conftest.er1 >conftest.err
68126 rm -f conftest.er1
68127 cat conftest.err >&5
68128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68129 (exit $ac_status); } &&
68130 { ac_try='test -z "$ac_cxx_werror_flag"
68131 || test ! -s conftest.err'
68132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68133 (eval $ac_try) 2>&5
68134 ac_status=$?
68135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68136 (exit $ac_status); }; } &&
68137 { ac_try='test -s conftest.$ac_objext'
68138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68139 (eval $ac_try) 2>&5
68140 ac_status=$?
68141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68142 (exit $ac_status); }; }; then
68143 glibcxx_cv_func__fpclass_use=yes
68144 else
68145 echo "$as_me: failed program was:" >&5
68146 sed 's/^/| /' conftest.$ac_ext >&5
68147
68148 glibcxx_cv_func__fpclass_use=no
68149 fi
68150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68151 ac_ext=c
68152 ac_cpp='$CPP $CPPFLAGS'
68153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68156
68157
68158 fi
68159
68160 fi
68161 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
68162 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
68163
68164 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
68165
68166 for ac_func in _fpclass
68167 do
68168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68169 echo "$as_me:$LINENO: checking for $ac_func" >&5
68170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68171 if eval "test \"\${$as_ac_var+set}\" = set"; then
68172 echo $ECHO_N "(cached) $ECHO_C" >&6
68173 else
68174 if test x$gcc_no_link = xyes; then
68175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68177 { (exit 1); exit 1; }; }
68178 fi
68179 cat >conftest.$ac_ext <<_ACEOF
68180 /* confdefs.h. */
68181 _ACEOF
68182 cat confdefs.h >>conftest.$ac_ext
68183 cat >>conftest.$ac_ext <<_ACEOF
68184 /* end confdefs.h. */
68185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68187 #define $ac_func innocuous_$ac_func
68188
68189 /* System header to define __stub macros and hopefully few prototypes,
68190 which can conflict with char $ac_func (); below.
68191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68192 <limits.h> exists even on freestanding compilers. */
68193
68194 #ifdef __STDC__
68195 # include <limits.h>
68196 #else
68197 # include <assert.h>
68198 #endif
68199
68200 #undef $ac_func
68201
68202 /* Override any gcc2 internal prototype to avoid an error. */
68203 #ifdef __cplusplus
68204 extern "C"
68205 {
68206 #endif
68207 /* We use char because int might match the return type of a gcc2
68208 builtin and then its argument prototype would still apply. */
68209 char $ac_func ();
68210 /* The GNU C library defines this for functions which it implements
68211 to always fail with ENOSYS. Some functions are actually named
68212 something starting with __ and the normal name is an alias. */
68213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68214 choke me
68215 #else
68216 char (*f) () = $ac_func;
68217 #endif
68218 #ifdef __cplusplus
68219 }
68220 #endif
68221
68222 int
68223 main ()
68224 {
68225 return f != $ac_func;
68226 ;
68227 return 0;
68228 }
68229 _ACEOF
68230 rm -f conftest.$ac_objext conftest$ac_exeext
68231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68232 (eval $ac_link) 2>conftest.er1
68233 ac_status=$?
68234 grep -v '^ *+' conftest.er1 >conftest.err
68235 rm -f conftest.er1
68236 cat conftest.err >&5
68237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68238 (exit $ac_status); } &&
68239 { ac_try='test -z "$ac_c_werror_flag"
68240 || test ! -s conftest.err'
68241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68242 (eval $ac_try) 2>&5
68243 ac_status=$?
68244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68245 (exit $ac_status); }; } &&
68246 { ac_try='test -s conftest$ac_exeext'
68247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68248 (eval $ac_try) 2>&5
68249 ac_status=$?
68250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68251 (exit $ac_status); }; }; then
68252 eval "$as_ac_var=yes"
68253 else
68254 echo "$as_me: failed program was:" >&5
68255 sed 's/^/| /' conftest.$ac_ext >&5
68256
68257 eval "$as_ac_var=no"
68258 fi
68259 rm -f conftest.err conftest.$ac_objext \
68260 conftest$ac_exeext conftest.$ac_ext
68261 fi
68262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68264 if test `eval echo '${'$as_ac_var'}'` = yes; then
68265 cat >>confdefs.h <<_ACEOF
68266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68267 _ACEOF
68268
68269 fi
68270 done
68271
68272 fi
68273 fi
68274
68275
68276
68277
68278
68279
68280 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
68281 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
68282 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
68283 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
68284 echo $ECHO_N "(cached) $ECHO_C" >&6
68285 else
68286
68287
68288
68289 ac_ext=cc
68290 ac_cpp='$CXXCPP $CPPFLAGS'
68291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68294
68295 cat >conftest.$ac_ext <<_ACEOF
68296 /* confdefs.h. */
68297 _ACEOF
68298 cat confdefs.h >>conftest.$ac_ext
68299 cat >>conftest.$ac_ext <<_ACEOF
68300 /* end confdefs.h. */
68301 #include <math.h>
68302 #ifdef HAVE_IEEEFP_H
68303 #include <ieeefp.h>
68304 #endif
68305
68306 int
68307 main ()
68308 {
68309 qfpclass(0);
68310 ;
68311 return 0;
68312 }
68313 _ACEOF
68314 rm -f conftest.$ac_objext
68315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68316 (eval $ac_compile) 2>conftest.er1
68317 ac_status=$?
68318 grep -v '^ *+' conftest.er1 >conftest.err
68319 rm -f conftest.er1
68320 cat conftest.err >&5
68321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68322 (exit $ac_status); } &&
68323 { ac_try='test -z "$ac_cxx_werror_flag"
68324 || test ! -s conftest.err'
68325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68326 (eval $ac_try) 2>&5
68327 ac_status=$?
68328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68329 (exit $ac_status); }; } &&
68330 { ac_try='test -s conftest.$ac_objext'
68331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68332 (eval $ac_try) 2>&5
68333 ac_status=$?
68334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68335 (exit $ac_status); }; }; then
68336 glibcxx_cv_func_qfpclass_use=yes
68337 else
68338 echo "$as_me: failed program was:" >&5
68339 sed 's/^/| /' conftest.$ac_ext >&5
68340
68341 glibcxx_cv_func_qfpclass_use=no
68342 fi
68343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68344 ac_ext=c
68345 ac_cpp='$CPP $CPPFLAGS'
68346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68349
68350
68351 fi
68352
68353 fi
68354 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
68355 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
68356
68357 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
68358
68359 for ac_func in qfpclass
68360 do
68361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68362 echo "$as_me:$LINENO: checking for $ac_func" >&5
68363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68364 if eval "test \"\${$as_ac_var+set}\" = set"; then
68365 echo $ECHO_N "(cached) $ECHO_C" >&6
68366 else
68367 if test x$gcc_no_link = xyes; then
68368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68370 { (exit 1); exit 1; }; }
68371 fi
68372 cat >conftest.$ac_ext <<_ACEOF
68373 /* confdefs.h. */
68374 _ACEOF
68375 cat confdefs.h >>conftest.$ac_ext
68376 cat >>conftest.$ac_ext <<_ACEOF
68377 /* end confdefs.h. */
68378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68380 #define $ac_func innocuous_$ac_func
68381
68382 /* System header to define __stub macros and hopefully few prototypes,
68383 which can conflict with char $ac_func (); below.
68384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68385 <limits.h> exists even on freestanding compilers. */
68386
68387 #ifdef __STDC__
68388 # include <limits.h>
68389 #else
68390 # include <assert.h>
68391 #endif
68392
68393 #undef $ac_func
68394
68395 /* Override any gcc2 internal prototype to avoid an error. */
68396 #ifdef __cplusplus
68397 extern "C"
68398 {
68399 #endif
68400 /* We use char because int might match the return type of a gcc2
68401 builtin and then its argument prototype would still apply. */
68402 char $ac_func ();
68403 /* The GNU C library defines this for functions which it implements
68404 to always fail with ENOSYS. Some functions are actually named
68405 something starting with __ and the normal name is an alias. */
68406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68407 choke me
68408 #else
68409 char (*f) () = $ac_func;
68410 #endif
68411 #ifdef __cplusplus
68412 }
68413 #endif
68414
68415 int
68416 main ()
68417 {
68418 return f != $ac_func;
68419 ;
68420 return 0;
68421 }
68422 _ACEOF
68423 rm -f conftest.$ac_objext conftest$ac_exeext
68424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68425 (eval $ac_link) 2>conftest.er1
68426 ac_status=$?
68427 grep -v '^ *+' conftest.er1 >conftest.err
68428 rm -f conftest.er1
68429 cat conftest.err >&5
68430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68431 (exit $ac_status); } &&
68432 { ac_try='test -z "$ac_c_werror_flag"
68433 || test ! -s conftest.err'
68434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68435 (eval $ac_try) 2>&5
68436 ac_status=$?
68437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68438 (exit $ac_status); }; } &&
68439 { ac_try='test -s conftest$ac_exeext'
68440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68441 (eval $ac_try) 2>&5
68442 ac_status=$?
68443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68444 (exit $ac_status); }; }; then
68445 eval "$as_ac_var=yes"
68446 else
68447 echo "$as_me: failed program was:" >&5
68448 sed 's/^/| /' conftest.$ac_ext >&5
68449
68450 eval "$as_ac_var=no"
68451 fi
68452 rm -f conftest.err conftest.$ac_objext \
68453 conftest$ac_exeext conftest.$ac_ext
68454 fi
68455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68457 if test `eval echo '${'$as_ac_var'}'` = yes; then
68458 cat >>confdefs.h <<_ACEOF
68459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68460 _ACEOF
68461
68462 fi
68463 done
68464
68465 else
68466
68467 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
68468 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
68469 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
68470 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
68471 echo $ECHO_N "(cached) $ECHO_C" >&6
68472 else
68473
68474
68475
68476 ac_ext=cc
68477 ac_cpp='$CXXCPP $CPPFLAGS'
68478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68481
68482 cat >conftest.$ac_ext <<_ACEOF
68483 /* confdefs.h. */
68484 _ACEOF
68485 cat confdefs.h >>conftest.$ac_ext
68486 cat >>conftest.$ac_ext <<_ACEOF
68487 /* end confdefs.h. */
68488 #include <math.h>
68489 #ifdef HAVE_IEEEFP_H
68490 #include <ieeefp.h>
68491 #endif
68492
68493 int
68494 main ()
68495 {
68496 _qfpclass(0);
68497 ;
68498 return 0;
68499 }
68500 _ACEOF
68501 rm -f conftest.$ac_objext
68502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68503 (eval $ac_compile) 2>conftest.er1
68504 ac_status=$?
68505 grep -v '^ *+' conftest.er1 >conftest.err
68506 rm -f conftest.er1
68507 cat conftest.err >&5
68508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68509 (exit $ac_status); } &&
68510 { ac_try='test -z "$ac_cxx_werror_flag"
68511 || test ! -s conftest.err'
68512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68513 (eval $ac_try) 2>&5
68514 ac_status=$?
68515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68516 (exit $ac_status); }; } &&
68517 { ac_try='test -s conftest.$ac_objext'
68518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68519 (eval $ac_try) 2>&5
68520 ac_status=$?
68521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68522 (exit $ac_status); }; }; then
68523 glibcxx_cv_func__qfpclass_use=yes
68524 else
68525 echo "$as_me: failed program was:" >&5
68526 sed 's/^/| /' conftest.$ac_ext >&5
68527
68528 glibcxx_cv_func__qfpclass_use=no
68529 fi
68530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68531 ac_ext=c
68532 ac_cpp='$CPP $CPPFLAGS'
68533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68536
68537
68538 fi
68539
68540 fi
68541 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
68542 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
68543
68544 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
68545
68546 for ac_func in _qfpclass
68547 do
68548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68549 echo "$as_me:$LINENO: checking for $ac_func" >&5
68550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68551 if eval "test \"\${$as_ac_var+set}\" = set"; then
68552 echo $ECHO_N "(cached) $ECHO_C" >&6
68553 else
68554 if test x$gcc_no_link = xyes; then
68555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68557 { (exit 1); exit 1; }; }
68558 fi
68559 cat >conftest.$ac_ext <<_ACEOF
68560 /* confdefs.h. */
68561 _ACEOF
68562 cat confdefs.h >>conftest.$ac_ext
68563 cat >>conftest.$ac_ext <<_ACEOF
68564 /* end confdefs.h. */
68565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68567 #define $ac_func innocuous_$ac_func
68568
68569 /* System header to define __stub macros and hopefully few prototypes,
68570 which can conflict with char $ac_func (); below.
68571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68572 <limits.h> exists even on freestanding compilers. */
68573
68574 #ifdef __STDC__
68575 # include <limits.h>
68576 #else
68577 # include <assert.h>
68578 #endif
68579
68580 #undef $ac_func
68581
68582 /* Override any gcc2 internal prototype to avoid an error. */
68583 #ifdef __cplusplus
68584 extern "C"
68585 {
68586 #endif
68587 /* We use char because int might match the return type of a gcc2
68588 builtin and then its argument prototype would still apply. */
68589 char $ac_func ();
68590 /* The GNU C library defines this for functions which it implements
68591 to always fail with ENOSYS. Some functions are actually named
68592 something starting with __ and the normal name is an alias. */
68593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68594 choke me
68595 #else
68596 char (*f) () = $ac_func;
68597 #endif
68598 #ifdef __cplusplus
68599 }
68600 #endif
68601
68602 int
68603 main ()
68604 {
68605 return f != $ac_func;
68606 ;
68607 return 0;
68608 }
68609 _ACEOF
68610 rm -f conftest.$ac_objext conftest$ac_exeext
68611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68612 (eval $ac_link) 2>conftest.er1
68613 ac_status=$?
68614 grep -v '^ *+' conftest.er1 >conftest.err
68615 rm -f conftest.er1
68616 cat conftest.err >&5
68617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68618 (exit $ac_status); } &&
68619 { ac_try='test -z "$ac_c_werror_flag"
68620 || test ! -s conftest.err'
68621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68622 (eval $ac_try) 2>&5
68623 ac_status=$?
68624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68625 (exit $ac_status); }; } &&
68626 { ac_try='test -s conftest$ac_exeext'
68627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68628 (eval $ac_try) 2>&5
68629 ac_status=$?
68630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68631 (exit $ac_status); }; }; then
68632 eval "$as_ac_var=yes"
68633 else
68634 echo "$as_me: failed program was:" >&5
68635 sed 's/^/| /' conftest.$ac_ext >&5
68636
68637 eval "$as_ac_var=no"
68638 fi
68639 rm -f conftest.err conftest.$ac_objext \
68640 conftest$ac_exeext conftest.$ac_ext
68641 fi
68642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68644 if test `eval echo '${'$as_ac_var'}'` = yes; then
68645 cat >>confdefs.h <<_ACEOF
68646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68647 _ACEOF
68648
68649 fi
68650 done
68651
68652 fi
68653 fi
68654
68655
68656
68657
68658
68659
68660 echo "$as_me:$LINENO: checking for hypot declaration" >&5
68661 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
68662 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
68663 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
68664 echo $ECHO_N "(cached) $ECHO_C" >&6
68665 else
68666
68667
68668
68669 ac_ext=cc
68670 ac_cpp='$CXXCPP $CPPFLAGS'
68671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68674
68675 cat >conftest.$ac_ext <<_ACEOF
68676 /* confdefs.h. */
68677 _ACEOF
68678 cat confdefs.h >>conftest.$ac_ext
68679 cat >>conftest.$ac_ext <<_ACEOF
68680 /* end confdefs.h. */
68681 #include <math.h>
68682 int
68683 main ()
68684 {
68685 hypot(0, 0);
68686 ;
68687 return 0;
68688 }
68689 _ACEOF
68690 rm -f conftest.$ac_objext
68691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68692 (eval $ac_compile) 2>conftest.er1
68693 ac_status=$?
68694 grep -v '^ *+' conftest.er1 >conftest.err
68695 rm -f conftest.er1
68696 cat conftest.err >&5
68697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68698 (exit $ac_status); } &&
68699 { ac_try='test -z "$ac_cxx_werror_flag"
68700 || test ! -s conftest.err'
68701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68702 (eval $ac_try) 2>&5
68703 ac_status=$?
68704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68705 (exit $ac_status); }; } &&
68706 { ac_try='test -s conftest.$ac_objext'
68707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68708 (eval $ac_try) 2>&5
68709 ac_status=$?
68710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68711 (exit $ac_status); }; }; then
68712 glibcxx_cv_func_hypot_use=yes
68713 else
68714 echo "$as_me: failed program was:" >&5
68715 sed 's/^/| /' conftest.$ac_ext >&5
68716
68717 glibcxx_cv_func_hypot_use=no
68718 fi
68719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68720 ac_ext=c
68721 ac_cpp='$CPP $CPPFLAGS'
68722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68725
68726
68727 fi
68728
68729 fi
68730 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
68731 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
68732
68733 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
68734
68735 for ac_func in hypot
68736 do
68737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68738 echo "$as_me:$LINENO: checking for $ac_func" >&5
68739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68740 if eval "test \"\${$as_ac_var+set}\" = set"; then
68741 echo $ECHO_N "(cached) $ECHO_C" >&6
68742 else
68743 if test x$gcc_no_link = xyes; then
68744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68746 { (exit 1); exit 1; }; }
68747 fi
68748 cat >conftest.$ac_ext <<_ACEOF
68749 /* confdefs.h. */
68750 _ACEOF
68751 cat confdefs.h >>conftest.$ac_ext
68752 cat >>conftest.$ac_ext <<_ACEOF
68753 /* end confdefs.h. */
68754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68756 #define $ac_func innocuous_$ac_func
68757
68758 /* System header to define __stub macros and hopefully few prototypes,
68759 which can conflict with char $ac_func (); below.
68760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68761 <limits.h> exists even on freestanding compilers. */
68762
68763 #ifdef __STDC__
68764 # include <limits.h>
68765 #else
68766 # include <assert.h>
68767 #endif
68768
68769 #undef $ac_func
68770
68771 /* Override any gcc2 internal prototype to avoid an error. */
68772 #ifdef __cplusplus
68773 extern "C"
68774 {
68775 #endif
68776 /* We use char because int might match the return type of a gcc2
68777 builtin and then its argument prototype would still apply. */
68778 char $ac_func ();
68779 /* The GNU C library defines this for functions which it implements
68780 to always fail with ENOSYS. Some functions are actually named
68781 something starting with __ and the normal name is an alias. */
68782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68783 choke me
68784 #else
68785 char (*f) () = $ac_func;
68786 #endif
68787 #ifdef __cplusplus
68788 }
68789 #endif
68790
68791 int
68792 main ()
68793 {
68794 return f != $ac_func;
68795 ;
68796 return 0;
68797 }
68798 _ACEOF
68799 rm -f conftest.$ac_objext conftest$ac_exeext
68800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68801 (eval $ac_link) 2>conftest.er1
68802 ac_status=$?
68803 grep -v '^ *+' conftest.er1 >conftest.err
68804 rm -f conftest.er1
68805 cat conftest.err >&5
68806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68807 (exit $ac_status); } &&
68808 { ac_try='test -z "$ac_c_werror_flag"
68809 || test ! -s conftest.err'
68810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68811 (eval $ac_try) 2>&5
68812 ac_status=$?
68813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68814 (exit $ac_status); }; } &&
68815 { ac_try='test -s conftest$ac_exeext'
68816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68817 (eval $ac_try) 2>&5
68818 ac_status=$?
68819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68820 (exit $ac_status); }; }; then
68821 eval "$as_ac_var=yes"
68822 else
68823 echo "$as_me: failed program was:" >&5
68824 sed 's/^/| /' conftest.$ac_ext >&5
68825
68826 eval "$as_ac_var=no"
68827 fi
68828 rm -f conftest.err conftest.$ac_objext \
68829 conftest$ac_exeext conftest.$ac_ext
68830 fi
68831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68833 if test `eval echo '${'$as_ac_var'}'` = yes; then
68834 cat >>confdefs.h <<_ACEOF
68835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68836 _ACEOF
68837
68838 fi
68839 done
68840
68841 else
68842
68843 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
68844 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
68845 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
68846 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
68847 echo $ECHO_N "(cached) $ECHO_C" >&6
68848 else
68849
68850
68851
68852 ac_ext=cc
68853 ac_cpp='$CXXCPP $CPPFLAGS'
68854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68857
68858 cat >conftest.$ac_ext <<_ACEOF
68859 /* confdefs.h. */
68860 _ACEOF
68861 cat confdefs.h >>conftest.$ac_ext
68862 cat >>conftest.$ac_ext <<_ACEOF
68863 /* end confdefs.h. */
68864 #include <math.h>
68865 int
68866 main ()
68867 {
68868 _hypot(0, 0);
68869 ;
68870 return 0;
68871 }
68872 _ACEOF
68873 rm -f conftest.$ac_objext
68874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68875 (eval $ac_compile) 2>conftest.er1
68876 ac_status=$?
68877 grep -v '^ *+' conftest.er1 >conftest.err
68878 rm -f conftest.er1
68879 cat conftest.err >&5
68880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68881 (exit $ac_status); } &&
68882 { ac_try='test -z "$ac_cxx_werror_flag"
68883 || test ! -s conftest.err'
68884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68885 (eval $ac_try) 2>&5
68886 ac_status=$?
68887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68888 (exit $ac_status); }; } &&
68889 { ac_try='test -s conftest.$ac_objext'
68890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68891 (eval $ac_try) 2>&5
68892 ac_status=$?
68893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68894 (exit $ac_status); }; }; then
68895 glibcxx_cv_func__hypot_use=yes
68896 else
68897 echo "$as_me: failed program was:" >&5
68898 sed 's/^/| /' conftest.$ac_ext >&5
68899
68900 glibcxx_cv_func__hypot_use=no
68901 fi
68902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68903 ac_ext=c
68904 ac_cpp='$CPP $CPPFLAGS'
68905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68908
68909
68910 fi
68911
68912 fi
68913 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
68914 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
68915
68916 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
68917
68918 for ac_func in _hypot
68919 do
68920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68921 echo "$as_me:$LINENO: checking for $ac_func" >&5
68922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68923 if eval "test \"\${$as_ac_var+set}\" = set"; then
68924 echo $ECHO_N "(cached) $ECHO_C" >&6
68925 else
68926 if test x$gcc_no_link = xyes; then
68927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68929 { (exit 1); exit 1; }; }
68930 fi
68931 cat >conftest.$ac_ext <<_ACEOF
68932 /* confdefs.h. */
68933 _ACEOF
68934 cat confdefs.h >>conftest.$ac_ext
68935 cat >>conftest.$ac_ext <<_ACEOF
68936 /* end confdefs.h. */
68937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68939 #define $ac_func innocuous_$ac_func
68940
68941 /* System header to define __stub macros and hopefully few prototypes,
68942 which can conflict with char $ac_func (); below.
68943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68944 <limits.h> exists even on freestanding compilers. */
68945
68946 #ifdef __STDC__
68947 # include <limits.h>
68948 #else
68949 # include <assert.h>
68950 #endif
68951
68952 #undef $ac_func
68953
68954 /* Override any gcc2 internal prototype to avoid an error. */
68955 #ifdef __cplusplus
68956 extern "C"
68957 {
68958 #endif
68959 /* We use char because int might match the return type of a gcc2
68960 builtin and then its argument prototype would still apply. */
68961 char $ac_func ();
68962 /* The GNU C library defines this for functions which it implements
68963 to always fail with ENOSYS. Some functions are actually named
68964 something starting with __ and the normal name is an alias. */
68965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68966 choke me
68967 #else
68968 char (*f) () = $ac_func;
68969 #endif
68970 #ifdef __cplusplus
68971 }
68972 #endif
68973
68974 int
68975 main ()
68976 {
68977 return f != $ac_func;
68978 ;
68979 return 0;
68980 }
68981 _ACEOF
68982 rm -f conftest.$ac_objext conftest$ac_exeext
68983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68984 (eval $ac_link) 2>conftest.er1
68985 ac_status=$?
68986 grep -v '^ *+' conftest.er1 >conftest.err
68987 rm -f conftest.er1
68988 cat conftest.err >&5
68989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68990 (exit $ac_status); } &&
68991 { ac_try='test -z "$ac_c_werror_flag"
68992 || test ! -s conftest.err'
68993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68994 (eval $ac_try) 2>&5
68995 ac_status=$?
68996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68997 (exit $ac_status); }; } &&
68998 { ac_try='test -s conftest$ac_exeext'
68999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69000 (eval $ac_try) 2>&5
69001 ac_status=$?
69002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69003 (exit $ac_status); }; }; then
69004 eval "$as_ac_var=yes"
69005 else
69006 echo "$as_me: failed program was:" >&5
69007 sed 's/^/| /' conftest.$ac_ext >&5
69008
69009 eval "$as_ac_var=no"
69010 fi
69011 rm -f conftest.err conftest.$ac_objext \
69012 conftest$ac_exeext conftest.$ac_ext
69013 fi
69014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69016 if test `eval echo '${'$as_ac_var'}'` = yes; then
69017 cat >>confdefs.h <<_ACEOF
69018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69019 _ACEOF
69020
69021 fi
69022 done
69023
69024 fi
69025 fi
69026
69027
69028
69029
69030
69031
69032 echo "$as_me:$LINENO: checking for float trig functions" >&5
69033 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
69034 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
69035 echo $ECHO_N "(cached) $ECHO_C" >&6
69036 else
69037
69038
69039
69040 ac_ext=cc
69041 ac_cpp='$CXXCPP $CPPFLAGS'
69042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69045
69046 cat >conftest.$ac_ext <<_ACEOF
69047 /* confdefs.h. */
69048 _ACEOF
69049 cat confdefs.h >>conftest.$ac_ext
69050 cat >>conftest.$ac_ext <<_ACEOF
69051 /* end confdefs.h. */
69052 #include <math.h>
69053 int
69054 main ()
69055 {
69056 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
69057 ;
69058 return 0;
69059 }
69060 _ACEOF
69061 rm -f conftest.$ac_objext
69062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69063 (eval $ac_compile) 2>conftest.er1
69064 ac_status=$?
69065 grep -v '^ *+' conftest.er1 >conftest.err
69066 rm -f conftest.er1
69067 cat conftest.err >&5
69068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69069 (exit $ac_status); } &&
69070 { ac_try='test -z "$ac_cxx_werror_flag"
69071 || test ! -s conftest.err'
69072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69073 (eval $ac_try) 2>&5
69074 ac_status=$?
69075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69076 (exit $ac_status); }; } &&
69077 { ac_try='test -s conftest.$ac_objext'
69078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69079 (eval $ac_try) 2>&5
69080 ac_status=$?
69081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69082 (exit $ac_status); }; }; then
69083 glibcxx_cv_func_float_trig_use=yes
69084 else
69085 echo "$as_me: failed program was:" >&5
69086 sed 's/^/| /' conftest.$ac_ext >&5
69087
69088 glibcxx_cv_func_float_trig_use=no
69089 fi
69090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69091 ac_ext=c
69092 ac_cpp='$CPP $CPPFLAGS'
69093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69096
69097 fi
69098
69099 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
69100 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
69101 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
69102
69103
69104
69105
69106
69107
69108
69109
69110
69111 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
69112 do
69113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69114 echo "$as_me:$LINENO: checking for $ac_func" >&5
69115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69116 if eval "test \"\${$as_ac_var+set}\" = set"; then
69117 echo $ECHO_N "(cached) $ECHO_C" >&6
69118 else
69119 if test x$gcc_no_link = xyes; then
69120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69122 { (exit 1); exit 1; }; }
69123 fi
69124 cat >conftest.$ac_ext <<_ACEOF
69125 /* confdefs.h. */
69126 _ACEOF
69127 cat confdefs.h >>conftest.$ac_ext
69128 cat >>conftest.$ac_ext <<_ACEOF
69129 /* end confdefs.h. */
69130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69132 #define $ac_func innocuous_$ac_func
69133
69134 /* System header to define __stub macros and hopefully few prototypes,
69135 which can conflict with char $ac_func (); below.
69136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69137 <limits.h> exists even on freestanding compilers. */
69138
69139 #ifdef __STDC__
69140 # include <limits.h>
69141 #else
69142 # include <assert.h>
69143 #endif
69144
69145 #undef $ac_func
69146
69147 /* Override any gcc2 internal prototype to avoid an error. */
69148 #ifdef __cplusplus
69149 extern "C"
69150 {
69151 #endif
69152 /* We use char because int might match the return type of a gcc2
69153 builtin and then its argument prototype would still apply. */
69154 char $ac_func ();
69155 /* The GNU C library defines this for functions which it implements
69156 to always fail with ENOSYS. Some functions are actually named
69157 something starting with __ and the normal name is an alias. */
69158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69159 choke me
69160 #else
69161 char (*f) () = $ac_func;
69162 #endif
69163 #ifdef __cplusplus
69164 }
69165 #endif
69166
69167 int
69168 main ()
69169 {
69170 return f != $ac_func;
69171 ;
69172 return 0;
69173 }
69174 _ACEOF
69175 rm -f conftest.$ac_objext conftest$ac_exeext
69176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69177 (eval $ac_link) 2>conftest.er1
69178 ac_status=$?
69179 grep -v '^ *+' conftest.er1 >conftest.err
69180 rm -f conftest.er1
69181 cat conftest.err >&5
69182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69183 (exit $ac_status); } &&
69184 { ac_try='test -z "$ac_c_werror_flag"
69185 || test ! -s conftest.err'
69186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69187 (eval $ac_try) 2>&5
69188 ac_status=$?
69189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69190 (exit $ac_status); }; } &&
69191 { ac_try='test -s conftest$ac_exeext'
69192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69193 (eval $ac_try) 2>&5
69194 ac_status=$?
69195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69196 (exit $ac_status); }; }; then
69197 eval "$as_ac_var=yes"
69198 else
69199 echo "$as_me: failed program was:" >&5
69200 sed 's/^/| /' conftest.$ac_ext >&5
69201
69202 eval "$as_ac_var=no"
69203 fi
69204 rm -f conftest.err conftest.$ac_objext \
69205 conftest$ac_exeext conftest.$ac_ext
69206 fi
69207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69209 if test `eval echo '${'$as_ac_var'}'` = yes; then
69210 cat >>confdefs.h <<_ACEOF
69211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69212 _ACEOF
69213
69214 fi
69215 done
69216
69217 else
69218 echo "$as_me:$LINENO: checking for _float trig functions" >&5
69219 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69220 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69221 echo $ECHO_N "(cached) $ECHO_C" >&6
69222 else
69223
69224
69225
69226 ac_ext=cc
69227 ac_cpp='$CXXCPP $CPPFLAGS'
69228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69231
69232 cat >conftest.$ac_ext <<_ACEOF
69233 /* confdefs.h. */
69234 _ACEOF
69235 cat confdefs.h >>conftest.$ac_ext
69236 cat >>conftest.$ac_ext <<_ACEOF
69237 /* end confdefs.h. */
69238 #include <math.h>
69239 int
69240 main ()
69241 {
69242 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
69243 ;
69244 return 0;
69245 }
69246 _ACEOF
69247 rm -f conftest.$ac_objext
69248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69249 (eval $ac_compile) 2>conftest.er1
69250 ac_status=$?
69251 grep -v '^ *+' conftest.er1 >conftest.err
69252 rm -f conftest.er1
69253 cat conftest.err >&5
69254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69255 (exit $ac_status); } &&
69256 { ac_try='test -z "$ac_cxx_werror_flag"
69257 || test ! -s conftest.err'
69258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69259 (eval $ac_try) 2>&5
69260 ac_status=$?
69261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69262 (exit $ac_status); }; } &&
69263 { ac_try='test -s conftest.$ac_objext'
69264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69265 (eval $ac_try) 2>&5
69266 ac_status=$?
69267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69268 (exit $ac_status); }; }; then
69269 glibcxx_cv_func__float_trig_use=yes
69270 else
69271 echo "$as_me: failed program was:" >&5
69272 sed 's/^/| /' conftest.$ac_ext >&5
69273
69274 glibcxx_cv_func__float_trig_use=no
69275 fi
69276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69277 ac_ext=c
69278 ac_cpp='$CPP $CPPFLAGS'
69279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69282
69283 fi
69284
69285 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69286 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69287 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69288
69289
69290
69291
69292
69293
69294
69295
69296
69297 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
69298 do
69299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69300 echo "$as_me:$LINENO: checking for $ac_func" >&5
69301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69302 if eval "test \"\${$as_ac_var+set}\" = set"; then
69303 echo $ECHO_N "(cached) $ECHO_C" >&6
69304 else
69305 if test x$gcc_no_link = xyes; then
69306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69308 { (exit 1); exit 1; }; }
69309 fi
69310 cat >conftest.$ac_ext <<_ACEOF
69311 /* confdefs.h. */
69312 _ACEOF
69313 cat confdefs.h >>conftest.$ac_ext
69314 cat >>conftest.$ac_ext <<_ACEOF
69315 /* end confdefs.h. */
69316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69318 #define $ac_func innocuous_$ac_func
69319
69320 /* System header to define __stub macros and hopefully few prototypes,
69321 which can conflict with char $ac_func (); below.
69322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69323 <limits.h> exists even on freestanding compilers. */
69324
69325 #ifdef __STDC__
69326 # include <limits.h>
69327 #else
69328 # include <assert.h>
69329 #endif
69330
69331 #undef $ac_func
69332
69333 /* Override any gcc2 internal prototype to avoid an error. */
69334 #ifdef __cplusplus
69335 extern "C"
69336 {
69337 #endif
69338 /* We use char because int might match the return type of a gcc2
69339 builtin and then its argument prototype would still apply. */
69340 char $ac_func ();
69341 /* The GNU C library defines this for functions which it implements
69342 to always fail with ENOSYS. Some functions are actually named
69343 something starting with __ and the normal name is an alias. */
69344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69345 choke me
69346 #else
69347 char (*f) () = $ac_func;
69348 #endif
69349 #ifdef __cplusplus
69350 }
69351 #endif
69352
69353 int
69354 main ()
69355 {
69356 return f != $ac_func;
69357 ;
69358 return 0;
69359 }
69360 _ACEOF
69361 rm -f conftest.$ac_objext conftest$ac_exeext
69362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69363 (eval $ac_link) 2>conftest.er1
69364 ac_status=$?
69365 grep -v '^ *+' conftest.er1 >conftest.err
69366 rm -f conftest.er1
69367 cat conftest.err >&5
69368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69369 (exit $ac_status); } &&
69370 { ac_try='test -z "$ac_c_werror_flag"
69371 || test ! -s conftest.err'
69372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69373 (eval $ac_try) 2>&5
69374 ac_status=$?
69375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69376 (exit $ac_status); }; } &&
69377 { ac_try='test -s conftest$ac_exeext'
69378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69379 (eval $ac_try) 2>&5
69380 ac_status=$?
69381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69382 (exit $ac_status); }; }; then
69383 eval "$as_ac_var=yes"
69384 else
69385 echo "$as_me: failed program was:" >&5
69386 sed 's/^/| /' conftest.$ac_ext >&5
69387
69388 eval "$as_ac_var=no"
69389 fi
69390 rm -f conftest.err conftest.$ac_objext \
69391 conftest$ac_exeext conftest.$ac_ext
69392 fi
69393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69395 if test `eval echo '${'$as_ac_var'}'` = yes; then
69396 cat >>confdefs.h <<_ACEOF
69397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69398 _ACEOF
69399
69400 fi
69401 done
69402
69403 fi
69404 fi
69405
69406
69407
69408
69409
69410
69411
69412
69413
69414
69415
69416
69417
69418
69419 echo "$as_me:$LINENO: checking for float round functions" >&5
69420 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
69421 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
69422 echo $ECHO_N "(cached) $ECHO_C" >&6
69423 else
69424
69425
69426
69427 ac_ext=cc
69428 ac_cpp='$CXXCPP $CPPFLAGS'
69429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69432
69433 cat >conftest.$ac_ext <<_ACEOF
69434 /* confdefs.h. */
69435 _ACEOF
69436 cat confdefs.h >>conftest.$ac_ext
69437 cat >>conftest.$ac_ext <<_ACEOF
69438 /* end confdefs.h. */
69439 #include <math.h>
69440 int
69441 main ()
69442 {
69443 ceilf (0); floorf (0);
69444 ;
69445 return 0;
69446 }
69447 _ACEOF
69448 rm -f conftest.$ac_objext
69449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69450 (eval $ac_compile) 2>conftest.er1
69451 ac_status=$?
69452 grep -v '^ *+' conftest.er1 >conftest.err
69453 rm -f conftest.er1
69454 cat conftest.err >&5
69455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69456 (exit $ac_status); } &&
69457 { ac_try='test -z "$ac_cxx_werror_flag"
69458 || test ! -s conftest.err'
69459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69460 (eval $ac_try) 2>&5
69461 ac_status=$?
69462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69463 (exit $ac_status); }; } &&
69464 { ac_try='test -s conftest.$ac_objext'
69465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69466 (eval $ac_try) 2>&5
69467 ac_status=$?
69468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69469 (exit $ac_status); }; }; then
69470 glibcxx_cv_func_float_round_use=yes
69471 else
69472 echo "$as_me: failed program was:" >&5
69473 sed 's/^/| /' conftest.$ac_ext >&5
69474
69475 glibcxx_cv_func_float_round_use=no
69476 fi
69477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69478 ac_ext=c
69479 ac_cpp='$CPP $CPPFLAGS'
69480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69483
69484 fi
69485
69486 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
69487 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
69488 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
69489
69490
69491 for ac_func in ceilf floorf
69492 do
69493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69494 echo "$as_me:$LINENO: checking for $ac_func" >&5
69495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69496 if eval "test \"\${$as_ac_var+set}\" = set"; then
69497 echo $ECHO_N "(cached) $ECHO_C" >&6
69498 else
69499 if test x$gcc_no_link = xyes; then
69500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69502 { (exit 1); exit 1; }; }
69503 fi
69504 cat >conftest.$ac_ext <<_ACEOF
69505 /* confdefs.h. */
69506 _ACEOF
69507 cat confdefs.h >>conftest.$ac_ext
69508 cat >>conftest.$ac_ext <<_ACEOF
69509 /* end confdefs.h. */
69510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69512 #define $ac_func innocuous_$ac_func
69513
69514 /* System header to define __stub macros and hopefully few prototypes,
69515 which can conflict with char $ac_func (); below.
69516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69517 <limits.h> exists even on freestanding compilers. */
69518
69519 #ifdef __STDC__
69520 # include <limits.h>
69521 #else
69522 # include <assert.h>
69523 #endif
69524
69525 #undef $ac_func
69526
69527 /* Override any gcc2 internal prototype to avoid an error. */
69528 #ifdef __cplusplus
69529 extern "C"
69530 {
69531 #endif
69532 /* We use char because int might match the return type of a gcc2
69533 builtin and then its argument prototype would still apply. */
69534 char $ac_func ();
69535 /* The GNU C library defines this for functions which it implements
69536 to always fail with ENOSYS. Some functions are actually named
69537 something starting with __ and the normal name is an alias. */
69538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69539 choke me
69540 #else
69541 char (*f) () = $ac_func;
69542 #endif
69543 #ifdef __cplusplus
69544 }
69545 #endif
69546
69547 int
69548 main ()
69549 {
69550 return f != $ac_func;
69551 ;
69552 return 0;
69553 }
69554 _ACEOF
69555 rm -f conftest.$ac_objext conftest$ac_exeext
69556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69557 (eval $ac_link) 2>conftest.er1
69558 ac_status=$?
69559 grep -v '^ *+' conftest.er1 >conftest.err
69560 rm -f conftest.er1
69561 cat conftest.err >&5
69562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69563 (exit $ac_status); } &&
69564 { ac_try='test -z "$ac_c_werror_flag"
69565 || test ! -s conftest.err'
69566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69567 (eval $ac_try) 2>&5
69568 ac_status=$?
69569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69570 (exit $ac_status); }; } &&
69571 { ac_try='test -s conftest$ac_exeext'
69572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69573 (eval $ac_try) 2>&5
69574 ac_status=$?
69575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69576 (exit $ac_status); }; }; then
69577 eval "$as_ac_var=yes"
69578 else
69579 echo "$as_me: failed program was:" >&5
69580 sed 's/^/| /' conftest.$ac_ext >&5
69581
69582 eval "$as_ac_var=no"
69583 fi
69584 rm -f conftest.err conftest.$ac_objext \
69585 conftest$ac_exeext conftest.$ac_ext
69586 fi
69587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69589 if test `eval echo '${'$as_ac_var'}'` = yes; then
69590 cat >>confdefs.h <<_ACEOF
69591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69592 _ACEOF
69593
69594 fi
69595 done
69596
69597 else
69598 echo "$as_me:$LINENO: checking for _float round functions" >&5
69599 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69600 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69601 echo $ECHO_N "(cached) $ECHO_C" >&6
69602 else
69603
69604
69605
69606 ac_ext=cc
69607 ac_cpp='$CXXCPP $CPPFLAGS'
69608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69611
69612 cat >conftest.$ac_ext <<_ACEOF
69613 /* confdefs.h. */
69614 _ACEOF
69615 cat confdefs.h >>conftest.$ac_ext
69616 cat >>conftest.$ac_ext <<_ACEOF
69617 /* end confdefs.h. */
69618 #include <math.h>
69619 int
69620 main ()
69621 {
69622 _ceilf (0); _floorf (0);
69623 ;
69624 return 0;
69625 }
69626 _ACEOF
69627 rm -f conftest.$ac_objext
69628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69629 (eval $ac_compile) 2>conftest.er1
69630 ac_status=$?
69631 grep -v '^ *+' conftest.er1 >conftest.err
69632 rm -f conftest.er1
69633 cat conftest.err >&5
69634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69635 (exit $ac_status); } &&
69636 { ac_try='test -z "$ac_cxx_werror_flag"
69637 || test ! -s conftest.err'
69638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69639 (eval $ac_try) 2>&5
69640 ac_status=$?
69641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69642 (exit $ac_status); }; } &&
69643 { ac_try='test -s conftest.$ac_objext'
69644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69645 (eval $ac_try) 2>&5
69646 ac_status=$?
69647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69648 (exit $ac_status); }; }; then
69649 glibcxx_cv_func__float_round_use=yes
69650 else
69651 echo "$as_me: failed program was:" >&5
69652 sed 's/^/| /' conftest.$ac_ext >&5
69653
69654 glibcxx_cv_func__float_round_use=no
69655 fi
69656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69657 ac_ext=c
69658 ac_cpp='$CPP $CPPFLAGS'
69659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69662
69663 fi
69664
69665 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
69666 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
69667 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
69668
69669
69670 for ac_func in _ceilf _floorf
69671 do
69672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69673 echo "$as_me:$LINENO: checking for $ac_func" >&5
69674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69675 if eval "test \"\${$as_ac_var+set}\" = set"; then
69676 echo $ECHO_N "(cached) $ECHO_C" >&6
69677 else
69678 if test x$gcc_no_link = xyes; then
69679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69681 { (exit 1); exit 1; }; }
69682 fi
69683 cat >conftest.$ac_ext <<_ACEOF
69684 /* confdefs.h. */
69685 _ACEOF
69686 cat confdefs.h >>conftest.$ac_ext
69687 cat >>conftest.$ac_ext <<_ACEOF
69688 /* end confdefs.h. */
69689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69691 #define $ac_func innocuous_$ac_func
69692
69693 /* System header to define __stub macros and hopefully few prototypes,
69694 which can conflict with char $ac_func (); below.
69695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69696 <limits.h> exists even on freestanding compilers. */
69697
69698 #ifdef __STDC__
69699 # include <limits.h>
69700 #else
69701 # include <assert.h>
69702 #endif
69703
69704 #undef $ac_func
69705
69706 /* Override any gcc2 internal prototype to avoid an error. */
69707 #ifdef __cplusplus
69708 extern "C"
69709 {
69710 #endif
69711 /* We use char because int might match the return type of a gcc2
69712 builtin and then its argument prototype would still apply. */
69713 char $ac_func ();
69714 /* The GNU C library defines this for functions which it implements
69715 to always fail with ENOSYS. Some functions are actually named
69716 something starting with __ and the normal name is an alias. */
69717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69718 choke me
69719 #else
69720 char (*f) () = $ac_func;
69721 #endif
69722 #ifdef __cplusplus
69723 }
69724 #endif
69725
69726 int
69727 main ()
69728 {
69729 return f != $ac_func;
69730 ;
69731 return 0;
69732 }
69733 _ACEOF
69734 rm -f conftest.$ac_objext conftest$ac_exeext
69735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69736 (eval $ac_link) 2>conftest.er1
69737 ac_status=$?
69738 grep -v '^ *+' conftest.er1 >conftest.err
69739 rm -f conftest.er1
69740 cat conftest.err >&5
69741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69742 (exit $ac_status); } &&
69743 { ac_try='test -z "$ac_c_werror_flag"
69744 || test ! -s conftest.err'
69745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69746 (eval $ac_try) 2>&5
69747 ac_status=$?
69748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69749 (exit $ac_status); }; } &&
69750 { ac_try='test -s conftest$ac_exeext'
69751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69752 (eval $ac_try) 2>&5
69753 ac_status=$?
69754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69755 (exit $ac_status); }; }; then
69756 eval "$as_ac_var=yes"
69757 else
69758 echo "$as_me: failed program was:" >&5
69759 sed 's/^/| /' conftest.$ac_ext >&5
69760
69761 eval "$as_ac_var=no"
69762 fi
69763 rm -f conftest.err conftest.$ac_objext \
69764 conftest$ac_exeext conftest.$ac_ext
69765 fi
69766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69768 if test `eval echo '${'$as_ac_var'}'` = yes; then
69769 cat >>confdefs.h <<_ACEOF
69770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69771 _ACEOF
69772
69773 fi
69774 done
69775
69776 fi
69777 fi
69778
69779
69780
69781
69782
69783
69784
69785
69786 echo "$as_me:$LINENO: checking for expf declaration" >&5
69787 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
69788 if test x${glibcxx_cv_func_expf_use+set} != xset; then
69789 if test "${glibcxx_cv_func_expf_use+set}" = set; then
69790 echo $ECHO_N "(cached) $ECHO_C" >&6
69791 else
69792
69793
69794
69795 ac_ext=cc
69796 ac_cpp='$CXXCPP $CPPFLAGS'
69797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69800
69801 cat >conftest.$ac_ext <<_ACEOF
69802 /* confdefs.h. */
69803 _ACEOF
69804 cat confdefs.h >>conftest.$ac_ext
69805 cat >>conftest.$ac_ext <<_ACEOF
69806 /* end confdefs.h. */
69807 #include <math.h>
69808 #ifdef HAVE_IEEEFP_H
69809 #include <ieeefp.h>
69810 #endif
69811
69812 int
69813 main ()
69814 {
69815 expf(0);
69816 ;
69817 return 0;
69818 }
69819 _ACEOF
69820 rm -f conftest.$ac_objext
69821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69822 (eval $ac_compile) 2>conftest.er1
69823 ac_status=$?
69824 grep -v '^ *+' conftest.er1 >conftest.err
69825 rm -f conftest.er1
69826 cat conftest.err >&5
69827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69828 (exit $ac_status); } &&
69829 { ac_try='test -z "$ac_cxx_werror_flag"
69830 || test ! -s conftest.err'
69831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69832 (eval $ac_try) 2>&5
69833 ac_status=$?
69834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69835 (exit $ac_status); }; } &&
69836 { ac_try='test -s conftest.$ac_objext'
69837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69838 (eval $ac_try) 2>&5
69839 ac_status=$?
69840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69841 (exit $ac_status); }; }; then
69842 glibcxx_cv_func_expf_use=yes
69843 else
69844 echo "$as_me: failed program was:" >&5
69845 sed 's/^/| /' conftest.$ac_ext >&5
69846
69847 glibcxx_cv_func_expf_use=no
69848 fi
69849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69850 ac_ext=c
69851 ac_cpp='$CPP $CPPFLAGS'
69852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69855
69856
69857 fi
69858
69859 fi
69860 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
69861 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
69862
69863 if test x$glibcxx_cv_func_expf_use = x"yes"; then
69864
69865 for ac_func in expf
69866 do
69867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69868 echo "$as_me:$LINENO: checking for $ac_func" >&5
69869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69870 if eval "test \"\${$as_ac_var+set}\" = set"; then
69871 echo $ECHO_N "(cached) $ECHO_C" >&6
69872 else
69873 if test x$gcc_no_link = xyes; then
69874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69876 { (exit 1); exit 1; }; }
69877 fi
69878 cat >conftest.$ac_ext <<_ACEOF
69879 /* confdefs.h. */
69880 _ACEOF
69881 cat confdefs.h >>conftest.$ac_ext
69882 cat >>conftest.$ac_ext <<_ACEOF
69883 /* end confdefs.h. */
69884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69886 #define $ac_func innocuous_$ac_func
69887
69888 /* System header to define __stub macros and hopefully few prototypes,
69889 which can conflict with char $ac_func (); below.
69890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69891 <limits.h> exists even on freestanding compilers. */
69892
69893 #ifdef __STDC__
69894 # include <limits.h>
69895 #else
69896 # include <assert.h>
69897 #endif
69898
69899 #undef $ac_func
69900
69901 /* Override any gcc2 internal prototype to avoid an error. */
69902 #ifdef __cplusplus
69903 extern "C"
69904 {
69905 #endif
69906 /* We use char because int might match the return type of a gcc2
69907 builtin and then its argument prototype would still apply. */
69908 char $ac_func ();
69909 /* The GNU C library defines this for functions which it implements
69910 to always fail with ENOSYS. Some functions are actually named
69911 something starting with __ and the normal name is an alias. */
69912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69913 choke me
69914 #else
69915 char (*f) () = $ac_func;
69916 #endif
69917 #ifdef __cplusplus
69918 }
69919 #endif
69920
69921 int
69922 main ()
69923 {
69924 return f != $ac_func;
69925 ;
69926 return 0;
69927 }
69928 _ACEOF
69929 rm -f conftest.$ac_objext conftest$ac_exeext
69930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69931 (eval $ac_link) 2>conftest.er1
69932 ac_status=$?
69933 grep -v '^ *+' conftest.er1 >conftest.err
69934 rm -f conftest.er1
69935 cat conftest.err >&5
69936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69937 (exit $ac_status); } &&
69938 { ac_try='test -z "$ac_c_werror_flag"
69939 || test ! -s conftest.err'
69940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69941 (eval $ac_try) 2>&5
69942 ac_status=$?
69943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69944 (exit $ac_status); }; } &&
69945 { ac_try='test -s conftest$ac_exeext'
69946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69947 (eval $ac_try) 2>&5
69948 ac_status=$?
69949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69950 (exit $ac_status); }; }; then
69951 eval "$as_ac_var=yes"
69952 else
69953 echo "$as_me: failed program was:" >&5
69954 sed 's/^/| /' conftest.$ac_ext >&5
69955
69956 eval "$as_ac_var=no"
69957 fi
69958 rm -f conftest.err conftest.$ac_objext \
69959 conftest$ac_exeext conftest.$ac_ext
69960 fi
69961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69963 if test `eval echo '${'$as_ac_var'}'` = yes; then
69964 cat >>confdefs.h <<_ACEOF
69965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69966 _ACEOF
69967
69968 fi
69969 done
69970
69971 else
69972
69973 echo "$as_me:$LINENO: checking for _expf declaration" >&5
69974 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
69975 if test x${glibcxx_cv_func__expf_use+set} != xset; then
69976 if test "${glibcxx_cv_func__expf_use+set}" = set; then
69977 echo $ECHO_N "(cached) $ECHO_C" >&6
69978 else
69979
69980
69981
69982 ac_ext=cc
69983 ac_cpp='$CXXCPP $CPPFLAGS'
69984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69987
69988 cat >conftest.$ac_ext <<_ACEOF
69989 /* confdefs.h. */
69990 _ACEOF
69991 cat confdefs.h >>conftest.$ac_ext
69992 cat >>conftest.$ac_ext <<_ACEOF
69993 /* end confdefs.h. */
69994 #include <math.h>
69995 #ifdef HAVE_IEEEFP_H
69996 #include <ieeefp.h>
69997 #endif
69998
69999 int
70000 main ()
70001 {
70002 _expf(0);
70003 ;
70004 return 0;
70005 }
70006 _ACEOF
70007 rm -f conftest.$ac_objext
70008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70009 (eval $ac_compile) 2>conftest.er1
70010 ac_status=$?
70011 grep -v '^ *+' conftest.er1 >conftest.err
70012 rm -f conftest.er1
70013 cat conftest.err >&5
70014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70015 (exit $ac_status); } &&
70016 { ac_try='test -z "$ac_cxx_werror_flag"
70017 || test ! -s conftest.err'
70018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70019 (eval $ac_try) 2>&5
70020 ac_status=$?
70021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70022 (exit $ac_status); }; } &&
70023 { ac_try='test -s conftest.$ac_objext'
70024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70025 (eval $ac_try) 2>&5
70026 ac_status=$?
70027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70028 (exit $ac_status); }; }; then
70029 glibcxx_cv_func__expf_use=yes
70030 else
70031 echo "$as_me: failed program was:" >&5
70032 sed 's/^/| /' conftest.$ac_ext >&5
70033
70034 glibcxx_cv_func__expf_use=no
70035 fi
70036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70037 ac_ext=c
70038 ac_cpp='$CPP $CPPFLAGS'
70039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70042
70043
70044 fi
70045
70046 fi
70047 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
70048 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
70049
70050 if test x$glibcxx_cv_func__expf_use = x"yes"; then
70051
70052 for ac_func in _expf
70053 do
70054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70055 echo "$as_me:$LINENO: checking for $ac_func" >&5
70056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70057 if eval "test \"\${$as_ac_var+set}\" = set"; then
70058 echo $ECHO_N "(cached) $ECHO_C" >&6
70059 else
70060 if test x$gcc_no_link = xyes; then
70061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70063 { (exit 1); exit 1; }; }
70064 fi
70065 cat >conftest.$ac_ext <<_ACEOF
70066 /* confdefs.h. */
70067 _ACEOF
70068 cat confdefs.h >>conftest.$ac_ext
70069 cat >>conftest.$ac_ext <<_ACEOF
70070 /* end confdefs.h. */
70071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70073 #define $ac_func innocuous_$ac_func
70074
70075 /* System header to define __stub macros and hopefully few prototypes,
70076 which can conflict with char $ac_func (); below.
70077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70078 <limits.h> exists even on freestanding compilers. */
70079
70080 #ifdef __STDC__
70081 # include <limits.h>
70082 #else
70083 # include <assert.h>
70084 #endif
70085
70086 #undef $ac_func
70087
70088 /* Override any gcc2 internal prototype to avoid an error. */
70089 #ifdef __cplusplus
70090 extern "C"
70091 {
70092 #endif
70093 /* We use char because int might match the return type of a gcc2
70094 builtin and then its argument prototype would still apply. */
70095 char $ac_func ();
70096 /* The GNU C library defines this for functions which it implements
70097 to always fail with ENOSYS. Some functions are actually named
70098 something starting with __ and the normal name is an alias. */
70099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70100 choke me
70101 #else
70102 char (*f) () = $ac_func;
70103 #endif
70104 #ifdef __cplusplus
70105 }
70106 #endif
70107
70108 int
70109 main ()
70110 {
70111 return f != $ac_func;
70112 ;
70113 return 0;
70114 }
70115 _ACEOF
70116 rm -f conftest.$ac_objext conftest$ac_exeext
70117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70118 (eval $ac_link) 2>conftest.er1
70119 ac_status=$?
70120 grep -v '^ *+' conftest.er1 >conftest.err
70121 rm -f conftest.er1
70122 cat conftest.err >&5
70123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70124 (exit $ac_status); } &&
70125 { ac_try='test -z "$ac_c_werror_flag"
70126 || test ! -s conftest.err'
70127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70128 (eval $ac_try) 2>&5
70129 ac_status=$?
70130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70131 (exit $ac_status); }; } &&
70132 { ac_try='test -s conftest$ac_exeext'
70133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70134 (eval $ac_try) 2>&5
70135 ac_status=$?
70136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70137 (exit $ac_status); }; }; then
70138 eval "$as_ac_var=yes"
70139 else
70140 echo "$as_me: failed program was:" >&5
70141 sed 's/^/| /' conftest.$ac_ext >&5
70142
70143 eval "$as_ac_var=no"
70144 fi
70145 rm -f conftest.err conftest.$ac_objext \
70146 conftest$ac_exeext conftest.$ac_ext
70147 fi
70148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70150 if test `eval echo '${'$as_ac_var'}'` = yes; then
70151 cat >>confdefs.h <<_ACEOF
70152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70153 _ACEOF
70154
70155 fi
70156 done
70157
70158 fi
70159 fi
70160
70161
70162
70163
70164
70165
70166 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
70167 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
70168 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
70169 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
70170 echo $ECHO_N "(cached) $ECHO_C" >&6
70171 else
70172
70173
70174
70175 ac_ext=cc
70176 ac_cpp='$CXXCPP $CPPFLAGS'
70177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70180
70181 cat >conftest.$ac_ext <<_ACEOF
70182 /* confdefs.h. */
70183 _ACEOF
70184 cat confdefs.h >>conftest.$ac_ext
70185 cat >>conftest.$ac_ext <<_ACEOF
70186 /* end confdefs.h. */
70187 #include <math.h>
70188 #ifdef HAVE_IEEEFP_H
70189 #include <ieeefp.h>
70190 #endif
70191
70192 int
70193 main ()
70194 {
70195 isnanf(0);
70196 ;
70197 return 0;
70198 }
70199 _ACEOF
70200 rm -f conftest.$ac_objext
70201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70202 (eval $ac_compile) 2>conftest.er1
70203 ac_status=$?
70204 grep -v '^ *+' conftest.er1 >conftest.err
70205 rm -f conftest.er1
70206 cat conftest.err >&5
70207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70208 (exit $ac_status); } &&
70209 { ac_try='test -z "$ac_cxx_werror_flag"
70210 || test ! -s conftest.err'
70211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70212 (eval $ac_try) 2>&5
70213 ac_status=$?
70214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70215 (exit $ac_status); }; } &&
70216 { ac_try='test -s conftest.$ac_objext'
70217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70218 (eval $ac_try) 2>&5
70219 ac_status=$?
70220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70221 (exit $ac_status); }; }; then
70222 glibcxx_cv_func_isnanf_use=yes
70223 else
70224 echo "$as_me: failed program was:" >&5
70225 sed 's/^/| /' conftest.$ac_ext >&5
70226
70227 glibcxx_cv_func_isnanf_use=no
70228 fi
70229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70230 ac_ext=c
70231 ac_cpp='$CPP $CPPFLAGS'
70232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70235
70236
70237 fi
70238
70239 fi
70240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
70241 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
70242
70243 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
70244
70245 for ac_func in isnanf
70246 do
70247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70248 echo "$as_me:$LINENO: checking for $ac_func" >&5
70249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70250 if eval "test \"\${$as_ac_var+set}\" = set"; then
70251 echo $ECHO_N "(cached) $ECHO_C" >&6
70252 else
70253 if test x$gcc_no_link = xyes; then
70254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70256 { (exit 1); exit 1; }; }
70257 fi
70258 cat >conftest.$ac_ext <<_ACEOF
70259 /* confdefs.h. */
70260 _ACEOF
70261 cat confdefs.h >>conftest.$ac_ext
70262 cat >>conftest.$ac_ext <<_ACEOF
70263 /* end confdefs.h. */
70264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70266 #define $ac_func innocuous_$ac_func
70267
70268 /* System header to define __stub macros and hopefully few prototypes,
70269 which can conflict with char $ac_func (); below.
70270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70271 <limits.h> exists even on freestanding compilers. */
70272
70273 #ifdef __STDC__
70274 # include <limits.h>
70275 #else
70276 # include <assert.h>
70277 #endif
70278
70279 #undef $ac_func
70280
70281 /* Override any gcc2 internal prototype to avoid an error. */
70282 #ifdef __cplusplus
70283 extern "C"
70284 {
70285 #endif
70286 /* We use char because int might match the return type of a gcc2
70287 builtin and then its argument prototype would still apply. */
70288 char $ac_func ();
70289 /* The GNU C library defines this for functions which it implements
70290 to always fail with ENOSYS. Some functions are actually named
70291 something starting with __ and the normal name is an alias. */
70292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70293 choke me
70294 #else
70295 char (*f) () = $ac_func;
70296 #endif
70297 #ifdef __cplusplus
70298 }
70299 #endif
70300
70301 int
70302 main ()
70303 {
70304 return f != $ac_func;
70305 ;
70306 return 0;
70307 }
70308 _ACEOF
70309 rm -f conftest.$ac_objext conftest$ac_exeext
70310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70311 (eval $ac_link) 2>conftest.er1
70312 ac_status=$?
70313 grep -v '^ *+' conftest.er1 >conftest.err
70314 rm -f conftest.er1
70315 cat conftest.err >&5
70316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70317 (exit $ac_status); } &&
70318 { ac_try='test -z "$ac_c_werror_flag"
70319 || test ! -s conftest.err'
70320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70321 (eval $ac_try) 2>&5
70322 ac_status=$?
70323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70324 (exit $ac_status); }; } &&
70325 { ac_try='test -s conftest$ac_exeext'
70326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70327 (eval $ac_try) 2>&5
70328 ac_status=$?
70329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70330 (exit $ac_status); }; }; then
70331 eval "$as_ac_var=yes"
70332 else
70333 echo "$as_me: failed program was:" >&5
70334 sed 's/^/| /' conftest.$ac_ext >&5
70335
70336 eval "$as_ac_var=no"
70337 fi
70338 rm -f conftest.err conftest.$ac_objext \
70339 conftest$ac_exeext conftest.$ac_ext
70340 fi
70341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70343 if test `eval echo '${'$as_ac_var'}'` = yes; then
70344 cat >>confdefs.h <<_ACEOF
70345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70346 _ACEOF
70347
70348 fi
70349 done
70350
70351 else
70352
70353 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
70354 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
70355 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
70356 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
70357 echo $ECHO_N "(cached) $ECHO_C" >&6
70358 else
70359
70360
70361
70362 ac_ext=cc
70363 ac_cpp='$CXXCPP $CPPFLAGS'
70364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70367
70368 cat >conftest.$ac_ext <<_ACEOF
70369 /* confdefs.h. */
70370 _ACEOF
70371 cat confdefs.h >>conftest.$ac_ext
70372 cat >>conftest.$ac_ext <<_ACEOF
70373 /* end confdefs.h. */
70374 #include <math.h>
70375 #ifdef HAVE_IEEEFP_H
70376 #include <ieeefp.h>
70377 #endif
70378
70379 int
70380 main ()
70381 {
70382 _isnanf(0);
70383 ;
70384 return 0;
70385 }
70386 _ACEOF
70387 rm -f conftest.$ac_objext
70388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70389 (eval $ac_compile) 2>conftest.er1
70390 ac_status=$?
70391 grep -v '^ *+' conftest.er1 >conftest.err
70392 rm -f conftest.er1
70393 cat conftest.err >&5
70394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70395 (exit $ac_status); } &&
70396 { ac_try='test -z "$ac_cxx_werror_flag"
70397 || test ! -s conftest.err'
70398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70399 (eval $ac_try) 2>&5
70400 ac_status=$?
70401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70402 (exit $ac_status); }; } &&
70403 { ac_try='test -s conftest.$ac_objext'
70404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70405 (eval $ac_try) 2>&5
70406 ac_status=$?
70407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70408 (exit $ac_status); }; }; then
70409 glibcxx_cv_func__isnanf_use=yes
70410 else
70411 echo "$as_me: failed program was:" >&5
70412 sed 's/^/| /' conftest.$ac_ext >&5
70413
70414 glibcxx_cv_func__isnanf_use=no
70415 fi
70416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70417 ac_ext=c
70418 ac_cpp='$CPP $CPPFLAGS'
70419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70422
70423
70424 fi
70425
70426 fi
70427 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
70428 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
70429
70430 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
70431
70432 for ac_func in _isnanf
70433 do
70434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70435 echo "$as_me:$LINENO: checking for $ac_func" >&5
70436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70437 if eval "test \"\${$as_ac_var+set}\" = set"; then
70438 echo $ECHO_N "(cached) $ECHO_C" >&6
70439 else
70440 if test x$gcc_no_link = xyes; then
70441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70443 { (exit 1); exit 1; }; }
70444 fi
70445 cat >conftest.$ac_ext <<_ACEOF
70446 /* confdefs.h. */
70447 _ACEOF
70448 cat confdefs.h >>conftest.$ac_ext
70449 cat >>conftest.$ac_ext <<_ACEOF
70450 /* end confdefs.h. */
70451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70453 #define $ac_func innocuous_$ac_func
70454
70455 /* System header to define __stub macros and hopefully few prototypes,
70456 which can conflict with char $ac_func (); below.
70457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70458 <limits.h> exists even on freestanding compilers. */
70459
70460 #ifdef __STDC__
70461 # include <limits.h>
70462 #else
70463 # include <assert.h>
70464 #endif
70465
70466 #undef $ac_func
70467
70468 /* Override any gcc2 internal prototype to avoid an error. */
70469 #ifdef __cplusplus
70470 extern "C"
70471 {
70472 #endif
70473 /* We use char because int might match the return type of a gcc2
70474 builtin and then its argument prototype would still apply. */
70475 char $ac_func ();
70476 /* The GNU C library defines this for functions which it implements
70477 to always fail with ENOSYS. Some functions are actually named
70478 something starting with __ and the normal name is an alias. */
70479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70480 choke me
70481 #else
70482 char (*f) () = $ac_func;
70483 #endif
70484 #ifdef __cplusplus
70485 }
70486 #endif
70487
70488 int
70489 main ()
70490 {
70491 return f != $ac_func;
70492 ;
70493 return 0;
70494 }
70495 _ACEOF
70496 rm -f conftest.$ac_objext conftest$ac_exeext
70497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70498 (eval $ac_link) 2>conftest.er1
70499 ac_status=$?
70500 grep -v '^ *+' conftest.er1 >conftest.err
70501 rm -f conftest.er1
70502 cat conftest.err >&5
70503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70504 (exit $ac_status); } &&
70505 { ac_try='test -z "$ac_c_werror_flag"
70506 || test ! -s conftest.err'
70507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70508 (eval $ac_try) 2>&5
70509 ac_status=$?
70510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70511 (exit $ac_status); }; } &&
70512 { ac_try='test -s conftest$ac_exeext'
70513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70514 (eval $ac_try) 2>&5
70515 ac_status=$?
70516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70517 (exit $ac_status); }; }; then
70518 eval "$as_ac_var=yes"
70519 else
70520 echo "$as_me: failed program was:" >&5
70521 sed 's/^/| /' conftest.$ac_ext >&5
70522
70523 eval "$as_ac_var=no"
70524 fi
70525 rm -f conftest.err conftest.$ac_objext \
70526 conftest$ac_exeext conftest.$ac_ext
70527 fi
70528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70530 if test `eval echo '${'$as_ac_var'}'` = yes; then
70531 cat >>confdefs.h <<_ACEOF
70532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70533 _ACEOF
70534
70535 fi
70536 done
70537
70538 fi
70539 fi
70540
70541
70542
70543
70544
70545
70546 echo "$as_me:$LINENO: checking for isinff declaration" >&5
70547 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
70548 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
70549 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
70550 echo $ECHO_N "(cached) $ECHO_C" >&6
70551 else
70552
70553
70554
70555 ac_ext=cc
70556 ac_cpp='$CXXCPP $CPPFLAGS'
70557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70560
70561 cat >conftest.$ac_ext <<_ACEOF
70562 /* confdefs.h. */
70563 _ACEOF
70564 cat confdefs.h >>conftest.$ac_ext
70565 cat >>conftest.$ac_ext <<_ACEOF
70566 /* end confdefs.h. */
70567 #include <math.h>
70568 #ifdef HAVE_IEEEFP_H
70569 #include <ieeefp.h>
70570 #endif
70571
70572 int
70573 main ()
70574 {
70575 isinff(0);
70576 ;
70577 return 0;
70578 }
70579 _ACEOF
70580 rm -f conftest.$ac_objext
70581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70582 (eval $ac_compile) 2>conftest.er1
70583 ac_status=$?
70584 grep -v '^ *+' conftest.er1 >conftest.err
70585 rm -f conftest.er1
70586 cat conftest.err >&5
70587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70588 (exit $ac_status); } &&
70589 { ac_try='test -z "$ac_cxx_werror_flag"
70590 || test ! -s conftest.err'
70591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70592 (eval $ac_try) 2>&5
70593 ac_status=$?
70594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70595 (exit $ac_status); }; } &&
70596 { ac_try='test -s conftest.$ac_objext'
70597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70598 (eval $ac_try) 2>&5
70599 ac_status=$?
70600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70601 (exit $ac_status); }; }; then
70602 glibcxx_cv_func_isinff_use=yes
70603 else
70604 echo "$as_me: failed program was:" >&5
70605 sed 's/^/| /' conftest.$ac_ext >&5
70606
70607 glibcxx_cv_func_isinff_use=no
70608 fi
70609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70610 ac_ext=c
70611 ac_cpp='$CPP $CPPFLAGS'
70612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70615
70616
70617 fi
70618
70619 fi
70620 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
70621 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
70622
70623 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
70624
70625 for ac_func in isinff
70626 do
70627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70628 echo "$as_me:$LINENO: checking for $ac_func" >&5
70629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70630 if eval "test \"\${$as_ac_var+set}\" = set"; then
70631 echo $ECHO_N "(cached) $ECHO_C" >&6
70632 else
70633 if test x$gcc_no_link = xyes; then
70634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70636 { (exit 1); exit 1; }; }
70637 fi
70638 cat >conftest.$ac_ext <<_ACEOF
70639 /* confdefs.h. */
70640 _ACEOF
70641 cat confdefs.h >>conftest.$ac_ext
70642 cat >>conftest.$ac_ext <<_ACEOF
70643 /* end confdefs.h. */
70644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70646 #define $ac_func innocuous_$ac_func
70647
70648 /* System header to define __stub macros and hopefully few prototypes,
70649 which can conflict with char $ac_func (); below.
70650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70651 <limits.h> exists even on freestanding compilers. */
70652
70653 #ifdef __STDC__
70654 # include <limits.h>
70655 #else
70656 # include <assert.h>
70657 #endif
70658
70659 #undef $ac_func
70660
70661 /* Override any gcc2 internal prototype to avoid an error. */
70662 #ifdef __cplusplus
70663 extern "C"
70664 {
70665 #endif
70666 /* We use char because int might match the return type of a gcc2
70667 builtin and then its argument prototype would still apply. */
70668 char $ac_func ();
70669 /* The GNU C library defines this for functions which it implements
70670 to always fail with ENOSYS. Some functions are actually named
70671 something starting with __ and the normal name is an alias. */
70672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70673 choke me
70674 #else
70675 char (*f) () = $ac_func;
70676 #endif
70677 #ifdef __cplusplus
70678 }
70679 #endif
70680
70681 int
70682 main ()
70683 {
70684 return f != $ac_func;
70685 ;
70686 return 0;
70687 }
70688 _ACEOF
70689 rm -f conftest.$ac_objext conftest$ac_exeext
70690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70691 (eval $ac_link) 2>conftest.er1
70692 ac_status=$?
70693 grep -v '^ *+' conftest.er1 >conftest.err
70694 rm -f conftest.er1
70695 cat conftest.err >&5
70696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70697 (exit $ac_status); } &&
70698 { ac_try='test -z "$ac_c_werror_flag"
70699 || test ! -s conftest.err'
70700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70701 (eval $ac_try) 2>&5
70702 ac_status=$?
70703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70704 (exit $ac_status); }; } &&
70705 { ac_try='test -s conftest$ac_exeext'
70706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70707 (eval $ac_try) 2>&5
70708 ac_status=$?
70709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70710 (exit $ac_status); }; }; then
70711 eval "$as_ac_var=yes"
70712 else
70713 echo "$as_me: failed program was:" >&5
70714 sed 's/^/| /' conftest.$ac_ext >&5
70715
70716 eval "$as_ac_var=no"
70717 fi
70718 rm -f conftest.err conftest.$ac_objext \
70719 conftest$ac_exeext conftest.$ac_ext
70720 fi
70721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70723 if test `eval echo '${'$as_ac_var'}'` = yes; then
70724 cat >>confdefs.h <<_ACEOF
70725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70726 _ACEOF
70727
70728 fi
70729 done
70730
70731 else
70732
70733 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
70734 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
70735 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
70736 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
70737 echo $ECHO_N "(cached) $ECHO_C" >&6
70738 else
70739
70740
70741
70742 ac_ext=cc
70743 ac_cpp='$CXXCPP $CPPFLAGS'
70744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70747
70748 cat >conftest.$ac_ext <<_ACEOF
70749 /* confdefs.h. */
70750 _ACEOF
70751 cat confdefs.h >>conftest.$ac_ext
70752 cat >>conftest.$ac_ext <<_ACEOF
70753 /* end confdefs.h. */
70754 #include <math.h>
70755 #ifdef HAVE_IEEEFP_H
70756 #include <ieeefp.h>
70757 #endif
70758
70759 int
70760 main ()
70761 {
70762 _isinff(0);
70763 ;
70764 return 0;
70765 }
70766 _ACEOF
70767 rm -f conftest.$ac_objext
70768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70769 (eval $ac_compile) 2>conftest.er1
70770 ac_status=$?
70771 grep -v '^ *+' conftest.er1 >conftest.err
70772 rm -f conftest.er1
70773 cat conftest.err >&5
70774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70775 (exit $ac_status); } &&
70776 { ac_try='test -z "$ac_cxx_werror_flag"
70777 || test ! -s conftest.err'
70778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70779 (eval $ac_try) 2>&5
70780 ac_status=$?
70781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70782 (exit $ac_status); }; } &&
70783 { ac_try='test -s conftest.$ac_objext'
70784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70785 (eval $ac_try) 2>&5
70786 ac_status=$?
70787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70788 (exit $ac_status); }; }; then
70789 glibcxx_cv_func__isinff_use=yes
70790 else
70791 echo "$as_me: failed program was:" >&5
70792 sed 's/^/| /' conftest.$ac_ext >&5
70793
70794 glibcxx_cv_func__isinff_use=no
70795 fi
70796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70797 ac_ext=c
70798 ac_cpp='$CPP $CPPFLAGS'
70799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70802
70803
70804 fi
70805
70806 fi
70807 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
70808 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
70809
70810 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
70811
70812 for ac_func in _isinff
70813 do
70814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70815 echo "$as_me:$LINENO: checking for $ac_func" >&5
70816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70817 if eval "test \"\${$as_ac_var+set}\" = set"; then
70818 echo $ECHO_N "(cached) $ECHO_C" >&6
70819 else
70820 if test x$gcc_no_link = xyes; then
70821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70823 { (exit 1); exit 1; }; }
70824 fi
70825 cat >conftest.$ac_ext <<_ACEOF
70826 /* confdefs.h. */
70827 _ACEOF
70828 cat confdefs.h >>conftest.$ac_ext
70829 cat >>conftest.$ac_ext <<_ACEOF
70830 /* end confdefs.h. */
70831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70833 #define $ac_func innocuous_$ac_func
70834
70835 /* System header to define __stub macros and hopefully few prototypes,
70836 which can conflict with char $ac_func (); below.
70837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70838 <limits.h> exists even on freestanding compilers. */
70839
70840 #ifdef __STDC__
70841 # include <limits.h>
70842 #else
70843 # include <assert.h>
70844 #endif
70845
70846 #undef $ac_func
70847
70848 /* Override any gcc2 internal prototype to avoid an error. */
70849 #ifdef __cplusplus
70850 extern "C"
70851 {
70852 #endif
70853 /* We use char because int might match the return type of a gcc2
70854 builtin and then its argument prototype would still apply. */
70855 char $ac_func ();
70856 /* The GNU C library defines this for functions which it implements
70857 to always fail with ENOSYS. Some functions are actually named
70858 something starting with __ and the normal name is an alias. */
70859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70860 choke me
70861 #else
70862 char (*f) () = $ac_func;
70863 #endif
70864 #ifdef __cplusplus
70865 }
70866 #endif
70867
70868 int
70869 main ()
70870 {
70871 return f != $ac_func;
70872 ;
70873 return 0;
70874 }
70875 _ACEOF
70876 rm -f conftest.$ac_objext conftest$ac_exeext
70877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70878 (eval $ac_link) 2>conftest.er1
70879 ac_status=$?
70880 grep -v '^ *+' conftest.er1 >conftest.err
70881 rm -f conftest.er1
70882 cat conftest.err >&5
70883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70884 (exit $ac_status); } &&
70885 { ac_try='test -z "$ac_c_werror_flag"
70886 || test ! -s conftest.err'
70887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70888 (eval $ac_try) 2>&5
70889 ac_status=$?
70890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70891 (exit $ac_status); }; } &&
70892 { ac_try='test -s conftest$ac_exeext'
70893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70894 (eval $ac_try) 2>&5
70895 ac_status=$?
70896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70897 (exit $ac_status); }; }; then
70898 eval "$as_ac_var=yes"
70899 else
70900 echo "$as_me: failed program was:" >&5
70901 sed 's/^/| /' conftest.$ac_ext >&5
70902
70903 eval "$as_ac_var=no"
70904 fi
70905 rm -f conftest.err conftest.$ac_objext \
70906 conftest$ac_exeext conftest.$ac_ext
70907 fi
70908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70910 if test `eval echo '${'$as_ac_var'}'` = yes; then
70911 cat >>confdefs.h <<_ACEOF
70912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70913 _ACEOF
70914
70915 fi
70916 done
70917
70918 fi
70919 fi
70920
70921
70922
70923
70924
70925
70926 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
70927 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
70928 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
70929 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
70930 echo $ECHO_N "(cached) $ECHO_C" >&6
70931 else
70932
70933
70934
70935 ac_ext=cc
70936 ac_cpp='$CXXCPP $CPPFLAGS'
70937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70940
70941 cat >conftest.$ac_ext <<_ACEOF
70942 /* confdefs.h. */
70943 _ACEOF
70944 cat confdefs.h >>conftest.$ac_ext
70945 cat >>conftest.$ac_ext <<_ACEOF
70946 /* end confdefs.h. */
70947 #include <math.h>
70948 int
70949 main ()
70950 {
70951 atan2f(0, 0);
70952 ;
70953 return 0;
70954 }
70955 _ACEOF
70956 rm -f conftest.$ac_objext
70957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70958 (eval $ac_compile) 2>conftest.er1
70959 ac_status=$?
70960 grep -v '^ *+' conftest.er1 >conftest.err
70961 rm -f conftest.er1
70962 cat conftest.err >&5
70963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70964 (exit $ac_status); } &&
70965 { ac_try='test -z "$ac_cxx_werror_flag"
70966 || test ! -s conftest.err'
70967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70968 (eval $ac_try) 2>&5
70969 ac_status=$?
70970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70971 (exit $ac_status); }; } &&
70972 { ac_try='test -s conftest.$ac_objext'
70973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70974 (eval $ac_try) 2>&5
70975 ac_status=$?
70976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70977 (exit $ac_status); }; }; then
70978 glibcxx_cv_func_atan2f_use=yes
70979 else
70980 echo "$as_me: failed program was:" >&5
70981 sed 's/^/| /' conftest.$ac_ext >&5
70982
70983 glibcxx_cv_func_atan2f_use=no
70984 fi
70985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70986 ac_ext=c
70987 ac_cpp='$CPP $CPPFLAGS'
70988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70991
70992
70993 fi
70994
70995 fi
70996 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
70997 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
70998
70999 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
71000
71001 for ac_func in atan2f
71002 do
71003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71004 echo "$as_me:$LINENO: checking for $ac_func" >&5
71005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71006 if eval "test \"\${$as_ac_var+set}\" = set"; then
71007 echo $ECHO_N "(cached) $ECHO_C" >&6
71008 else
71009 if test x$gcc_no_link = xyes; then
71010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71012 { (exit 1); exit 1; }; }
71013 fi
71014 cat >conftest.$ac_ext <<_ACEOF
71015 /* confdefs.h. */
71016 _ACEOF
71017 cat confdefs.h >>conftest.$ac_ext
71018 cat >>conftest.$ac_ext <<_ACEOF
71019 /* end confdefs.h. */
71020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71022 #define $ac_func innocuous_$ac_func
71023
71024 /* System header to define __stub macros and hopefully few prototypes,
71025 which can conflict with char $ac_func (); below.
71026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71027 <limits.h> exists even on freestanding compilers. */
71028
71029 #ifdef __STDC__
71030 # include <limits.h>
71031 #else
71032 # include <assert.h>
71033 #endif
71034
71035 #undef $ac_func
71036
71037 /* Override any gcc2 internal prototype to avoid an error. */
71038 #ifdef __cplusplus
71039 extern "C"
71040 {
71041 #endif
71042 /* We use char because int might match the return type of a gcc2
71043 builtin and then its argument prototype would still apply. */
71044 char $ac_func ();
71045 /* The GNU C library defines this for functions which it implements
71046 to always fail with ENOSYS. Some functions are actually named
71047 something starting with __ and the normal name is an alias. */
71048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71049 choke me
71050 #else
71051 char (*f) () = $ac_func;
71052 #endif
71053 #ifdef __cplusplus
71054 }
71055 #endif
71056
71057 int
71058 main ()
71059 {
71060 return f != $ac_func;
71061 ;
71062 return 0;
71063 }
71064 _ACEOF
71065 rm -f conftest.$ac_objext conftest$ac_exeext
71066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71067 (eval $ac_link) 2>conftest.er1
71068 ac_status=$?
71069 grep -v '^ *+' conftest.er1 >conftest.err
71070 rm -f conftest.er1
71071 cat conftest.err >&5
71072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71073 (exit $ac_status); } &&
71074 { ac_try='test -z "$ac_c_werror_flag"
71075 || test ! -s conftest.err'
71076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71077 (eval $ac_try) 2>&5
71078 ac_status=$?
71079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71080 (exit $ac_status); }; } &&
71081 { ac_try='test -s conftest$ac_exeext'
71082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71083 (eval $ac_try) 2>&5
71084 ac_status=$?
71085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71086 (exit $ac_status); }; }; then
71087 eval "$as_ac_var=yes"
71088 else
71089 echo "$as_me: failed program was:" >&5
71090 sed 's/^/| /' conftest.$ac_ext >&5
71091
71092 eval "$as_ac_var=no"
71093 fi
71094 rm -f conftest.err conftest.$ac_objext \
71095 conftest$ac_exeext conftest.$ac_ext
71096 fi
71097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71099 if test `eval echo '${'$as_ac_var'}'` = yes; then
71100 cat >>confdefs.h <<_ACEOF
71101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71102 _ACEOF
71103
71104 fi
71105 done
71106
71107 else
71108
71109 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
71110 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
71111 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
71112 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
71113 echo $ECHO_N "(cached) $ECHO_C" >&6
71114 else
71115
71116
71117
71118 ac_ext=cc
71119 ac_cpp='$CXXCPP $CPPFLAGS'
71120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71123
71124 cat >conftest.$ac_ext <<_ACEOF
71125 /* confdefs.h. */
71126 _ACEOF
71127 cat confdefs.h >>conftest.$ac_ext
71128 cat >>conftest.$ac_ext <<_ACEOF
71129 /* end confdefs.h. */
71130 #include <math.h>
71131 int
71132 main ()
71133 {
71134 _atan2f(0, 0);
71135 ;
71136 return 0;
71137 }
71138 _ACEOF
71139 rm -f conftest.$ac_objext
71140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71141 (eval $ac_compile) 2>conftest.er1
71142 ac_status=$?
71143 grep -v '^ *+' conftest.er1 >conftest.err
71144 rm -f conftest.er1
71145 cat conftest.err >&5
71146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71147 (exit $ac_status); } &&
71148 { ac_try='test -z "$ac_cxx_werror_flag"
71149 || test ! -s conftest.err'
71150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71151 (eval $ac_try) 2>&5
71152 ac_status=$?
71153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71154 (exit $ac_status); }; } &&
71155 { ac_try='test -s conftest.$ac_objext'
71156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71157 (eval $ac_try) 2>&5
71158 ac_status=$?
71159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71160 (exit $ac_status); }; }; then
71161 glibcxx_cv_func__atan2f_use=yes
71162 else
71163 echo "$as_me: failed program was:" >&5
71164 sed 's/^/| /' conftest.$ac_ext >&5
71165
71166 glibcxx_cv_func__atan2f_use=no
71167 fi
71168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71169 ac_ext=c
71170 ac_cpp='$CPP $CPPFLAGS'
71171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71174
71175
71176 fi
71177
71178 fi
71179 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
71180 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
71181
71182 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
71183
71184 for ac_func in _atan2f
71185 do
71186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71187 echo "$as_me:$LINENO: checking for $ac_func" >&5
71188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71189 if eval "test \"\${$as_ac_var+set}\" = set"; then
71190 echo $ECHO_N "(cached) $ECHO_C" >&6
71191 else
71192 if test x$gcc_no_link = xyes; then
71193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71195 { (exit 1); exit 1; }; }
71196 fi
71197 cat >conftest.$ac_ext <<_ACEOF
71198 /* confdefs.h. */
71199 _ACEOF
71200 cat confdefs.h >>conftest.$ac_ext
71201 cat >>conftest.$ac_ext <<_ACEOF
71202 /* end confdefs.h. */
71203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71205 #define $ac_func innocuous_$ac_func
71206
71207 /* System header to define __stub macros and hopefully few prototypes,
71208 which can conflict with char $ac_func (); below.
71209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71210 <limits.h> exists even on freestanding compilers. */
71211
71212 #ifdef __STDC__
71213 # include <limits.h>
71214 #else
71215 # include <assert.h>
71216 #endif
71217
71218 #undef $ac_func
71219
71220 /* Override any gcc2 internal prototype to avoid an error. */
71221 #ifdef __cplusplus
71222 extern "C"
71223 {
71224 #endif
71225 /* We use char because int might match the return type of a gcc2
71226 builtin and then its argument prototype would still apply. */
71227 char $ac_func ();
71228 /* The GNU C library defines this for functions which it implements
71229 to always fail with ENOSYS. Some functions are actually named
71230 something starting with __ and the normal name is an alias. */
71231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71232 choke me
71233 #else
71234 char (*f) () = $ac_func;
71235 #endif
71236 #ifdef __cplusplus
71237 }
71238 #endif
71239
71240 int
71241 main ()
71242 {
71243 return f != $ac_func;
71244 ;
71245 return 0;
71246 }
71247 _ACEOF
71248 rm -f conftest.$ac_objext conftest$ac_exeext
71249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71250 (eval $ac_link) 2>conftest.er1
71251 ac_status=$?
71252 grep -v '^ *+' conftest.er1 >conftest.err
71253 rm -f conftest.er1
71254 cat conftest.err >&5
71255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71256 (exit $ac_status); } &&
71257 { ac_try='test -z "$ac_c_werror_flag"
71258 || test ! -s conftest.err'
71259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71260 (eval $ac_try) 2>&5
71261 ac_status=$?
71262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71263 (exit $ac_status); }; } &&
71264 { ac_try='test -s conftest$ac_exeext'
71265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71266 (eval $ac_try) 2>&5
71267 ac_status=$?
71268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71269 (exit $ac_status); }; }; then
71270 eval "$as_ac_var=yes"
71271 else
71272 echo "$as_me: failed program was:" >&5
71273 sed 's/^/| /' conftest.$ac_ext >&5
71274
71275 eval "$as_ac_var=no"
71276 fi
71277 rm -f conftest.err conftest.$ac_objext \
71278 conftest$ac_exeext conftest.$ac_ext
71279 fi
71280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71282 if test `eval echo '${'$as_ac_var'}'` = yes; then
71283 cat >>confdefs.h <<_ACEOF
71284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71285 _ACEOF
71286
71287 fi
71288 done
71289
71290 fi
71291 fi
71292
71293
71294
71295
71296
71297
71298 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
71299 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
71300 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
71301 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
71302 echo $ECHO_N "(cached) $ECHO_C" >&6
71303 else
71304
71305
71306
71307 ac_ext=cc
71308 ac_cpp='$CXXCPP $CPPFLAGS'
71309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71312
71313 cat >conftest.$ac_ext <<_ACEOF
71314 /* confdefs.h. */
71315 _ACEOF
71316 cat confdefs.h >>conftest.$ac_ext
71317 cat >>conftest.$ac_ext <<_ACEOF
71318 /* end confdefs.h. */
71319 #include <math.h>
71320 #ifdef HAVE_IEEEFP_H
71321 #include <ieeefp.h>
71322 #endif
71323
71324 int
71325 main ()
71326 {
71327 fabsf(0);
71328 ;
71329 return 0;
71330 }
71331 _ACEOF
71332 rm -f conftest.$ac_objext
71333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71334 (eval $ac_compile) 2>conftest.er1
71335 ac_status=$?
71336 grep -v '^ *+' conftest.er1 >conftest.err
71337 rm -f conftest.er1
71338 cat conftest.err >&5
71339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71340 (exit $ac_status); } &&
71341 { ac_try='test -z "$ac_cxx_werror_flag"
71342 || test ! -s conftest.err'
71343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71344 (eval $ac_try) 2>&5
71345 ac_status=$?
71346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71347 (exit $ac_status); }; } &&
71348 { ac_try='test -s conftest.$ac_objext'
71349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71350 (eval $ac_try) 2>&5
71351 ac_status=$?
71352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71353 (exit $ac_status); }; }; then
71354 glibcxx_cv_func_fabsf_use=yes
71355 else
71356 echo "$as_me: failed program was:" >&5
71357 sed 's/^/| /' conftest.$ac_ext >&5
71358
71359 glibcxx_cv_func_fabsf_use=no
71360 fi
71361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71362 ac_ext=c
71363 ac_cpp='$CPP $CPPFLAGS'
71364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71367
71368
71369 fi
71370
71371 fi
71372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
71373 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
71374
71375 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
71376
71377 for ac_func in fabsf
71378 do
71379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71380 echo "$as_me:$LINENO: checking for $ac_func" >&5
71381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71382 if eval "test \"\${$as_ac_var+set}\" = set"; then
71383 echo $ECHO_N "(cached) $ECHO_C" >&6
71384 else
71385 if test x$gcc_no_link = xyes; then
71386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71388 { (exit 1); exit 1; }; }
71389 fi
71390 cat >conftest.$ac_ext <<_ACEOF
71391 /* confdefs.h. */
71392 _ACEOF
71393 cat confdefs.h >>conftest.$ac_ext
71394 cat >>conftest.$ac_ext <<_ACEOF
71395 /* end confdefs.h. */
71396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71398 #define $ac_func innocuous_$ac_func
71399
71400 /* System header to define __stub macros and hopefully few prototypes,
71401 which can conflict with char $ac_func (); below.
71402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71403 <limits.h> exists even on freestanding compilers. */
71404
71405 #ifdef __STDC__
71406 # include <limits.h>
71407 #else
71408 # include <assert.h>
71409 #endif
71410
71411 #undef $ac_func
71412
71413 /* Override any gcc2 internal prototype to avoid an error. */
71414 #ifdef __cplusplus
71415 extern "C"
71416 {
71417 #endif
71418 /* We use char because int might match the return type of a gcc2
71419 builtin and then its argument prototype would still apply. */
71420 char $ac_func ();
71421 /* The GNU C library defines this for functions which it implements
71422 to always fail with ENOSYS. Some functions are actually named
71423 something starting with __ and the normal name is an alias. */
71424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71425 choke me
71426 #else
71427 char (*f) () = $ac_func;
71428 #endif
71429 #ifdef __cplusplus
71430 }
71431 #endif
71432
71433 int
71434 main ()
71435 {
71436 return f != $ac_func;
71437 ;
71438 return 0;
71439 }
71440 _ACEOF
71441 rm -f conftest.$ac_objext conftest$ac_exeext
71442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71443 (eval $ac_link) 2>conftest.er1
71444 ac_status=$?
71445 grep -v '^ *+' conftest.er1 >conftest.err
71446 rm -f conftest.er1
71447 cat conftest.err >&5
71448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71449 (exit $ac_status); } &&
71450 { ac_try='test -z "$ac_c_werror_flag"
71451 || test ! -s conftest.err'
71452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71453 (eval $ac_try) 2>&5
71454 ac_status=$?
71455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71456 (exit $ac_status); }; } &&
71457 { ac_try='test -s conftest$ac_exeext'
71458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71459 (eval $ac_try) 2>&5
71460 ac_status=$?
71461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71462 (exit $ac_status); }; }; then
71463 eval "$as_ac_var=yes"
71464 else
71465 echo "$as_me: failed program was:" >&5
71466 sed 's/^/| /' conftest.$ac_ext >&5
71467
71468 eval "$as_ac_var=no"
71469 fi
71470 rm -f conftest.err conftest.$ac_objext \
71471 conftest$ac_exeext conftest.$ac_ext
71472 fi
71473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71475 if test `eval echo '${'$as_ac_var'}'` = yes; then
71476 cat >>confdefs.h <<_ACEOF
71477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71478 _ACEOF
71479
71480 fi
71481 done
71482
71483 else
71484
71485 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
71486 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
71487 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
71488 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
71489 echo $ECHO_N "(cached) $ECHO_C" >&6
71490 else
71491
71492
71493
71494 ac_ext=cc
71495 ac_cpp='$CXXCPP $CPPFLAGS'
71496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71499
71500 cat >conftest.$ac_ext <<_ACEOF
71501 /* confdefs.h. */
71502 _ACEOF
71503 cat confdefs.h >>conftest.$ac_ext
71504 cat >>conftest.$ac_ext <<_ACEOF
71505 /* end confdefs.h. */
71506 #include <math.h>
71507 #ifdef HAVE_IEEEFP_H
71508 #include <ieeefp.h>
71509 #endif
71510
71511 int
71512 main ()
71513 {
71514 _fabsf(0);
71515 ;
71516 return 0;
71517 }
71518 _ACEOF
71519 rm -f conftest.$ac_objext
71520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71521 (eval $ac_compile) 2>conftest.er1
71522 ac_status=$?
71523 grep -v '^ *+' conftest.er1 >conftest.err
71524 rm -f conftest.er1
71525 cat conftest.err >&5
71526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71527 (exit $ac_status); } &&
71528 { ac_try='test -z "$ac_cxx_werror_flag"
71529 || test ! -s conftest.err'
71530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71531 (eval $ac_try) 2>&5
71532 ac_status=$?
71533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71534 (exit $ac_status); }; } &&
71535 { ac_try='test -s conftest.$ac_objext'
71536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71537 (eval $ac_try) 2>&5
71538 ac_status=$?
71539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71540 (exit $ac_status); }; }; then
71541 glibcxx_cv_func__fabsf_use=yes
71542 else
71543 echo "$as_me: failed program was:" >&5
71544 sed 's/^/| /' conftest.$ac_ext >&5
71545
71546 glibcxx_cv_func__fabsf_use=no
71547 fi
71548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71549 ac_ext=c
71550 ac_cpp='$CPP $CPPFLAGS'
71551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71554
71555
71556 fi
71557
71558 fi
71559 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
71560 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
71561
71562 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
71563
71564 for ac_func in _fabsf
71565 do
71566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71567 echo "$as_me:$LINENO: checking for $ac_func" >&5
71568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71569 if eval "test \"\${$as_ac_var+set}\" = set"; then
71570 echo $ECHO_N "(cached) $ECHO_C" >&6
71571 else
71572 if test x$gcc_no_link = xyes; then
71573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71575 { (exit 1); exit 1; }; }
71576 fi
71577 cat >conftest.$ac_ext <<_ACEOF
71578 /* confdefs.h. */
71579 _ACEOF
71580 cat confdefs.h >>conftest.$ac_ext
71581 cat >>conftest.$ac_ext <<_ACEOF
71582 /* end confdefs.h. */
71583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71585 #define $ac_func innocuous_$ac_func
71586
71587 /* System header to define __stub macros and hopefully few prototypes,
71588 which can conflict with char $ac_func (); below.
71589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71590 <limits.h> exists even on freestanding compilers. */
71591
71592 #ifdef __STDC__
71593 # include <limits.h>
71594 #else
71595 # include <assert.h>
71596 #endif
71597
71598 #undef $ac_func
71599
71600 /* Override any gcc2 internal prototype to avoid an error. */
71601 #ifdef __cplusplus
71602 extern "C"
71603 {
71604 #endif
71605 /* We use char because int might match the return type of a gcc2
71606 builtin and then its argument prototype would still apply. */
71607 char $ac_func ();
71608 /* The GNU C library defines this for functions which it implements
71609 to always fail with ENOSYS. Some functions are actually named
71610 something starting with __ and the normal name is an alias. */
71611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71612 choke me
71613 #else
71614 char (*f) () = $ac_func;
71615 #endif
71616 #ifdef __cplusplus
71617 }
71618 #endif
71619
71620 int
71621 main ()
71622 {
71623 return f != $ac_func;
71624 ;
71625 return 0;
71626 }
71627 _ACEOF
71628 rm -f conftest.$ac_objext conftest$ac_exeext
71629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71630 (eval $ac_link) 2>conftest.er1
71631 ac_status=$?
71632 grep -v '^ *+' conftest.er1 >conftest.err
71633 rm -f conftest.er1
71634 cat conftest.err >&5
71635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71636 (exit $ac_status); } &&
71637 { ac_try='test -z "$ac_c_werror_flag"
71638 || test ! -s conftest.err'
71639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71640 (eval $ac_try) 2>&5
71641 ac_status=$?
71642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71643 (exit $ac_status); }; } &&
71644 { ac_try='test -s conftest$ac_exeext'
71645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71646 (eval $ac_try) 2>&5
71647 ac_status=$?
71648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71649 (exit $ac_status); }; }; then
71650 eval "$as_ac_var=yes"
71651 else
71652 echo "$as_me: failed program was:" >&5
71653 sed 's/^/| /' conftest.$ac_ext >&5
71654
71655 eval "$as_ac_var=no"
71656 fi
71657 rm -f conftest.err conftest.$ac_objext \
71658 conftest$ac_exeext conftest.$ac_ext
71659 fi
71660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71662 if test `eval echo '${'$as_ac_var'}'` = yes; then
71663 cat >>confdefs.h <<_ACEOF
71664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71665 _ACEOF
71666
71667 fi
71668 done
71669
71670 fi
71671 fi
71672
71673
71674
71675
71676
71677
71678 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
71679 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
71680 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
71681 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
71682 echo $ECHO_N "(cached) $ECHO_C" >&6
71683 else
71684
71685
71686
71687 ac_ext=cc
71688 ac_cpp='$CXXCPP $CPPFLAGS'
71689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71692
71693 cat >conftest.$ac_ext <<_ACEOF
71694 /* confdefs.h. */
71695 _ACEOF
71696 cat confdefs.h >>conftest.$ac_ext
71697 cat >>conftest.$ac_ext <<_ACEOF
71698 /* end confdefs.h. */
71699 #include <math.h>
71700 int
71701 main ()
71702 {
71703 fmodf(0, 0);
71704 ;
71705 return 0;
71706 }
71707 _ACEOF
71708 rm -f conftest.$ac_objext
71709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71710 (eval $ac_compile) 2>conftest.er1
71711 ac_status=$?
71712 grep -v '^ *+' conftest.er1 >conftest.err
71713 rm -f conftest.er1
71714 cat conftest.err >&5
71715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71716 (exit $ac_status); } &&
71717 { ac_try='test -z "$ac_cxx_werror_flag"
71718 || test ! -s conftest.err'
71719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71720 (eval $ac_try) 2>&5
71721 ac_status=$?
71722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71723 (exit $ac_status); }; } &&
71724 { ac_try='test -s conftest.$ac_objext'
71725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71726 (eval $ac_try) 2>&5
71727 ac_status=$?
71728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71729 (exit $ac_status); }; }; then
71730 glibcxx_cv_func_fmodf_use=yes
71731 else
71732 echo "$as_me: failed program was:" >&5
71733 sed 's/^/| /' conftest.$ac_ext >&5
71734
71735 glibcxx_cv_func_fmodf_use=no
71736 fi
71737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71738 ac_ext=c
71739 ac_cpp='$CPP $CPPFLAGS'
71740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71743
71744
71745 fi
71746
71747 fi
71748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
71749 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
71750
71751 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
71752
71753 for ac_func in fmodf
71754 do
71755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71756 echo "$as_me:$LINENO: checking for $ac_func" >&5
71757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71758 if eval "test \"\${$as_ac_var+set}\" = set"; then
71759 echo $ECHO_N "(cached) $ECHO_C" >&6
71760 else
71761 if test x$gcc_no_link = xyes; then
71762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71764 { (exit 1); exit 1; }; }
71765 fi
71766 cat >conftest.$ac_ext <<_ACEOF
71767 /* confdefs.h. */
71768 _ACEOF
71769 cat confdefs.h >>conftest.$ac_ext
71770 cat >>conftest.$ac_ext <<_ACEOF
71771 /* end confdefs.h. */
71772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71774 #define $ac_func innocuous_$ac_func
71775
71776 /* System header to define __stub macros and hopefully few prototypes,
71777 which can conflict with char $ac_func (); below.
71778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71779 <limits.h> exists even on freestanding compilers. */
71780
71781 #ifdef __STDC__
71782 # include <limits.h>
71783 #else
71784 # include <assert.h>
71785 #endif
71786
71787 #undef $ac_func
71788
71789 /* Override any gcc2 internal prototype to avoid an error. */
71790 #ifdef __cplusplus
71791 extern "C"
71792 {
71793 #endif
71794 /* We use char because int might match the return type of a gcc2
71795 builtin and then its argument prototype would still apply. */
71796 char $ac_func ();
71797 /* The GNU C library defines this for functions which it implements
71798 to always fail with ENOSYS. Some functions are actually named
71799 something starting with __ and the normal name is an alias. */
71800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71801 choke me
71802 #else
71803 char (*f) () = $ac_func;
71804 #endif
71805 #ifdef __cplusplus
71806 }
71807 #endif
71808
71809 int
71810 main ()
71811 {
71812 return f != $ac_func;
71813 ;
71814 return 0;
71815 }
71816 _ACEOF
71817 rm -f conftest.$ac_objext conftest$ac_exeext
71818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71819 (eval $ac_link) 2>conftest.er1
71820 ac_status=$?
71821 grep -v '^ *+' conftest.er1 >conftest.err
71822 rm -f conftest.er1
71823 cat conftest.err >&5
71824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71825 (exit $ac_status); } &&
71826 { ac_try='test -z "$ac_c_werror_flag"
71827 || test ! -s conftest.err'
71828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71829 (eval $ac_try) 2>&5
71830 ac_status=$?
71831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71832 (exit $ac_status); }; } &&
71833 { ac_try='test -s conftest$ac_exeext'
71834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71835 (eval $ac_try) 2>&5
71836 ac_status=$?
71837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71838 (exit $ac_status); }; }; then
71839 eval "$as_ac_var=yes"
71840 else
71841 echo "$as_me: failed program was:" >&5
71842 sed 's/^/| /' conftest.$ac_ext >&5
71843
71844 eval "$as_ac_var=no"
71845 fi
71846 rm -f conftest.err conftest.$ac_objext \
71847 conftest$ac_exeext conftest.$ac_ext
71848 fi
71849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71851 if test `eval echo '${'$as_ac_var'}'` = yes; then
71852 cat >>confdefs.h <<_ACEOF
71853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71854 _ACEOF
71855
71856 fi
71857 done
71858
71859 else
71860
71861 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
71862 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
71863 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
71864 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
71865 echo $ECHO_N "(cached) $ECHO_C" >&6
71866 else
71867
71868
71869
71870 ac_ext=cc
71871 ac_cpp='$CXXCPP $CPPFLAGS'
71872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71875
71876 cat >conftest.$ac_ext <<_ACEOF
71877 /* confdefs.h. */
71878 _ACEOF
71879 cat confdefs.h >>conftest.$ac_ext
71880 cat >>conftest.$ac_ext <<_ACEOF
71881 /* end confdefs.h. */
71882 #include <math.h>
71883 int
71884 main ()
71885 {
71886 _fmodf(0, 0);
71887 ;
71888 return 0;
71889 }
71890 _ACEOF
71891 rm -f conftest.$ac_objext
71892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71893 (eval $ac_compile) 2>conftest.er1
71894 ac_status=$?
71895 grep -v '^ *+' conftest.er1 >conftest.err
71896 rm -f conftest.er1
71897 cat conftest.err >&5
71898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71899 (exit $ac_status); } &&
71900 { ac_try='test -z "$ac_cxx_werror_flag"
71901 || test ! -s conftest.err'
71902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71903 (eval $ac_try) 2>&5
71904 ac_status=$?
71905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71906 (exit $ac_status); }; } &&
71907 { ac_try='test -s conftest.$ac_objext'
71908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71909 (eval $ac_try) 2>&5
71910 ac_status=$?
71911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71912 (exit $ac_status); }; }; then
71913 glibcxx_cv_func__fmodf_use=yes
71914 else
71915 echo "$as_me: failed program was:" >&5
71916 sed 's/^/| /' conftest.$ac_ext >&5
71917
71918 glibcxx_cv_func__fmodf_use=no
71919 fi
71920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71921 ac_ext=c
71922 ac_cpp='$CPP $CPPFLAGS'
71923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71926
71927
71928 fi
71929
71930 fi
71931 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
71932 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
71933
71934 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
71935
71936 for ac_func in _fmodf
71937 do
71938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71939 echo "$as_me:$LINENO: checking for $ac_func" >&5
71940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71941 if eval "test \"\${$as_ac_var+set}\" = set"; then
71942 echo $ECHO_N "(cached) $ECHO_C" >&6
71943 else
71944 if test x$gcc_no_link = xyes; then
71945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71947 { (exit 1); exit 1; }; }
71948 fi
71949 cat >conftest.$ac_ext <<_ACEOF
71950 /* confdefs.h. */
71951 _ACEOF
71952 cat confdefs.h >>conftest.$ac_ext
71953 cat >>conftest.$ac_ext <<_ACEOF
71954 /* end confdefs.h. */
71955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71957 #define $ac_func innocuous_$ac_func
71958
71959 /* System header to define __stub macros and hopefully few prototypes,
71960 which can conflict with char $ac_func (); below.
71961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71962 <limits.h> exists even on freestanding compilers. */
71963
71964 #ifdef __STDC__
71965 # include <limits.h>
71966 #else
71967 # include <assert.h>
71968 #endif
71969
71970 #undef $ac_func
71971
71972 /* Override any gcc2 internal prototype to avoid an error. */
71973 #ifdef __cplusplus
71974 extern "C"
71975 {
71976 #endif
71977 /* We use char because int might match the return type of a gcc2
71978 builtin and then its argument prototype would still apply. */
71979 char $ac_func ();
71980 /* The GNU C library defines this for functions which it implements
71981 to always fail with ENOSYS. Some functions are actually named
71982 something starting with __ and the normal name is an alias. */
71983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71984 choke me
71985 #else
71986 char (*f) () = $ac_func;
71987 #endif
71988 #ifdef __cplusplus
71989 }
71990 #endif
71991
71992 int
71993 main ()
71994 {
71995 return f != $ac_func;
71996 ;
71997 return 0;
71998 }
71999 _ACEOF
72000 rm -f conftest.$ac_objext conftest$ac_exeext
72001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72002 (eval $ac_link) 2>conftest.er1
72003 ac_status=$?
72004 grep -v '^ *+' conftest.er1 >conftest.err
72005 rm -f conftest.er1
72006 cat conftest.err >&5
72007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72008 (exit $ac_status); } &&
72009 { ac_try='test -z "$ac_c_werror_flag"
72010 || test ! -s conftest.err'
72011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72012 (eval $ac_try) 2>&5
72013 ac_status=$?
72014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72015 (exit $ac_status); }; } &&
72016 { ac_try='test -s conftest$ac_exeext'
72017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72018 (eval $ac_try) 2>&5
72019 ac_status=$?
72020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72021 (exit $ac_status); }; }; then
72022 eval "$as_ac_var=yes"
72023 else
72024 echo "$as_me: failed program was:" >&5
72025 sed 's/^/| /' conftest.$ac_ext >&5
72026
72027 eval "$as_ac_var=no"
72028 fi
72029 rm -f conftest.err conftest.$ac_objext \
72030 conftest$ac_exeext conftest.$ac_ext
72031 fi
72032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72034 if test `eval echo '${'$as_ac_var'}'` = yes; then
72035 cat >>confdefs.h <<_ACEOF
72036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72037 _ACEOF
72038
72039 fi
72040 done
72041
72042 fi
72043 fi
72044
72045
72046
72047
72048
72049
72050 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
72051 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
72052 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
72053 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
72054 echo $ECHO_N "(cached) $ECHO_C" >&6
72055 else
72056
72057
72058
72059 ac_ext=cc
72060 ac_cpp='$CXXCPP $CPPFLAGS'
72061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72064
72065 cat >conftest.$ac_ext <<_ACEOF
72066 /* confdefs.h. */
72067 _ACEOF
72068 cat confdefs.h >>conftest.$ac_ext
72069 cat >>conftest.$ac_ext <<_ACEOF
72070 /* end confdefs.h. */
72071 #include <math.h>
72072 int
72073 main ()
72074 {
72075 frexpf(0, 0);
72076 ;
72077 return 0;
72078 }
72079 _ACEOF
72080 rm -f conftest.$ac_objext
72081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72082 (eval $ac_compile) 2>conftest.er1
72083 ac_status=$?
72084 grep -v '^ *+' conftest.er1 >conftest.err
72085 rm -f conftest.er1
72086 cat conftest.err >&5
72087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72088 (exit $ac_status); } &&
72089 { ac_try='test -z "$ac_cxx_werror_flag"
72090 || test ! -s conftest.err'
72091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72092 (eval $ac_try) 2>&5
72093 ac_status=$?
72094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72095 (exit $ac_status); }; } &&
72096 { ac_try='test -s conftest.$ac_objext'
72097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72098 (eval $ac_try) 2>&5
72099 ac_status=$?
72100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72101 (exit $ac_status); }; }; then
72102 glibcxx_cv_func_frexpf_use=yes
72103 else
72104 echo "$as_me: failed program was:" >&5
72105 sed 's/^/| /' conftest.$ac_ext >&5
72106
72107 glibcxx_cv_func_frexpf_use=no
72108 fi
72109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72110 ac_ext=c
72111 ac_cpp='$CPP $CPPFLAGS'
72112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72115
72116
72117 fi
72118
72119 fi
72120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
72121 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
72122
72123 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
72124
72125 for ac_func in frexpf
72126 do
72127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72128 echo "$as_me:$LINENO: checking for $ac_func" >&5
72129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72130 if eval "test \"\${$as_ac_var+set}\" = set"; then
72131 echo $ECHO_N "(cached) $ECHO_C" >&6
72132 else
72133 if test x$gcc_no_link = xyes; then
72134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72136 { (exit 1); exit 1; }; }
72137 fi
72138 cat >conftest.$ac_ext <<_ACEOF
72139 /* confdefs.h. */
72140 _ACEOF
72141 cat confdefs.h >>conftest.$ac_ext
72142 cat >>conftest.$ac_ext <<_ACEOF
72143 /* end confdefs.h. */
72144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72146 #define $ac_func innocuous_$ac_func
72147
72148 /* System header to define __stub macros and hopefully few prototypes,
72149 which can conflict with char $ac_func (); below.
72150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72151 <limits.h> exists even on freestanding compilers. */
72152
72153 #ifdef __STDC__
72154 # include <limits.h>
72155 #else
72156 # include <assert.h>
72157 #endif
72158
72159 #undef $ac_func
72160
72161 /* Override any gcc2 internal prototype to avoid an error. */
72162 #ifdef __cplusplus
72163 extern "C"
72164 {
72165 #endif
72166 /* We use char because int might match the return type of a gcc2
72167 builtin and then its argument prototype would still apply. */
72168 char $ac_func ();
72169 /* The GNU C library defines this for functions which it implements
72170 to always fail with ENOSYS. Some functions are actually named
72171 something starting with __ and the normal name is an alias. */
72172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72173 choke me
72174 #else
72175 char (*f) () = $ac_func;
72176 #endif
72177 #ifdef __cplusplus
72178 }
72179 #endif
72180
72181 int
72182 main ()
72183 {
72184 return f != $ac_func;
72185 ;
72186 return 0;
72187 }
72188 _ACEOF
72189 rm -f conftest.$ac_objext conftest$ac_exeext
72190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72191 (eval $ac_link) 2>conftest.er1
72192 ac_status=$?
72193 grep -v '^ *+' conftest.er1 >conftest.err
72194 rm -f conftest.er1
72195 cat conftest.err >&5
72196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72197 (exit $ac_status); } &&
72198 { ac_try='test -z "$ac_c_werror_flag"
72199 || test ! -s conftest.err'
72200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72201 (eval $ac_try) 2>&5
72202 ac_status=$?
72203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72204 (exit $ac_status); }; } &&
72205 { ac_try='test -s conftest$ac_exeext'
72206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72207 (eval $ac_try) 2>&5
72208 ac_status=$?
72209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72210 (exit $ac_status); }; }; then
72211 eval "$as_ac_var=yes"
72212 else
72213 echo "$as_me: failed program was:" >&5
72214 sed 's/^/| /' conftest.$ac_ext >&5
72215
72216 eval "$as_ac_var=no"
72217 fi
72218 rm -f conftest.err conftest.$ac_objext \
72219 conftest$ac_exeext conftest.$ac_ext
72220 fi
72221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72223 if test `eval echo '${'$as_ac_var'}'` = yes; then
72224 cat >>confdefs.h <<_ACEOF
72225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72226 _ACEOF
72227
72228 fi
72229 done
72230
72231 else
72232
72233 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
72234 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
72235 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
72236 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
72237 echo $ECHO_N "(cached) $ECHO_C" >&6
72238 else
72239
72240
72241
72242 ac_ext=cc
72243 ac_cpp='$CXXCPP $CPPFLAGS'
72244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72247
72248 cat >conftest.$ac_ext <<_ACEOF
72249 /* confdefs.h. */
72250 _ACEOF
72251 cat confdefs.h >>conftest.$ac_ext
72252 cat >>conftest.$ac_ext <<_ACEOF
72253 /* end confdefs.h. */
72254 #include <math.h>
72255 int
72256 main ()
72257 {
72258 _frexpf(0, 0);
72259 ;
72260 return 0;
72261 }
72262 _ACEOF
72263 rm -f conftest.$ac_objext
72264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72265 (eval $ac_compile) 2>conftest.er1
72266 ac_status=$?
72267 grep -v '^ *+' conftest.er1 >conftest.err
72268 rm -f conftest.er1
72269 cat conftest.err >&5
72270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72271 (exit $ac_status); } &&
72272 { ac_try='test -z "$ac_cxx_werror_flag"
72273 || test ! -s conftest.err'
72274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72275 (eval $ac_try) 2>&5
72276 ac_status=$?
72277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72278 (exit $ac_status); }; } &&
72279 { ac_try='test -s conftest.$ac_objext'
72280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72281 (eval $ac_try) 2>&5
72282 ac_status=$?
72283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72284 (exit $ac_status); }; }; then
72285 glibcxx_cv_func__frexpf_use=yes
72286 else
72287 echo "$as_me: failed program was:" >&5
72288 sed 's/^/| /' conftest.$ac_ext >&5
72289
72290 glibcxx_cv_func__frexpf_use=no
72291 fi
72292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72293 ac_ext=c
72294 ac_cpp='$CPP $CPPFLAGS'
72295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72298
72299
72300 fi
72301
72302 fi
72303 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
72304 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
72305
72306 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
72307
72308 for ac_func in _frexpf
72309 do
72310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72311 echo "$as_me:$LINENO: checking for $ac_func" >&5
72312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72313 if eval "test \"\${$as_ac_var+set}\" = set"; then
72314 echo $ECHO_N "(cached) $ECHO_C" >&6
72315 else
72316 if test x$gcc_no_link = xyes; then
72317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72319 { (exit 1); exit 1; }; }
72320 fi
72321 cat >conftest.$ac_ext <<_ACEOF
72322 /* confdefs.h. */
72323 _ACEOF
72324 cat confdefs.h >>conftest.$ac_ext
72325 cat >>conftest.$ac_ext <<_ACEOF
72326 /* end confdefs.h. */
72327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72329 #define $ac_func innocuous_$ac_func
72330
72331 /* System header to define __stub macros and hopefully few prototypes,
72332 which can conflict with char $ac_func (); below.
72333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72334 <limits.h> exists even on freestanding compilers. */
72335
72336 #ifdef __STDC__
72337 # include <limits.h>
72338 #else
72339 # include <assert.h>
72340 #endif
72341
72342 #undef $ac_func
72343
72344 /* Override any gcc2 internal prototype to avoid an error. */
72345 #ifdef __cplusplus
72346 extern "C"
72347 {
72348 #endif
72349 /* We use char because int might match the return type of a gcc2
72350 builtin and then its argument prototype would still apply. */
72351 char $ac_func ();
72352 /* The GNU C library defines this for functions which it implements
72353 to always fail with ENOSYS. Some functions are actually named
72354 something starting with __ and the normal name is an alias. */
72355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72356 choke me
72357 #else
72358 char (*f) () = $ac_func;
72359 #endif
72360 #ifdef __cplusplus
72361 }
72362 #endif
72363
72364 int
72365 main ()
72366 {
72367 return f != $ac_func;
72368 ;
72369 return 0;
72370 }
72371 _ACEOF
72372 rm -f conftest.$ac_objext conftest$ac_exeext
72373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72374 (eval $ac_link) 2>conftest.er1
72375 ac_status=$?
72376 grep -v '^ *+' conftest.er1 >conftest.err
72377 rm -f conftest.er1
72378 cat conftest.err >&5
72379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72380 (exit $ac_status); } &&
72381 { ac_try='test -z "$ac_c_werror_flag"
72382 || test ! -s conftest.err'
72383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72384 (eval $ac_try) 2>&5
72385 ac_status=$?
72386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72387 (exit $ac_status); }; } &&
72388 { ac_try='test -s conftest$ac_exeext'
72389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72390 (eval $ac_try) 2>&5
72391 ac_status=$?
72392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72393 (exit $ac_status); }; }; then
72394 eval "$as_ac_var=yes"
72395 else
72396 echo "$as_me: failed program was:" >&5
72397 sed 's/^/| /' conftest.$ac_ext >&5
72398
72399 eval "$as_ac_var=no"
72400 fi
72401 rm -f conftest.err conftest.$ac_objext \
72402 conftest$ac_exeext conftest.$ac_ext
72403 fi
72404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72406 if test `eval echo '${'$as_ac_var'}'` = yes; then
72407 cat >>confdefs.h <<_ACEOF
72408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72409 _ACEOF
72410
72411 fi
72412 done
72413
72414 fi
72415 fi
72416
72417
72418
72419
72420
72421
72422 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
72423 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
72424 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
72425 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
72426 echo $ECHO_N "(cached) $ECHO_C" >&6
72427 else
72428
72429
72430
72431 ac_ext=cc
72432 ac_cpp='$CXXCPP $CPPFLAGS'
72433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72436
72437 cat >conftest.$ac_ext <<_ACEOF
72438 /* confdefs.h. */
72439 _ACEOF
72440 cat confdefs.h >>conftest.$ac_ext
72441 cat >>conftest.$ac_ext <<_ACEOF
72442 /* end confdefs.h. */
72443 #include <math.h>
72444 int
72445 main ()
72446 {
72447 hypotf(0, 0);
72448 ;
72449 return 0;
72450 }
72451 _ACEOF
72452 rm -f conftest.$ac_objext
72453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72454 (eval $ac_compile) 2>conftest.er1
72455 ac_status=$?
72456 grep -v '^ *+' conftest.er1 >conftest.err
72457 rm -f conftest.er1
72458 cat conftest.err >&5
72459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72460 (exit $ac_status); } &&
72461 { ac_try='test -z "$ac_cxx_werror_flag"
72462 || test ! -s conftest.err'
72463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72464 (eval $ac_try) 2>&5
72465 ac_status=$?
72466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72467 (exit $ac_status); }; } &&
72468 { ac_try='test -s conftest.$ac_objext'
72469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72470 (eval $ac_try) 2>&5
72471 ac_status=$?
72472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72473 (exit $ac_status); }; }; then
72474 glibcxx_cv_func_hypotf_use=yes
72475 else
72476 echo "$as_me: failed program was:" >&5
72477 sed 's/^/| /' conftest.$ac_ext >&5
72478
72479 glibcxx_cv_func_hypotf_use=no
72480 fi
72481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72482 ac_ext=c
72483 ac_cpp='$CPP $CPPFLAGS'
72484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72487
72488
72489 fi
72490
72491 fi
72492 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
72493 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
72494
72495 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
72496
72497 for ac_func in hypotf
72498 do
72499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72500 echo "$as_me:$LINENO: checking for $ac_func" >&5
72501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72502 if eval "test \"\${$as_ac_var+set}\" = set"; then
72503 echo $ECHO_N "(cached) $ECHO_C" >&6
72504 else
72505 if test x$gcc_no_link = xyes; then
72506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72508 { (exit 1); exit 1; }; }
72509 fi
72510 cat >conftest.$ac_ext <<_ACEOF
72511 /* confdefs.h. */
72512 _ACEOF
72513 cat confdefs.h >>conftest.$ac_ext
72514 cat >>conftest.$ac_ext <<_ACEOF
72515 /* end confdefs.h. */
72516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72518 #define $ac_func innocuous_$ac_func
72519
72520 /* System header to define __stub macros and hopefully few prototypes,
72521 which can conflict with char $ac_func (); below.
72522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72523 <limits.h> exists even on freestanding compilers. */
72524
72525 #ifdef __STDC__
72526 # include <limits.h>
72527 #else
72528 # include <assert.h>
72529 #endif
72530
72531 #undef $ac_func
72532
72533 /* Override any gcc2 internal prototype to avoid an error. */
72534 #ifdef __cplusplus
72535 extern "C"
72536 {
72537 #endif
72538 /* We use char because int might match the return type of a gcc2
72539 builtin and then its argument prototype would still apply. */
72540 char $ac_func ();
72541 /* The GNU C library defines this for functions which it implements
72542 to always fail with ENOSYS. Some functions are actually named
72543 something starting with __ and the normal name is an alias. */
72544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72545 choke me
72546 #else
72547 char (*f) () = $ac_func;
72548 #endif
72549 #ifdef __cplusplus
72550 }
72551 #endif
72552
72553 int
72554 main ()
72555 {
72556 return f != $ac_func;
72557 ;
72558 return 0;
72559 }
72560 _ACEOF
72561 rm -f conftest.$ac_objext conftest$ac_exeext
72562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72563 (eval $ac_link) 2>conftest.er1
72564 ac_status=$?
72565 grep -v '^ *+' conftest.er1 >conftest.err
72566 rm -f conftest.er1
72567 cat conftest.err >&5
72568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72569 (exit $ac_status); } &&
72570 { ac_try='test -z "$ac_c_werror_flag"
72571 || test ! -s conftest.err'
72572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72573 (eval $ac_try) 2>&5
72574 ac_status=$?
72575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72576 (exit $ac_status); }; } &&
72577 { ac_try='test -s conftest$ac_exeext'
72578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72579 (eval $ac_try) 2>&5
72580 ac_status=$?
72581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72582 (exit $ac_status); }; }; then
72583 eval "$as_ac_var=yes"
72584 else
72585 echo "$as_me: failed program was:" >&5
72586 sed 's/^/| /' conftest.$ac_ext >&5
72587
72588 eval "$as_ac_var=no"
72589 fi
72590 rm -f conftest.err conftest.$ac_objext \
72591 conftest$ac_exeext conftest.$ac_ext
72592 fi
72593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72595 if test `eval echo '${'$as_ac_var'}'` = yes; then
72596 cat >>confdefs.h <<_ACEOF
72597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72598 _ACEOF
72599
72600 fi
72601 done
72602
72603 else
72604
72605 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
72606 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
72607 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
72608 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
72609 echo $ECHO_N "(cached) $ECHO_C" >&6
72610 else
72611
72612
72613
72614 ac_ext=cc
72615 ac_cpp='$CXXCPP $CPPFLAGS'
72616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72619
72620 cat >conftest.$ac_ext <<_ACEOF
72621 /* confdefs.h. */
72622 _ACEOF
72623 cat confdefs.h >>conftest.$ac_ext
72624 cat >>conftest.$ac_ext <<_ACEOF
72625 /* end confdefs.h. */
72626 #include <math.h>
72627 int
72628 main ()
72629 {
72630 _hypotf(0, 0);
72631 ;
72632 return 0;
72633 }
72634 _ACEOF
72635 rm -f conftest.$ac_objext
72636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72637 (eval $ac_compile) 2>conftest.er1
72638 ac_status=$?
72639 grep -v '^ *+' conftest.er1 >conftest.err
72640 rm -f conftest.er1
72641 cat conftest.err >&5
72642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72643 (exit $ac_status); } &&
72644 { ac_try='test -z "$ac_cxx_werror_flag"
72645 || test ! -s conftest.err'
72646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72647 (eval $ac_try) 2>&5
72648 ac_status=$?
72649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72650 (exit $ac_status); }; } &&
72651 { ac_try='test -s conftest.$ac_objext'
72652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72653 (eval $ac_try) 2>&5
72654 ac_status=$?
72655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72656 (exit $ac_status); }; }; then
72657 glibcxx_cv_func__hypotf_use=yes
72658 else
72659 echo "$as_me: failed program was:" >&5
72660 sed 's/^/| /' conftest.$ac_ext >&5
72661
72662 glibcxx_cv_func__hypotf_use=no
72663 fi
72664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72665 ac_ext=c
72666 ac_cpp='$CPP $CPPFLAGS'
72667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72670
72671
72672 fi
72673
72674 fi
72675 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
72676 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
72677
72678 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
72679
72680 for ac_func in _hypotf
72681 do
72682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72683 echo "$as_me:$LINENO: checking for $ac_func" >&5
72684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72685 if eval "test \"\${$as_ac_var+set}\" = set"; then
72686 echo $ECHO_N "(cached) $ECHO_C" >&6
72687 else
72688 if test x$gcc_no_link = xyes; then
72689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72691 { (exit 1); exit 1; }; }
72692 fi
72693 cat >conftest.$ac_ext <<_ACEOF
72694 /* confdefs.h. */
72695 _ACEOF
72696 cat confdefs.h >>conftest.$ac_ext
72697 cat >>conftest.$ac_ext <<_ACEOF
72698 /* end confdefs.h. */
72699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72701 #define $ac_func innocuous_$ac_func
72702
72703 /* System header to define __stub macros and hopefully few prototypes,
72704 which can conflict with char $ac_func (); below.
72705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72706 <limits.h> exists even on freestanding compilers. */
72707
72708 #ifdef __STDC__
72709 # include <limits.h>
72710 #else
72711 # include <assert.h>
72712 #endif
72713
72714 #undef $ac_func
72715
72716 /* Override any gcc2 internal prototype to avoid an error. */
72717 #ifdef __cplusplus
72718 extern "C"
72719 {
72720 #endif
72721 /* We use char because int might match the return type of a gcc2
72722 builtin and then its argument prototype would still apply. */
72723 char $ac_func ();
72724 /* The GNU C library defines this for functions which it implements
72725 to always fail with ENOSYS. Some functions are actually named
72726 something starting with __ and the normal name is an alias. */
72727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72728 choke me
72729 #else
72730 char (*f) () = $ac_func;
72731 #endif
72732 #ifdef __cplusplus
72733 }
72734 #endif
72735
72736 int
72737 main ()
72738 {
72739 return f != $ac_func;
72740 ;
72741 return 0;
72742 }
72743 _ACEOF
72744 rm -f conftest.$ac_objext conftest$ac_exeext
72745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72746 (eval $ac_link) 2>conftest.er1
72747 ac_status=$?
72748 grep -v '^ *+' conftest.er1 >conftest.err
72749 rm -f conftest.er1
72750 cat conftest.err >&5
72751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72752 (exit $ac_status); } &&
72753 { ac_try='test -z "$ac_c_werror_flag"
72754 || test ! -s conftest.err'
72755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72756 (eval $ac_try) 2>&5
72757 ac_status=$?
72758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72759 (exit $ac_status); }; } &&
72760 { ac_try='test -s conftest$ac_exeext'
72761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72762 (eval $ac_try) 2>&5
72763 ac_status=$?
72764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72765 (exit $ac_status); }; }; then
72766 eval "$as_ac_var=yes"
72767 else
72768 echo "$as_me: failed program was:" >&5
72769 sed 's/^/| /' conftest.$ac_ext >&5
72770
72771 eval "$as_ac_var=no"
72772 fi
72773 rm -f conftest.err conftest.$ac_objext \
72774 conftest$ac_exeext conftest.$ac_ext
72775 fi
72776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72778 if test `eval echo '${'$as_ac_var'}'` = yes; then
72779 cat >>confdefs.h <<_ACEOF
72780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72781 _ACEOF
72782
72783 fi
72784 done
72785
72786 fi
72787 fi
72788
72789
72790
72791
72792
72793
72794 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
72795 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
72796 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
72797 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
72798 echo $ECHO_N "(cached) $ECHO_C" >&6
72799 else
72800
72801
72802
72803 ac_ext=cc
72804 ac_cpp='$CXXCPP $CPPFLAGS'
72805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72808
72809 cat >conftest.$ac_ext <<_ACEOF
72810 /* confdefs.h. */
72811 _ACEOF
72812 cat confdefs.h >>conftest.$ac_ext
72813 cat >>conftest.$ac_ext <<_ACEOF
72814 /* end confdefs.h. */
72815 #include <math.h>
72816 int
72817 main ()
72818 {
72819 ldexpf(0, 0);
72820 ;
72821 return 0;
72822 }
72823 _ACEOF
72824 rm -f conftest.$ac_objext
72825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72826 (eval $ac_compile) 2>conftest.er1
72827 ac_status=$?
72828 grep -v '^ *+' conftest.er1 >conftest.err
72829 rm -f conftest.er1
72830 cat conftest.err >&5
72831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72832 (exit $ac_status); } &&
72833 { ac_try='test -z "$ac_cxx_werror_flag"
72834 || test ! -s conftest.err'
72835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72836 (eval $ac_try) 2>&5
72837 ac_status=$?
72838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72839 (exit $ac_status); }; } &&
72840 { ac_try='test -s conftest.$ac_objext'
72841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72842 (eval $ac_try) 2>&5
72843 ac_status=$?
72844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72845 (exit $ac_status); }; }; then
72846 glibcxx_cv_func_ldexpf_use=yes
72847 else
72848 echo "$as_me: failed program was:" >&5
72849 sed 's/^/| /' conftest.$ac_ext >&5
72850
72851 glibcxx_cv_func_ldexpf_use=no
72852 fi
72853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72854 ac_ext=c
72855 ac_cpp='$CPP $CPPFLAGS'
72856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72859
72860
72861 fi
72862
72863 fi
72864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
72865 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
72866
72867 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
72868
72869 for ac_func in ldexpf
72870 do
72871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72872 echo "$as_me:$LINENO: checking for $ac_func" >&5
72873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72874 if eval "test \"\${$as_ac_var+set}\" = set"; then
72875 echo $ECHO_N "(cached) $ECHO_C" >&6
72876 else
72877 if test x$gcc_no_link = xyes; then
72878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72880 { (exit 1); exit 1; }; }
72881 fi
72882 cat >conftest.$ac_ext <<_ACEOF
72883 /* confdefs.h. */
72884 _ACEOF
72885 cat confdefs.h >>conftest.$ac_ext
72886 cat >>conftest.$ac_ext <<_ACEOF
72887 /* end confdefs.h. */
72888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72890 #define $ac_func innocuous_$ac_func
72891
72892 /* System header to define __stub macros and hopefully few prototypes,
72893 which can conflict with char $ac_func (); below.
72894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72895 <limits.h> exists even on freestanding compilers. */
72896
72897 #ifdef __STDC__
72898 # include <limits.h>
72899 #else
72900 # include <assert.h>
72901 #endif
72902
72903 #undef $ac_func
72904
72905 /* Override any gcc2 internal prototype to avoid an error. */
72906 #ifdef __cplusplus
72907 extern "C"
72908 {
72909 #endif
72910 /* We use char because int might match the return type of a gcc2
72911 builtin and then its argument prototype would still apply. */
72912 char $ac_func ();
72913 /* The GNU C library defines this for functions which it implements
72914 to always fail with ENOSYS. Some functions are actually named
72915 something starting with __ and the normal name is an alias. */
72916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72917 choke me
72918 #else
72919 char (*f) () = $ac_func;
72920 #endif
72921 #ifdef __cplusplus
72922 }
72923 #endif
72924
72925 int
72926 main ()
72927 {
72928 return f != $ac_func;
72929 ;
72930 return 0;
72931 }
72932 _ACEOF
72933 rm -f conftest.$ac_objext conftest$ac_exeext
72934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72935 (eval $ac_link) 2>conftest.er1
72936 ac_status=$?
72937 grep -v '^ *+' conftest.er1 >conftest.err
72938 rm -f conftest.er1
72939 cat conftest.err >&5
72940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72941 (exit $ac_status); } &&
72942 { ac_try='test -z "$ac_c_werror_flag"
72943 || test ! -s conftest.err'
72944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72945 (eval $ac_try) 2>&5
72946 ac_status=$?
72947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72948 (exit $ac_status); }; } &&
72949 { ac_try='test -s conftest$ac_exeext'
72950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72951 (eval $ac_try) 2>&5
72952 ac_status=$?
72953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72954 (exit $ac_status); }; }; then
72955 eval "$as_ac_var=yes"
72956 else
72957 echo "$as_me: failed program was:" >&5
72958 sed 's/^/| /' conftest.$ac_ext >&5
72959
72960 eval "$as_ac_var=no"
72961 fi
72962 rm -f conftest.err conftest.$ac_objext \
72963 conftest$ac_exeext conftest.$ac_ext
72964 fi
72965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72967 if test `eval echo '${'$as_ac_var'}'` = yes; then
72968 cat >>confdefs.h <<_ACEOF
72969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72970 _ACEOF
72971
72972 fi
72973 done
72974
72975 else
72976
72977 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
72978 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
72979 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
72980 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
72981 echo $ECHO_N "(cached) $ECHO_C" >&6
72982 else
72983
72984
72985
72986 ac_ext=cc
72987 ac_cpp='$CXXCPP $CPPFLAGS'
72988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72991
72992 cat >conftest.$ac_ext <<_ACEOF
72993 /* confdefs.h. */
72994 _ACEOF
72995 cat confdefs.h >>conftest.$ac_ext
72996 cat >>conftest.$ac_ext <<_ACEOF
72997 /* end confdefs.h. */
72998 #include <math.h>
72999 int
73000 main ()
73001 {
73002 _ldexpf(0, 0);
73003 ;
73004 return 0;
73005 }
73006 _ACEOF
73007 rm -f conftest.$ac_objext
73008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73009 (eval $ac_compile) 2>conftest.er1
73010 ac_status=$?
73011 grep -v '^ *+' conftest.er1 >conftest.err
73012 rm -f conftest.er1
73013 cat conftest.err >&5
73014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73015 (exit $ac_status); } &&
73016 { ac_try='test -z "$ac_cxx_werror_flag"
73017 || test ! -s conftest.err'
73018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73019 (eval $ac_try) 2>&5
73020 ac_status=$?
73021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73022 (exit $ac_status); }; } &&
73023 { ac_try='test -s conftest.$ac_objext'
73024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73025 (eval $ac_try) 2>&5
73026 ac_status=$?
73027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73028 (exit $ac_status); }; }; then
73029 glibcxx_cv_func__ldexpf_use=yes
73030 else
73031 echo "$as_me: failed program was:" >&5
73032 sed 's/^/| /' conftest.$ac_ext >&5
73033
73034 glibcxx_cv_func__ldexpf_use=no
73035 fi
73036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73037 ac_ext=c
73038 ac_cpp='$CPP $CPPFLAGS'
73039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73042
73043
73044 fi
73045
73046 fi
73047 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
73048 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
73049
73050 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73051
73052 for ac_func in _ldexpf
73053 do
73054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73055 echo "$as_me:$LINENO: checking for $ac_func" >&5
73056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73057 if eval "test \"\${$as_ac_var+set}\" = set"; then
73058 echo $ECHO_N "(cached) $ECHO_C" >&6
73059 else
73060 if test x$gcc_no_link = xyes; then
73061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73063 { (exit 1); exit 1; }; }
73064 fi
73065 cat >conftest.$ac_ext <<_ACEOF
73066 /* confdefs.h. */
73067 _ACEOF
73068 cat confdefs.h >>conftest.$ac_ext
73069 cat >>conftest.$ac_ext <<_ACEOF
73070 /* end confdefs.h. */
73071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73073 #define $ac_func innocuous_$ac_func
73074
73075 /* System header to define __stub macros and hopefully few prototypes,
73076 which can conflict with char $ac_func (); below.
73077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73078 <limits.h> exists even on freestanding compilers. */
73079
73080 #ifdef __STDC__
73081 # include <limits.h>
73082 #else
73083 # include <assert.h>
73084 #endif
73085
73086 #undef $ac_func
73087
73088 /* Override any gcc2 internal prototype to avoid an error. */
73089 #ifdef __cplusplus
73090 extern "C"
73091 {
73092 #endif
73093 /* We use char because int might match the return type of a gcc2
73094 builtin and then its argument prototype would still apply. */
73095 char $ac_func ();
73096 /* The GNU C library defines this for functions which it implements
73097 to always fail with ENOSYS. Some functions are actually named
73098 something starting with __ and the normal name is an alias. */
73099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73100 choke me
73101 #else
73102 char (*f) () = $ac_func;
73103 #endif
73104 #ifdef __cplusplus
73105 }
73106 #endif
73107
73108 int
73109 main ()
73110 {
73111 return f != $ac_func;
73112 ;
73113 return 0;
73114 }
73115 _ACEOF
73116 rm -f conftest.$ac_objext conftest$ac_exeext
73117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73118 (eval $ac_link) 2>conftest.er1
73119 ac_status=$?
73120 grep -v '^ *+' conftest.er1 >conftest.err
73121 rm -f conftest.er1
73122 cat conftest.err >&5
73123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73124 (exit $ac_status); } &&
73125 { ac_try='test -z "$ac_c_werror_flag"
73126 || test ! -s conftest.err'
73127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73128 (eval $ac_try) 2>&5
73129 ac_status=$?
73130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73131 (exit $ac_status); }; } &&
73132 { ac_try='test -s conftest$ac_exeext'
73133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73134 (eval $ac_try) 2>&5
73135 ac_status=$?
73136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73137 (exit $ac_status); }; }; then
73138 eval "$as_ac_var=yes"
73139 else
73140 echo "$as_me: failed program was:" >&5
73141 sed 's/^/| /' conftest.$ac_ext >&5
73142
73143 eval "$as_ac_var=no"
73144 fi
73145 rm -f conftest.err conftest.$ac_objext \
73146 conftest$ac_exeext conftest.$ac_ext
73147 fi
73148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73150 if test `eval echo '${'$as_ac_var'}'` = yes; then
73151 cat >>confdefs.h <<_ACEOF
73152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73153 _ACEOF
73154
73155 fi
73156 done
73157
73158 fi
73159 fi
73160
73161
73162
73163
73164
73165
73166 echo "$as_me:$LINENO: checking for logf declaration" >&5
73167 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
73168 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73169 if test "${glibcxx_cv_func_logf_use+set}" = set; then
73170 echo $ECHO_N "(cached) $ECHO_C" >&6
73171 else
73172
73173
73174
73175 ac_ext=cc
73176 ac_cpp='$CXXCPP $CPPFLAGS'
73177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73180
73181 cat >conftest.$ac_ext <<_ACEOF
73182 /* confdefs.h. */
73183 _ACEOF
73184 cat confdefs.h >>conftest.$ac_ext
73185 cat >>conftest.$ac_ext <<_ACEOF
73186 /* end confdefs.h. */
73187 #include <math.h>
73188 #ifdef HAVE_IEEEFP_H
73189 #include <ieeefp.h>
73190 #endif
73191
73192 int
73193 main ()
73194 {
73195 logf(0);
73196 ;
73197 return 0;
73198 }
73199 _ACEOF
73200 rm -f conftest.$ac_objext
73201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73202 (eval $ac_compile) 2>conftest.er1
73203 ac_status=$?
73204 grep -v '^ *+' conftest.er1 >conftest.err
73205 rm -f conftest.er1
73206 cat conftest.err >&5
73207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73208 (exit $ac_status); } &&
73209 { ac_try='test -z "$ac_cxx_werror_flag"
73210 || test ! -s conftest.err'
73211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73212 (eval $ac_try) 2>&5
73213 ac_status=$?
73214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73215 (exit $ac_status); }; } &&
73216 { ac_try='test -s conftest.$ac_objext'
73217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73218 (eval $ac_try) 2>&5
73219 ac_status=$?
73220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73221 (exit $ac_status); }; }; then
73222 glibcxx_cv_func_logf_use=yes
73223 else
73224 echo "$as_me: failed program was:" >&5
73225 sed 's/^/| /' conftest.$ac_ext >&5
73226
73227 glibcxx_cv_func_logf_use=no
73228 fi
73229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73230 ac_ext=c
73231 ac_cpp='$CPP $CPPFLAGS'
73232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73235
73236
73237 fi
73238
73239 fi
73240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
73241 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
73242
73243 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73244
73245 for ac_func in logf
73246 do
73247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73248 echo "$as_me:$LINENO: checking for $ac_func" >&5
73249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73250 if eval "test \"\${$as_ac_var+set}\" = set"; then
73251 echo $ECHO_N "(cached) $ECHO_C" >&6
73252 else
73253 if test x$gcc_no_link = xyes; then
73254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73256 { (exit 1); exit 1; }; }
73257 fi
73258 cat >conftest.$ac_ext <<_ACEOF
73259 /* confdefs.h. */
73260 _ACEOF
73261 cat confdefs.h >>conftest.$ac_ext
73262 cat >>conftest.$ac_ext <<_ACEOF
73263 /* end confdefs.h. */
73264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73266 #define $ac_func innocuous_$ac_func
73267
73268 /* System header to define __stub macros and hopefully few prototypes,
73269 which can conflict with char $ac_func (); below.
73270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73271 <limits.h> exists even on freestanding compilers. */
73272
73273 #ifdef __STDC__
73274 # include <limits.h>
73275 #else
73276 # include <assert.h>
73277 #endif
73278
73279 #undef $ac_func
73280
73281 /* Override any gcc2 internal prototype to avoid an error. */
73282 #ifdef __cplusplus
73283 extern "C"
73284 {
73285 #endif
73286 /* We use char because int might match the return type of a gcc2
73287 builtin and then its argument prototype would still apply. */
73288 char $ac_func ();
73289 /* The GNU C library defines this for functions which it implements
73290 to always fail with ENOSYS. Some functions are actually named
73291 something starting with __ and the normal name is an alias. */
73292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73293 choke me
73294 #else
73295 char (*f) () = $ac_func;
73296 #endif
73297 #ifdef __cplusplus
73298 }
73299 #endif
73300
73301 int
73302 main ()
73303 {
73304 return f != $ac_func;
73305 ;
73306 return 0;
73307 }
73308 _ACEOF
73309 rm -f conftest.$ac_objext conftest$ac_exeext
73310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73311 (eval $ac_link) 2>conftest.er1
73312 ac_status=$?
73313 grep -v '^ *+' conftest.er1 >conftest.err
73314 rm -f conftest.er1
73315 cat conftest.err >&5
73316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73317 (exit $ac_status); } &&
73318 { ac_try='test -z "$ac_c_werror_flag"
73319 || test ! -s conftest.err'
73320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73321 (eval $ac_try) 2>&5
73322 ac_status=$?
73323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73324 (exit $ac_status); }; } &&
73325 { ac_try='test -s conftest$ac_exeext'
73326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73327 (eval $ac_try) 2>&5
73328 ac_status=$?
73329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73330 (exit $ac_status); }; }; then
73331 eval "$as_ac_var=yes"
73332 else
73333 echo "$as_me: failed program was:" >&5
73334 sed 's/^/| /' conftest.$ac_ext >&5
73335
73336 eval "$as_ac_var=no"
73337 fi
73338 rm -f conftest.err conftest.$ac_objext \
73339 conftest$ac_exeext conftest.$ac_ext
73340 fi
73341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73343 if test `eval echo '${'$as_ac_var'}'` = yes; then
73344 cat >>confdefs.h <<_ACEOF
73345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73346 _ACEOF
73347
73348 fi
73349 done
73350
73351 else
73352
73353 echo "$as_me:$LINENO: checking for _logf declaration" >&5
73354 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
73355 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73356 if test "${glibcxx_cv_func__logf_use+set}" = set; then
73357 echo $ECHO_N "(cached) $ECHO_C" >&6
73358 else
73359
73360
73361
73362 ac_ext=cc
73363 ac_cpp='$CXXCPP $CPPFLAGS'
73364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73367
73368 cat >conftest.$ac_ext <<_ACEOF
73369 /* confdefs.h. */
73370 _ACEOF
73371 cat confdefs.h >>conftest.$ac_ext
73372 cat >>conftest.$ac_ext <<_ACEOF
73373 /* end confdefs.h. */
73374 #include <math.h>
73375 #ifdef HAVE_IEEEFP_H
73376 #include <ieeefp.h>
73377 #endif
73378
73379 int
73380 main ()
73381 {
73382 _logf(0);
73383 ;
73384 return 0;
73385 }
73386 _ACEOF
73387 rm -f conftest.$ac_objext
73388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73389 (eval $ac_compile) 2>conftest.er1
73390 ac_status=$?
73391 grep -v '^ *+' conftest.er1 >conftest.err
73392 rm -f conftest.er1
73393 cat conftest.err >&5
73394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73395 (exit $ac_status); } &&
73396 { ac_try='test -z "$ac_cxx_werror_flag"
73397 || test ! -s conftest.err'
73398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73399 (eval $ac_try) 2>&5
73400 ac_status=$?
73401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73402 (exit $ac_status); }; } &&
73403 { ac_try='test -s conftest.$ac_objext'
73404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73405 (eval $ac_try) 2>&5
73406 ac_status=$?
73407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73408 (exit $ac_status); }; }; then
73409 glibcxx_cv_func__logf_use=yes
73410 else
73411 echo "$as_me: failed program was:" >&5
73412 sed 's/^/| /' conftest.$ac_ext >&5
73413
73414 glibcxx_cv_func__logf_use=no
73415 fi
73416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73417 ac_ext=c
73418 ac_cpp='$CPP $CPPFLAGS'
73419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73422
73423
73424 fi
73425
73426 fi
73427 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
73428 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
73429
73430 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73431
73432 for ac_func in _logf
73433 do
73434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73435 echo "$as_me:$LINENO: checking for $ac_func" >&5
73436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73437 if eval "test \"\${$as_ac_var+set}\" = set"; then
73438 echo $ECHO_N "(cached) $ECHO_C" >&6
73439 else
73440 if test x$gcc_no_link = xyes; then
73441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73443 { (exit 1); exit 1; }; }
73444 fi
73445 cat >conftest.$ac_ext <<_ACEOF
73446 /* confdefs.h. */
73447 _ACEOF
73448 cat confdefs.h >>conftest.$ac_ext
73449 cat >>conftest.$ac_ext <<_ACEOF
73450 /* end confdefs.h. */
73451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73453 #define $ac_func innocuous_$ac_func
73454
73455 /* System header to define __stub macros and hopefully few prototypes,
73456 which can conflict with char $ac_func (); below.
73457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73458 <limits.h> exists even on freestanding compilers. */
73459
73460 #ifdef __STDC__
73461 # include <limits.h>
73462 #else
73463 # include <assert.h>
73464 #endif
73465
73466 #undef $ac_func
73467
73468 /* Override any gcc2 internal prototype to avoid an error. */
73469 #ifdef __cplusplus
73470 extern "C"
73471 {
73472 #endif
73473 /* We use char because int might match the return type of a gcc2
73474 builtin and then its argument prototype would still apply. */
73475 char $ac_func ();
73476 /* The GNU C library defines this for functions which it implements
73477 to always fail with ENOSYS. Some functions are actually named
73478 something starting with __ and the normal name is an alias. */
73479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73480 choke me
73481 #else
73482 char (*f) () = $ac_func;
73483 #endif
73484 #ifdef __cplusplus
73485 }
73486 #endif
73487
73488 int
73489 main ()
73490 {
73491 return f != $ac_func;
73492 ;
73493 return 0;
73494 }
73495 _ACEOF
73496 rm -f conftest.$ac_objext conftest$ac_exeext
73497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73498 (eval $ac_link) 2>conftest.er1
73499 ac_status=$?
73500 grep -v '^ *+' conftest.er1 >conftest.err
73501 rm -f conftest.er1
73502 cat conftest.err >&5
73503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73504 (exit $ac_status); } &&
73505 { ac_try='test -z "$ac_c_werror_flag"
73506 || test ! -s conftest.err'
73507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73508 (eval $ac_try) 2>&5
73509 ac_status=$?
73510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73511 (exit $ac_status); }; } &&
73512 { ac_try='test -s conftest$ac_exeext'
73513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73514 (eval $ac_try) 2>&5
73515 ac_status=$?
73516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73517 (exit $ac_status); }; }; then
73518 eval "$as_ac_var=yes"
73519 else
73520 echo "$as_me: failed program was:" >&5
73521 sed 's/^/| /' conftest.$ac_ext >&5
73522
73523 eval "$as_ac_var=no"
73524 fi
73525 rm -f conftest.err conftest.$ac_objext \
73526 conftest$ac_exeext conftest.$ac_ext
73527 fi
73528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73530 if test `eval echo '${'$as_ac_var'}'` = yes; then
73531 cat >>confdefs.h <<_ACEOF
73532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73533 _ACEOF
73534
73535 fi
73536 done
73537
73538 fi
73539 fi
73540
73541
73542
73543
73544
73545
73546 echo "$as_me:$LINENO: checking for log10f declaration" >&5
73547 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
73548 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73549 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
73550 echo $ECHO_N "(cached) $ECHO_C" >&6
73551 else
73552
73553
73554
73555 ac_ext=cc
73556 ac_cpp='$CXXCPP $CPPFLAGS'
73557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73560
73561 cat >conftest.$ac_ext <<_ACEOF
73562 /* confdefs.h. */
73563 _ACEOF
73564 cat confdefs.h >>conftest.$ac_ext
73565 cat >>conftest.$ac_ext <<_ACEOF
73566 /* end confdefs.h. */
73567 #include <math.h>
73568 #ifdef HAVE_IEEEFP_H
73569 #include <ieeefp.h>
73570 #endif
73571
73572 int
73573 main ()
73574 {
73575 log10f(0);
73576 ;
73577 return 0;
73578 }
73579 _ACEOF
73580 rm -f conftest.$ac_objext
73581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73582 (eval $ac_compile) 2>conftest.er1
73583 ac_status=$?
73584 grep -v '^ *+' conftest.er1 >conftest.err
73585 rm -f conftest.er1
73586 cat conftest.err >&5
73587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73588 (exit $ac_status); } &&
73589 { ac_try='test -z "$ac_cxx_werror_flag"
73590 || test ! -s conftest.err'
73591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73592 (eval $ac_try) 2>&5
73593 ac_status=$?
73594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73595 (exit $ac_status); }; } &&
73596 { ac_try='test -s conftest.$ac_objext'
73597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73598 (eval $ac_try) 2>&5
73599 ac_status=$?
73600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73601 (exit $ac_status); }; }; then
73602 glibcxx_cv_func_log10f_use=yes
73603 else
73604 echo "$as_me: failed program was:" >&5
73605 sed 's/^/| /' conftest.$ac_ext >&5
73606
73607 glibcxx_cv_func_log10f_use=no
73608 fi
73609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73610 ac_ext=c
73611 ac_cpp='$CPP $CPPFLAGS'
73612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73615
73616
73617 fi
73618
73619 fi
73620 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
73621 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
73622
73623 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73624
73625 for ac_func in log10f
73626 do
73627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73628 echo "$as_me:$LINENO: checking for $ac_func" >&5
73629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73630 if eval "test \"\${$as_ac_var+set}\" = set"; then
73631 echo $ECHO_N "(cached) $ECHO_C" >&6
73632 else
73633 if test x$gcc_no_link = xyes; then
73634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73636 { (exit 1); exit 1; }; }
73637 fi
73638 cat >conftest.$ac_ext <<_ACEOF
73639 /* confdefs.h. */
73640 _ACEOF
73641 cat confdefs.h >>conftest.$ac_ext
73642 cat >>conftest.$ac_ext <<_ACEOF
73643 /* end confdefs.h. */
73644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73646 #define $ac_func innocuous_$ac_func
73647
73648 /* System header to define __stub macros and hopefully few prototypes,
73649 which can conflict with char $ac_func (); below.
73650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73651 <limits.h> exists even on freestanding compilers. */
73652
73653 #ifdef __STDC__
73654 # include <limits.h>
73655 #else
73656 # include <assert.h>
73657 #endif
73658
73659 #undef $ac_func
73660
73661 /* Override any gcc2 internal prototype to avoid an error. */
73662 #ifdef __cplusplus
73663 extern "C"
73664 {
73665 #endif
73666 /* We use char because int might match the return type of a gcc2
73667 builtin and then its argument prototype would still apply. */
73668 char $ac_func ();
73669 /* The GNU C library defines this for functions which it implements
73670 to always fail with ENOSYS. Some functions are actually named
73671 something starting with __ and the normal name is an alias. */
73672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73673 choke me
73674 #else
73675 char (*f) () = $ac_func;
73676 #endif
73677 #ifdef __cplusplus
73678 }
73679 #endif
73680
73681 int
73682 main ()
73683 {
73684 return f != $ac_func;
73685 ;
73686 return 0;
73687 }
73688 _ACEOF
73689 rm -f conftest.$ac_objext conftest$ac_exeext
73690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73691 (eval $ac_link) 2>conftest.er1
73692 ac_status=$?
73693 grep -v '^ *+' conftest.er1 >conftest.err
73694 rm -f conftest.er1
73695 cat conftest.err >&5
73696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73697 (exit $ac_status); } &&
73698 { ac_try='test -z "$ac_c_werror_flag"
73699 || test ! -s conftest.err'
73700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73701 (eval $ac_try) 2>&5
73702 ac_status=$?
73703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73704 (exit $ac_status); }; } &&
73705 { ac_try='test -s conftest$ac_exeext'
73706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73707 (eval $ac_try) 2>&5
73708 ac_status=$?
73709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73710 (exit $ac_status); }; }; then
73711 eval "$as_ac_var=yes"
73712 else
73713 echo "$as_me: failed program was:" >&5
73714 sed 's/^/| /' conftest.$ac_ext >&5
73715
73716 eval "$as_ac_var=no"
73717 fi
73718 rm -f conftest.err conftest.$ac_objext \
73719 conftest$ac_exeext conftest.$ac_ext
73720 fi
73721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73723 if test `eval echo '${'$as_ac_var'}'` = yes; then
73724 cat >>confdefs.h <<_ACEOF
73725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73726 _ACEOF
73727
73728 fi
73729 done
73730
73731 else
73732
73733 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
73734 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
73735 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73736 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
73737 echo $ECHO_N "(cached) $ECHO_C" >&6
73738 else
73739
73740
73741
73742 ac_ext=cc
73743 ac_cpp='$CXXCPP $CPPFLAGS'
73744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73747
73748 cat >conftest.$ac_ext <<_ACEOF
73749 /* confdefs.h. */
73750 _ACEOF
73751 cat confdefs.h >>conftest.$ac_ext
73752 cat >>conftest.$ac_ext <<_ACEOF
73753 /* end confdefs.h. */
73754 #include <math.h>
73755 #ifdef HAVE_IEEEFP_H
73756 #include <ieeefp.h>
73757 #endif
73758
73759 int
73760 main ()
73761 {
73762 _log10f(0);
73763 ;
73764 return 0;
73765 }
73766 _ACEOF
73767 rm -f conftest.$ac_objext
73768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73769 (eval $ac_compile) 2>conftest.er1
73770 ac_status=$?
73771 grep -v '^ *+' conftest.er1 >conftest.err
73772 rm -f conftest.er1
73773 cat conftest.err >&5
73774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73775 (exit $ac_status); } &&
73776 { ac_try='test -z "$ac_cxx_werror_flag"
73777 || test ! -s conftest.err'
73778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73779 (eval $ac_try) 2>&5
73780 ac_status=$?
73781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73782 (exit $ac_status); }; } &&
73783 { ac_try='test -s conftest.$ac_objext'
73784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73785 (eval $ac_try) 2>&5
73786 ac_status=$?
73787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73788 (exit $ac_status); }; }; then
73789 glibcxx_cv_func__log10f_use=yes
73790 else
73791 echo "$as_me: failed program was:" >&5
73792 sed 's/^/| /' conftest.$ac_ext >&5
73793
73794 glibcxx_cv_func__log10f_use=no
73795 fi
73796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73797 ac_ext=c
73798 ac_cpp='$CPP $CPPFLAGS'
73799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73802
73803
73804 fi
73805
73806 fi
73807 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
73808 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
73809
73810 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73811
73812 for ac_func in _log10f
73813 do
73814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73815 echo "$as_me:$LINENO: checking for $ac_func" >&5
73816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73817 if eval "test \"\${$as_ac_var+set}\" = set"; then
73818 echo $ECHO_N "(cached) $ECHO_C" >&6
73819 else
73820 if test x$gcc_no_link = xyes; then
73821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73823 { (exit 1); exit 1; }; }
73824 fi
73825 cat >conftest.$ac_ext <<_ACEOF
73826 /* confdefs.h. */
73827 _ACEOF
73828 cat confdefs.h >>conftest.$ac_ext
73829 cat >>conftest.$ac_ext <<_ACEOF
73830 /* end confdefs.h. */
73831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73833 #define $ac_func innocuous_$ac_func
73834
73835 /* System header to define __stub macros and hopefully few prototypes,
73836 which can conflict with char $ac_func (); below.
73837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73838 <limits.h> exists even on freestanding compilers. */
73839
73840 #ifdef __STDC__
73841 # include <limits.h>
73842 #else
73843 # include <assert.h>
73844 #endif
73845
73846 #undef $ac_func
73847
73848 /* Override any gcc2 internal prototype to avoid an error. */
73849 #ifdef __cplusplus
73850 extern "C"
73851 {
73852 #endif
73853 /* We use char because int might match the return type of a gcc2
73854 builtin and then its argument prototype would still apply. */
73855 char $ac_func ();
73856 /* The GNU C library defines this for functions which it implements
73857 to always fail with ENOSYS. Some functions are actually named
73858 something starting with __ and the normal name is an alias. */
73859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73860 choke me
73861 #else
73862 char (*f) () = $ac_func;
73863 #endif
73864 #ifdef __cplusplus
73865 }
73866 #endif
73867
73868 int
73869 main ()
73870 {
73871 return f != $ac_func;
73872 ;
73873 return 0;
73874 }
73875 _ACEOF
73876 rm -f conftest.$ac_objext conftest$ac_exeext
73877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73878 (eval $ac_link) 2>conftest.er1
73879 ac_status=$?
73880 grep -v '^ *+' conftest.er1 >conftest.err
73881 rm -f conftest.er1
73882 cat conftest.err >&5
73883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73884 (exit $ac_status); } &&
73885 { ac_try='test -z "$ac_c_werror_flag"
73886 || test ! -s conftest.err'
73887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73888 (eval $ac_try) 2>&5
73889 ac_status=$?
73890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73891 (exit $ac_status); }; } &&
73892 { ac_try='test -s conftest$ac_exeext'
73893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73894 (eval $ac_try) 2>&5
73895 ac_status=$?
73896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73897 (exit $ac_status); }; }; then
73898 eval "$as_ac_var=yes"
73899 else
73900 echo "$as_me: failed program was:" >&5
73901 sed 's/^/| /' conftest.$ac_ext >&5
73902
73903 eval "$as_ac_var=no"
73904 fi
73905 rm -f conftest.err conftest.$ac_objext \
73906 conftest$ac_exeext conftest.$ac_ext
73907 fi
73908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73910 if test `eval echo '${'$as_ac_var'}'` = yes; then
73911 cat >>confdefs.h <<_ACEOF
73912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73913 _ACEOF
73914
73915 fi
73916 done
73917
73918 fi
73919 fi
73920
73921
73922
73923
73924
73925
73926 echo "$as_me:$LINENO: checking for modff declaration" >&5
73927 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
73928 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73929 if test "${glibcxx_cv_func_modff_use+set}" = set; then
73930 echo $ECHO_N "(cached) $ECHO_C" >&6
73931 else
73932
73933
73934
73935 ac_ext=cc
73936 ac_cpp='$CXXCPP $CPPFLAGS'
73937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73940
73941 cat >conftest.$ac_ext <<_ACEOF
73942 /* confdefs.h. */
73943 _ACEOF
73944 cat confdefs.h >>conftest.$ac_ext
73945 cat >>conftest.$ac_ext <<_ACEOF
73946 /* end confdefs.h. */
73947 #include <math.h>
73948 int
73949 main ()
73950 {
73951 modff(0, 0);
73952 ;
73953 return 0;
73954 }
73955 _ACEOF
73956 rm -f conftest.$ac_objext
73957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73958 (eval $ac_compile) 2>conftest.er1
73959 ac_status=$?
73960 grep -v '^ *+' conftest.er1 >conftest.err
73961 rm -f conftest.er1
73962 cat conftest.err >&5
73963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73964 (exit $ac_status); } &&
73965 { ac_try='test -z "$ac_cxx_werror_flag"
73966 || test ! -s conftest.err'
73967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73968 (eval $ac_try) 2>&5
73969 ac_status=$?
73970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73971 (exit $ac_status); }; } &&
73972 { ac_try='test -s conftest.$ac_objext'
73973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73974 (eval $ac_try) 2>&5
73975 ac_status=$?
73976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73977 (exit $ac_status); }; }; then
73978 glibcxx_cv_func_modff_use=yes
73979 else
73980 echo "$as_me: failed program was:" >&5
73981 sed 's/^/| /' conftest.$ac_ext >&5
73982
73983 glibcxx_cv_func_modff_use=no
73984 fi
73985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73986 ac_ext=c
73987 ac_cpp='$CPP $CPPFLAGS'
73988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73991
73992
73993 fi
73994
73995 fi
73996 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
73997 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
73998
73999 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74000
74001 for ac_func in modff
74002 do
74003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74004 echo "$as_me:$LINENO: checking for $ac_func" >&5
74005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74006 if eval "test \"\${$as_ac_var+set}\" = set"; then
74007 echo $ECHO_N "(cached) $ECHO_C" >&6
74008 else
74009 if test x$gcc_no_link = xyes; then
74010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74012 { (exit 1); exit 1; }; }
74013 fi
74014 cat >conftest.$ac_ext <<_ACEOF
74015 /* confdefs.h. */
74016 _ACEOF
74017 cat confdefs.h >>conftest.$ac_ext
74018 cat >>conftest.$ac_ext <<_ACEOF
74019 /* end confdefs.h. */
74020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74022 #define $ac_func innocuous_$ac_func
74023
74024 /* System header to define __stub macros and hopefully few prototypes,
74025 which can conflict with char $ac_func (); below.
74026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74027 <limits.h> exists even on freestanding compilers. */
74028
74029 #ifdef __STDC__
74030 # include <limits.h>
74031 #else
74032 # include <assert.h>
74033 #endif
74034
74035 #undef $ac_func
74036
74037 /* Override any gcc2 internal prototype to avoid an error. */
74038 #ifdef __cplusplus
74039 extern "C"
74040 {
74041 #endif
74042 /* We use char because int might match the return type of a gcc2
74043 builtin and then its argument prototype would still apply. */
74044 char $ac_func ();
74045 /* The GNU C library defines this for functions which it implements
74046 to always fail with ENOSYS. Some functions are actually named
74047 something starting with __ and the normal name is an alias. */
74048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74049 choke me
74050 #else
74051 char (*f) () = $ac_func;
74052 #endif
74053 #ifdef __cplusplus
74054 }
74055 #endif
74056
74057 int
74058 main ()
74059 {
74060 return f != $ac_func;
74061 ;
74062 return 0;
74063 }
74064 _ACEOF
74065 rm -f conftest.$ac_objext conftest$ac_exeext
74066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74067 (eval $ac_link) 2>conftest.er1
74068 ac_status=$?
74069 grep -v '^ *+' conftest.er1 >conftest.err
74070 rm -f conftest.er1
74071 cat conftest.err >&5
74072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74073 (exit $ac_status); } &&
74074 { ac_try='test -z "$ac_c_werror_flag"
74075 || test ! -s conftest.err'
74076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74077 (eval $ac_try) 2>&5
74078 ac_status=$?
74079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74080 (exit $ac_status); }; } &&
74081 { ac_try='test -s conftest$ac_exeext'
74082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74083 (eval $ac_try) 2>&5
74084 ac_status=$?
74085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74086 (exit $ac_status); }; }; then
74087 eval "$as_ac_var=yes"
74088 else
74089 echo "$as_me: failed program was:" >&5
74090 sed 's/^/| /' conftest.$ac_ext >&5
74091
74092 eval "$as_ac_var=no"
74093 fi
74094 rm -f conftest.err conftest.$ac_objext \
74095 conftest$ac_exeext conftest.$ac_ext
74096 fi
74097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74099 if test `eval echo '${'$as_ac_var'}'` = yes; then
74100 cat >>confdefs.h <<_ACEOF
74101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74102 _ACEOF
74103
74104 fi
74105 done
74106
74107 else
74108
74109 echo "$as_me:$LINENO: checking for _modff declaration" >&5
74110 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
74111 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74112 if test "${glibcxx_cv_func__modff_use+set}" = set; then
74113 echo $ECHO_N "(cached) $ECHO_C" >&6
74114 else
74115
74116
74117
74118 ac_ext=cc
74119 ac_cpp='$CXXCPP $CPPFLAGS'
74120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74123
74124 cat >conftest.$ac_ext <<_ACEOF
74125 /* confdefs.h. */
74126 _ACEOF
74127 cat confdefs.h >>conftest.$ac_ext
74128 cat >>conftest.$ac_ext <<_ACEOF
74129 /* end confdefs.h. */
74130 #include <math.h>
74131 int
74132 main ()
74133 {
74134 _modff(0, 0);
74135 ;
74136 return 0;
74137 }
74138 _ACEOF
74139 rm -f conftest.$ac_objext
74140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74141 (eval $ac_compile) 2>conftest.er1
74142 ac_status=$?
74143 grep -v '^ *+' conftest.er1 >conftest.err
74144 rm -f conftest.er1
74145 cat conftest.err >&5
74146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74147 (exit $ac_status); } &&
74148 { ac_try='test -z "$ac_cxx_werror_flag"
74149 || test ! -s conftest.err'
74150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74151 (eval $ac_try) 2>&5
74152 ac_status=$?
74153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74154 (exit $ac_status); }; } &&
74155 { ac_try='test -s conftest.$ac_objext'
74156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74157 (eval $ac_try) 2>&5
74158 ac_status=$?
74159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74160 (exit $ac_status); }; }; then
74161 glibcxx_cv_func__modff_use=yes
74162 else
74163 echo "$as_me: failed program was:" >&5
74164 sed 's/^/| /' conftest.$ac_ext >&5
74165
74166 glibcxx_cv_func__modff_use=no
74167 fi
74168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74169 ac_ext=c
74170 ac_cpp='$CPP $CPPFLAGS'
74171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74174
74175
74176 fi
74177
74178 fi
74179 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
74180 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
74181
74182 if test x$glibcxx_cv_func__modff_use = x"yes"; then
74183
74184 for ac_func in _modff
74185 do
74186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74187 echo "$as_me:$LINENO: checking for $ac_func" >&5
74188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74189 if eval "test \"\${$as_ac_var+set}\" = set"; then
74190 echo $ECHO_N "(cached) $ECHO_C" >&6
74191 else
74192 if test x$gcc_no_link = xyes; then
74193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74195 { (exit 1); exit 1; }; }
74196 fi
74197 cat >conftest.$ac_ext <<_ACEOF
74198 /* confdefs.h. */
74199 _ACEOF
74200 cat confdefs.h >>conftest.$ac_ext
74201 cat >>conftest.$ac_ext <<_ACEOF
74202 /* end confdefs.h. */
74203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74205 #define $ac_func innocuous_$ac_func
74206
74207 /* System header to define __stub macros and hopefully few prototypes,
74208 which can conflict with char $ac_func (); below.
74209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74210 <limits.h> exists even on freestanding compilers. */
74211
74212 #ifdef __STDC__
74213 # include <limits.h>
74214 #else
74215 # include <assert.h>
74216 #endif
74217
74218 #undef $ac_func
74219
74220 /* Override any gcc2 internal prototype to avoid an error. */
74221 #ifdef __cplusplus
74222 extern "C"
74223 {
74224 #endif
74225 /* We use char because int might match the return type of a gcc2
74226 builtin and then its argument prototype would still apply. */
74227 char $ac_func ();
74228 /* The GNU C library defines this for functions which it implements
74229 to always fail with ENOSYS. Some functions are actually named
74230 something starting with __ and the normal name is an alias. */
74231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74232 choke me
74233 #else
74234 char (*f) () = $ac_func;
74235 #endif
74236 #ifdef __cplusplus
74237 }
74238 #endif
74239
74240 int
74241 main ()
74242 {
74243 return f != $ac_func;
74244 ;
74245 return 0;
74246 }
74247 _ACEOF
74248 rm -f conftest.$ac_objext conftest$ac_exeext
74249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74250 (eval $ac_link) 2>conftest.er1
74251 ac_status=$?
74252 grep -v '^ *+' conftest.er1 >conftest.err
74253 rm -f conftest.er1
74254 cat conftest.err >&5
74255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74256 (exit $ac_status); } &&
74257 { ac_try='test -z "$ac_c_werror_flag"
74258 || test ! -s conftest.err'
74259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74260 (eval $ac_try) 2>&5
74261 ac_status=$?
74262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74263 (exit $ac_status); }; } &&
74264 { ac_try='test -s conftest$ac_exeext'
74265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74266 (eval $ac_try) 2>&5
74267 ac_status=$?
74268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74269 (exit $ac_status); }; }; then
74270 eval "$as_ac_var=yes"
74271 else
74272 echo "$as_me: failed program was:" >&5
74273 sed 's/^/| /' conftest.$ac_ext >&5
74274
74275 eval "$as_ac_var=no"
74276 fi
74277 rm -f conftest.err conftest.$ac_objext \
74278 conftest$ac_exeext conftest.$ac_ext
74279 fi
74280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74282 if test `eval echo '${'$as_ac_var'}'` = yes; then
74283 cat >>confdefs.h <<_ACEOF
74284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74285 _ACEOF
74286
74287 fi
74288 done
74289
74290 fi
74291 fi
74292
74293
74294
74295
74296
74297
74298 echo "$as_me:$LINENO: checking for modf declaration" >&5
74299 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
74300 if test x${glibcxx_cv_func_modf_use+set} != xset; then
74301 if test "${glibcxx_cv_func_modf_use+set}" = set; then
74302 echo $ECHO_N "(cached) $ECHO_C" >&6
74303 else
74304
74305
74306
74307 ac_ext=cc
74308 ac_cpp='$CXXCPP $CPPFLAGS'
74309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74312
74313 cat >conftest.$ac_ext <<_ACEOF
74314 /* confdefs.h. */
74315 _ACEOF
74316 cat confdefs.h >>conftest.$ac_ext
74317 cat >>conftest.$ac_ext <<_ACEOF
74318 /* end confdefs.h. */
74319 #include <math.h>
74320 int
74321 main ()
74322 {
74323 modf(0, 0);
74324 ;
74325 return 0;
74326 }
74327 _ACEOF
74328 rm -f conftest.$ac_objext
74329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74330 (eval $ac_compile) 2>conftest.er1
74331 ac_status=$?
74332 grep -v '^ *+' conftest.er1 >conftest.err
74333 rm -f conftest.er1
74334 cat conftest.err >&5
74335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74336 (exit $ac_status); } &&
74337 { ac_try='test -z "$ac_cxx_werror_flag"
74338 || test ! -s conftest.err'
74339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74340 (eval $ac_try) 2>&5
74341 ac_status=$?
74342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74343 (exit $ac_status); }; } &&
74344 { ac_try='test -s conftest.$ac_objext'
74345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74346 (eval $ac_try) 2>&5
74347 ac_status=$?
74348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74349 (exit $ac_status); }; }; then
74350 glibcxx_cv_func_modf_use=yes
74351 else
74352 echo "$as_me: failed program was:" >&5
74353 sed 's/^/| /' conftest.$ac_ext >&5
74354
74355 glibcxx_cv_func_modf_use=no
74356 fi
74357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74358 ac_ext=c
74359 ac_cpp='$CPP $CPPFLAGS'
74360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74363
74364
74365 fi
74366
74367 fi
74368 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
74369 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
74370
74371 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74372
74373 for ac_func in modf
74374 do
74375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74376 echo "$as_me:$LINENO: checking for $ac_func" >&5
74377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74378 if eval "test \"\${$as_ac_var+set}\" = set"; then
74379 echo $ECHO_N "(cached) $ECHO_C" >&6
74380 else
74381 if test x$gcc_no_link = xyes; then
74382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74384 { (exit 1); exit 1; }; }
74385 fi
74386 cat >conftest.$ac_ext <<_ACEOF
74387 /* confdefs.h. */
74388 _ACEOF
74389 cat confdefs.h >>conftest.$ac_ext
74390 cat >>conftest.$ac_ext <<_ACEOF
74391 /* end confdefs.h. */
74392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74394 #define $ac_func innocuous_$ac_func
74395
74396 /* System header to define __stub macros and hopefully few prototypes,
74397 which can conflict with char $ac_func (); below.
74398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74399 <limits.h> exists even on freestanding compilers. */
74400
74401 #ifdef __STDC__
74402 # include <limits.h>
74403 #else
74404 # include <assert.h>
74405 #endif
74406
74407 #undef $ac_func
74408
74409 /* Override any gcc2 internal prototype to avoid an error. */
74410 #ifdef __cplusplus
74411 extern "C"
74412 {
74413 #endif
74414 /* We use char because int might match the return type of a gcc2
74415 builtin and then its argument prototype would still apply. */
74416 char $ac_func ();
74417 /* The GNU C library defines this for functions which it implements
74418 to always fail with ENOSYS. Some functions are actually named
74419 something starting with __ and the normal name is an alias. */
74420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74421 choke me
74422 #else
74423 char (*f) () = $ac_func;
74424 #endif
74425 #ifdef __cplusplus
74426 }
74427 #endif
74428
74429 int
74430 main ()
74431 {
74432 return f != $ac_func;
74433 ;
74434 return 0;
74435 }
74436 _ACEOF
74437 rm -f conftest.$ac_objext conftest$ac_exeext
74438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74439 (eval $ac_link) 2>conftest.er1
74440 ac_status=$?
74441 grep -v '^ *+' conftest.er1 >conftest.err
74442 rm -f conftest.er1
74443 cat conftest.err >&5
74444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74445 (exit $ac_status); } &&
74446 { ac_try='test -z "$ac_c_werror_flag"
74447 || test ! -s conftest.err'
74448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74449 (eval $ac_try) 2>&5
74450 ac_status=$?
74451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74452 (exit $ac_status); }; } &&
74453 { ac_try='test -s conftest$ac_exeext'
74454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74455 (eval $ac_try) 2>&5
74456 ac_status=$?
74457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74458 (exit $ac_status); }; }; then
74459 eval "$as_ac_var=yes"
74460 else
74461 echo "$as_me: failed program was:" >&5
74462 sed 's/^/| /' conftest.$ac_ext >&5
74463
74464 eval "$as_ac_var=no"
74465 fi
74466 rm -f conftest.err conftest.$ac_objext \
74467 conftest$ac_exeext conftest.$ac_ext
74468 fi
74469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74471 if test `eval echo '${'$as_ac_var'}'` = yes; then
74472 cat >>confdefs.h <<_ACEOF
74473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74474 _ACEOF
74475
74476 fi
74477 done
74478
74479 else
74480
74481 echo "$as_me:$LINENO: checking for _modf declaration" >&5
74482 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
74483 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74484 if test "${glibcxx_cv_func__modf_use+set}" = set; then
74485 echo $ECHO_N "(cached) $ECHO_C" >&6
74486 else
74487
74488
74489
74490 ac_ext=cc
74491 ac_cpp='$CXXCPP $CPPFLAGS'
74492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74495
74496 cat >conftest.$ac_ext <<_ACEOF
74497 /* confdefs.h. */
74498 _ACEOF
74499 cat confdefs.h >>conftest.$ac_ext
74500 cat >>conftest.$ac_ext <<_ACEOF
74501 /* end confdefs.h. */
74502 #include <math.h>
74503 int
74504 main ()
74505 {
74506 _modf(0, 0);
74507 ;
74508 return 0;
74509 }
74510 _ACEOF
74511 rm -f conftest.$ac_objext
74512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74513 (eval $ac_compile) 2>conftest.er1
74514 ac_status=$?
74515 grep -v '^ *+' conftest.er1 >conftest.err
74516 rm -f conftest.er1
74517 cat conftest.err >&5
74518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74519 (exit $ac_status); } &&
74520 { ac_try='test -z "$ac_cxx_werror_flag"
74521 || test ! -s conftest.err'
74522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74523 (eval $ac_try) 2>&5
74524 ac_status=$?
74525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74526 (exit $ac_status); }; } &&
74527 { ac_try='test -s conftest.$ac_objext'
74528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74529 (eval $ac_try) 2>&5
74530 ac_status=$?
74531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74532 (exit $ac_status); }; }; then
74533 glibcxx_cv_func__modf_use=yes
74534 else
74535 echo "$as_me: failed program was:" >&5
74536 sed 's/^/| /' conftest.$ac_ext >&5
74537
74538 glibcxx_cv_func__modf_use=no
74539 fi
74540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74541 ac_ext=c
74542 ac_cpp='$CPP $CPPFLAGS'
74543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74546
74547
74548 fi
74549
74550 fi
74551 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
74552 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
74553
74554 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74555
74556 for ac_func in _modf
74557 do
74558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74559 echo "$as_me:$LINENO: checking for $ac_func" >&5
74560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74561 if eval "test \"\${$as_ac_var+set}\" = set"; then
74562 echo $ECHO_N "(cached) $ECHO_C" >&6
74563 else
74564 if test x$gcc_no_link = xyes; then
74565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74567 { (exit 1); exit 1; }; }
74568 fi
74569 cat >conftest.$ac_ext <<_ACEOF
74570 /* confdefs.h. */
74571 _ACEOF
74572 cat confdefs.h >>conftest.$ac_ext
74573 cat >>conftest.$ac_ext <<_ACEOF
74574 /* end confdefs.h. */
74575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74577 #define $ac_func innocuous_$ac_func
74578
74579 /* System header to define __stub macros and hopefully few prototypes,
74580 which can conflict with char $ac_func (); below.
74581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74582 <limits.h> exists even on freestanding compilers. */
74583
74584 #ifdef __STDC__
74585 # include <limits.h>
74586 #else
74587 # include <assert.h>
74588 #endif
74589
74590 #undef $ac_func
74591
74592 /* Override any gcc2 internal prototype to avoid an error. */
74593 #ifdef __cplusplus
74594 extern "C"
74595 {
74596 #endif
74597 /* We use char because int might match the return type of a gcc2
74598 builtin and then its argument prototype would still apply. */
74599 char $ac_func ();
74600 /* The GNU C library defines this for functions which it implements
74601 to always fail with ENOSYS. Some functions are actually named
74602 something starting with __ and the normal name is an alias. */
74603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74604 choke me
74605 #else
74606 char (*f) () = $ac_func;
74607 #endif
74608 #ifdef __cplusplus
74609 }
74610 #endif
74611
74612 int
74613 main ()
74614 {
74615 return f != $ac_func;
74616 ;
74617 return 0;
74618 }
74619 _ACEOF
74620 rm -f conftest.$ac_objext conftest$ac_exeext
74621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74622 (eval $ac_link) 2>conftest.er1
74623 ac_status=$?
74624 grep -v '^ *+' conftest.er1 >conftest.err
74625 rm -f conftest.er1
74626 cat conftest.err >&5
74627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74628 (exit $ac_status); } &&
74629 { ac_try='test -z "$ac_c_werror_flag"
74630 || test ! -s conftest.err'
74631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74632 (eval $ac_try) 2>&5
74633 ac_status=$?
74634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74635 (exit $ac_status); }; } &&
74636 { ac_try='test -s conftest$ac_exeext'
74637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74638 (eval $ac_try) 2>&5
74639 ac_status=$?
74640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74641 (exit $ac_status); }; }; then
74642 eval "$as_ac_var=yes"
74643 else
74644 echo "$as_me: failed program was:" >&5
74645 sed 's/^/| /' conftest.$ac_ext >&5
74646
74647 eval "$as_ac_var=no"
74648 fi
74649 rm -f conftest.err conftest.$ac_objext \
74650 conftest$ac_exeext conftest.$ac_ext
74651 fi
74652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74654 if test `eval echo '${'$as_ac_var'}'` = yes; then
74655 cat >>confdefs.h <<_ACEOF
74656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74657 _ACEOF
74658
74659 fi
74660 done
74661
74662 fi
74663 fi
74664
74665
74666
74667
74668
74669
74670 echo "$as_me:$LINENO: checking for powf declaration" >&5
74671 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
74672 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74673 if test "${glibcxx_cv_func_powf_use+set}" = set; then
74674 echo $ECHO_N "(cached) $ECHO_C" >&6
74675 else
74676
74677
74678
74679 ac_ext=cc
74680 ac_cpp='$CXXCPP $CPPFLAGS'
74681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74684
74685 cat >conftest.$ac_ext <<_ACEOF
74686 /* confdefs.h. */
74687 _ACEOF
74688 cat confdefs.h >>conftest.$ac_ext
74689 cat >>conftest.$ac_ext <<_ACEOF
74690 /* end confdefs.h. */
74691 #include <math.h>
74692 int
74693 main ()
74694 {
74695 powf(0, 0);
74696 ;
74697 return 0;
74698 }
74699 _ACEOF
74700 rm -f conftest.$ac_objext
74701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74702 (eval $ac_compile) 2>conftest.er1
74703 ac_status=$?
74704 grep -v '^ *+' conftest.er1 >conftest.err
74705 rm -f conftest.er1
74706 cat conftest.err >&5
74707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74708 (exit $ac_status); } &&
74709 { ac_try='test -z "$ac_cxx_werror_flag"
74710 || test ! -s conftest.err'
74711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74712 (eval $ac_try) 2>&5
74713 ac_status=$?
74714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74715 (exit $ac_status); }; } &&
74716 { ac_try='test -s conftest.$ac_objext'
74717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74718 (eval $ac_try) 2>&5
74719 ac_status=$?
74720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74721 (exit $ac_status); }; }; then
74722 glibcxx_cv_func_powf_use=yes
74723 else
74724 echo "$as_me: failed program was:" >&5
74725 sed 's/^/| /' conftest.$ac_ext >&5
74726
74727 glibcxx_cv_func_powf_use=no
74728 fi
74729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74730 ac_ext=c
74731 ac_cpp='$CPP $CPPFLAGS'
74732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74735
74736
74737 fi
74738
74739 fi
74740 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
74741 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
74742
74743 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74744
74745 for ac_func in powf
74746 do
74747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74748 echo "$as_me:$LINENO: checking for $ac_func" >&5
74749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74750 if eval "test \"\${$as_ac_var+set}\" = set"; then
74751 echo $ECHO_N "(cached) $ECHO_C" >&6
74752 else
74753 if test x$gcc_no_link = xyes; then
74754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74756 { (exit 1); exit 1; }; }
74757 fi
74758 cat >conftest.$ac_ext <<_ACEOF
74759 /* confdefs.h. */
74760 _ACEOF
74761 cat confdefs.h >>conftest.$ac_ext
74762 cat >>conftest.$ac_ext <<_ACEOF
74763 /* end confdefs.h. */
74764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74766 #define $ac_func innocuous_$ac_func
74767
74768 /* System header to define __stub macros and hopefully few prototypes,
74769 which can conflict with char $ac_func (); below.
74770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74771 <limits.h> exists even on freestanding compilers. */
74772
74773 #ifdef __STDC__
74774 # include <limits.h>
74775 #else
74776 # include <assert.h>
74777 #endif
74778
74779 #undef $ac_func
74780
74781 /* Override any gcc2 internal prototype to avoid an error. */
74782 #ifdef __cplusplus
74783 extern "C"
74784 {
74785 #endif
74786 /* We use char because int might match the return type of a gcc2
74787 builtin and then its argument prototype would still apply. */
74788 char $ac_func ();
74789 /* The GNU C library defines this for functions which it implements
74790 to always fail with ENOSYS. Some functions are actually named
74791 something starting with __ and the normal name is an alias. */
74792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74793 choke me
74794 #else
74795 char (*f) () = $ac_func;
74796 #endif
74797 #ifdef __cplusplus
74798 }
74799 #endif
74800
74801 int
74802 main ()
74803 {
74804 return f != $ac_func;
74805 ;
74806 return 0;
74807 }
74808 _ACEOF
74809 rm -f conftest.$ac_objext conftest$ac_exeext
74810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74811 (eval $ac_link) 2>conftest.er1
74812 ac_status=$?
74813 grep -v '^ *+' conftest.er1 >conftest.err
74814 rm -f conftest.er1
74815 cat conftest.err >&5
74816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74817 (exit $ac_status); } &&
74818 { ac_try='test -z "$ac_c_werror_flag"
74819 || test ! -s conftest.err'
74820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74821 (eval $ac_try) 2>&5
74822 ac_status=$?
74823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74824 (exit $ac_status); }; } &&
74825 { ac_try='test -s conftest$ac_exeext'
74826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74827 (eval $ac_try) 2>&5
74828 ac_status=$?
74829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74830 (exit $ac_status); }; }; then
74831 eval "$as_ac_var=yes"
74832 else
74833 echo "$as_me: failed program was:" >&5
74834 sed 's/^/| /' conftest.$ac_ext >&5
74835
74836 eval "$as_ac_var=no"
74837 fi
74838 rm -f conftest.err conftest.$ac_objext \
74839 conftest$ac_exeext conftest.$ac_ext
74840 fi
74841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74843 if test `eval echo '${'$as_ac_var'}'` = yes; then
74844 cat >>confdefs.h <<_ACEOF
74845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74846 _ACEOF
74847
74848 fi
74849 done
74850
74851 else
74852
74853 echo "$as_me:$LINENO: checking for _powf declaration" >&5
74854 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
74855 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74856 if test "${glibcxx_cv_func__powf_use+set}" = set; then
74857 echo $ECHO_N "(cached) $ECHO_C" >&6
74858 else
74859
74860
74861
74862 ac_ext=cc
74863 ac_cpp='$CXXCPP $CPPFLAGS'
74864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74867
74868 cat >conftest.$ac_ext <<_ACEOF
74869 /* confdefs.h. */
74870 _ACEOF
74871 cat confdefs.h >>conftest.$ac_ext
74872 cat >>conftest.$ac_ext <<_ACEOF
74873 /* end confdefs.h. */
74874 #include <math.h>
74875 int
74876 main ()
74877 {
74878 _powf(0, 0);
74879 ;
74880 return 0;
74881 }
74882 _ACEOF
74883 rm -f conftest.$ac_objext
74884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74885 (eval $ac_compile) 2>conftest.er1
74886 ac_status=$?
74887 grep -v '^ *+' conftest.er1 >conftest.err
74888 rm -f conftest.er1
74889 cat conftest.err >&5
74890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74891 (exit $ac_status); } &&
74892 { ac_try='test -z "$ac_cxx_werror_flag"
74893 || test ! -s conftest.err'
74894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74895 (eval $ac_try) 2>&5
74896 ac_status=$?
74897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74898 (exit $ac_status); }; } &&
74899 { ac_try='test -s conftest.$ac_objext'
74900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74901 (eval $ac_try) 2>&5
74902 ac_status=$?
74903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74904 (exit $ac_status); }; }; then
74905 glibcxx_cv_func__powf_use=yes
74906 else
74907 echo "$as_me: failed program was:" >&5
74908 sed 's/^/| /' conftest.$ac_ext >&5
74909
74910 glibcxx_cv_func__powf_use=no
74911 fi
74912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74913 ac_ext=c
74914 ac_cpp='$CPP $CPPFLAGS'
74915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74918
74919
74920 fi
74921
74922 fi
74923 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
74924 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
74925
74926 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74927
74928 for ac_func in _powf
74929 do
74930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74931 echo "$as_me:$LINENO: checking for $ac_func" >&5
74932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74933 if eval "test \"\${$as_ac_var+set}\" = set"; then
74934 echo $ECHO_N "(cached) $ECHO_C" >&6
74935 else
74936 if test x$gcc_no_link = xyes; then
74937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74939 { (exit 1); exit 1; }; }
74940 fi
74941 cat >conftest.$ac_ext <<_ACEOF
74942 /* confdefs.h. */
74943 _ACEOF
74944 cat confdefs.h >>conftest.$ac_ext
74945 cat >>conftest.$ac_ext <<_ACEOF
74946 /* end confdefs.h. */
74947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74949 #define $ac_func innocuous_$ac_func
74950
74951 /* System header to define __stub macros and hopefully few prototypes,
74952 which can conflict with char $ac_func (); below.
74953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74954 <limits.h> exists even on freestanding compilers. */
74955
74956 #ifdef __STDC__
74957 # include <limits.h>
74958 #else
74959 # include <assert.h>
74960 #endif
74961
74962 #undef $ac_func
74963
74964 /* Override any gcc2 internal prototype to avoid an error. */
74965 #ifdef __cplusplus
74966 extern "C"
74967 {
74968 #endif
74969 /* We use char because int might match the return type of a gcc2
74970 builtin and then its argument prototype would still apply. */
74971 char $ac_func ();
74972 /* The GNU C library defines this for functions which it implements
74973 to always fail with ENOSYS. Some functions are actually named
74974 something starting with __ and the normal name is an alias. */
74975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74976 choke me
74977 #else
74978 char (*f) () = $ac_func;
74979 #endif
74980 #ifdef __cplusplus
74981 }
74982 #endif
74983
74984 int
74985 main ()
74986 {
74987 return f != $ac_func;
74988 ;
74989 return 0;
74990 }
74991 _ACEOF
74992 rm -f conftest.$ac_objext conftest$ac_exeext
74993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74994 (eval $ac_link) 2>conftest.er1
74995 ac_status=$?
74996 grep -v '^ *+' conftest.er1 >conftest.err
74997 rm -f conftest.er1
74998 cat conftest.err >&5
74999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75000 (exit $ac_status); } &&
75001 { ac_try='test -z "$ac_c_werror_flag"
75002 || test ! -s conftest.err'
75003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75004 (eval $ac_try) 2>&5
75005 ac_status=$?
75006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75007 (exit $ac_status); }; } &&
75008 { ac_try='test -s conftest$ac_exeext'
75009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75010 (eval $ac_try) 2>&5
75011 ac_status=$?
75012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75013 (exit $ac_status); }; }; then
75014 eval "$as_ac_var=yes"
75015 else
75016 echo "$as_me: failed program was:" >&5
75017 sed 's/^/| /' conftest.$ac_ext >&5
75018
75019 eval "$as_ac_var=no"
75020 fi
75021 rm -f conftest.err conftest.$ac_objext \
75022 conftest$ac_exeext conftest.$ac_ext
75023 fi
75024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75026 if test `eval echo '${'$as_ac_var'}'` = yes; then
75027 cat >>confdefs.h <<_ACEOF
75028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75029 _ACEOF
75030
75031 fi
75032 done
75033
75034 fi
75035 fi
75036
75037
75038
75039
75040
75041
75042 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
75043 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
75044 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75045 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
75046 echo $ECHO_N "(cached) $ECHO_C" >&6
75047 else
75048
75049
75050
75051 ac_ext=cc
75052 ac_cpp='$CXXCPP $CPPFLAGS'
75053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75056
75057 cat >conftest.$ac_ext <<_ACEOF
75058 /* confdefs.h. */
75059 _ACEOF
75060 cat confdefs.h >>conftest.$ac_ext
75061 cat >>conftest.$ac_ext <<_ACEOF
75062 /* end confdefs.h. */
75063 #include <math.h>
75064 #ifdef HAVE_IEEEFP_H
75065 #include <ieeefp.h>
75066 #endif
75067
75068 int
75069 main ()
75070 {
75071 sqrtf(0);
75072 ;
75073 return 0;
75074 }
75075 _ACEOF
75076 rm -f conftest.$ac_objext
75077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75078 (eval $ac_compile) 2>conftest.er1
75079 ac_status=$?
75080 grep -v '^ *+' conftest.er1 >conftest.err
75081 rm -f conftest.er1
75082 cat conftest.err >&5
75083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75084 (exit $ac_status); } &&
75085 { ac_try='test -z "$ac_cxx_werror_flag"
75086 || test ! -s conftest.err'
75087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75088 (eval $ac_try) 2>&5
75089 ac_status=$?
75090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75091 (exit $ac_status); }; } &&
75092 { ac_try='test -s conftest.$ac_objext'
75093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75094 (eval $ac_try) 2>&5
75095 ac_status=$?
75096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75097 (exit $ac_status); }; }; then
75098 glibcxx_cv_func_sqrtf_use=yes
75099 else
75100 echo "$as_me: failed program was:" >&5
75101 sed 's/^/| /' conftest.$ac_ext >&5
75102
75103 glibcxx_cv_func_sqrtf_use=no
75104 fi
75105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75106 ac_ext=c
75107 ac_cpp='$CPP $CPPFLAGS'
75108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75111
75112
75113 fi
75114
75115 fi
75116 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
75117 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
75118
75119 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75120
75121 for ac_func in sqrtf
75122 do
75123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75124 echo "$as_me:$LINENO: checking for $ac_func" >&5
75125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75126 if eval "test \"\${$as_ac_var+set}\" = set"; then
75127 echo $ECHO_N "(cached) $ECHO_C" >&6
75128 else
75129 if test x$gcc_no_link = xyes; then
75130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75132 { (exit 1); exit 1; }; }
75133 fi
75134 cat >conftest.$ac_ext <<_ACEOF
75135 /* confdefs.h. */
75136 _ACEOF
75137 cat confdefs.h >>conftest.$ac_ext
75138 cat >>conftest.$ac_ext <<_ACEOF
75139 /* end confdefs.h. */
75140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75142 #define $ac_func innocuous_$ac_func
75143
75144 /* System header to define __stub macros and hopefully few prototypes,
75145 which can conflict with char $ac_func (); below.
75146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75147 <limits.h> exists even on freestanding compilers. */
75148
75149 #ifdef __STDC__
75150 # include <limits.h>
75151 #else
75152 # include <assert.h>
75153 #endif
75154
75155 #undef $ac_func
75156
75157 /* Override any gcc2 internal prototype to avoid an error. */
75158 #ifdef __cplusplus
75159 extern "C"
75160 {
75161 #endif
75162 /* We use char because int might match the return type of a gcc2
75163 builtin and then its argument prototype would still apply. */
75164 char $ac_func ();
75165 /* The GNU C library defines this for functions which it implements
75166 to always fail with ENOSYS. Some functions are actually named
75167 something starting with __ and the normal name is an alias. */
75168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75169 choke me
75170 #else
75171 char (*f) () = $ac_func;
75172 #endif
75173 #ifdef __cplusplus
75174 }
75175 #endif
75176
75177 int
75178 main ()
75179 {
75180 return f != $ac_func;
75181 ;
75182 return 0;
75183 }
75184 _ACEOF
75185 rm -f conftest.$ac_objext conftest$ac_exeext
75186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75187 (eval $ac_link) 2>conftest.er1
75188 ac_status=$?
75189 grep -v '^ *+' conftest.er1 >conftest.err
75190 rm -f conftest.er1
75191 cat conftest.err >&5
75192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75193 (exit $ac_status); } &&
75194 { ac_try='test -z "$ac_c_werror_flag"
75195 || test ! -s conftest.err'
75196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75197 (eval $ac_try) 2>&5
75198 ac_status=$?
75199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75200 (exit $ac_status); }; } &&
75201 { ac_try='test -s conftest$ac_exeext'
75202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75203 (eval $ac_try) 2>&5
75204 ac_status=$?
75205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75206 (exit $ac_status); }; }; then
75207 eval "$as_ac_var=yes"
75208 else
75209 echo "$as_me: failed program was:" >&5
75210 sed 's/^/| /' conftest.$ac_ext >&5
75211
75212 eval "$as_ac_var=no"
75213 fi
75214 rm -f conftest.err conftest.$ac_objext \
75215 conftest$ac_exeext conftest.$ac_ext
75216 fi
75217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75219 if test `eval echo '${'$as_ac_var'}'` = yes; then
75220 cat >>confdefs.h <<_ACEOF
75221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75222 _ACEOF
75223
75224 fi
75225 done
75226
75227 else
75228
75229 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
75230 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
75231 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75232 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
75233 echo $ECHO_N "(cached) $ECHO_C" >&6
75234 else
75235
75236
75237
75238 ac_ext=cc
75239 ac_cpp='$CXXCPP $CPPFLAGS'
75240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75243
75244 cat >conftest.$ac_ext <<_ACEOF
75245 /* confdefs.h. */
75246 _ACEOF
75247 cat confdefs.h >>conftest.$ac_ext
75248 cat >>conftest.$ac_ext <<_ACEOF
75249 /* end confdefs.h. */
75250 #include <math.h>
75251 #ifdef HAVE_IEEEFP_H
75252 #include <ieeefp.h>
75253 #endif
75254
75255 int
75256 main ()
75257 {
75258 _sqrtf(0);
75259 ;
75260 return 0;
75261 }
75262 _ACEOF
75263 rm -f conftest.$ac_objext
75264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75265 (eval $ac_compile) 2>conftest.er1
75266 ac_status=$?
75267 grep -v '^ *+' conftest.er1 >conftest.err
75268 rm -f conftest.er1
75269 cat conftest.err >&5
75270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75271 (exit $ac_status); } &&
75272 { ac_try='test -z "$ac_cxx_werror_flag"
75273 || test ! -s conftest.err'
75274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75275 (eval $ac_try) 2>&5
75276 ac_status=$?
75277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75278 (exit $ac_status); }; } &&
75279 { ac_try='test -s conftest.$ac_objext'
75280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75281 (eval $ac_try) 2>&5
75282 ac_status=$?
75283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75284 (exit $ac_status); }; }; then
75285 glibcxx_cv_func__sqrtf_use=yes
75286 else
75287 echo "$as_me: failed program was:" >&5
75288 sed 's/^/| /' conftest.$ac_ext >&5
75289
75290 glibcxx_cv_func__sqrtf_use=no
75291 fi
75292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75293 ac_ext=c
75294 ac_cpp='$CPP $CPPFLAGS'
75295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75298
75299
75300 fi
75301
75302 fi
75303 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
75304 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
75305
75306 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75307
75308 for ac_func in _sqrtf
75309 do
75310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75311 echo "$as_me:$LINENO: checking for $ac_func" >&5
75312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75313 if eval "test \"\${$as_ac_var+set}\" = set"; then
75314 echo $ECHO_N "(cached) $ECHO_C" >&6
75315 else
75316 if test x$gcc_no_link = xyes; then
75317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75319 { (exit 1); exit 1; }; }
75320 fi
75321 cat >conftest.$ac_ext <<_ACEOF
75322 /* confdefs.h. */
75323 _ACEOF
75324 cat confdefs.h >>conftest.$ac_ext
75325 cat >>conftest.$ac_ext <<_ACEOF
75326 /* end confdefs.h. */
75327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75329 #define $ac_func innocuous_$ac_func
75330
75331 /* System header to define __stub macros and hopefully few prototypes,
75332 which can conflict with char $ac_func (); below.
75333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75334 <limits.h> exists even on freestanding compilers. */
75335
75336 #ifdef __STDC__
75337 # include <limits.h>
75338 #else
75339 # include <assert.h>
75340 #endif
75341
75342 #undef $ac_func
75343
75344 /* Override any gcc2 internal prototype to avoid an error. */
75345 #ifdef __cplusplus
75346 extern "C"
75347 {
75348 #endif
75349 /* We use char because int might match the return type of a gcc2
75350 builtin and then its argument prototype would still apply. */
75351 char $ac_func ();
75352 /* The GNU C library defines this for functions which it implements
75353 to always fail with ENOSYS. Some functions are actually named
75354 something starting with __ and the normal name is an alias. */
75355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75356 choke me
75357 #else
75358 char (*f) () = $ac_func;
75359 #endif
75360 #ifdef __cplusplus
75361 }
75362 #endif
75363
75364 int
75365 main ()
75366 {
75367 return f != $ac_func;
75368 ;
75369 return 0;
75370 }
75371 _ACEOF
75372 rm -f conftest.$ac_objext conftest$ac_exeext
75373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75374 (eval $ac_link) 2>conftest.er1
75375 ac_status=$?
75376 grep -v '^ *+' conftest.er1 >conftest.err
75377 rm -f conftest.er1
75378 cat conftest.err >&5
75379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75380 (exit $ac_status); } &&
75381 { ac_try='test -z "$ac_c_werror_flag"
75382 || test ! -s conftest.err'
75383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75384 (eval $ac_try) 2>&5
75385 ac_status=$?
75386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75387 (exit $ac_status); }; } &&
75388 { ac_try='test -s conftest$ac_exeext'
75389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75390 (eval $ac_try) 2>&5
75391 ac_status=$?
75392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75393 (exit $ac_status); }; }; then
75394 eval "$as_ac_var=yes"
75395 else
75396 echo "$as_me: failed program was:" >&5
75397 sed 's/^/| /' conftest.$ac_ext >&5
75398
75399 eval "$as_ac_var=no"
75400 fi
75401 rm -f conftest.err conftest.$ac_objext \
75402 conftest$ac_exeext conftest.$ac_ext
75403 fi
75404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75406 if test `eval echo '${'$as_ac_var'}'` = yes; then
75407 cat >>confdefs.h <<_ACEOF
75408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75409 _ACEOF
75410
75411 fi
75412 done
75413
75414 fi
75415 fi
75416
75417
75418
75419
75420
75421
75422 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
75423 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
75424 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75425 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
75426 echo $ECHO_N "(cached) $ECHO_C" >&6
75427 else
75428
75429
75430
75431 ac_ext=cc
75432 ac_cpp='$CXXCPP $CPPFLAGS'
75433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75436
75437 cat >conftest.$ac_ext <<_ACEOF
75438 /* confdefs.h. */
75439 _ACEOF
75440 cat confdefs.h >>conftest.$ac_ext
75441 cat >>conftest.$ac_ext <<_ACEOF
75442 /* end confdefs.h. */
75443 #include <math.h>
75444 int
75445 main ()
75446 {
75447 sincosf(0, 0, 0);
75448 ;
75449 return 0;
75450 }
75451 _ACEOF
75452 rm -f conftest.$ac_objext
75453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75454 (eval $ac_compile) 2>conftest.er1
75455 ac_status=$?
75456 grep -v '^ *+' conftest.er1 >conftest.err
75457 rm -f conftest.er1
75458 cat conftest.err >&5
75459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75460 (exit $ac_status); } &&
75461 { ac_try='test -z "$ac_cxx_werror_flag"
75462 || test ! -s conftest.err'
75463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75464 (eval $ac_try) 2>&5
75465 ac_status=$?
75466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75467 (exit $ac_status); }; } &&
75468 { ac_try='test -s conftest.$ac_objext'
75469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75470 (eval $ac_try) 2>&5
75471 ac_status=$?
75472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75473 (exit $ac_status); }; }; then
75474 glibcxx_cv_func_sincosf_use=yes
75475 else
75476 echo "$as_me: failed program was:" >&5
75477 sed 's/^/| /' conftest.$ac_ext >&5
75478
75479 glibcxx_cv_func_sincosf_use=no
75480 fi
75481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75482 ac_ext=c
75483 ac_cpp='$CPP $CPPFLAGS'
75484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75487
75488
75489 fi
75490
75491 fi
75492 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
75493 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
75494
75495 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75496
75497 for ac_func in sincosf
75498 do
75499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75500 echo "$as_me:$LINENO: checking for $ac_func" >&5
75501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75502 if eval "test \"\${$as_ac_var+set}\" = set"; then
75503 echo $ECHO_N "(cached) $ECHO_C" >&6
75504 else
75505 if test x$gcc_no_link = xyes; then
75506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75508 { (exit 1); exit 1; }; }
75509 fi
75510 cat >conftest.$ac_ext <<_ACEOF
75511 /* confdefs.h. */
75512 _ACEOF
75513 cat confdefs.h >>conftest.$ac_ext
75514 cat >>conftest.$ac_ext <<_ACEOF
75515 /* end confdefs.h. */
75516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75518 #define $ac_func innocuous_$ac_func
75519
75520 /* System header to define __stub macros and hopefully few prototypes,
75521 which can conflict with char $ac_func (); below.
75522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75523 <limits.h> exists even on freestanding compilers. */
75524
75525 #ifdef __STDC__
75526 # include <limits.h>
75527 #else
75528 # include <assert.h>
75529 #endif
75530
75531 #undef $ac_func
75532
75533 /* Override any gcc2 internal prototype to avoid an error. */
75534 #ifdef __cplusplus
75535 extern "C"
75536 {
75537 #endif
75538 /* We use char because int might match the return type of a gcc2
75539 builtin and then its argument prototype would still apply. */
75540 char $ac_func ();
75541 /* The GNU C library defines this for functions which it implements
75542 to always fail with ENOSYS. Some functions are actually named
75543 something starting with __ and the normal name is an alias. */
75544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75545 choke me
75546 #else
75547 char (*f) () = $ac_func;
75548 #endif
75549 #ifdef __cplusplus
75550 }
75551 #endif
75552
75553 int
75554 main ()
75555 {
75556 return f != $ac_func;
75557 ;
75558 return 0;
75559 }
75560 _ACEOF
75561 rm -f conftest.$ac_objext conftest$ac_exeext
75562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75563 (eval $ac_link) 2>conftest.er1
75564 ac_status=$?
75565 grep -v '^ *+' conftest.er1 >conftest.err
75566 rm -f conftest.er1
75567 cat conftest.err >&5
75568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75569 (exit $ac_status); } &&
75570 { ac_try='test -z "$ac_c_werror_flag"
75571 || test ! -s conftest.err'
75572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75573 (eval $ac_try) 2>&5
75574 ac_status=$?
75575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75576 (exit $ac_status); }; } &&
75577 { ac_try='test -s conftest$ac_exeext'
75578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75579 (eval $ac_try) 2>&5
75580 ac_status=$?
75581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75582 (exit $ac_status); }; }; then
75583 eval "$as_ac_var=yes"
75584 else
75585 echo "$as_me: failed program was:" >&5
75586 sed 's/^/| /' conftest.$ac_ext >&5
75587
75588 eval "$as_ac_var=no"
75589 fi
75590 rm -f conftest.err conftest.$ac_objext \
75591 conftest$ac_exeext conftest.$ac_ext
75592 fi
75593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75595 if test `eval echo '${'$as_ac_var'}'` = yes; then
75596 cat >>confdefs.h <<_ACEOF
75597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75598 _ACEOF
75599
75600 fi
75601 done
75602
75603 else
75604
75605 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
75606 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
75607 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75608 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
75609 echo $ECHO_N "(cached) $ECHO_C" >&6
75610 else
75611
75612
75613
75614 ac_ext=cc
75615 ac_cpp='$CXXCPP $CPPFLAGS'
75616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75619
75620 cat >conftest.$ac_ext <<_ACEOF
75621 /* confdefs.h. */
75622 _ACEOF
75623 cat confdefs.h >>conftest.$ac_ext
75624 cat >>conftest.$ac_ext <<_ACEOF
75625 /* end confdefs.h. */
75626 #include <math.h>
75627 int
75628 main ()
75629 {
75630 _sincosf(0, 0, 0);
75631 ;
75632 return 0;
75633 }
75634 _ACEOF
75635 rm -f conftest.$ac_objext
75636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75637 (eval $ac_compile) 2>conftest.er1
75638 ac_status=$?
75639 grep -v '^ *+' conftest.er1 >conftest.err
75640 rm -f conftest.er1
75641 cat conftest.err >&5
75642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75643 (exit $ac_status); } &&
75644 { ac_try='test -z "$ac_cxx_werror_flag"
75645 || test ! -s conftest.err'
75646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75647 (eval $ac_try) 2>&5
75648 ac_status=$?
75649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75650 (exit $ac_status); }; } &&
75651 { ac_try='test -s conftest.$ac_objext'
75652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75653 (eval $ac_try) 2>&5
75654 ac_status=$?
75655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75656 (exit $ac_status); }; }; then
75657 glibcxx_cv_func__sincosf_use=yes
75658 else
75659 echo "$as_me: failed program was:" >&5
75660 sed 's/^/| /' conftest.$ac_ext >&5
75661
75662 glibcxx_cv_func__sincosf_use=no
75663 fi
75664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75665 ac_ext=c
75666 ac_cpp='$CPP $CPPFLAGS'
75667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75670
75671
75672 fi
75673
75674 fi
75675 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
75676 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
75677
75678 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75679
75680 for ac_func in _sincosf
75681 do
75682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75683 echo "$as_me:$LINENO: checking for $ac_func" >&5
75684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75685 if eval "test \"\${$as_ac_var+set}\" = set"; then
75686 echo $ECHO_N "(cached) $ECHO_C" >&6
75687 else
75688 if test x$gcc_no_link = xyes; then
75689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75691 { (exit 1); exit 1; }; }
75692 fi
75693 cat >conftest.$ac_ext <<_ACEOF
75694 /* confdefs.h. */
75695 _ACEOF
75696 cat confdefs.h >>conftest.$ac_ext
75697 cat >>conftest.$ac_ext <<_ACEOF
75698 /* end confdefs.h. */
75699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75701 #define $ac_func innocuous_$ac_func
75702
75703 /* System header to define __stub macros and hopefully few prototypes,
75704 which can conflict with char $ac_func (); below.
75705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75706 <limits.h> exists even on freestanding compilers. */
75707
75708 #ifdef __STDC__
75709 # include <limits.h>
75710 #else
75711 # include <assert.h>
75712 #endif
75713
75714 #undef $ac_func
75715
75716 /* Override any gcc2 internal prototype to avoid an error. */
75717 #ifdef __cplusplus
75718 extern "C"
75719 {
75720 #endif
75721 /* We use char because int might match the return type of a gcc2
75722 builtin and then its argument prototype would still apply. */
75723 char $ac_func ();
75724 /* The GNU C library defines this for functions which it implements
75725 to always fail with ENOSYS. Some functions are actually named
75726 something starting with __ and the normal name is an alias. */
75727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75728 choke me
75729 #else
75730 char (*f) () = $ac_func;
75731 #endif
75732 #ifdef __cplusplus
75733 }
75734 #endif
75735
75736 int
75737 main ()
75738 {
75739 return f != $ac_func;
75740 ;
75741 return 0;
75742 }
75743 _ACEOF
75744 rm -f conftest.$ac_objext conftest$ac_exeext
75745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75746 (eval $ac_link) 2>conftest.er1
75747 ac_status=$?
75748 grep -v '^ *+' conftest.er1 >conftest.err
75749 rm -f conftest.er1
75750 cat conftest.err >&5
75751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75752 (exit $ac_status); } &&
75753 { ac_try='test -z "$ac_c_werror_flag"
75754 || test ! -s conftest.err'
75755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75756 (eval $ac_try) 2>&5
75757 ac_status=$?
75758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75759 (exit $ac_status); }; } &&
75760 { ac_try='test -s conftest$ac_exeext'
75761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75762 (eval $ac_try) 2>&5
75763 ac_status=$?
75764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75765 (exit $ac_status); }; }; then
75766 eval "$as_ac_var=yes"
75767 else
75768 echo "$as_me: failed program was:" >&5
75769 sed 's/^/| /' conftest.$ac_ext >&5
75770
75771 eval "$as_ac_var=no"
75772 fi
75773 rm -f conftest.err conftest.$ac_objext \
75774 conftest$ac_exeext conftest.$ac_ext
75775 fi
75776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75778 if test `eval echo '${'$as_ac_var'}'` = yes; then
75779 cat >>confdefs.h <<_ACEOF
75780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75781 _ACEOF
75782
75783 fi
75784 done
75785
75786 fi
75787 fi
75788
75789
75790
75791
75792
75793
75794 echo "$as_me:$LINENO: checking for finitef declaration" >&5
75795 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
75796 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75797 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
75798 echo $ECHO_N "(cached) $ECHO_C" >&6
75799 else
75800
75801
75802
75803 ac_ext=cc
75804 ac_cpp='$CXXCPP $CPPFLAGS'
75805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75808
75809 cat >conftest.$ac_ext <<_ACEOF
75810 /* confdefs.h. */
75811 _ACEOF
75812 cat confdefs.h >>conftest.$ac_ext
75813 cat >>conftest.$ac_ext <<_ACEOF
75814 /* end confdefs.h. */
75815 #include <math.h>
75816 #ifdef HAVE_IEEEFP_H
75817 #include <ieeefp.h>
75818 #endif
75819
75820 int
75821 main ()
75822 {
75823 finitef(0);
75824 ;
75825 return 0;
75826 }
75827 _ACEOF
75828 rm -f conftest.$ac_objext
75829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75830 (eval $ac_compile) 2>conftest.er1
75831 ac_status=$?
75832 grep -v '^ *+' conftest.er1 >conftest.err
75833 rm -f conftest.er1
75834 cat conftest.err >&5
75835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75836 (exit $ac_status); } &&
75837 { ac_try='test -z "$ac_cxx_werror_flag"
75838 || test ! -s conftest.err'
75839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75840 (eval $ac_try) 2>&5
75841 ac_status=$?
75842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75843 (exit $ac_status); }; } &&
75844 { ac_try='test -s conftest.$ac_objext'
75845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75846 (eval $ac_try) 2>&5
75847 ac_status=$?
75848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75849 (exit $ac_status); }; }; then
75850 glibcxx_cv_func_finitef_use=yes
75851 else
75852 echo "$as_me: failed program was:" >&5
75853 sed 's/^/| /' conftest.$ac_ext >&5
75854
75855 glibcxx_cv_func_finitef_use=no
75856 fi
75857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75858 ac_ext=c
75859 ac_cpp='$CPP $CPPFLAGS'
75860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75863
75864
75865 fi
75866
75867 fi
75868 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
75869 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
75870
75871 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75872
75873 for ac_func in finitef
75874 do
75875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75876 echo "$as_me:$LINENO: checking for $ac_func" >&5
75877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75878 if eval "test \"\${$as_ac_var+set}\" = set"; then
75879 echo $ECHO_N "(cached) $ECHO_C" >&6
75880 else
75881 if test x$gcc_no_link = xyes; then
75882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75884 { (exit 1); exit 1; }; }
75885 fi
75886 cat >conftest.$ac_ext <<_ACEOF
75887 /* confdefs.h. */
75888 _ACEOF
75889 cat confdefs.h >>conftest.$ac_ext
75890 cat >>conftest.$ac_ext <<_ACEOF
75891 /* end confdefs.h. */
75892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75894 #define $ac_func innocuous_$ac_func
75895
75896 /* System header to define __stub macros and hopefully few prototypes,
75897 which can conflict with char $ac_func (); below.
75898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75899 <limits.h> exists even on freestanding compilers. */
75900
75901 #ifdef __STDC__
75902 # include <limits.h>
75903 #else
75904 # include <assert.h>
75905 #endif
75906
75907 #undef $ac_func
75908
75909 /* Override any gcc2 internal prototype to avoid an error. */
75910 #ifdef __cplusplus
75911 extern "C"
75912 {
75913 #endif
75914 /* We use char because int might match the return type of a gcc2
75915 builtin and then its argument prototype would still apply. */
75916 char $ac_func ();
75917 /* The GNU C library defines this for functions which it implements
75918 to always fail with ENOSYS. Some functions are actually named
75919 something starting with __ and the normal name is an alias. */
75920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75921 choke me
75922 #else
75923 char (*f) () = $ac_func;
75924 #endif
75925 #ifdef __cplusplus
75926 }
75927 #endif
75928
75929 int
75930 main ()
75931 {
75932 return f != $ac_func;
75933 ;
75934 return 0;
75935 }
75936 _ACEOF
75937 rm -f conftest.$ac_objext conftest$ac_exeext
75938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75939 (eval $ac_link) 2>conftest.er1
75940 ac_status=$?
75941 grep -v '^ *+' conftest.er1 >conftest.err
75942 rm -f conftest.er1
75943 cat conftest.err >&5
75944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75945 (exit $ac_status); } &&
75946 { ac_try='test -z "$ac_c_werror_flag"
75947 || test ! -s conftest.err'
75948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75949 (eval $ac_try) 2>&5
75950 ac_status=$?
75951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75952 (exit $ac_status); }; } &&
75953 { ac_try='test -s conftest$ac_exeext'
75954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75955 (eval $ac_try) 2>&5
75956 ac_status=$?
75957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75958 (exit $ac_status); }; }; then
75959 eval "$as_ac_var=yes"
75960 else
75961 echo "$as_me: failed program was:" >&5
75962 sed 's/^/| /' conftest.$ac_ext >&5
75963
75964 eval "$as_ac_var=no"
75965 fi
75966 rm -f conftest.err conftest.$ac_objext \
75967 conftest$ac_exeext conftest.$ac_ext
75968 fi
75969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75971 if test `eval echo '${'$as_ac_var'}'` = yes; then
75972 cat >>confdefs.h <<_ACEOF
75973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75974 _ACEOF
75975
75976 fi
75977 done
75978
75979 else
75980
75981 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
75982 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
75983 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75984 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
75985 echo $ECHO_N "(cached) $ECHO_C" >&6
75986 else
75987
75988
75989
75990 ac_ext=cc
75991 ac_cpp='$CXXCPP $CPPFLAGS'
75992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75995
75996 cat >conftest.$ac_ext <<_ACEOF
75997 /* confdefs.h. */
75998 _ACEOF
75999 cat confdefs.h >>conftest.$ac_ext
76000 cat >>conftest.$ac_ext <<_ACEOF
76001 /* end confdefs.h. */
76002 #include <math.h>
76003 #ifdef HAVE_IEEEFP_H
76004 #include <ieeefp.h>
76005 #endif
76006
76007 int
76008 main ()
76009 {
76010 _finitef(0);
76011 ;
76012 return 0;
76013 }
76014 _ACEOF
76015 rm -f conftest.$ac_objext
76016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76017 (eval $ac_compile) 2>conftest.er1
76018 ac_status=$?
76019 grep -v '^ *+' conftest.er1 >conftest.err
76020 rm -f conftest.er1
76021 cat conftest.err >&5
76022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76023 (exit $ac_status); } &&
76024 { ac_try='test -z "$ac_cxx_werror_flag"
76025 || test ! -s conftest.err'
76026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76027 (eval $ac_try) 2>&5
76028 ac_status=$?
76029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76030 (exit $ac_status); }; } &&
76031 { ac_try='test -s conftest.$ac_objext'
76032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76033 (eval $ac_try) 2>&5
76034 ac_status=$?
76035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76036 (exit $ac_status); }; }; then
76037 glibcxx_cv_func__finitef_use=yes
76038 else
76039 echo "$as_me: failed program was:" >&5
76040 sed 's/^/| /' conftest.$ac_ext >&5
76041
76042 glibcxx_cv_func__finitef_use=no
76043 fi
76044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76045 ac_ext=c
76046 ac_cpp='$CPP $CPPFLAGS'
76047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76050
76051
76052 fi
76053
76054 fi
76055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
76056 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
76057
76058 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
76059
76060 for ac_func in _finitef
76061 do
76062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76063 echo "$as_me:$LINENO: checking for $ac_func" >&5
76064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76065 if eval "test \"\${$as_ac_var+set}\" = set"; then
76066 echo $ECHO_N "(cached) $ECHO_C" >&6
76067 else
76068 if test x$gcc_no_link = xyes; then
76069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76071 { (exit 1); exit 1; }; }
76072 fi
76073 cat >conftest.$ac_ext <<_ACEOF
76074 /* confdefs.h. */
76075 _ACEOF
76076 cat confdefs.h >>conftest.$ac_ext
76077 cat >>conftest.$ac_ext <<_ACEOF
76078 /* end confdefs.h. */
76079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76081 #define $ac_func innocuous_$ac_func
76082
76083 /* System header to define __stub macros and hopefully few prototypes,
76084 which can conflict with char $ac_func (); below.
76085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76086 <limits.h> exists even on freestanding compilers. */
76087
76088 #ifdef __STDC__
76089 # include <limits.h>
76090 #else
76091 # include <assert.h>
76092 #endif
76093
76094 #undef $ac_func
76095
76096 /* Override any gcc2 internal prototype to avoid an error. */
76097 #ifdef __cplusplus
76098 extern "C"
76099 {
76100 #endif
76101 /* We use char because int might match the return type of a gcc2
76102 builtin and then its argument prototype would still apply. */
76103 char $ac_func ();
76104 /* The GNU C library defines this for functions which it implements
76105 to always fail with ENOSYS. Some functions are actually named
76106 something starting with __ and the normal name is an alias. */
76107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76108 choke me
76109 #else
76110 char (*f) () = $ac_func;
76111 #endif
76112 #ifdef __cplusplus
76113 }
76114 #endif
76115
76116 int
76117 main ()
76118 {
76119 return f != $ac_func;
76120 ;
76121 return 0;
76122 }
76123 _ACEOF
76124 rm -f conftest.$ac_objext conftest$ac_exeext
76125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76126 (eval $ac_link) 2>conftest.er1
76127 ac_status=$?
76128 grep -v '^ *+' conftest.er1 >conftest.err
76129 rm -f conftest.er1
76130 cat conftest.err >&5
76131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76132 (exit $ac_status); } &&
76133 { ac_try='test -z "$ac_c_werror_flag"
76134 || test ! -s conftest.err'
76135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76136 (eval $ac_try) 2>&5
76137 ac_status=$?
76138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76139 (exit $ac_status); }; } &&
76140 { ac_try='test -s conftest$ac_exeext'
76141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76142 (eval $ac_try) 2>&5
76143 ac_status=$?
76144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76145 (exit $ac_status); }; }; then
76146 eval "$as_ac_var=yes"
76147 else
76148 echo "$as_me: failed program was:" >&5
76149 sed 's/^/| /' conftest.$ac_ext >&5
76150
76151 eval "$as_ac_var=no"
76152 fi
76153 rm -f conftest.err conftest.$ac_objext \
76154 conftest$ac_exeext conftest.$ac_ext
76155 fi
76156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76158 if test `eval echo '${'$as_ac_var'}'` = yes; then
76159 cat >>confdefs.h <<_ACEOF
76160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76161 _ACEOF
76162
76163 fi
76164 done
76165
76166 fi
76167 fi
76168
76169
76170
76171
76172
76173
76174 echo "$as_me:$LINENO: checking for long double trig functions" >&5
76175 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
76176 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
76177 echo $ECHO_N "(cached) $ECHO_C" >&6
76178 else
76179
76180
76181
76182 ac_ext=cc
76183 ac_cpp='$CXXCPP $CPPFLAGS'
76184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76187
76188 cat >conftest.$ac_ext <<_ACEOF
76189 /* confdefs.h. */
76190 _ACEOF
76191 cat confdefs.h >>conftest.$ac_ext
76192 cat >>conftest.$ac_ext <<_ACEOF
76193 /* end confdefs.h. */
76194 #include <math.h>
76195 int
76196 main ()
76197 {
76198 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
76199 ;
76200 return 0;
76201 }
76202 _ACEOF
76203 rm -f conftest.$ac_objext
76204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76205 (eval $ac_compile) 2>conftest.er1
76206 ac_status=$?
76207 grep -v '^ *+' conftest.er1 >conftest.err
76208 rm -f conftest.er1
76209 cat conftest.err >&5
76210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76211 (exit $ac_status); } &&
76212 { ac_try='test -z "$ac_cxx_werror_flag"
76213 || test ! -s conftest.err'
76214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76215 (eval $ac_try) 2>&5
76216 ac_status=$?
76217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76218 (exit $ac_status); }; } &&
76219 { ac_try='test -s conftest.$ac_objext'
76220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76221 (eval $ac_try) 2>&5
76222 ac_status=$?
76223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76224 (exit $ac_status); }; }; then
76225 glibcxx_cv_func_long_double_trig_use=yes
76226 else
76227 echo "$as_me: failed program was:" >&5
76228 sed 's/^/| /' conftest.$ac_ext >&5
76229
76230 glibcxx_cv_func_long_double_trig_use=no
76231 fi
76232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76233 ac_ext=c
76234 ac_cpp='$CPP $CPPFLAGS'
76235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76238
76239 fi
76240
76241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
76242 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
76243 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
76244
76245
76246
76247
76248
76249
76250
76251
76252
76253 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
76254 do
76255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76256 echo "$as_me:$LINENO: checking for $ac_func" >&5
76257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76258 if eval "test \"\${$as_ac_var+set}\" = set"; then
76259 echo $ECHO_N "(cached) $ECHO_C" >&6
76260 else
76261 if test x$gcc_no_link = xyes; then
76262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76264 { (exit 1); exit 1; }; }
76265 fi
76266 cat >conftest.$ac_ext <<_ACEOF
76267 /* confdefs.h. */
76268 _ACEOF
76269 cat confdefs.h >>conftest.$ac_ext
76270 cat >>conftest.$ac_ext <<_ACEOF
76271 /* end confdefs.h. */
76272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76274 #define $ac_func innocuous_$ac_func
76275
76276 /* System header to define __stub macros and hopefully few prototypes,
76277 which can conflict with char $ac_func (); below.
76278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76279 <limits.h> exists even on freestanding compilers. */
76280
76281 #ifdef __STDC__
76282 # include <limits.h>
76283 #else
76284 # include <assert.h>
76285 #endif
76286
76287 #undef $ac_func
76288
76289 /* Override any gcc2 internal prototype to avoid an error. */
76290 #ifdef __cplusplus
76291 extern "C"
76292 {
76293 #endif
76294 /* We use char because int might match the return type of a gcc2
76295 builtin and then its argument prototype would still apply. */
76296 char $ac_func ();
76297 /* The GNU C library defines this for functions which it implements
76298 to always fail with ENOSYS. Some functions are actually named
76299 something starting with __ and the normal name is an alias. */
76300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76301 choke me
76302 #else
76303 char (*f) () = $ac_func;
76304 #endif
76305 #ifdef __cplusplus
76306 }
76307 #endif
76308
76309 int
76310 main ()
76311 {
76312 return f != $ac_func;
76313 ;
76314 return 0;
76315 }
76316 _ACEOF
76317 rm -f conftest.$ac_objext conftest$ac_exeext
76318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76319 (eval $ac_link) 2>conftest.er1
76320 ac_status=$?
76321 grep -v '^ *+' conftest.er1 >conftest.err
76322 rm -f conftest.er1
76323 cat conftest.err >&5
76324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76325 (exit $ac_status); } &&
76326 { ac_try='test -z "$ac_c_werror_flag"
76327 || test ! -s conftest.err'
76328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76329 (eval $ac_try) 2>&5
76330 ac_status=$?
76331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76332 (exit $ac_status); }; } &&
76333 { ac_try='test -s conftest$ac_exeext'
76334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76335 (eval $ac_try) 2>&5
76336 ac_status=$?
76337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76338 (exit $ac_status); }; }; then
76339 eval "$as_ac_var=yes"
76340 else
76341 echo "$as_me: failed program was:" >&5
76342 sed 's/^/| /' conftest.$ac_ext >&5
76343
76344 eval "$as_ac_var=no"
76345 fi
76346 rm -f conftest.err conftest.$ac_objext \
76347 conftest$ac_exeext conftest.$ac_ext
76348 fi
76349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76351 if test `eval echo '${'$as_ac_var'}'` = yes; then
76352 cat >>confdefs.h <<_ACEOF
76353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76354 _ACEOF
76355
76356 fi
76357 done
76358
76359 else
76360 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
76361 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
76362 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
76363 echo $ECHO_N "(cached) $ECHO_C" >&6
76364 else
76365
76366
76367
76368 ac_ext=cc
76369 ac_cpp='$CXXCPP $CPPFLAGS'
76370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76373
76374 cat >conftest.$ac_ext <<_ACEOF
76375 /* confdefs.h. */
76376 _ACEOF
76377 cat confdefs.h >>conftest.$ac_ext
76378 cat >>conftest.$ac_ext <<_ACEOF
76379 /* end confdefs.h. */
76380 #include <math.h>
76381 int
76382 main ()
76383 {
76384 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
76385 ;
76386 return 0;
76387 }
76388 _ACEOF
76389 rm -f conftest.$ac_objext
76390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76391 (eval $ac_compile) 2>conftest.er1
76392 ac_status=$?
76393 grep -v '^ *+' conftest.er1 >conftest.err
76394 rm -f conftest.er1
76395 cat conftest.err >&5
76396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76397 (exit $ac_status); } &&
76398 { ac_try='test -z "$ac_cxx_werror_flag"
76399 || test ! -s conftest.err'
76400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76401 (eval $ac_try) 2>&5
76402 ac_status=$?
76403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76404 (exit $ac_status); }; } &&
76405 { ac_try='test -s conftest.$ac_objext'
76406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76407 (eval $ac_try) 2>&5
76408 ac_status=$?
76409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76410 (exit $ac_status); }; }; then
76411 glibcxx_cv_func__long_double_trig_use=yes
76412 else
76413 echo "$as_me: failed program was:" >&5
76414 sed 's/^/| /' conftest.$ac_ext >&5
76415
76416 glibcxx_cv_func__long_double_trig_use=no
76417 fi
76418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76419 ac_ext=c
76420 ac_cpp='$CPP $CPPFLAGS'
76421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76424
76425 fi
76426
76427 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
76428 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
76429 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
76430
76431
76432
76433
76434
76435
76436
76437
76438
76439 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
76440 do
76441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76442 echo "$as_me:$LINENO: checking for $ac_func" >&5
76443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76444 if eval "test \"\${$as_ac_var+set}\" = set"; then
76445 echo $ECHO_N "(cached) $ECHO_C" >&6
76446 else
76447 if test x$gcc_no_link = xyes; then
76448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76450 { (exit 1); exit 1; }; }
76451 fi
76452 cat >conftest.$ac_ext <<_ACEOF
76453 /* confdefs.h. */
76454 _ACEOF
76455 cat confdefs.h >>conftest.$ac_ext
76456 cat >>conftest.$ac_ext <<_ACEOF
76457 /* end confdefs.h. */
76458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76460 #define $ac_func innocuous_$ac_func
76461
76462 /* System header to define __stub macros and hopefully few prototypes,
76463 which can conflict with char $ac_func (); below.
76464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76465 <limits.h> exists even on freestanding compilers. */
76466
76467 #ifdef __STDC__
76468 # include <limits.h>
76469 #else
76470 # include <assert.h>
76471 #endif
76472
76473 #undef $ac_func
76474
76475 /* Override any gcc2 internal prototype to avoid an error. */
76476 #ifdef __cplusplus
76477 extern "C"
76478 {
76479 #endif
76480 /* We use char because int might match the return type of a gcc2
76481 builtin and then its argument prototype would still apply. */
76482 char $ac_func ();
76483 /* The GNU C library defines this for functions which it implements
76484 to always fail with ENOSYS. Some functions are actually named
76485 something starting with __ and the normal name is an alias. */
76486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76487 choke me
76488 #else
76489 char (*f) () = $ac_func;
76490 #endif
76491 #ifdef __cplusplus
76492 }
76493 #endif
76494
76495 int
76496 main ()
76497 {
76498 return f != $ac_func;
76499 ;
76500 return 0;
76501 }
76502 _ACEOF
76503 rm -f conftest.$ac_objext conftest$ac_exeext
76504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76505 (eval $ac_link) 2>conftest.er1
76506 ac_status=$?
76507 grep -v '^ *+' conftest.er1 >conftest.err
76508 rm -f conftest.er1
76509 cat conftest.err >&5
76510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76511 (exit $ac_status); } &&
76512 { ac_try='test -z "$ac_c_werror_flag"
76513 || test ! -s conftest.err'
76514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76515 (eval $ac_try) 2>&5
76516 ac_status=$?
76517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76518 (exit $ac_status); }; } &&
76519 { ac_try='test -s conftest$ac_exeext'
76520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76521 (eval $ac_try) 2>&5
76522 ac_status=$?
76523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76524 (exit $ac_status); }; }; then
76525 eval "$as_ac_var=yes"
76526 else
76527 echo "$as_me: failed program was:" >&5
76528 sed 's/^/| /' conftest.$ac_ext >&5
76529
76530 eval "$as_ac_var=no"
76531 fi
76532 rm -f conftest.err conftest.$ac_objext \
76533 conftest$ac_exeext conftest.$ac_ext
76534 fi
76535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76537 if test `eval echo '${'$as_ac_var'}'` = yes; then
76538 cat >>confdefs.h <<_ACEOF
76539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76540 _ACEOF
76541
76542 fi
76543 done
76544
76545 fi
76546 fi
76547
76548
76549
76550
76551
76552
76553
76554
76555
76556
76557
76558
76559
76560
76561 echo "$as_me:$LINENO: checking for long double round functions" >&5
76562 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
76563 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
76564 echo $ECHO_N "(cached) $ECHO_C" >&6
76565 else
76566
76567
76568
76569 ac_ext=cc
76570 ac_cpp='$CXXCPP $CPPFLAGS'
76571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76574
76575 cat >conftest.$ac_ext <<_ACEOF
76576 /* confdefs.h. */
76577 _ACEOF
76578 cat confdefs.h >>conftest.$ac_ext
76579 cat >>conftest.$ac_ext <<_ACEOF
76580 /* end confdefs.h. */
76581 #include <math.h>
76582 int
76583 main ()
76584 {
76585 ceill (0); floorl (0);
76586 ;
76587 return 0;
76588 }
76589 _ACEOF
76590 rm -f conftest.$ac_objext
76591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76592 (eval $ac_compile) 2>conftest.er1
76593 ac_status=$?
76594 grep -v '^ *+' conftest.er1 >conftest.err
76595 rm -f conftest.er1
76596 cat conftest.err >&5
76597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76598 (exit $ac_status); } &&
76599 { ac_try='test -z "$ac_cxx_werror_flag"
76600 || test ! -s conftest.err'
76601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76602 (eval $ac_try) 2>&5
76603 ac_status=$?
76604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76605 (exit $ac_status); }; } &&
76606 { ac_try='test -s conftest.$ac_objext'
76607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76608 (eval $ac_try) 2>&5
76609 ac_status=$?
76610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76611 (exit $ac_status); }; }; then
76612 glibcxx_cv_func_long_double_round_use=yes
76613 else
76614 echo "$as_me: failed program was:" >&5
76615 sed 's/^/| /' conftest.$ac_ext >&5
76616
76617 glibcxx_cv_func_long_double_round_use=no
76618 fi
76619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76620 ac_ext=c
76621 ac_cpp='$CPP $CPPFLAGS'
76622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76625
76626 fi
76627
76628 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
76629 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
76630 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
76631
76632
76633 for ac_func in ceill floorl
76634 do
76635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76636 echo "$as_me:$LINENO: checking for $ac_func" >&5
76637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76638 if eval "test \"\${$as_ac_var+set}\" = set"; then
76639 echo $ECHO_N "(cached) $ECHO_C" >&6
76640 else
76641 if test x$gcc_no_link = xyes; then
76642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76644 { (exit 1); exit 1; }; }
76645 fi
76646 cat >conftest.$ac_ext <<_ACEOF
76647 /* confdefs.h. */
76648 _ACEOF
76649 cat confdefs.h >>conftest.$ac_ext
76650 cat >>conftest.$ac_ext <<_ACEOF
76651 /* end confdefs.h. */
76652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76654 #define $ac_func innocuous_$ac_func
76655
76656 /* System header to define __stub macros and hopefully few prototypes,
76657 which can conflict with char $ac_func (); below.
76658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76659 <limits.h> exists even on freestanding compilers. */
76660
76661 #ifdef __STDC__
76662 # include <limits.h>
76663 #else
76664 # include <assert.h>
76665 #endif
76666
76667 #undef $ac_func
76668
76669 /* Override any gcc2 internal prototype to avoid an error. */
76670 #ifdef __cplusplus
76671 extern "C"
76672 {
76673 #endif
76674 /* We use char because int might match the return type of a gcc2
76675 builtin and then its argument prototype would still apply. */
76676 char $ac_func ();
76677 /* The GNU C library defines this for functions which it implements
76678 to always fail with ENOSYS. Some functions are actually named
76679 something starting with __ and the normal name is an alias. */
76680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76681 choke me
76682 #else
76683 char (*f) () = $ac_func;
76684 #endif
76685 #ifdef __cplusplus
76686 }
76687 #endif
76688
76689 int
76690 main ()
76691 {
76692 return f != $ac_func;
76693 ;
76694 return 0;
76695 }
76696 _ACEOF
76697 rm -f conftest.$ac_objext conftest$ac_exeext
76698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76699 (eval $ac_link) 2>conftest.er1
76700 ac_status=$?
76701 grep -v '^ *+' conftest.er1 >conftest.err
76702 rm -f conftest.er1
76703 cat conftest.err >&5
76704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76705 (exit $ac_status); } &&
76706 { ac_try='test -z "$ac_c_werror_flag"
76707 || test ! -s conftest.err'
76708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76709 (eval $ac_try) 2>&5
76710 ac_status=$?
76711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76712 (exit $ac_status); }; } &&
76713 { ac_try='test -s conftest$ac_exeext'
76714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76715 (eval $ac_try) 2>&5
76716 ac_status=$?
76717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76718 (exit $ac_status); }; }; then
76719 eval "$as_ac_var=yes"
76720 else
76721 echo "$as_me: failed program was:" >&5
76722 sed 's/^/| /' conftest.$ac_ext >&5
76723
76724 eval "$as_ac_var=no"
76725 fi
76726 rm -f conftest.err conftest.$ac_objext \
76727 conftest$ac_exeext conftest.$ac_ext
76728 fi
76729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76731 if test `eval echo '${'$as_ac_var'}'` = yes; then
76732 cat >>confdefs.h <<_ACEOF
76733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76734 _ACEOF
76735
76736 fi
76737 done
76738
76739 else
76740 echo "$as_me:$LINENO: checking for _long double round functions" >&5
76741 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
76742 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
76743 echo $ECHO_N "(cached) $ECHO_C" >&6
76744 else
76745
76746
76747
76748 ac_ext=cc
76749 ac_cpp='$CXXCPP $CPPFLAGS'
76750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76753
76754 cat >conftest.$ac_ext <<_ACEOF
76755 /* confdefs.h. */
76756 _ACEOF
76757 cat confdefs.h >>conftest.$ac_ext
76758 cat >>conftest.$ac_ext <<_ACEOF
76759 /* end confdefs.h. */
76760 #include <math.h>
76761 int
76762 main ()
76763 {
76764 _ceill (0); _floorl (0);
76765 ;
76766 return 0;
76767 }
76768 _ACEOF
76769 rm -f conftest.$ac_objext
76770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76771 (eval $ac_compile) 2>conftest.er1
76772 ac_status=$?
76773 grep -v '^ *+' conftest.er1 >conftest.err
76774 rm -f conftest.er1
76775 cat conftest.err >&5
76776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76777 (exit $ac_status); } &&
76778 { ac_try='test -z "$ac_cxx_werror_flag"
76779 || test ! -s conftest.err'
76780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76781 (eval $ac_try) 2>&5
76782 ac_status=$?
76783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76784 (exit $ac_status); }; } &&
76785 { ac_try='test -s conftest.$ac_objext'
76786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76787 (eval $ac_try) 2>&5
76788 ac_status=$?
76789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76790 (exit $ac_status); }; }; then
76791 glibcxx_cv_func__long_double_round_use=yes
76792 else
76793 echo "$as_me: failed program was:" >&5
76794 sed 's/^/| /' conftest.$ac_ext >&5
76795
76796 glibcxx_cv_func__long_double_round_use=no
76797 fi
76798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76799 ac_ext=c
76800 ac_cpp='$CPP $CPPFLAGS'
76801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76804
76805 fi
76806
76807 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
76808 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
76809 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76810
76811
76812 for ac_func in _ceill _floorl
76813 do
76814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76815 echo "$as_me:$LINENO: checking for $ac_func" >&5
76816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76817 if eval "test \"\${$as_ac_var+set}\" = set"; then
76818 echo $ECHO_N "(cached) $ECHO_C" >&6
76819 else
76820 if test x$gcc_no_link = xyes; then
76821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76823 { (exit 1); exit 1; }; }
76824 fi
76825 cat >conftest.$ac_ext <<_ACEOF
76826 /* confdefs.h. */
76827 _ACEOF
76828 cat confdefs.h >>conftest.$ac_ext
76829 cat >>conftest.$ac_ext <<_ACEOF
76830 /* end confdefs.h. */
76831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76833 #define $ac_func innocuous_$ac_func
76834
76835 /* System header to define __stub macros and hopefully few prototypes,
76836 which can conflict with char $ac_func (); below.
76837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76838 <limits.h> exists even on freestanding compilers. */
76839
76840 #ifdef __STDC__
76841 # include <limits.h>
76842 #else
76843 # include <assert.h>
76844 #endif
76845
76846 #undef $ac_func
76847
76848 /* Override any gcc2 internal prototype to avoid an error. */
76849 #ifdef __cplusplus
76850 extern "C"
76851 {
76852 #endif
76853 /* We use char because int might match the return type of a gcc2
76854 builtin and then its argument prototype would still apply. */
76855 char $ac_func ();
76856 /* The GNU C library defines this for functions which it implements
76857 to always fail with ENOSYS. Some functions are actually named
76858 something starting with __ and the normal name is an alias. */
76859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76860 choke me
76861 #else
76862 char (*f) () = $ac_func;
76863 #endif
76864 #ifdef __cplusplus
76865 }
76866 #endif
76867
76868 int
76869 main ()
76870 {
76871 return f != $ac_func;
76872 ;
76873 return 0;
76874 }
76875 _ACEOF
76876 rm -f conftest.$ac_objext conftest$ac_exeext
76877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76878 (eval $ac_link) 2>conftest.er1
76879 ac_status=$?
76880 grep -v '^ *+' conftest.er1 >conftest.err
76881 rm -f conftest.er1
76882 cat conftest.err >&5
76883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76884 (exit $ac_status); } &&
76885 { ac_try='test -z "$ac_c_werror_flag"
76886 || test ! -s conftest.err'
76887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76888 (eval $ac_try) 2>&5
76889 ac_status=$?
76890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76891 (exit $ac_status); }; } &&
76892 { ac_try='test -s conftest$ac_exeext'
76893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76894 (eval $ac_try) 2>&5
76895 ac_status=$?
76896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76897 (exit $ac_status); }; }; then
76898 eval "$as_ac_var=yes"
76899 else
76900 echo "$as_me: failed program was:" >&5
76901 sed 's/^/| /' conftest.$ac_ext >&5
76902
76903 eval "$as_ac_var=no"
76904 fi
76905 rm -f conftest.err conftest.$ac_objext \
76906 conftest$ac_exeext conftest.$ac_ext
76907 fi
76908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76910 if test `eval echo '${'$as_ac_var'}'` = yes; then
76911 cat >>confdefs.h <<_ACEOF
76912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76913 _ACEOF
76914
76915 fi
76916 done
76917
76918 fi
76919 fi
76920
76921
76922
76923
76924
76925
76926
76927
76928 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
76929 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
76930 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76931 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
76932 echo $ECHO_N "(cached) $ECHO_C" >&6
76933 else
76934
76935
76936
76937 ac_ext=cc
76938 ac_cpp='$CXXCPP $CPPFLAGS'
76939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76942
76943 cat >conftest.$ac_ext <<_ACEOF
76944 /* confdefs.h. */
76945 _ACEOF
76946 cat confdefs.h >>conftest.$ac_ext
76947 cat >>conftest.$ac_ext <<_ACEOF
76948 /* end confdefs.h. */
76949 #include <math.h>
76950 #ifdef HAVE_IEEEFP_H
76951 #include <ieeefp.h>
76952 #endif
76953
76954 int
76955 main ()
76956 {
76957 isnanl(0);
76958 ;
76959 return 0;
76960 }
76961 _ACEOF
76962 rm -f conftest.$ac_objext
76963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76964 (eval $ac_compile) 2>conftest.er1
76965 ac_status=$?
76966 grep -v '^ *+' conftest.er1 >conftest.err
76967 rm -f conftest.er1
76968 cat conftest.err >&5
76969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76970 (exit $ac_status); } &&
76971 { ac_try='test -z "$ac_cxx_werror_flag"
76972 || test ! -s conftest.err'
76973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76974 (eval $ac_try) 2>&5
76975 ac_status=$?
76976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76977 (exit $ac_status); }; } &&
76978 { ac_try='test -s conftest.$ac_objext'
76979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76980 (eval $ac_try) 2>&5
76981 ac_status=$?
76982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76983 (exit $ac_status); }; }; then
76984 glibcxx_cv_func_isnanl_use=yes
76985 else
76986 echo "$as_me: failed program was:" >&5
76987 sed 's/^/| /' conftest.$ac_ext >&5
76988
76989 glibcxx_cv_func_isnanl_use=no
76990 fi
76991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76992 ac_ext=c
76993 ac_cpp='$CPP $CPPFLAGS'
76994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76997
76998
76999 fi
77000
77001 fi
77002 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
77003 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
77004
77005 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
77006
77007 for ac_func in isnanl
77008 do
77009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77010 echo "$as_me:$LINENO: checking for $ac_func" >&5
77011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77012 if eval "test \"\${$as_ac_var+set}\" = set"; then
77013 echo $ECHO_N "(cached) $ECHO_C" >&6
77014 else
77015 if test x$gcc_no_link = xyes; then
77016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77018 { (exit 1); exit 1; }; }
77019 fi
77020 cat >conftest.$ac_ext <<_ACEOF
77021 /* confdefs.h. */
77022 _ACEOF
77023 cat confdefs.h >>conftest.$ac_ext
77024 cat >>conftest.$ac_ext <<_ACEOF
77025 /* end confdefs.h. */
77026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77028 #define $ac_func innocuous_$ac_func
77029
77030 /* System header to define __stub macros and hopefully few prototypes,
77031 which can conflict with char $ac_func (); below.
77032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77033 <limits.h> exists even on freestanding compilers. */
77034
77035 #ifdef __STDC__
77036 # include <limits.h>
77037 #else
77038 # include <assert.h>
77039 #endif
77040
77041 #undef $ac_func
77042
77043 /* Override any gcc2 internal prototype to avoid an error. */
77044 #ifdef __cplusplus
77045 extern "C"
77046 {
77047 #endif
77048 /* We use char because int might match the return type of a gcc2
77049 builtin and then its argument prototype would still apply. */
77050 char $ac_func ();
77051 /* The GNU C library defines this for functions which it implements
77052 to always fail with ENOSYS. Some functions are actually named
77053 something starting with __ and the normal name is an alias. */
77054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77055 choke me
77056 #else
77057 char (*f) () = $ac_func;
77058 #endif
77059 #ifdef __cplusplus
77060 }
77061 #endif
77062
77063 int
77064 main ()
77065 {
77066 return f != $ac_func;
77067 ;
77068 return 0;
77069 }
77070 _ACEOF
77071 rm -f conftest.$ac_objext conftest$ac_exeext
77072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77073 (eval $ac_link) 2>conftest.er1
77074 ac_status=$?
77075 grep -v '^ *+' conftest.er1 >conftest.err
77076 rm -f conftest.er1
77077 cat conftest.err >&5
77078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77079 (exit $ac_status); } &&
77080 { ac_try='test -z "$ac_c_werror_flag"
77081 || test ! -s conftest.err'
77082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77083 (eval $ac_try) 2>&5
77084 ac_status=$?
77085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77086 (exit $ac_status); }; } &&
77087 { ac_try='test -s conftest$ac_exeext'
77088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77089 (eval $ac_try) 2>&5
77090 ac_status=$?
77091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77092 (exit $ac_status); }; }; then
77093 eval "$as_ac_var=yes"
77094 else
77095 echo "$as_me: failed program was:" >&5
77096 sed 's/^/| /' conftest.$ac_ext >&5
77097
77098 eval "$as_ac_var=no"
77099 fi
77100 rm -f conftest.err conftest.$ac_objext \
77101 conftest$ac_exeext conftest.$ac_ext
77102 fi
77103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77105 if test `eval echo '${'$as_ac_var'}'` = yes; then
77106 cat >>confdefs.h <<_ACEOF
77107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77108 _ACEOF
77109
77110 fi
77111 done
77112
77113 else
77114
77115 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
77116 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
77117 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
77118 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
77119 echo $ECHO_N "(cached) $ECHO_C" >&6
77120 else
77121
77122
77123
77124 ac_ext=cc
77125 ac_cpp='$CXXCPP $CPPFLAGS'
77126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77129
77130 cat >conftest.$ac_ext <<_ACEOF
77131 /* confdefs.h. */
77132 _ACEOF
77133 cat confdefs.h >>conftest.$ac_ext
77134 cat >>conftest.$ac_ext <<_ACEOF
77135 /* end confdefs.h. */
77136 #include <math.h>
77137 #ifdef HAVE_IEEEFP_H
77138 #include <ieeefp.h>
77139 #endif
77140
77141 int
77142 main ()
77143 {
77144 _isnanl(0);
77145 ;
77146 return 0;
77147 }
77148 _ACEOF
77149 rm -f conftest.$ac_objext
77150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77151 (eval $ac_compile) 2>conftest.er1
77152 ac_status=$?
77153 grep -v '^ *+' conftest.er1 >conftest.err
77154 rm -f conftest.er1
77155 cat conftest.err >&5
77156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77157 (exit $ac_status); } &&
77158 { ac_try='test -z "$ac_cxx_werror_flag"
77159 || test ! -s conftest.err'
77160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77161 (eval $ac_try) 2>&5
77162 ac_status=$?
77163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77164 (exit $ac_status); }; } &&
77165 { ac_try='test -s conftest.$ac_objext'
77166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77167 (eval $ac_try) 2>&5
77168 ac_status=$?
77169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77170 (exit $ac_status); }; }; then
77171 glibcxx_cv_func__isnanl_use=yes
77172 else
77173 echo "$as_me: failed program was:" >&5
77174 sed 's/^/| /' conftest.$ac_ext >&5
77175
77176 glibcxx_cv_func__isnanl_use=no
77177 fi
77178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77179 ac_ext=c
77180 ac_cpp='$CPP $CPPFLAGS'
77181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77184
77185
77186 fi
77187
77188 fi
77189 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
77190 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
77191
77192 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
77193
77194 for ac_func in _isnanl
77195 do
77196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77197 echo "$as_me:$LINENO: checking for $ac_func" >&5
77198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77199 if eval "test \"\${$as_ac_var+set}\" = set"; then
77200 echo $ECHO_N "(cached) $ECHO_C" >&6
77201 else
77202 if test x$gcc_no_link = xyes; then
77203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77205 { (exit 1); exit 1; }; }
77206 fi
77207 cat >conftest.$ac_ext <<_ACEOF
77208 /* confdefs.h. */
77209 _ACEOF
77210 cat confdefs.h >>conftest.$ac_ext
77211 cat >>conftest.$ac_ext <<_ACEOF
77212 /* end confdefs.h. */
77213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77215 #define $ac_func innocuous_$ac_func
77216
77217 /* System header to define __stub macros and hopefully few prototypes,
77218 which can conflict with char $ac_func (); below.
77219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77220 <limits.h> exists even on freestanding compilers. */
77221
77222 #ifdef __STDC__
77223 # include <limits.h>
77224 #else
77225 # include <assert.h>
77226 #endif
77227
77228 #undef $ac_func
77229
77230 /* Override any gcc2 internal prototype to avoid an error. */
77231 #ifdef __cplusplus
77232 extern "C"
77233 {
77234 #endif
77235 /* We use char because int might match the return type of a gcc2
77236 builtin and then its argument prototype would still apply. */
77237 char $ac_func ();
77238 /* The GNU C library defines this for functions which it implements
77239 to always fail with ENOSYS. Some functions are actually named
77240 something starting with __ and the normal name is an alias. */
77241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77242 choke me
77243 #else
77244 char (*f) () = $ac_func;
77245 #endif
77246 #ifdef __cplusplus
77247 }
77248 #endif
77249
77250 int
77251 main ()
77252 {
77253 return f != $ac_func;
77254 ;
77255 return 0;
77256 }
77257 _ACEOF
77258 rm -f conftest.$ac_objext conftest$ac_exeext
77259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77260 (eval $ac_link) 2>conftest.er1
77261 ac_status=$?
77262 grep -v '^ *+' conftest.er1 >conftest.err
77263 rm -f conftest.er1
77264 cat conftest.err >&5
77265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77266 (exit $ac_status); } &&
77267 { ac_try='test -z "$ac_c_werror_flag"
77268 || test ! -s conftest.err'
77269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77270 (eval $ac_try) 2>&5
77271 ac_status=$?
77272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77273 (exit $ac_status); }; } &&
77274 { ac_try='test -s conftest$ac_exeext'
77275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77276 (eval $ac_try) 2>&5
77277 ac_status=$?
77278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77279 (exit $ac_status); }; }; then
77280 eval "$as_ac_var=yes"
77281 else
77282 echo "$as_me: failed program was:" >&5
77283 sed 's/^/| /' conftest.$ac_ext >&5
77284
77285 eval "$as_ac_var=no"
77286 fi
77287 rm -f conftest.err conftest.$ac_objext \
77288 conftest$ac_exeext conftest.$ac_ext
77289 fi
77290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77292 if test `eval echo '${'$as_ac_var'}'` = yes; then
77293 cat >>confdefs.h <<_ACEOF
77294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77295 _ACEOF
77296
77297 fi
77298 done
77299
77300 fi
77301 fi
77302
77303
77304
77305
77306
77307
77308 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
77309 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
77310 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
77311 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
77312 echo $ECHO_N "(cached) $ECHO_C" >&6
77313 else
77314
77315
77316
77317 ac_ext=cc
77318 ac_cpp='$CXXCPP $CPPFLAGS'
77319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77322
77323 cat >conftest.$ac_ext <<_ACEOF
77324 /* confdefs.h. */
77325 _ACEOF
77326 cat confdefs.h >>conftest.$ac_ext
77327 cat >>conftest.$ac_ext <<_ACEOF
77328 /* end confdefs.h. */
77329 #include <math.h>
77330 #ifdef HAVE_IEEEFP_H
77331 #include <ieeefp.h>
77332 #endif
77333
77334 int
77335 main ()
77336 {
77337 isinfl(0);
77338 ;
77339 return 0;
77340 }
77341 _ACEOF
77342 rm -f conftest.$ac_objext
77343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77344 (eval $ac_compile) 2>conftest.er1
77345 ac_status=$?
77346 grep -v '^ *+' conftest.er1 >conftest.err
77347 rm -f conftest.er1
77348 cat conftest.err >&5
77349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77350 (exit $ac_status); } &&
77351 { ac_try='test -z "$ac_cxx_werror_flag"
77352 || test ! -s conftest.err'
77353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77354 (eval $ac_try) 2>&5
77355 ac_status=$?
77356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77357 (exit $ac_status); }; } &&
77358 { ac_try='test -s conftest.$ac_objext'
77359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77360 (eval $ac_try) 2>&5
77361 ac_status=$?
77362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77363 (exit $ac_status); }; }; then
77364 glibcxx_cv_func_isinfl_use=yes
77365 else
77366 echo "$as_me: failed program was:" >&5
77367 sed 's/^/| /' conftest.$ac_ext >&5
77368
77369 glibcxx_cv_func_isinfl_use=no
77370 fi
77371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77372 ac_ext=c
77373 ac_cpp='$CPP $CPPFLAGS'
77374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77377
77378
77379 fi
77380
77381 fi
77382 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
77383 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
77384
77385 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
77386
77387 for ac_func in isinfl
77388 do
77389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77390 echo "$as_me:$LINENO: checking for $ac_func" >&5
77391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77392 if eval "test \"\${$as_ac_var+set}\" = set"; then
77393 echo $ECHO_N "(cached) $ECHO_C" >&6
77394 else
77395 if test x$gcc_no_link = xyes; then
77396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77398 { (exit 1); exit 1; }; }
77399 fi
77400 cat >conftest.$ac_ext <<_ACEOF
77401 /* confdefs.h. */
77402 _ACEOF
77403 cat confdefs.h >>conftest.$ac_ext
77404 cat >>conftest.$ac_ext <<_ACEOF
77405 /* end confdefs.h. */
77406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77408 #define $ac_func innocuous_$ac_func
77409
77410 /* System header to define __stub macros and hopefully few prototypes,
77411 which can conflict with char $ac_func (); below.
77412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77413 <limits.h> exists even on freestanding compilers. */
77414
77415 #ifdef __STDC__
77416 # include <limits.h>
77417 #else
77418 # include <assert.h>
77419 #endif
77420
77421 #undef $ac_func
77422
77423 /* Override any gcc2 internal prototype to avoid an error. */
77424 #ifdef __cplusplus
77425 extern "C"
77426 {
77427 #endif
77428 /* We use char because int might match the return type of a gcc2
77429 builtin and then its argument prototype would still apply. */
77430 char $ac_func ();
77431 /* The GNU C library defines this for functions which it implements
77432 to always fail with ENOSYS. Some functions are actually named
77433 something starting with __ and the normal name is an alias. */
77434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77435 choke me
77436 #else
77437 char (*f) () = $ac_func;
77438 #endif
77439 #ifdef __cplusplus
77440 }
77441 #endif
77442
77443 int
77444 main ()
77445 {
77446 return f != $ac_func;
77447 ;
77448 return 0;
77449 }
77450 _ACEOF
77451 rm -f conftest.$ac_objext conftest$ac_exeext
77452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77453 (eval $ac_link) 2>conftest.er1
77454 ac_status=$?
77455 grep -v '^ *+' conftest.er1 >conftest.err
77456 rm -f conftest.er1
77457 cat conftest.err >&5
77458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77459 (exit $ac_status); } &&
77460 { ac_try='test -z "$ac_c_werror_flag"
77461 || test ! -s conftest.err'
77462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77463 (eval $ac_try) 2>&5
77464 ac_status=$?
77465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77466 (exit $ac_status); }; } &&
77467 { ac_try='test -s conftest$ac_exeext'
77468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77469 (eval $ac_try) 2>&5
77470 ac_status=$?
77471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77472 (exit $ac_status); }; }; then
77473 eval "$as_ac_var=yes"
77474 else
77475 echo "$as_me: failed program was:" >&5
77476 sed 's/^/| /' conftest.$ac_ext >&5
77477
77478 eval "$as_ac_var=no"
77479 fi
77480 rm -f conftest.err conftest.$ac_objext \
77481 conftest$ac_exeext conftest.$ac_ext
77482 fi
77483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77485 if test `eval echo '${'$as_ac_var'}'` = yes; then
77486 cat >>confdefs.h <<_ACEOF
77487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77488 _ACEOF
77489
77490 fi
77491 done
77492
77493 else
77494
77495 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
77496 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
77497 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
77498 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
77499 echo $ECHO_N "(cached) $ECHO_C" >&6
77500 else
77501
77502
77503
77504 ac_ext=cc
77505 ac_cpp='$CXXCPP $CPPFLAGS'
77506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77509
77510 cat >conftest.$ac_ext <<_ACEOF
77511 /* confdefs.h. */
77512 _ACEOF
77513 cat confdefs.h >>conftest.$ac_ext
77514 cat >>conftest.$ac_ext <<_ACEOF
77515 /* end confdefs.h. */
77516 #include <math.h>
77517 #ifdef HAVE_IEEEFP_H
77518 #include <ieeefp.h>
77519 #endif
77520
77521 int
77522 main ()
77523 {
77524 _isinfl(0);
77525 ;
77526 return 0;
77527 }
77528 _ACEOF
77529 rm -f conftest.$ac_objext
77530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77531 (eval $ac_compile) 2>conftest.er1
77532 ac_status=$?
77533 grep -v '^ *+' conftest.er1 >conftest.err
77534 rm -f conftest.er1
77535 cat conftest.err >&5
77536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77537 (exit $ac_status); } &&
77538 { ac_try='test -z "$ac_cxx_werror_flag"
77539 || test ! -s conftest.err'
77540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77541 (eval $ac_try) 2>&5
77542 ac_status=$?
77543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77544 (exit $ac_status); }; } &&
77545 { ac_try='test -s conftest.$ac_objext'
77546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77547 (eval $ac_try) 2>&5
77548 ac_status=$?
77549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77550 (exit $ac_status); }; }; then
77551 glibcxx_cv_func__isinfl_use=yes
77552 else
77553 echo "$as_me: failed program was:" >&5
77554 sed 's/^/| /' conftest.$ac_ext >&5
77555
77556 glibcxx_cv_func__isinfl_use=no
77557 fi
77558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77559 ac_ext=c
77560 ac_cpp='$CPP $CPPFLAGS'
77561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77564
77565
77566 fi
77567
77568 fi
77569 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
77570 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
77571
77572 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
77573
77574 for ac_func in _isinfl
77575 do
77576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77577 echo "$as_me:$LINENO: checking for $ac_func" >&5
77578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77579 if eval "test \"\${$as_ac_var+set}\" = set"; then
77580 echo $ECHO_N "(cached) $ECHO_C" >&6
77581 else
77582 if test x$gcc_no_link = xyes; then
77583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77585 { (exit 1); exit 1; }; }
77586 fi
77587 cat >conftest.$ac_ext <<_ACEOF
77588 /* confdefs.h. */
77589 _ACEOF
77590 cat confdefs.h >>conftest.$ac_ext
77591 cat >>conftest.$ac_ext <<_ACEOF
77592 /* end confdefs.h. */
77593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77595 #define $ac_func innocuous_$ac_func
77596
77597 /* System header to define __stub macros and hopefully few prototypes,
77598 which can conflict with char $ac_func (); below.
77599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77600 <limits.h> exists even on freestanding compilers. */
77601
77602 #ifdef __STDC__
77603 # include <limits.h>
77604 #else
77605 # include <assert.h>
77606 #endif
77607
77608 #undef $ac_func
77609
77610 /* Override any gcc2 internal prototype to avoid an error. */
77611 #ifdef __cplusplus
77612 extern "C"
77613 {
77614 #endif
77615 /* We use char because int might match the return type of a gcc2
77616 builtin and then its argument prototype would still apply. */
77617 char $ac_func ();
77618 /* The GNU C library defines this for functions which it implements
77619 to always fail with ENOSYS. Some functions are actually named
77620 something starting with __ and the normal name is an alias. */
77621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77622 choke me
77623 #else
77624 char (*f) () = $ac_func;
77625 #endif
77626 #ifdef __cplusplus
77627 }
77628 #endif
77629
77630 int
77631 main ()
77632 {
77633 return f != $ac_func;
77634 ;
77635 return 0;
77636 }
77637 _ACEOF
77638 rm -f conftest.$ac_objext conftest$ac_exeext
77639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77640 (eval $ac_link) 2>conftest.er1
77641 ac_status=$?
77642 grep -v '^ *+' conftest.er1 >conftest.err
77643 rm -f conftest.er1
77644 cat conftest.err >&5
77645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77646 (exit $ac_status); } &&
77647 { ac_try='test -z "$ac_c_werror_flag"
77648 || test ! -s conftest.err'
77649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77650 (eval $ac_try) 2>&5
77651 ac_status=$?
77652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77653 (exit $ac_status); }; } &&
77654 { ac_try='test -s conftest$ac_exeext'
77655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77656 (eval $ac_try) 2>&5
77657 ac_status=$?
77658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77659 (exit $ac_status); }; }; then
77660 eval "$as_ac_var=yes"
77661 else
77662 echo "$as_me: failed program was:" >&5
77663 sed 's/^/| /' conftest.$ac_ext >&5
77664
77665 eval "$as_ac_var=no"
77666 fi
77667 rm -f conftest.err conftest.$ac_objext \
77668 conftest$ac_exeext conftest.$ac_ext
77669 fi
77670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77672 if test `eval echo '${'$as_ac_var'}'` = yes; then
77673 cat >>confdefs.h <<_ACEOF
77674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77675 _ACEOF
77676
77677 fi
77678 done
77679
77680 fi
77681 fi
77682
77683
77684
77685
77686
77687
77688 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
77689 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
77690 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
77691 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
77692 echo $ECHO_N "(cached) $ECHO_C" >&6
77693 else
77694
77695
77696
77697 ac_ext=cc
77698 ac_cpp='$CXXCPP $CPPFLAGS'
77699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77702
77703 cat >conftest.$ac_ext <<_ACEOF
77704 /* confdefs.h. */
77705 _ACEOF
77706 cat confdefs.h >>conftest.$ac_ext
77707 cat >>conftest.$ac_ext <<_ACEOF
77708 /* end confdefs.h. */
77709 #include <math.h>
77710 int
77711 main ()
77712 {
77713 copysignl(0, 0);
77714 ;
77715 return 0;
77716 }
77717 _ACEOF
77718 rm -f conftest.$ac_objext
77719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77720 (eval $ac_compile) 2>conftest.er1
77721 ac_status=$?
77722 grep -v '^ *+' conftest.er1 >conftest.err
77723 rm -f conftest.er1
77724 cat conftest.err >&5
77725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77726 (exit $ac_status); } &&
77727 { ac_try='test -z "$ac_cxx_werror_flag"
77728 || test ! -s conftest.err'
77729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77730 (eval $ac_try) 2>&5
77731 ac_status=$?
77732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77733 (exit $ac_status); }; } &&
77734 { ac_try='test -s conftest.$ac_objext'
77735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77736 (eval $ac_try) 2>&5
77737 ac_status=$?
77738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77739 (exit $ac_status); }; }; then
77740 glibcxx_cv_func_copysignl_use=yes
77741 else
77742 echo "$as_me: failed program was:" >&5
77743 sed 's/^/| /' conftest.$ac_ext >&5
77744
77745 glibcxx_cv_func_copysignl_use=no
77746 fi
77747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77748 ac_ext=c
77749 ac_cpp='$CPP $CPPFLAGS'
77750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77753
77754
77755 fi
77756
77757 fi
77758 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
77759 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
77760
77761 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
77762
77763 for ac_func in copysignl
77764 do
77765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77766 echo "$as_me:$LINENO: checking for $ac_func" >&5
77767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77768 if eval "test \"\${$as_ac_var+set}\" = set"; then
77769 echo $ECHO_N "(cached) $ECHO_C" >&6
77770 else
77771 if test x$gcc_no_link = xyes; then
77772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77774 { (exit 1); exit 1; }; }
77775 fi
77776 cat >conftest.$ac_ext <<_ACEOF
77777 /* confdefs.h. */
77778 _ACEOF
77779 cat confdefs.h >>conftest.$ac_ext
77780 cat >>conftest.$ac_ext <<_ACEOF
77781 /* end confdefs.h. */
77782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77784 #define $ac_func innocuous_$ac_func
77785
77786 /* System header to define __stub macros and hopefully few prototypes,
77787 which can conflict with char $ac_func (); below.
77788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77789 <limits.h> exists even on freestanding compilers. */
77790
77791 #ifdef __STDC__
77792 # include <limits.h>
77793 #else
77794 # include <assert.h>
77795 #endif
77796
77797 #undef $ac_func
77798
77799 /* Override any gcc2 internal prototype to avoid an error. */
77800 #ifdef __cplusplus
77801 extern "C"
77802 {
77803 #endif
77804 /* We use char because int might match the return type of a gcc2
77805 builtin and then its argument prototype would still apply. */
77806 char $ac_func ();
77807 /* The GNU C library defines this for functions which it implements
77808 to always fail with ENOSYS. Some functions are actually named
77809 something starting with __ and the normal name is an alias. */
77810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77811 choke me
77812 #else
77813 char (*f) () = $ac_func;
77814 #endif
77815 #ifdef __cplusplus
77816 }
77817 #endif
77818
77819 int
77820 main ()
77821 {
77822 return f != $ac_func;
77823 ;
77824 return 0;
77825 }
77826 _ACEOF
77827 rm -f conftest.$ac_objext conftest$ac_exeext
77828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77829 (eval $ac_link) 2>conftest.er1
77830 ac_status=$?
77831 grep -v '^ *+' conftest.er1 >conftest.err
77832 rm -f conftest.er1
77833 cat conftest.err >&5
77834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77835 (exit $ac_status); } &&
77836 { ac_try='test -z "$ac_c_werror_flag"
77837 || test ! -s conftest.err'
77838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77839 (eval $ac_try) 2>&5
77840 ac_status=$?
77841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77842 (exit $ac_status); }; } &&
77843 { ac_try='test -s conftest$ac_exeext'
77844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77845 (eval $ac_try) 2>&5
77846 ac_status=$?
77847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77848 (exit $ac_status); }; }; then
77849 eval "$as_ac_var=yes"
77850 else
77851 echo "$as_me: failed program was:" >&5
77852 sed 's/^/| /' conftest.$ac_ext >&5
77853
77854 eval "$as_ac_var=no"
77855 fi
77856 rm -f conftest.err conftest.$ac_objext \
77857 conftest$ac_exeext conftest.$ac_ext
77858 fi
77859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77861 if test `eval echo '${'$as_ac_var'}'` = yes; then
77862 cat >>confdefs.h <<_ACEOF
77863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77864 _ACEOF
77865
77866 fi
77867 done
77868
77869 else
77870
77871 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
77872 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
77873 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
77874 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
77875 echo $ECHO_N "(cached) $ECHO_C" >&6
77876 else
77877
77878
77879
77880 ac_ext=cc
77881 ac_cpp='$CXXCPP $CPPFLAGS'
77882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77885
77886 cat >conftest.$ac_ext <<_ACEOF
77887 /* confdefs.h. */
77888 _ACEOF
77889 cat confdefs.h >>conftest.$ac_ext
77890 cat >>conftest.$ac_ext <<_ACEOF
77891 /* end confdefs.h. */
77892 #include <math.h>
77893 int
77894 main ()
77895 {
77896 _copysignl(0, 0);
77897 ;
77898 return 0;
77899 }
77900 _ACEOF
77901 rm -f conftest.$ac_objext
77902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77903 (eval $ac_compile) 2>conftest.er1
77904 ac_status=$?
77905 grep -v '^ *+' conftest.er1 >conftest.err
77906 rm -f conftest.er1
77907 cat conftest.err >&5
77908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77909 (exit $ac_status); } &&
77910 { ac_try='test -z "$ac_cxx_werror_flag"
77911 || test ! -s conftest.err'
77912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77913 (eval $ac_try) 2>&5
77914 ac_status=$?
77915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77916 (exit $ac_status); }; } &&
77917 { ac_try='test -s conftest.$ac_objext'
77918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77919 (eval $ac_try) 2>&5
77920 ac_status=$?
77921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77922 (exit $ac_status); }; }; then
77923 glibcxx_cv_func__copysignl_use=yes
77924 else
77925 echo "$as_me: failed program was:" >&5
77926 sed 's/^/| /' conftest.$ac_ext >&5
77927
77928 glibcxx_cv_func__copysignl_use=no
77929 fi
77930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77931 ac_ext=c
77932 ac_cpp='$CPP $CPPFLAGS'
77933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77936
77937
77938 fi
77939
77940 fi
77941 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
77942 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
77943
77944 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
77945
77946 for ac_func in _copysignl
77947 do
77948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77949 echo "$as_me:$LINENO: checking for $ac_func" >&5
77950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77951 if eval "test \"\${$as_ac_var+set}\" = set"; then
77952 echo $ECHO_N "(cached) $ECHO_C" >&6
77953 else
77954 if test x$gcc_no_link = xyes; then
77955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77957 { (exit 1); exit 1; }; }
77958 fi
77959 cat >conftest.$ac_ext <<_ACEOF
77960 /* confdefs.h. */
77961 _ACEOF
77962 cat confdefs.h >>conftest.$ac_ext
77963 cat >>conftest.$ac_ext <<_ACEOF
77964 /* end confdefs.h. */
77965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77967 #define $ac_func innocuous_$ac_func
77968
77969 /* System header to define __stub macros and hopefully few prototypes,
77970 which can conflict with char $ac_func (); below.
77971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77972 <limits.h> exists even on freestanding compilers. */
77973
77974 #ifdef __STDC__
77975 # include <limits.h>
77976 #else
77977 # include <assert.h>
77978 #endif
77979
77980 #undef $ac_func
77981
77982 /* Override any gcc2 internal prototype to avoid an error. */
77983 #ifdef __cplusplus
77984 extern "C"
77985 {
77986 #endif
77987 /* We use char because int might match the return type of a gcc2
77988 builtin and then its argument prototype would still apply. */
77989 char $ac_func ();
77990 /* The GNU C library defines this for functions which it implements
77991 to always fail with ENOSYS. Some functions are actually named
77992 something starting with __ and the normal name is an alias. */
77993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77994 choke me
77995 #else
77996 char (*f) () = $ac_func;
77997 #endif
77998 #ifdef __cplusplus
77999 }
78000 #endif
78001
78002 int
78003 main ()
78004 {
78005 return f != $ac_func;
78006 ;
78007 return 0;
78008 }
78009 _ACEOF
78010 rm -f conftest.$ac_objext conftest$ac_exeext
78011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78012 (eval $ac_link) 2>conftest.er1
78013 ac_status=$?
78014 grep -v '^ *+' conftest.er1 >conftest.err
78015 rm -f conftest.er1
78016 cat conftest.err >&5
78017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78018 (exit $ac_status); } &&
78019 { ac_try='test -z "$ac_c_werror_flag"
78020 || test ! -s conftest.err'
78021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78022 (eval $ac_try) 2>&5
78023 ac_status=$?
78024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78025 (exit $ac_status); }; } &&
78026 { ac_try='test -s conftest$ac_exeext'
78027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78028 (eval $ac_try) 2>&5
78029 ac_status=$?
78030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78031 (exit $ac_status); }; }; then
78032 eval "$as_ac_var=yes"
78033 else
78034 echo "$as_me: failed program was:" >&5
78035 sed 's/^/| /' conftest.$ac_ext >&5
78036
78037 eval "$as_ac_var=no"
78038 fi
78039 rm -f conftest.err conftest.$ac_objext \
78040 conftest$ac_exeext conftest.$ac_ext
78041 fi
78042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78044 if test `eval echo '${'$as_ac_var'}'` = yes; then
78045 cat >>confdefs.h <<_ACEOF
78046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78047 _ACEOF
78048
78049 fi
78050 done
78051
78052 fi
78053 fi
78054
78055
78056
78057
78058
78059
78060 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
78061 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
78062 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
78063 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
78064 echo $ECHO_N "(cached) $ECHO_C" >&6
78065 else
78066
78067
78068
78069 ac_ext=cc
78070 ac_cpp='$CXXCPP $CPPFLAGS'
78071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78074
78075 cat >conftest.$ac_ext <<_ACEOF
78076 /* confdefs.h. */
78077 _ACEOF
78078 cat confdefs.h >>conftest.$ac_ext
78079 cat >>conftest.$ac_ext <<_ACEOF
78080 /* end confdefs.h. */
78081 #include <math.h>
78082 int
78083 main ()
78084 {
78085 atan2l(0, 0);
78086 ;
78087 return 0;
78088 }
78089 _ACEOF
78090 rm -f conftest.$ac_objext
78091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78092 (eval $ac_compile) 2>conftest.er1
78093 ac_status=$?
78094 grep -v '^ *+' conftest.er1 >conftest.err
78095 rm -f conftest.er1
78096 cat conftest.err >&5
78097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78098 (exit $ac_status); } &&
78099 { ac_try='test -z "$ac_cxx_werror_flag"
78100 || test ! -s conftest.err'
78101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78102 (eval $ac_try) 2>&5
78103 ac_status=$?
78104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78105 (exit $ac_status); }; } &&
78106 { ac_try='test -s conftest.$ac_objext'
78107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78108 (eval $ac_try) 2>&5
78109 ac_status=$?
78110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78111 (exit $ac_status); }; }; then
78112 glibcxx_cv_func_atan2l_use=yes
78113 else
78114 echo "$as_me: failed program was:" >&5
78115 sed 's/^/| /' conftest.$ac_ext >&5
78116
78117 glibcxx_cv_func_atan2l_use=no
78118 fi
78119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78120 ac_ext=c
78121 ac_cpp='$CPP $CPPFLAGS'
78122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78125
78126
78127 fi
78128
78129 fi
78130 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
78131 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
78132
78133 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
78134
78135 for ac_func in atan2l
78136 do
78137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78138 echo "$as_me:$LINENO: checking for $ac_func" >&5
78139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78140 if eval "test \"\${$as_ac_var+set}\" = set"; then
78141 echo $ECHO_N "(cached) $ECHO_C" >&6
78142 else
78143 if test x$gcc_no_link = xyes; then
78144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78146 { (exit 1); exit 1; }; }
78147 fi
78148 cat >conftest.$ac_ext <<_ACEOF
78149 /* confdefs.h. */
78150 _ACEOF
78151 cat confdefs.h >>conftest.$ac_ext
78152 cat >>conftest.$ac_ext <<_ACEOF
78153 /* end confdefs.h. */
78154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78156 #define $ac_func innocuous_$ac_func
78157
78158 /* System header to define __stub macros and hopefully few prototypes,
78159 which can conflict with char $ac_func (); below.
78160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78161 <limits.h> exists even on freestanding compilers. */
78162
78163 #ifdef __STDC__
78164 # include <limits.h>
78165 #else
78166 # include <assert.h>
78167 #endif
78168
78169 #undef $ac_func
78170
78171 /* Override any gcc2 internal prototype to avoid an error. */
78172 #ifdef __cplusplus
78173 extern "C"
78174 {
78175 #endif
78176 /* We use char because int might match the return type of a gcc2
78177 builtin and then its argument prototype would still apply. */
78178 char $ac_func ();
78179 /* The GNU C library defines this for functions which it implements
78180 to always fail with ENOSYS. Some functions are actually named
78181 something starting with __ and the normal name is an alias. */
78182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78183 choke me
78184 #else
78185 char (*f) () = $ac_func;
78186 #endif
78187 #ifdef __cplusplus
78188 }
78189 #endif
78190
78191 int
78192 main ()
78193 {
78194 return f != $ac_func;
78195 ;
78196 return 0;
78197 }
78198 _ACEOF
78199 rm -f conftest.$ac_objext conftest$ac_exeext
78200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78201 (eval $ac_link) 2>conftest.er1
78202 ac_status=$?
78203 grep -v '^ *+' conftest.er1 >conftest.err
78204 rm -f conftest.er1
78205 cat conftest.err >&5
78206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78207 (exit $ac_status); } &&
78208 { ac_try='test -z "$ac_c_werror_flag"
78209 || test ! -s conftest.err'
78210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78211 (eval $ac_try) 2>&5
78212 ac_status=$?
78213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78214 (exit $ac_status); }; } &&
78215 { ac_try='test -s conftest$ac_exeext'
78216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78217 (eval $ac_try) 2>&5
78218 ac_status=$?
78219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78220 (exit $ac_status); }; }; then
78221 eval "$as_ac_var=yes"
78222 else
78223 echo "$as_me: failed program was:" >&5
78224 sed 's/^/| /' conftest.$ac_ext >&5
78225
78226 eval "$as_ac_var=no"
78227 fi
78228 rm -f conftest.err conftest.$ac_objext \
78229 conftest$ac_exeext conftest.$ac_ext
78230 fi
78231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78233 if test `eval echo '${'$as_ac_var'}'` = yes; then
78234 cat >>confdefs.h <<_ACEOF
78235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78236 _ACEOF
78237
78238 fi
78239 done
78240
78241 else
78242
78243 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
78244 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
78245 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
78246 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
78247 echo $ECHO_N "(cached) $ECHO_C" >&6
78248 else
78249
78250
78251
78252 ac_ext=cc
78253 ac_cpp='$CXXCPP $CPPFLAGS'
78254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78257
78258 cat >conftest.$ac_ext <<_ACEOF
78259 /* confdefs.h. */
78260 _ACEOF
78261 cat confdefs.h >>conftest.$ac_ext
78262 cat >>conftest.$ac_ext <<_ACEOF
78263 /* end confdefs.h. */
78264 #include <math.h>
78265 int
78266 main ()
78267 {
78268 _atan2l(0, 0);
78269 ;
78270 return 0;
78271 }
78272 _ACEOF
78273 rm -f conftest.$ac_objext
78274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78275 (eval $ac_compile) 2>conftest.er1
78276 ac_status=$?
78277 grep -v '^ *+' conftest.er1 >conftest.err
78278 rm -f conftest.er1
78279 cat conftest.err >&5
78280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78281 (exit $ac_status); } &&
78282 { ac_try='test -z "$ac_cxx_werror_flag"
78283 || test ! -s conftest.err'
78284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78285 (eval $ac_try) 2>&5
78286 ac_status=$?
78287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78288 (exit $ac_status); }; } &&
78289 { ac_try='test -s conftest.$ac_objext'
78290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78291 (eval $ac_try) 2>&5
78292 ac_status=$?
78293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78294 (exit $ac_status); }; }; then
78295 glibcxx_cv_func__atan2l_use=yes
78296 else
78297 echo "$as_me: failed program was:" >&5
78298 sed 's/^/| /' conftest.$ac_ext >&5
78299
78300 glibcxx_cv_func__atan2l_use=no
78301 fi
78302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78303 ac_ext=c
78304 ac_cpp='$CPP $CPPFLAGS'
78305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78308
78309
78310 fi
78311
78312 fi
78313 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
78314 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
78315
78316 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
78317
78318 for ac_func in _atan2l
78319 do
78320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78321 echo "$as_me:$LINENO: checking for $ac_func" >&5
78322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78323 if eval "test \"\${$as_ac_var+set}\" = set"; then
78324 echo $ECHO_N "(cached) $ECHO_C" >&6
78325 else
78326 if test x$gcc_no_link = xyes; then
78327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78329 { (exit 1); exit 1; }; }
78330 fi
78331 cat >conftest.$ac_ext <<_ACEOF
78332 /* confdefs.h. */
78333 _ACEOF
78334 cat confdefs.h >>conftest.$ac_ext
78335 cat >>conftest.$ac_ext <<_ACEOF
78336 /* end confdefs.h. */
78337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78339 #define $ac_func innocuous_$ac_func
78340
78341 /* System header to define __stub macros and hopefully few prototypes,
78342 which can conflict with char $ac_func (); below.
78343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78344 <limits.h> exists even on freestanding compilers. */
78345
78346 #ifdef __STDC__
78347 # include <limits.h>
78348 #else
78349 # include <assert.h>
78350 #endif
78351
78352 #undef $ac_func
78353
78354 /* Override any gcc2 internal prototype to avoid an error. */
78355 #ifdef __cplusplus
78356 extern "C"
78357 {
78358 #endif
78359 /* We use char because int might match the return type of a gcc2
78360 builtin and then its argument prototype would still apply. */
78361 char $ac_func ();
78362 /* The GNU C library defines this for functions which it implements
78363 to always fail with ENOSYS. Some functions are actually named
78364 something starting with __ and the normal name is an alias. */
78365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78366 choke me
78367 #else
78368 char (*f) () = $ac_func;
78369 #endif
78370 #ifdef __cplusplus
78371 }
78372 #endif
78373
78374 int
78375 main ()
78376 {
78377 return f != $ac_func;
78378 ;
78379 return 0;
78380 }
78381 _ACEOF
78382 rm -f conftest.$ac_objext conftest$ac_exeext
78383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78384 (eval $ac_link) 2>conftest.er1
78385 ac_status=$?
78386 grep -v '^ *+' conftest.er1 >conftest.err
78387 rm -f conftest.er1
78388 cat conftest.err >&5
78389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78390 (exit $ac_status); } &&
78391 { ac_try='test -z "$ac_c_werror_flag"
78392 || test ! -s conftest.err'
78393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78394 (eval $ac_try) 2>&5
78395 ac_status=$?
78396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78397 (exit $ac_status); }; } &&
78398 { ac_try='test -s conftest$ac_exeext'
78399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78400 (eval $ac_try) 2>&5
78401 ac_status=$?
78402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78403 (exit $ac_status); }; }; then
78404 eval "$as_ac_var=yes"
78405 else
78406 echo "$as_me: failed program was:" >&5
78407 sed 's/^/| /' conftest.$ac_ext >&5
78408
78409 eval "$as_ac_var=no"
78410 fi
78411 rm -f conftest.err conftest.$ac_objext \
78412 conftest$ac_exeext conftest.$ac_ext
78413 fi
78414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78416 if test `eval echo '${'$as_ac_var'}'` = yes; then
78417 cat >>confdefs.h <<_ACEOF
78418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78419 _ACEOF
78420
78421 fi
78422 done
78423
78424 fi
78425 fi
78426
78427
78428
78429
78430
78431
78432 echo "$as_me:$LINENO: checking for expl declaration" >&5
78433 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
78434 if test x${glibcxx_cv_func_expl_use+set} != xset; then
78435 if test "${glibcxx_cv_func_expl_use+set}" = set; then
78436 echo $ECHO_N "(cached) $ECHO_C" >&6
78437 else
78438
78439
78440
78441 ac_ext=cc
78442 ac_cpp='$CXXCPP $CPPFLAGS'
78443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78446
78447 cat >conftest.$ac_ext <<_ACEOF
78448 /* confdefs.h. */
78449 _ACEOF
78450 cat confdefs.h >>conftest.$ac_ext
78451 cat >>conftest.$ac_ext <<_ACEOF
78452 /* end confdefs.h. */
78453 #include <math.h>
78454 #ifdef HAVE_IEEEFP_H
78455 #include <ieeefp.h>
78456 #endif
78457
78458 int
78459 main ()
78460 {
78461 expl(0);
78462 ;
78463 return 0;
78464 }
78465 _ACEOF
78466 rm -f conftest.$ac_objext
78467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78468 (eval $ac_compile) 2>conftest.er1
78469 ac_status=$?
78470 grep -v '^ *+' conftest.er1 >conftest.err
78471 rm -f conftest.er1
78472 cat conftest.err >&5
78473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78474 (exit $ac_status); } &&
78475 { ac_try='test -z "$ac_cxx_werror_flag"
78476 || test ! -s conftest.err'
78477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78478 (eval $ac_try) 2>&5
78479 ac_status=$?
78480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78481 (exit $ac_status); }; } &&
78482 { ac_try='test -s conftest.$ac_objext'
78483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78484 (eval $ac_try) 2>&5
78485 ac_status=$?
78486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78487 (exit $ac_status); }; }; then
78488 glibcxx_cv_func_expl_use=yes
78489 else
78490 echo "$as_me: failed program was:" >&5
78491 sed 's/^/| /' conftest.$ac_ext >&5
78492
78493 glibcxx_cv_func_expl_use=no
78494 fi
78495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78496 ac_ext=c
78497 ac_cpp='$CPP $CPPFLAGS'
78498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78501
78502
78503 fi
78504
78505 fi
78506 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
78507 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
78508
78509 if test x$glibcxx_cv_func_expl_use = x"yes"; then
78510
78511 for ac_func in expl
78512 do
78513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78514 echo "$as_me:$LINENO: checking for $ac_func" >&5
78515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78516 if eval "test \"\${$as_ac_var+set}\" = set"; then
78517 echo $ECHO_N "(cached) $ECHO_C" >&6
78518 else
78519 if test x$gcc_no_link = xyes; then
78520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78522 { (exit 1); exit 1; }; }
78523 fi
78524 cat >conftest.$ac_ext <<_ACEOF
78525 /* confdefs.h. */
78526 _ACEOF
78527 cat confdefs.h >>conftest.$ac_ext
78528 cat >>conftest.$ac_ext <<_ACEOF
78529 /* end confdefs.h. */
78530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78532 #define $ac_func innocuous_$ac_func
78533
78534 /* System header to define __stub macros and hopefully few prototypes,
78535 which can conflict with char $ac_func (); below.
78536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78537 <limits.h> exists even on freestanding compilers. */
78538
78539 #ifdef __STDC__
78540 # include <limits.h>
78541 #else
78542 # include <assert.h>
78543 #endif
78544
78545 #undef $ac_func
78546
78547 /* Override any gcc2 internal prototype to avoid an error. */
78548 #ifdef __cplusplus
78549 extern "C"
78550 {
78551 #endif
78552 /* We use char because int might match the return type of a gcc2
78553 builtin and then its argument prototype would still apply. */
78554 char $ac_func ();
78555 /* The GNU C library defines this for functions which it implements
78556 to always fail with ENOSYS. Some functions are actually named
78557 something starting with __ and the normal name is an alias. */
78558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78559 choke me
78560 #else
78561 char (*f) () = $ac_func;
78562 #endif
78563 #ifdef __cplusplus
78564 }
78565 #endif
78566
78567 int
78568 main ()
78569 {
78570 return f != $ac_func;
78571 ;
78572 return 0;
78573 }
78574 _ACEOF
78575 rm -f conftest.$ac_objext conftest$ac_exeext
78576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78577 (eval $ac_link) 2>conftest.er1
78578 ac_status=$?
78579 grep -v '^ *+' conftest.er1 >conftest.err
78580 rm -f conftest.er1
78581 cat conftest.err >&5
78582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78583 (exit $ac_status); } &&
78584 { ac_try='test -z "$ac_c_werror_flag"
78585 || test ! -s conftest.err'
78586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78587 (eval $ac_try) 2>&5
78588 ac_status=$?
78589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78590 (exit $ac_status); }; } &&
78591 { ac_try='test -s conftest$ac_exeext'
78592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78593 (eval $ac_try) 2>&5
78594 ac_status=$?
78595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78596 (exit $ac_status); }; }; then
78597 eval "$as_ac_var=yes"
78598 else
78599 echo "$as_me: failed program was:" >&5
78600 sed 's/^/| /' conftest.$ac_ext >&5
78601
78602 eval "$as_ac_var=no"
78603 fi
78604 rm -f conftest.err conftest.$ac_objext \
78605 conftest$ac_exeext conftest.$ac_ext
78606 fi
78607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78609 if test `eval echo '${'$as_ac_var'}'` = yes; then
78610 cat >>confdefs.h <<_ACEOF
78611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78612 _ACEOF
78613
78614 fi
78615 done
78616
78617 else
78618
78619 echo "$as_me:$LINENO: checking for _expl declaration" >&5
78620 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
78621 if test x${glibcxx_cv_func__expl_use+set} != xset; then
78622 if test "${glibcxx_cv_func__expl_use+set}" = set; then
78623 echo $ECHO_N "(cached) $ECHO_C" >&6
78624 else
78625
78626
78627
78628 ac_ext=cc
78629 ac_cpp='$CXXCPP $CPPFLAGS'
78630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78633
78634 cat >conftest.$ac_ext <<_ACEOF
78635 /* confdefs.h. */
78636 _ACEOF
78637 cat confdefs.h >>conftest.$ac_ext
78638 cat >>conftest.$ac_ext <<_ACEOF
78639 /* end confdefs.h. */
78640 #include <math.h>
78641 #ifdef HAVE_IEEEFP_H
78642 #include <ieeefp.h>
78643 #endif
78644
78645 int
78646 main ()
78647 {
78648 _expl(0);
78649 ;
78650 return 0;
78651 }
78652 _ACEOF
78653 rm -f conftest.$ac_objext
78654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78655 (eval $ac_compile) 2>conftest.er1
78656 ac_status=$?
78657 grep -v '^ *+' conftest.er1 >conftest.err
78658 rm -f conftest.er1
78659 cat conftest.err >&5
78660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78661 (exit $ac_status); } &&
78662 { ac_try='test -z "$ac_cxx_werror_flag"
78663 || test ! -s conftest.err'
78664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78665 (eval $ac_try) 2>&5
78666 ac_status=$?
78667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78668 (exit $ac_status); }; } &&
78669 { ac_try='test -s conftest.$ac_objext'
78670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78671 (eval $ac_try) 2>&5
78672 ac_status=$?
78673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78674 (exit $ac_status); }; }; then
78675 glibcxx_cv_func__expl_use=yes
78676 else
78677 echo "$as_me: failed program was:" >&5
78678 sed 's/^/| /' conftest.$ac_ext >&5
78679
78680 glibcxx_cv_func__expl_use=no
78681 fi
78682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78683 ac_ext=c
78684 ac_cpp='$CPP $CPPFLAGS'
78685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78688
78689
78690 fi
78691
78692 fi
78693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
78694 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
78695
78696 if test x$glibcxx_cv_func__expl_use = x"yes"; then
78697
78698 for ac_func in _expl
78699 do
78700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78701 echo "$as_me:$LINENO: checking for $ac_func" >&5
78702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78703 if eval "test \"\${$as_ac_var+set}\" = set"; then
78704 echo $ECHO_N "(cached) $ECHO_C" >&6
78705 else
78706 if test x$gcc_no_link = xyes; then
78707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78709 { (exit 1); exit 1; }; }
78710 fi
78711 cat >conftest.$ac_ext <<_ACEOF
78712 /* confdefs.h. */
78713 _ACEOF
78714 cat confdefs.h >>conftest.$ac_ext
78715 cat >>conftest.$ac_ext <<_ACEOF
78716 /* end confdefs.h. */
78717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78719 #define $ac_func innocuous_$ac_func
78720
78721 /* System header to define __stub macros and hopefully few prototypes,
78722 which can conflict with char $ac_func (); below.
78723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78724 <limits.h> exists even on freestanding compilers. */
78725
78726 #ifdef __STDC__
78727 # include <limits.h>
78728 #else
78729 # include <assert.h>
78730 #endif
78731
78732 #undef $ac_func
78733
78734 /* Override any gcc2 internal prototype to avoid an error. */
78735 #ifdef __cplusplus
78736 extern "C"
78737 {
78738 #endif
78739 /* We use char because int might match the return type of a gcc2
78740 builtin and then its argument prototype would still apply. */
78741 char $ac_func ();
78742 /* The GNU C library defines this for functions which it implements
78743 to always fail with ENOSYS. Some functions are actually named
78744 something starting with __ and the normal name is an alias. */
78745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78746 choke me
78747 #else
78748 char (*f) () = $ac_func;
78749 #endif
78750 #ifdef __cplusplus
78751 }
78752 #endif
78753
78754 int
78755 main ()
78756 {
78757 return f != $ac_func;
78758 ;
78759 return 0;
78760 }
78761 _ACEOF
78762 rm -f conftest.$ac_objext conftest$ac_exeext
78763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78764 (eval $ac_link) 2>conftest.er1
78765 ac_status=$?
78766 grep -v '^ *+' conftest.er1 >conftest.err
78767 rm -f conftest.er1
78768 cat conftest.err >&5
78769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78770 (exit $ac_status); } &&
78771 { ac_try='test -z "$ac_c_werror_flag"
78772 || test ! -s conftest.err'
78773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78774 (eval $ac_try) 2>&5
78775 ac_status=$?
78776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78777 (exit $ac_status); }; } &&
78778 { ac_try='test -s conftest$ac_exeext'
78779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78780 (eval $ac_try) 2>&5
78781 ac_status=$?
78782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78783 (exit $ac_status); }; }; then
78784 eval "$as_ac_var=yes"
78785 else
78786 echo "$as_me: failed program was:" >&5
78787 sed 's/^/| /' conftest.$ac_ext >&5
78788
78789 eval "$as_ac_var=no"
78790 fi
78791 rm -f conftest.err conftest.$ac_objext \
78792 conftest$ac_exeext conftest.$ac_ext
78793 fi
78794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78796 if test `eval echo '${'$as_ac_var'}'` = yes; then
78797 cat >>confdefs.h <<_ACEOF
78798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78799 _ACEOF
78800
78801 fi
78802 done
78803
78804 fi
78805 fi
78806
78807
78808
78809
78810
78811
78812 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
78813 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
78814 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
78815 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
78816 echo $ECHO_N "(cached) $ECHO_C" >&6
78817 else
78818
78819
78820
78821 ac_ext=cc
78822 ac_cpp='$CXXCPP $CPPFLAGS'
78823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78826
78827 cat >conftest.$ac_ext <<_ACEOF
78828 /* confdefs.h. */
78829 _ACEOF
78830 cat confdefs.h >>conftest.$ac_ext
78831 cat >>conftest.$ac_ext <<_ACEOF
78832 /* end confdefs.h. */
78833 #include <math.h>
78834 #ifdef HAVE_IEEEFP_H
78835 #include <ieeefp.h>
78836 #endif
78837
78838 int
78839 main ()
78840 {
78841 fabsl(0);
78842 ;
78843 return 0;
78844 }
78845 _ACEOF
78846 rm -f conftest.$ac_objext
78847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78848 (eval $ac_compile) 2>conftest.er1
78849 ac_status=$?
78850 grep -v '^ *+' conftest.er1 >conftest.err
78851 rm -f conftest.er1
78852 cat conftest.err >&5
78853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78854 (exit $ac_status); } &&
78855 { ac_try='test -z "$ac_cxx_werror_flag"
78856 || test ! -s conftest.err'
78857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78858 (eval $ac_try) 2>&5
78859 ac_status=$?
78860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78861 (exit $ac_status); }; } &&
78862 { ac_try='test -s conftest.$ac_objext'
78863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78864 (eval $ac_try) 2>&5
78865 ac_status=$?
78866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78867 (exit $ac_status); }; }; then
78868 glibcxx_cv_func_fabsl_use=yes
78869 else
78870 echo "$as_me: failed program was:" >&5
78871 sed 's/^/| /' conftest.$ac_ext >&5
78872
78873 glibcxx_cv_func_fabsl_use=no
78874 fi
78875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78876 ac_ext=c
78877 ac_cpp='$CPP $CPPFLAGS'
78878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78881
78882
78883 fi
78884
78885 fi
78886 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
78887 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
78888
78889 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
78890
78891 for ac_func in fabsl
78892 do
78893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78894 echo "$as_me:$LINENO: checking for $ac_func" >&5
78895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78896 if eval "test \"\${$as_ac_var+set}\" = set"; then
78897 echo $ECHO_N "(cached) $ECHO_C" >&6
78898 else
78899 if test x$gcc_no_link = xyes; then
78900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78902 { (exit 1); exit 1; }; }
78903 fi
78904 cat >conftest.$ac_ext <<_ACEOF
78905 /* confdefs.h. */
78906 _ACEOF
78907 cat confdefs.h >>conftest.$ac_ext
78908 cat >>conftest.$ac_ext <<_ACEOF
78909 /* end confdefs.h. */
78910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78912 #define $ac_func innocuous_$ac_func
78913
78914 /* System header to define __stub macros and hopefully few prototypes,
78915 which can conflict with char $ac_func (); below.
78916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78917 <limits.h> exists even on freestanding compilers. */
78918
78919 #ifdef __STDC__
78920 # include <limits.h>
78921 #else
78922 # include <assert.h>
78923 #endif
78924
78925 #undef $ac_func
78926
78927 /* Override any gcc2 internal prototype to avoid an error. */
78928 #ifdef __cplusplus
78929 extern "C"
78930 {
78931 #endif
78932 /* We use char because int might match the return type of a gcc2
78933 builtin and then its argument prototype would still apply. */
78934 char $ac_func ();
78935 /* The GNU C library defines this for functions which it implements
78936 to always fail with ENOSYS. Some functions are actually named
78937 something starting with __ and the normal name is an alias. */
78938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78939 choke me
78940 #else
78941 char (*f) () = $ac_func;
78942 #endif
78943 #ifdef __cplusplus
78944 }
78945 #endif
78946
78947 int
78948 main ()
78949 {
78950 return f != $ac_func;
78951 ;
78952 return 0;
78953 }
78954 _ACEOF
78955 rm -f conftest.$ac_objext conftest$ac_exeext
78956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78957 (eval $ac_link) 2>conftest.er1
78958 ac_status=$?
78959 grep -v '^ *+' conftest.er1 >conftest.err
78960 rm -f conftest.er1
78961 cat conftest.err >&5
78962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78963 (exit $ac_status); } &&
78964 { ac_try='test -z "$ac_c_werror_flag"
78965 || test ! -s conftest.err'
78966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78967 (eval $ac_try) 2>&5
78968 ac_status=$?
78969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78970 (exit $ac_status); }; } &&
78971 { ac_try='test -s conftest$ac_exeext'
78972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78973 (eval $ac_try) 2>&5
78974 ac_status=$?
78975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78976 (exit $ac_status); }; }; then
78977 eval "$as_ac_var=yes"
78978 else
78979 echo "$as_me: failed program was:" >&5
78980 sed 's/^/| /' conftest.$ac_ext >&5
78981
78982 eval "$as_ac_var=no"
78983 fi
78984 rm -f conftest.err conftest.$ac_objext \
78985 conftest$ac_exeext conftest.$ac_ext
78986 fi
78987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78989 if test `eval echo '${'$as_ac_var'}'` = yes; then
78990 cat >>confdefs.h <<_ACEOF
78991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78992 _ACEOF
78993
78994 fi
78995 done
78996
78997 else
78998
78999 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
79000 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
79001 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
79002 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
79003 echo $ECHO_N "(cached) $ECHO_C" >&6
79004 else
79005
79006
79007
79008 ac_ext=cc
79009 ac_cpp='$CXXCPP $CPPFLAGS'
79010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79013
79014 cat >conftest.$ac_ext <<_ACEOF
79015 /* confdefs.h. */
79016 _ACEOF
79017 cat confdefs.h >>conftest.$ac_ext
79018 cat >>conftest.$ac_ext <<_ACEOF
79019 /* end confdefs.h. */
79020 #include <math.h>
79021 #ifdef HAVE_IEEEFP_H
79022 #include <ieeefp.h>
79023 #endif
79024
79025 int
79026 main ()
79027 {
79028 _fabsl(0);
79029 ;
79030 return 0;
79031 }
79032 _ACEOF
79033 rm -f conftest.$ac_objext
79034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79035 (eval $ac_compile) 2>conftest.er1
79036 ac_status=$?
79037 grep -v '^ *+' conftest.er1 >conftest.err
79038 rm -f conftest.er1
79039 cat conftest.err >&5
79040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79041 (exit $ac_status); } &&
79042 { ac_try='test -z "$ac_cxx_werror_flag"
79043 || test ! -s conftest.err'
79044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79045 (eval $ac_try) 2>&5
79046 ac_status=$?
79047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79048 (exit $ac_status); }; } &&
79049 { ac_try='test -s conftest.$ac_objext'
79050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79051 (eval $ac_try) 2>&5
79052 ac_status=$?
79053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79054 (exit $ac_status); }; }; then
79055 glibcxx_cv_func__fabsl_use=yes
79056 else
79057 echo "$as_me: failed program was:" >&5
79058 sed 's/^/| /' conftest.$ac_ext >&5
79059
79060 glibcxx_cv_func__fabsl_use=no
79061 fi
79062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79063 ac_ext=c
79064 ac_cpp='$CPP $CPPFLAGS'
79065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79068
79069
79070 fi
79071
79072 fi
79073 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
79074 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
79075
79076 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
79077
79078 for ac_func in _fabsl
79079 do
79080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79081 echo "$as_me:$LINENO: checking for $ac_func" >&5
79082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79083 if eval "test \"\${$as_ac_var+set}\" = set"; then
79084 echo $ECHO_N "(cached) $ECHO_C" >&6
79085 else
79086 if test x$gcc_no_link = xyes; then
79087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79089 { (exit 1); exit 1; }; }
79090 fi
79091 cat >conftest.$ac_ext <<_ACEOF
79092 /* confdefs.h. */
79093 _ACEOF
79094 cat confdefs.h >>conftest.$ac_ext
79095 cat >>conftest.$ac_ext <<_ACEOF
79096 /* end confdefs.h. */
79097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79099 #define $ac_func innocuous_$ac_func
79100
79101 /* System header to define __stub macros and hopefully few prototypes,
79102 which can conflict with char $ac_func (); below.
79103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79104 <limits.h> exists even on freestanding compilers. */
79105
79106 #ifdef __STDC__
79107 # include <limits.h>
79108 #else
79109 # include <assert.h>
79110 #endif
79111
79112 #undef $ac_func
79113
79114 /* Override any gcc2 internal prototype to avoid an error. */
79115 #ifdef __cplusplus
79116 extern "C"
79117 {
79118 #endif
79119 /* We use char because int might match the return type of a gcc2
79120 builtin and then its argument prototype would still apply. */
79121 char $ac_func ();
79122 /* The GNU C library defines this for functions which it implements
79123 to always fail with ENOSYS. Some functions are actually named
79124 something starting with __ and the normal name is an alias. */
79125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79126 choke me
79127 #else
79128 char (*f) () = $ac_func;
79129 #endif
79130 #ifdef __cplusplus
79131 }
79132 #endif
79133
79134 int
79135 main ()
79136 {
79137 return f != $ac_func;
79138 ;
79139 return 0;
79140 }
79141 _ACEOF
79142 rm -f conftest.$ac_objext conftest$ac_exeext
79143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79144 (eval $ac_link) 2>conftest.er1
79145 ac_status=$?
79146 grep -v '^ *+' conftest.er1 >conftest.err
79147 rm -f conftest.er1
79148 cat conftest.err >&5
79149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79150 (exit $ac_status); } &&
79151 { ac_try='test -z "$ac_c_werror_flag"
79152 || test ! -s conftest.err'
79153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79154 (eval $ac_try) 2>&5
79155 ac_status=$?
79156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79157 (exit $ac_status); }; } &&
79158 { ac_try='test -s conftest$ac_exeext'
79159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79160 (eval $ac_try) 2>&5
79161 ac_status=$?
79162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79163 (exit $ac_status); }; }; then
79164 eval "$as_ac_var=yes"
79165 else
79166 echo "$as_me: failed program was:" >&5
79167 sed 's/^/| /' conftest.$ac_ext >&5
79168
79169 eval "$as_ac_var=no"
79170 fi
79171 rm -f conftest.err conftest.$ac_objext \
79172 conftest$ac_exeext conftest.$ac_ext
79173 fi
79174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79176 if test `eval echo '${'$as_ac_var'}'` = yes; then
79177 cat >>confdefs.h <<_ACEOF
79178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79179 _ACEOF
79180
79181 fi
79182 done
79183
79184 fi
79185 fi
79186
79187
79188
79189
79190
79191
79192 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
79193 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
79194 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
79195 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
79196 echo $ECHO_N "(cached) $ECHO_C" >&6
79197 else
79198
79199
79200
79201 ac_ext=cc
79202 ac_cpp='$CXXCPP $CPPFLAGS'
79203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79206
79207 cat >conftest.$ac_ext <<_ACEOF
79208 /* confdefs.h. */
79209 _ACEOF
79210 cat confdefs.h >>conftest.$ac_ext
79211 cat >>conftest.$ac_ext <<_ACEOF
79212 /* end confdefs.h. */
79213 #include <math.h>
79214 int
79215 main ()
79216 {
79217 fmodl(0, 0);
79218 ;
79219 return 0;
79220 }
79221 _ACEOF
79222 rm -f conftest.$ac_objext
79223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79224 (eval $ac_compile) 2>conftest.er1
79225 ac_status=$?
79226 grep -v '^ *+' conftest.er1 >conftest.err
79227 rm -f conftest.er1
79228 cat conftest.err >&5
79229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79230 (exit $ac_status); } &&
79231 { ac_try='test -z "$ac_cxx_werror_flag"
79232 || test ! -s conftest.err'
79233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79234 (eval $ac_try) 2>&5
79235 ac_status=$?
79236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79237 (exit $ac_status); }; } &&
79238 { ac_try='test -s conftest.$ac_objext'
79239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79240 (eval $ac_try) 2>&5
79241 ac_status=$?
79242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79243 (exit $ac_status); }; }; then
79244 glibcxx_cv_func_fmodl_use=yes
79245 else
79246 echo "$as_me: failed program was:" >&5
79247 sed 's/^/| /' conftest.$ac_ext >&5
79248
79249 glibcxx_cv_func_fmodl_use=no
79250 fi
79251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79252 ac_ext=c
79253 ac_cpp='$CPP $CPPFLAGS'
79254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79257
79258
79259 fi
79260
79261 fi
79262 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
79263 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
79264
79265 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
79266
79267 for ac_func in fmodl
79268 do
79269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79270 echo "$as_me:$LINENO: checking for $ac_func" >&5
79271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79272 if eval "test \"\${$as_ac_var+set}\" = set"; then
79273 echo $ECHO_N "(cached) $ECHO_C" >&6
79274 else
79275 if test x$gcc_no_link = xyes; then
79276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79278 { (exit 1); exit 1; }; }
79279 fi
79280 cat >conftest.$ac_ext <<_ACEOF
79281 /* confdefs.h. */
79282 _ACEOF
79283 cat confdefs.h >>conftest.$ac_ext
79284 cat >>conftest.$ac_ext <<_ACEOF
79285 /* end confdefs.h. */
79286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79288 #define $ac_func innocuous_$ac_func
79289
79290 /* System header to define __stub macros and hopefully few prototypes,
79291 which can conflict with char $ac_func (); below.
79292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79293 <limits.h> exists even on freestanding compilers. */
79294
79295 #ifdef __STDC__
79296 # include <limits.h>
79297 #else
79298 # include <assert.h>
79299 #endif
79300
79301 #undef $ac_func
79302
79303 /* Override any gcc2 internal prototype to avoid an error. */
79304 #ifdef __cplusplus
79305 extern "C"
79306 {
79307 #endif
79308 /* We use char because int might match the return type of a gcc2
79309 builtin and then its argument prototype would still apply. */
79310 char $ac_func ();
79311 /* The GNU C library defines this for functions which it implements
79312 to always fail with ENOSYS. Some functions are actually named
79313 something starting with __ and the normal name is an alias. */
79314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79315 choke me
79316 #else
79317 char (*f) () = $ac_func;
79318 #endif
79319 #ifdef __cplusplus
79320 }
79321 #endif
79322
79323 int
79324 main ()
79325 {
79326 return f != $ac_func;
79327 ;
79328 return 0;
79329 }
79330 _ACEOF
79331 rm -f conftest.$ac_objext conftest$ac_exeext
79332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79333 (eval $ac_link) 2>conftest.er1
79334 ac_status=$?
79335 grep -v '^ *+' conftest.er1 >conftest.err
79336 rm -f conftest.er1
79337 cat conftest.err >&5
79338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79339 (exit $ac_status); } &&
79340 { ac_try='test -z "$ac_c_werror_flag"
79341 || test ! -s conftest.err'
79342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79343 (eval $ac_try) 2>&5
79344 ac_status=$?
79345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79346 (exit $ac_status); }; } &&
79347 { ac_try='test -s conftest$ac_exeext'
79348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79349 (eval $ac_try) 2>&5
79350 ac_status=$?
79351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79352 (exit $ac_status); }; }; then
79353 eval "$as_ac_var=yes"
79354 else
79355 echo "$as_me: failed program was:" >&5
79356 sed 's/^/| /' conftest.$ac_ext >&5
79357
79358 eval "$as_ac_var=no"
79359 fi
79360 rm -f conftest.err conftest.$ac_objext \
79361 conftest$ac_exeext conftest.$ac_ext
79362 fi
79363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79365 if test `eval echo '${'$as_ac_var'}'` = yes; then
79366 cat >>confdefs.h <<_ACEOF
79367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79368 _ACEOF
79369
79370 fi
79371 done
79372
79373 else
79374
79375 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
79376 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
79377 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
79378 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
79379 echo $ECHO_N "(cached) $ECHO_C" >&6
79380 else
79381
79382
79383
79384 ac_ext=cc
79385 ac_cpp='$CXXCPP $CPPFLAGS'
79386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79389
79390 cat >conftest.$ac_ext <<_ACEOF
79391 /* confdefs.h. */
79392 _ACEOF
79393 cat confdefs.h >>conftest.$ac_ext
79394 cat >>conftest.$ac_ext <<_ACEOF
79395 /* end confdefs.h. */
79396 #include <math.h>
79397 int
79398 main ()
79399 {
79400 _fmodl(0, 0);
79401 ;
79402 return 0;
79403 }
79404 _ACEOF
79405 rm -f conftest.$ac_objext
79406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79407 (eval $ac_compile) 2>conftest.er1
79408 ac_status=$?
79409 grep -v '^ *+' conftest.er1 >conftest.err
79410 rm -f conftest.er1
79411 cat conftest.err >&5
79412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79413 (exit $ac_status); } &&
79414 { ac_try='test -z "$ac_cxx_werror_flag"
79415 || test ! -s conftest.err'
79416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79417 (eval $ac_try) 2>&5
79418 ac_status=$?
79419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79420 (exit $ac_status); }; } &&
79421 { ac_try='test -s conftest.$ac_objext'
79422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79423 (eval $ac_try) 2>&5
79424 ac_status=$?
79425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79426 (exit $ac_status); }; }; then
79427 glibcxx_cv_func__fmodl_use=yes
79428 else
79429 echo "$as_me: failed program was:" >&5
79430 sed 's/^/| /' conftest.$ac_ext >&5
79431
79432 glibcxx_cv_func__fmodl_use=no
79433 fi
79434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79435 ac_ext=c
79436 ac_cpp='$CPP $CPPFLAGS'
79437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79440
79441
79442 fi
79443
79444 fi
79445 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
79446 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
79447
79448 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
79449
79450 for ac_func in _fmodl
79451 do
79452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79453 echo "$as_me:$LINENO: checking for $ac_func" >&5
79454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79455 if eval "test \"\${$as_ac_var+set}\" = set"; then
79456 echo $ECHO_N "(cached) $ECHO_C" >&6
79457 else
79458 if test x$gcc_no_link = xyes; then
79459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79461 { (exit 1); exit 1; }; }
79462 fi
79463 cat >conftest.$ac_ext <<_ACEOF
79464 /* confdefs.h. */
79465 _ACEOF
79466 cat confdefs.h >>conftest.$ac_ext
79467 cat >>conftest.$ac_ext <<_ACEOF
79468 /* end confdefs.h. */
79469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79471 #define $ac_func innocuous_$ac_func
79472
79473 /* System header to define __stub macros and hopefully few prototypes,
79474 which can conflict with char $ac_func (); below.
79475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79476 <limits.h> exists even on freestanding compilers. */
79477
79478 #ifdef __STDC__
79479 # include <limits.h>
79480 #else
79481 # include <assert.h>
79482 #endif
79483
79484 #undef $ac_func
79485
79486 /* Override any gcc2 internal prototype to avoid an error. */
79487 #ifdef __cplusplus
79488 extern "C"
79489 {
79490 #endif
79491 /* We use char because int might match the return type of a gcc2
79492 builtin and then its argument prototype would still apply. */
79493 char $ac_func ();
79494 /* The GNU C library defines this for functions which it implements
79495 to always fail with ENOSYS. Some functions are actually named
79496 something starting with __ and the normal name is an alias. */
79497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79498 choke me
79499 #else
79500 char (*f) () = $ac_func;
79501 #endif
79502 #ifdef __cplusplus
79503 }
79504 #endif
79505
79506 int
79507 main ()
79508 {
79509 return f != $ac_func;
79510 ;
79511 return 0;
79512 }
79513 _ACEOF
79514 rm -f conftest.$ac_objext conftest$ac_exeext
79515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79516 (eval $ac_link) 2>conftest.er1
79517 ac_status=$?
79518 grep -v '^ *+' conftest.er1 >conftest.err
79519 rm -f conftest.er1
79520 cat conftest.err >&5
79521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79522 (exit $ac_status); } &&
79523 { ac_try='test -z "$ac_c_werror_flag"
79524 || test ! -s conftest.err'
79525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79526 (eval $ac_try) 2>&5
79527 ac_status=$?
79528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79529 (exit $ac_status); }; } &&
79530 { ac_try='test -s conftest$ac_exeext'
79531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79532 (eval $ac_try) 2>&5
79533 ac_status=$?
79534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79535 (exit $ac_status); }; }; then
79536 eval "$as_ac_var=yes"
79537 else
79538 echo "$as_me: failed program was:" >&5
79539 sed 's/^/| /' conftest.$ac_ext >&5
79540
79541 eval "$as_ac_var=no"
79542 fi
79543 rm -f conftest.err conftest.$ac_objext \
79544 conftest$ac_exeext conftest.$ac_ext
79545 fi
79546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79548 if test `eval echo '${'$as_ac_var'}'` = yes; then
79549 cat >>confdefs.h <<_ACEOF
79550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79551 _ACEOF
79552
79553 fi
79554 done
79555
79556 fi
79557 fi
79558
79559
79560
79561
79562
79563
79564 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
79565 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
79566 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
79567 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
79568 echo $ECHO_N "(cached) $ECHO_C" >&6
79569 else
79570
79571
79572
79573 ac_ext=cc
79574 ac_cpp='$CXXCPP $CPPFLAGS'
79575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79578
79579 cat >conftest.$ac_ext <<_ACEOF
79580 /* confdefs.h. */
79581 _ACEOF
79582 cat confdefs.h >>conftest.$ac_ext
79583 cat >>conftest.$ac_ext <<_ACEOF
79584 /* end confdefs.h. */
79585 #include <math.h>
79586 int
79587 main ()
79588 {
79589 frexpl(0, 0);
79590 ;
79591 return 0;
79592 }
79593 _ACEOF
79594 rm -f conftest.$ac_objext
79595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79596 (eval $ac_compile) 2>conftest.er1
79597 ac_status=$?
79598 grep -v '^ *+' conftest.er1 >conftest.err
79599 rm -f conftest.er1
79600 cat conftest.err >&5
79601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79602 (exit $ac_status); } &&
79603 { ac_try='test -z "$ac_cxx_werror_flag"
79604 || test ! -s conftest.err'
79605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79606 (eval $ac_try) 2>&5
79607 ac_status=$?
79608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79609 (exit $ac_status); }; } &&
79610 { ac_try='test -s conftest.$ac_objext'
79611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79612 (eval $ac_try) 2>&5
79613 ac_status=$?
79614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79615 (exit $ac_status); }; }; then
79616 glibcxx_cv_func_frexpl_use=yes
79617 else
79618 echo "$as_me: failed program was:" >&5
79619 sed 's/^/| /' conftest.$ac_ext >&5
79620
79621 glibcxx_cv_func_frexpl_use=no
79622 fi
79623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79624 ac_ext=c
79625 ac_cpp='$CPP $CPPFLAGS'
79626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79629
79630
79631 fi
79632
79633 fi
79634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
79635 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
79636
79637 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
79638
79639 for ac_func in frexpl
79640 do
79641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79642 echo "$as_me:$LINENO: checking for $ac_func" >&5
79643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79644 if eval "test \"\${$as_ac_var+set}\" = set"; then
79645 echo $ECHO_N "(cached) $ECHO_C" >&6
79646 else
79647 if test x$gcc_no_link = xyes; then
79648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79650 { (exit 1); exit 1; }; }
79651 fi
79652 cat >conftest.$ac_ext <<_ACEOF
79653 /* confdefs.h. */
79654 _ACEOF
79655 cat confdefs.h >>conftest.$ac_ext
79656 cat >>conftest.$ac_ext <<_ACEOF
79657 /* end confdefs.h. */
79658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79660 #define $ac_func innocuous_$ac_func
79661
79662 /* System header to define __stub macros and hopefully few prototypes,
79663 which can conflict with char $ac_func (); below.
79664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79665 <limits.h> exists even on freestanding compilers. */
79666
79667 #ifdef __STDC__
79668 # include <limits.h>
79669 #else
79670 # include <assert.h>
79671 #endif
79672
79673 #undef $ac_func
79674
79675 /* Override any gcc2 internal prototype to avoid an error. */
79676 #ifdef __cplusplus
79677 extern "C"
79678 {
79679 #endif
79680 /* We use char because int might match the return type of a gcc2
79681 builtin and then its argument prototype would still apply. */
79682 char $ac_func ();
79683 /* The GNU C library defines this for functions which it implements
79684 to always fail with ENOSYS. Some functions are actually named
79685 something starting with __ and the normal name is an alias. */
79686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79687 choke me
79688 #else
79689 char (*f) () = $ac_func;
79690 #endif
79691 #ifdef __cplusplus
79692 }
79693 #endif
79694
79695 int
79696 main ()
79697 {
79698 return f != $ac_func;
79699 ;
79700 return 0;
79701 }
79702 _ACEOF
79703 rm -f conftest.$ac_objext conftest$ac_exeext
79704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79705 (eval $ac_link) 2>conftest.er1
79706 ac_status=$?
79707 grep -v '^ *+' conftest.er1 >conftest.err
79708 rm -f conftest.er1
79709 cat conftest.err >&5
79710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79711 (exit $ac_status); } &&
79712 { ac_try='test -z "$ac_c_werror_flag"
79713 || test ! -s conftest.err'
79714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79715 (eval $ac_try) 2>&5
79716 ac_status=$?
79717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79718 (exit $ac_status); }; } &&
79719 { ac_try='test -s conftest$ac_exeext'
79720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79721 (eval $ac_try) 2>&5
79722 ac_status=$?
79723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79724 (exit $ac_status); }; }; then
79725 eval "$as_ac_var=yes"
79726 else
79727 echo "$as_me: failed program was:" >&5
79728 sed 's/^/| /' conftest.$ac_ext >&5
79729
79730 eval "$as_ac_var=no"
79731 fi
79732 rm -f conftest.err conftest.$ac_objext \
79733 conftest$ac_exeext conftest.$ac_ext
79734 fi
79735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79737 if test `eval echo '${'$as_ac_var'}'` = yes; then
79738 cat >>confdefs.h <<_ACEOF
79739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79740 _ACEOF
79741
79742 fi
79743 done
79744
79745 else
79746
79747 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
79748 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
79749 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
79750 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
79751 echo $ECHO_N "(cached) $ECHO_C" >&6
79752 else
79753
79754
79755
79756 ac_ext=cc
79757 ac_cpp='$CXXCPP $CPPFLAGS'
79758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79761
79762 cat >conftest.$ac_ext <<_ACEOF
79763 /* confdefs.h. */
79764 _ACEOF
79765 cat confdefs.h >>conftest.$ac_ext
79766 cat >>conftest.$ac_ext <<_ACEOF
79767 /* end confdefs.h. */
79768 #include <math.h>
79769 int
79770 main ()
79771 {
79772 _frexpl(0, 0);
79773 ;
79774 return 0;
79775 }
79776 _ACEOF
79777 rm -f conftest.$ac_objext
79778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79779 (eval $ac_compile) 2>conftest.er1
79780 ac_status=$?
79781 grep -v '^ *+' conftest.er1 >conftest.err
79782 rm -f conftest.er1
79783 cat conftest.err >&5
79784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79785 (exit $ac_status); } &&
79786 { ac_try='test -z "$ac_cxx_werror_flag"
79787 || test ! -s conftest.err'
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); }; } &&
79793 { ac_try='test -s conftest.$ac_objext'
79794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79795 (eval $ac_try) 2>&5
79796 ac_status=$?
79797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79798 (exit $ac_status); }; }; then
79799 glibcxx_cv_func__frexpl_use=yes
79800 else
79801 echo "$as_me: failed program was:" >&5
79802 sed 's/^/| /' conftest.$ac_ext >&5
79803
79804 glibcxx_cv_func__frexpl_use=no
79805 fi
79806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79807 ac_ext=c
79808 ac_cpp='$CPP $CPPFLAGS'
79809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79812
79813
79814 fi
79815
79816 fi
79817 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
79818 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
79819
79820 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
79821
79822 for ac_func in _frexpl
79823 do
79824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79825 echo "$as_me:$LINENO: checking for $ac_func" >&5
79826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79827 if eval "test \"\${$as_ac_var+set}\" = set"; then
79828 echo $ECHO_N "(cached) $ECHO_C" >&6
79829 else
79830 if test x$gcc_no_link = xyes; then
79831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79833 { (exit 1); exit 1; }; }
79834 fi
79835 cat >conftest.$ac_ext <<_ACEOF
79836 /* confdefs.h. */
79837 _ACEOF
79838 cat confdefs.h >>conftest.$ac_ext
79839 cat >>conftest.$ac_ext <<_ACEOF
79840 /* end confdefs.h. */
79841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79843 #define $ac_func innocuous_$ac_func
79844
79845 /* System header to define __stub macros and hopefully few prototypes,
79846 which can conflict with char $ac_func (); below.
79847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79848 <limits.h> exists even on freestanding compilers. */
79849
79850 #ifdef __STDC__
79851 # include <limits.h>
79852 #else
79853 # include <assert.h>
79854 #endif
79855
79856 #undef $ac_func
79857
79858 /* Override any gcc2 internal prototype to avoid an error. */
79859 #ifdef __cplusplus
79860 extern "C"
79861 {
79862 #endif
79863 /* We use char because int might match the return type of a gcc2
79864 builtin and then its argument prototype would still apply. */
79865 char $ac_func ();
79866 /* The GNU C library defines this for functions which it implements
79867 to always fail with ENOSYS. Some functions are actually named
79868 something starting with __ and the normal name is an alias. */
79869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79870 choke me
79871 #else
79872 char (*f) () = $ac_func;
79873 #endif
79874 #ifdef __cplusplus
79875 }
79876 #endif
79877
79878 int
79879 main ()
79880 {
79881 return f != $ac_func;
79882 ;
79883 return 0;
79884 }
79885 _ACEOF
79886 rm -f conftest.$ac_objext conftest$ac_exeext
79887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79888 (eval $ac_link) 2>conftest.er1
79889 ac_status=$?
79890 grep -v '^ *+' conftest.er1 >conftest.err
79891 rm -f conftest.er1
79892 cat conftest.err >&5
79893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79894 (exit $ac_status); } &&
79895 { ac_try='test -z "$ac_c_werror_flag"
79896 || test ! -s conftest.err'
79897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79898 (eval $ac_try) 2>&5
79899 ac_status=$?
79900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79901 (exit $ac_status); }; } &&
79902 { ac_try='test -s conftest$ac_exeext'
79903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79904 (eval $ac_try) 2>&5
79905 ac_status=$?
79906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79907 (exit $ac_status); }; }; then
79908 eval "$as_ac_var=yes"
79909 else
79910 echo "$as_me: failed program was:" >&5
79911 sed 's/^/| /' conftest.$ac_ext >&5
79912
79913 eval "$as_ac_var=no"
79914 fi
79915 rm -f conftest.err conftest.$ac_objext \
79916 conftest$ac_exeext conftest.$ac_ext
79917 fi
79918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79920 if test `eval echo '${'$as_ac_var'}'` = yes; then
79921 cat >>confdefs.h <<_ACEOF
79922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79923 _ACEOF
79924
79925 fi
79926 done
79927
79928 fi
79929 fi
79930
79931
79932
79933
79934
79935
79936 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
79937 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
79938 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
79939 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
79940 echo $ECHO_N "(cached) $ECHO_C" >&6
79941 else
79942
79943
79944
79945 ac_ext=cc
79946 ac_cpp='$CXXCPP $CPPFLAGS'
79947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79950
79951 cat >conftest.$ac_ext <<_ACEOF
79952 /* confdefs.h. */
79953 _ACEOF
79954 cat confdefs.h >>conftest.$ac_ext
79955 cat >>conftest.$ac_ext <<_ACEOF
79956 /* end confdefs.h. */
79957 #include <math.h>
79958 int
79959 main ()
79960 {
79961 hypotl(0, 0);
79962 ;
79963 return 0;
79964 }
79965 _ACEOF
79966 rm -f conftest.$ac_objext
79967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79968 (eval $ac_compile) 2>conftest.er1
79969 ac_status=$?
79970 grep -v '^ *+' conftest.er1 >conftest.err
79971 rm -f conftest.er1
79972 cat conftest.err >&5
79973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79974 (exit $ac_status); } &&
79975 { ac_try='test -z "$ac_cxx_werror_flag"
79976 || test ! -s conftest.err'
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); }; } &&
79982 { ac_try='test -s conftest.$ac_objext'
79983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79984 (eval $ac_try) 2>&5
79985 ac_status=$?
79986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79987 (exit $ac_status); }; }; then
79988 glibcxx_cv_func_hypotl_use=yes
79989 else
79990 echo "$as_me: failed program was:" >&5
79991 sed 's/^/| /' conftest.$ac_ext >&5
79992
79993 glibcxx_cv_func_hypotl_use=no
79994 fi
79995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79996 ac_ext=c
79997 ac_cpp='$CPP $CPPFLAGS'
79998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80001
80002
80003 fi
80004
80005 fi
80006 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
80007 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
80008
80009 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
80010
80011 for ac_func in hypotl
80012 do
80013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80014 echo "$as_me:$LINENO: checking for $ac_func" >&5
80015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80016 if eval "test \"\${$as_ac_var+set}\" = set"; then
80017 echo $ECHO_N "(cached) $ECHO_C" >&6
80018 else
80019 if test x$gcc_no_link = xyes; then
80020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80022 { (exit 1); exit 1; }; }
80023 fi
80024 cat >conftest.$ac_ext <<_ACEOF
80025 /* confdefs.h. */
80026 _ACEOF
80027 cat confdefs.h >>conftest.$ac_ext
80028 cat >>conftest.$ac_ext <<_ACEOF
80029 /* end confdefs.h. */
80030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80032 #define $ac_func innocuous_$ac_func
80033
80034 /* System header to define __stub macros and hopefully few prototypes,
80035 which can conflict with char $ac_func (); below.
80036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80037 <limits.h> exists even on freestanding compilers. */
80038
80039 #ifdef __STDC__
80040 # include <limits.h>
80041 #else
80042 # include <assert.h>
80043 #endif
80044
80045 #undef $ac_func
80046
80047 /* Override any gcc2 internal prototype to avoid an error. */
80048 #ifdef __cplusplus
80049 extern "C"
80050 {
80051 #endif
80052 /* We use char because int might match the return type of a gcc2
80053 builtin and then its argument prototype would still apply. */
80054 char $ac_func ();
80055 /* The GNU C library defines this for functions which it implements
80056 to always fail with ENOSYS. Some functions are actually named
80057 something starting with __ and the normal name is an alias. */
80058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80059 choke me
80060 #else
80061 char (*f) () = $ac_func;
80062 #endif
80063 #ifdef __cplusplus
80064 }
80065 #endif
80066
80067 int
80068 main ()
80069 {
80070 return f != $ac_func;
80071 ;
80072 return 0;
80073 }
80074 _ACEOF
80075 rm -f conftest.$ac_objext conftest$ac_exeext
80076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80077 (eval $ac_link) 2>conftest.er1
80078 ac_status=$?
80079 grep -v '^ *+' conftest.er1 >conftest.err
80080 rm -f conftest.er1
80081 cat conftest.err >&5
80082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80083 (exit $ac_status); } &&
80084 { ac_try='test -z "$ac_c_werror_flag"
80085 || test ! -s conftest.err'
80086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80087 (eval $ac_try) 2>&5
80088 ac_status=$?
80089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80090 (exit $ac_status); }; } &&
80091 { ac_try='test -s conftest$ac_exeext'
80092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80093 (eval $ac_try) 2>&5
80094 ac_status=$?
80095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80096 (exit $ac_status); }; }; then
80097 eval "$as_ac_var=yes"
80098 else
80099 echo "$as_me: failed program was:" >&5
80100 sed 's/^/| /' conftest.$ac_ext >&5
80101
80102 eval "$as_ac_var=no"
80103 fi
80104 rm -f conftest.err conftest.$ac_objext \
80105 conftest$ac_exeext conftest.$ac_ext
80106 fi
80107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80109 if test `eval echo '${'$as_ac_var'}'` = yes; then
80110 cat >>confdefs.h <<_ACEOF
80111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80112 _ACEOF
80113
80114 fi
80115 done
80116
80117 else
80118
80119 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
80120 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
80121 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
80122 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
80123 echo $ECHO_N "(cached) $ECHO_C" >&6
80124 else
80125
80126
80127
80128 ac_ext=cc
80129 ac_cpp='$CXXCPP $CPPFLAGS'
80130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80133
80134 cat >conftest.$ac_ext <<_ACEOF
80135 /* confdefs.h. */
80136 _ACEOF
80137 cat confdefs.h >>conftest.$ac_ext
80138 cat >>conftest.$ac_ext <<_ACEOF
80139 /* end confdefs.h. */
80140 #include <math.h>
80141 int
80142 main ()
80143 {
80144 _hypotl(0, 0);
80145 ;
80146 return 0;
80147 }
80148 _ACEOF
80149 rm -f conftest.$ac_objext
80150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80151 (eval $ac_compile) 2>conftest.er1
80152 ac_status=$?
80153 grep -v '^ *+' conftest.er1 >conftest.err
80154 rm -f conftest.er1
80155 cat conftest.err >&5
80156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80157 (exit $ac_status); } &&
80158 { ac_try='test -z "$ac_cxx_werror_flag"
80159 || test ! -s conftest.err'
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); }; } &&
80165 { ac_try='test -s conftest.$ac_objext'
80166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80167 (eval $ac_try) 2>&5
80168 ac_status=$?
80169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80170 (exit $ac_status); }; }; then
80171 glibcxx_cv_func__hypotl_use=yes
80172 else
80173 echo "$as_me: failed program was:" >&5
80174 sed 's/^/| /' conftest.$ac_ext >&5
80175
80176 glibcxx_cv_func__hypotl_use=no
80177 fi
80178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80179 ac_ext=c
80180 ac_cpp='$CPP $CPPFLAGS'
80181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80184
80185
80186 fi
80187
80188 fi
80189 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
80190 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
80191
80192 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
80193
80194 for ac_func in _hypotl
80195 do
80196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80197 echo "$as_me:$LINENO: checking for $ac_func" >&5
80198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80199 if eval "test \"\${$as_ac_var+set}\" = set"; then
80200 echo $ECHO_N "(cached) $ECHO_C" >&6
80201 else
80202 if test x$gcc_no_link = xyes; then
80203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80205 { (exit 1); exit 1; }; }
80206 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80215 #define $ac_func innocuous_$ac_func
80216
80217 /* System header to define __stub macros and hopefully few prototypes,
80218 which can conflict with char $ac_func (); below.
80219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80220 <limits.h> exists even on freestanding compilers. */
80221
80222 #ifdef __STDC__
80223 # include <limits.h>
80224 #else
80225 # include <assert.h>
80226 #endif
80227
80228 #undef $ac_func
80229
80230 /* Override any gcc2 internal prototype to avoid an error. */
80231 #ifdef __cplusplus
80232 extern "C"
80233 {
80234 #endif
80235 /* We use char because int might match the return type of a gcc2
80236 builtin and then its argument prototype would still apply. */
80237 char $ac_func ();
80238 /* The GNU C library defines this for functions which it implements
80239 to always fail with ENOSYS. Some functions are actually named
80240 something starting with __ and the normal name is an alias. */
80241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80242 choke me
80243 #else
80244 char (*f) () = $ac_func;
80245 #endif
80246 #ifdef __cplusplus
80247 }
80248 #endif
80249
80250 int
80251 main ()
80252 {
80253 return f != $ac_func;
80254 ;
80255 return 0;
80256 }
80257 _ACEOF
80258 rm -f conftest.$ac_objext conftest$ac_exeext
80259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80260 (eval $ac_link) 2>conftest.er1
80261 ac_status=$?
80262 grep -v '^ *+' conftest.er1 >conftest.err
80263 rm -f conftest.er1
80264 cat conftest.err >&5
80265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80266 (exit $ac_status); } &&
80267 { ac_try='test -z "$ac_c_werror_flag"
80268 || test ! -s conftest.err'
80269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80270 (eval $ac_try) 2>&5
80271 ac_status=$?
80272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80273 (exit $ac_status); }; } &&
80274 { ac_try='test -s conftest$ac_exeext'
80275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80276 (eval $ac_try) 2>&5
80277 ac_status=$?
80278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80279 (exit $ac_status); }; }; then
80280 eval "$as_ac_var=yes"
80281 else
80282 echo "$as_me: failed program was:" >&5
80283 sed 's/^/| /' conftest.$ac_ext >&5
80284
80285 eval "$as_ac_var=no"
80286 fi
80287 rm -f conftest.err conftest.$ac_objext \
80288 conftest$ac_exeext conftest.$ac_ext
80289 fi
80290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80292 if test `eval echo '${'$as_ac_var'}'` = yes; then
80293 cat >>confdefs.h <<_ACEOF
80294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80295 _ACEOF
80296
80297 fi
80298 done
80299
80300 fi
80301 fi
80302
80303
80304
80305
80306
80307
80308 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
80309 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
80310 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
80311 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
80312 echo $ECHO_N "(cached) $ECHO_C" >&6
80313 else
80314
80315
80316
80317 ac_ext=cc
80318 ac_cpp='$CXXCPP $CPPFLAGS'
80319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80322
80323 cat >conftest.$ac_ext <<_ACEOF
80324 /* confdefs.h. */
80325 _ACEOF
80326 cat confdefs.h >>conftest.$ac_ext
80327 cat >>conftest.$ac_ext <<_ACEOF
80328 /* end confdefs.h. */
80329 #include <math.h>
80330 int
80331 main ()
80332 {
80333 ldexpl(0, 0);
80334 ;
80335 return 0;
80336 }
80337 _ACEOF
80338 rm -f conftest.$ac_objext
80339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80340 (eval $ac_compile) 2>conftest.er1
80341 ac_status=$?
80342 grep -v '^ *+' conftest.er1 >conftest.err
80343 rm -f conftest.er1
80344 cat conftest.err >&5
80345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80346 (exit $ac_status); } &&
80347 { ac_try='test -z "$ac_cxx_werror_flag"
80348 || test ! -s conftest.err'
80349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80350 (eval $ac_try) 2>&5
80351 ac_status=$?
80352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80353 (exit $ac_status); }; } &&
80354 { ac_try='test -s conftest.$ac_objext'
80355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80356 (eval $ac_try) 2>&5
80357 ac_status=$?
80358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80359 (exit $ac_status); }; }; then
80360 glibcxx_cv_func_ldexpl_use=yes
80361 else
80362 echo "$as_me: failed program was:" >&5
80363 sed 's/^/| /' conftest.$ac_ext >&5
80364
80365 glibcxx_cv_func_ldexpl_use=no
80366 fi
80367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80368 ac_ext=c
80369 ac_cpp='$CPP $CPPFLAGS'
80370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80373
80374
80375 fi
80376
80377 fi
80378 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
80379 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
80380
80381 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
80382
80383 for ac_func in ldexpl
80384 do
80385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80386 echo "$as_me:$LINENO: checking for $ac_func" >&5
80387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80388 if eval "test \"\${$as_ac_var+set}\" = set"; then
80389 echo $ECHO_N "(cached) $ECHO_C" >&6
80390 else
80391 if test x$gcc_no_link = xyes; then
80392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80394 { (exit 1); exit 1; }; }
80395 fi
80396 cat >conftest.$ac_ext <<_ACEOF
80397 /* confdefs.h. */
80398 _ACEOF
80399 cat confdefs.h >>conftest.$ac_ext
80400 cat >>conftest.$ac_ext <<_ACEOF
80401 /* end confdefs.h. */
80402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80404 #define $ac_func innocuous_$ac_func
80405
80406 /* System header to define __stub macros and hopefully few prototypes,
80407 which can conflict with char $ac_func (); below.
80408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80409 <limits.h> exists even on freestanding compilers. */
80410
80411 #ifdef __STDC__
80412 # include <limits.h>
80413 #else
80414 # include <assert.h>
80415 #endif
80416
80417 #undef $ac_func
80418
80419 /* Override any gcc2 internal prototype to avoid an error. */
80420 #ifdef __cplusplus
80421 extern "C"
80422 {
80423 #endif
80424 /* We use char because int might match the return type of a gcc2
80425 builtin and then its argument prototype would still apply. */
80426 char $ac_func ();
80427 /* The GNU C library defines this for functions which it implements
80428 to always fail with ENOSYS. Some functions are actually named
80429 something starting with __ and the normal name is an alias. */
80430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80431 choke me
80432 #else
80433 char (*f) () = $ac_func;
80434 #endif
80435 #ifdef __cplusplus
80436 }
80437 #endif
80438
80439 int
80440 main ()
80441 {
80442 return f != $ac_func;
80443 ;
80444 return 0;
80445 }
80446 _ACEOF
80447 rm -f conftest.$ac_objext conftest$ac_exeext
80448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80449 (eval $ac_link) 2>conftest.er1
80450 ac_status=$?
80451 grep -v '^ *+' conftest.er1 >conftest.err
80452 rm -f conftest.er1
80453 cat conftest.err >&5
80454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80455 (exit $ac_status); } &&
80456 { ac_try='test -z "$ac_c_werror_flag"
80457 || test ! -s conftest.err'
80458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80459 (eval $ac_try) 2>&5
80460 ac_status=$?
80461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80462 (exit $ac_status); }; } &&
80463 { ac_try='test -s conftest$ac_exeext'
80464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80465 (eval $ac_try) 2>&5
80466 ac_status=$?
80467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80468 (exit $ac_status); }; }; then
80469 eval "$as_ac_var=yes"
80470 else
80471 echo "$as_me: failed program was:" >&5
80472 sed 's/^/| /' conftest.$ac_ext >&5
80473
80474 eval "$as_ac_var=no"
80475 fi
80476 rm -f conftest.err conftest.$ac_objext \
80477 conftest$ac_exeext conftest.$ac_ext
80478 fi
80479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80481 if test `eval echo '${'$as_ac_var'}'` = yes; then
80482 cat >>confdefs.h <<_ACEOF
80483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80484 _ACEOF
80485
80486 fi
80487 done
80488
80489 else
80490
80491 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
80492 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
80493 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
80494 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
80495 echo $ECHO_N "(cached) $ECHO_C" >&6
80496 else
80497
80498
80499
80500 ac_ext=cc
80501 ac_cpp='$CXXCPP $CPPFLAGS'
80502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80505
80506 cat >conftest.$ac_ext <<_ACEOF
80507 /* confdefs.h. */
80508 _ACEOF
80509 cat confdefs.h >>conftest.$ac_ext
80510 cat >>conftest.$ac_ext <<_ACEOF
80511 /* end confdefs.h. */
80512 #include <math.h>
80513 int
80514 main ()
80515 {
80516 _ldexpl(0, 0);
80517 ;
80518 return 0;
80519 }
80520 _ACEOF
80521 rm -f conftest.$ac_objext
80522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80523 (eval $ac_compile) 2>conftest.er1
80524 ac_status=$?
80525 grep -v '^ *+' conftest.er1 >conftest.err
80526 rm -f conftest.er1
80527 cat conftest.err >&5
80528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80529 (exit $ac_status); } &&
80530 { ac_try='test -z "$ac_cxx_werror_flag"
80531 || test ! -s conftest.err'
80532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80533 (eval $ac_try) 2>&5
80534 ac_status=$?
80535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80536 (exit $ac_status); }; } &&
80537 { ac_try='test -s conftest.$ac_objext'
80538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80539 (eval $ac_try) 2>&5
80540 ac_status=$?
80541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80542 (exit $ac_status); }; }; then
80543 glibcxx_cv_func__ldexpl_use=yes
80544 else
80545 echo "$as_me: failed program was:" >&5
80546 sed 's/^/| /' conftest.$ac_ext >&5
80547
80548 glibcxx_cv_func__ldexpl_use=no
80549 fi
80550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80551 ac_ext=c
80552 ac_cpp='$CPP $CPPFLAGS'
80553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80556
80557
80558 fi
80559
80560 fi
80561 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
80562 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
80563
80564 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
80565
80566 for ac_func in _ldexpl
80567 do
80568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80569 echo "$as_me:$LINENO: checking for $ac_func" >&5
80570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80571 if eval "test \"\${$as_ac_var+set}\" = set"; then
80572 echo $ECHO_N "(cached) $ECHO_C" >&6
80573 else
80574 if test x$gcc_no_link = xyes; then
80575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80577 { (exit 1); exit 1; }; }
80578 fi
80579 cat >conftest.$ac_ext <<_ACEOF
80580 /* confdefs.h. */
80581 _ACEOF
80582 cat confdefs.h >>conftest.$ac_ext
80583 cat >>conftest.$ac_ext <<_ACEOF
80584 /* end confdefs.h. */
80585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80587 #define $ac_func innocuous_$ac_func
80588
80589 /* System header to define __stub macros and hopefully few prototypes,
80590 which can conflict with char $ac_func (); below.
80591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80592 <limits.h> exists even on freestanding compilers. */
80593
80594 #ifdef __STDC__
80595 # include <limits.h>
80596 #else
80597 # include <assert.h>
80598 #endif
80599
80600 #undef $ac_func
80601
80602 /* Override any gcc2 internal prototype to avoid an error. */
80603 #ifdef __cplusplus
80604 extern "C"
80605 {
80606 #endif
80607 /* We use char because int might match the return type of a gcc2
80608 builtin and then its argument prototype would still apply. */
80609 char $ac_func ();
80610 /* The GNU C library defines this for functions which it implements
80611 to always fail with ENOSYS. Some functions are actually named
80612 something starting with __ and the normal name is an alias. */
80613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80614 choke me
80615 #else
80616 char (*f) () = $ac_func;
80617 #endif
80618 #ifdef __cplusplus
80619 }
80620 #endif
80621
80622 int
80623 main ()
80624 {
80625 return f != $ac_func;
80626 ;
80627 return 0;
80628 }
80629 _ACEOF
80630 rm -f conftest.$ac_objext conftest$ac_exeext
80631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80632 (eval $ac_link) 2>conftest.er1
80633 ac_status=$?
80634 grep -v '^ *+' conftest.er1 >conftest.err
80635 rm -f conftest.er1
80636 cat conftest.err >&5
80637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80638 (exit $ac_status); } &&
80639 { ac_try='test -z "$ac_c_werror_flag"
80640 || test ! -s conftest.err'
80641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80642 (eval $ac_try) 2>&5
80643 ac_status=$?
80644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80645 (exit $ac_status); }; } &&
80646 { ac_try='test -s conftest$ac_exeext'
80647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80648 (eval $ac_try) 2>&5
80649 ac_status=$?
80650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80651 (exit $ac_status); }; }; then
80652 eval "$as_ac_var=yes"
80653 else
80654 echo "$as_me: failed program was:" >&5
80655 sed 's/^/| /' conftest.$ac_ext >&5
80656
80657 eval "$as_ac_var=no"
80658 fi
80659 rm -f conftest.err conftest.$ac_objext \
80660 conftest$ac_exeext conftest.$ac_ext
80661 fi
80662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80664 if test `eval echo '${'$as_ac_var'}'` = yes; then
80665 cat >>confdefs.h <<_ACEOF
80666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80667 _ACEOF
80668
80669 fi
80670 done
80671
80672 fi
80673 fi
80674
80675
80676
80677
80678
80679
80680 echo "$as_me:$LINENO: checking for logl declaration" >&5
80681 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
80682 if test x${glibcxx_cv_func_logl_use+set} != xset; then
80683 if test "${glibcxx_cv_func_logl_use+set}" = set; then
80684 echo $ECHO_N "(cached) $ECHO_C" >&6
80685 else
80686
80687
80688
80689 ac_ext=cc
80690 ac_cpp='$CXXCPP $CPPFLAGS'
80691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80694
80695 cat >conftest.$ac_ext <<_ACEOF
80696 /* confdefs.h. */
80697 _ACEOF
80698 cat confdefs.h >>conftest.$ac_ext
80699 cat >>conftest.$ac_ext <<_ACEOF
80700 /* end confdefs.h. */
80701 #include <math.h>
80702 #ifdef HAVE_IEEEFP_H
80703 #include <ieeefp.h>
80704 #endif
80705
80706 int
80707 main ()
80708 {
80709 logl(0);
80710 ;
80711 return 0;
80712 }
80713 _ACEOF
80714 rm -f conftest.$ac_objext
80715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80716 (eval $ac_compile) 2>conftest.er1
80717 ac_status=$?
80718 grep -v '^ *+' conftest.er1 >conftest.err
80719 rm -f conftest.er1
80720 cat conftest.err >&5
80721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80722 (exit $ac_status); } &&
80723 { ac_try='test -z "$ac_cxx_werror_flag"
80724 || test ! -s conftest.err'
80725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80726 (eval $ac_try) 2>&5
80727 ac_status=$?
80728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80729 (exit $ac_status); }; } &&
80730 { ac_try='test -s conftest.$ac_objext'
80731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80732 (eval $ac_try) 2>&5
80733 ac_status=$?
80734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80735 (exit $ac_status); }; }; then
80736 glibcxx_cv_func_logl_use=yes
80737 else
80738 echo "$as_me: failed program was:" >&5
80739 sed 's/^/| /' conftest.$ac_ext >&5
80740
80741 glibcxx_cv_func_logl_use=no
80742 fi
80743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80744 ac_ext=c
80745 ac_cpp='$CPP $CPPFLAGS'
80746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80749
80750
80751 fi
80752
80753 fi
80754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
80755 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
80756
80757 if test x$glibcxx_cv_func_logl_use = x"yes"; then
80758
80759 for ac_func in logl
80760 do
80761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80762 echo "$as_me:$LINENO: checking for $ac_func" >&5
80763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80764 if eval "test \"\${$as_ac_var+set}\" = set"; then
80765 echo $ECHO_N "(cached) $ECHO_C" >&6
80766 else
80767 if test x$gcc_no_link = xyes; then
80768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80770 { (exit 1); exit 1; }; }
80771 fi
80772 cat >conftest.$ac_ext <<_ACEOF
80773 /* confdefs.h. */
80774 _ACEOF
80775 cat confdefs.h >>conftest.$ac_ext
80776 cat >>conftest.$ac_ext <<_ACEOF
80777 /* end confdefs.h. */
80778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80780 #define $ac_func innocuous_$ac_func
80781
80782 /* System header to define __stub macros and hopefully few prototypes,
80783 which can conflict with char $ac_func (); below.
80784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80785 <limits.h> exists even on freestanding compilers. */
80786
80787 #ifdef __STDC__
80788 # include <limits.h>
80789 #else
80790 # include <assert.h>
80791 #endif
80792
80793 #undef $ac_func
80794
80795 /* Override any gcc2 internal prototype to avoid an error. */
80796 #ifdef __cplusplus
80797 extern "C"
80798 {
80799 #endif
80800 /* We use char because int might match the return type of a gcc2
80801 builtin and then its argument prototype would still apply. */
80802 char $ac_func ();
80803 /* The GNU C library defines this for functions which it implements
80804 to always fail with ENOSYS. Some functions are actually named
80805 something starting with __ and the normal name is an alias. */
80806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80807 choke me
80808 #else
80809 char (*f) () = $ac_func;
80810 #endif
80811 #ifdef __cplusplus
80812 }
80813 #endif
80814
80815 int
80816 main ()
80817 {
80818 return f != $ac_func;
80819 ;
80820 return 0;
80821 }
80822 _ACEOF
80823 rm -f conftest.$ac_objext conftest$ac_exeext
80824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80825 (eval $ac_link) 2>conftest.er1
80826 ac_status=$?
80827 grep -v '^ *+' conftest.er1 >conftest.err
80828 rm -f conftest.er1
80829 cat conftest.err >&5
80830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80831 (exit $ac_status); } &&
80832 { ac_try='test -z "$ac_c_werror_flag"
80833 || test ! -s conftest.err'
80834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80835 (eval $ac_try) 2>&5
80836 ac_status=$?
80837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80838 (exit $ac_status); }; } &&
80839 { ac_try='test -s conftest$ac_exeext'
80840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80841 (eval $ac_try) 2>&5
80842 ac_status=$?
80843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80844 (exit $ac_status); }; }; then
80845 eval "$as_ac_var=yes"
80846 else
80847 echo "$as_me: failed program was:" >&5
80848 sed 's/^/| /' conftest.$ac_ext >&5
80849
80850 eval "$as_ac_var=no"
80851 fi
80852 rm -f conftest.err conftest.$ac_objext \
80853 conftest$ac_exeext conftest.$ac_ext
80854 fi
80855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80857 if test `eval echo '${'$as_ac_var'}'` = yes; then
80858 cat >>confdefs.h <<_ACEOF
80859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80860 _ACEOF
80861
80862 fi
80863 done
80864
80865 else
80866
80867 echo "$as_me:$LINENO: checking for _logl declaration" >&5
80868 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
80869 if test x${glibcxx_cv_func__logl_use+set} != xset; then
80870 if test "${glibcxx_cv_func__logl_use+set}" = set; then
80871 echo $ECHO_N "(cached) $ECHO_C" >&6
80872 else
80873
80874
80875
80876 ac_ext=cc
80877 ac_cpp='$CXXCPP $CPPFLAGS'
80878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80881
80882 cat >conftest.$ac_ext <<_ACEOF
80883 /* confdefs.h. */
80884 _ACEOF
80885 cat confdefs.h >>conftest.$ac_ext
80886 cat >>conftest.$ac_ext <<_ACEOF
80887 /* end confdefs.h. */
80888 #include <math.h>
80889 #ifdef HAVE_IEEEFP_H
80890 #include <ieeefp.h>
80891 #endif
80892
80893 int
80894 main ()
80895 {
80896 _logl(0);
80897 ;
80898 return 0;
80899 }
80900 _ACEOF
80901 rm -f conftest.$ac_objext
80902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80903 (eval $ac_compile) 2>conftest.er1
80904 ac_status=$?
80905 grep -v '^ *+' conftest.er1 >conftest.err
80906 rm -f conftest.er1
80907 cat conftest.err >&5
80908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80909 (exit $ac_status); } &&
80910 { ac_try='test -z "$ac_cxx_werror_flag"
80911 || test ! -s conftest.err'
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); }; } &&
80917 { ac_try='test -s conftest.$ac_objext'
80918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80919 (eval $ac_try) 2>&5
80920 ac_status=$?
80921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80922 (exit $ac_status); }; }; then
80923 glibcxx_cv_func__logl_use=yes
80924 else
80925 echo "$as_me: failed program was:" >&5
80926 sed 's/^/| /' conftest.$ac_ext >&5
80927
80928 glibcxx_cv_func__logl_use=no
80929 fi
80930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80931 ac_ext=c
80932 ac_cpp='$CPP $CPPFLAGS'
80933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80936
80937
80938 fi
80939
80940 fi
80941 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
80942 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
80943
80944 if test x$glibcxx_cv_func__logl_use = x"yes"; then
80945
80946 for ac_func in _logl
80947 do
80948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80949 echo "$as_me:$LINENO: checking for $ac_func" >&5
80950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80951 if eval "test \"\${$as_ac_var+set}\" = set"; then
80952 echo $ECHO_N "(cached) $ECHO_C" >&6
80953 else
80954 if test x$gcc_no_link = xyes; then
80955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80957 { (exit 1); exit 1; }; }
80958 fi
80959 cat >conftest.$ac_ext <<_ACEOF
80960 /* confdefs.h. */
80961 _ACEOF
80962 cat confdefs.h >>conftest.$ac_ext
80963 cat >>conftest.$ac_ext <<_ACEOF
80964 /* end confdefs.h. */
80965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80967 #define $ac_func innocuous_$ac_func
80968
80969 /* System header to define __stub macros and hopefully few prototypes,
80970 which can conflict with char $ac_func (); below.
80971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80972 <limits.h> exists even on freestanding compilers. */
80973
80974 #ifdef __STDC__
80975 # include <limits.h>
80976 #else
80977 # include <assert.h>
80978 #endif
80979
80980 #undef $ac_func
80981
80982 /* Override any gcc2 internal prototype to avoid an error. */
80983 #ifdef __cplusplus
80984 extern "C"
80985 {
80986 #endif
80987 /* We use char because int might match the return type of a gcc2
80988 builtin and then its argument prototype would still apply. */
80989 char $ac_func ();
80990 /* The GNU C library defines this for functions which it implements
80991 to always fail with ENOSYS. Some functions are actually named
80992 something starting with __ and the normal name is an alias. */
80993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80994 choke me
80995 #else
80996 char (*f) () = $ac_func;
80997 #endif
80998 #ifdef __cplusplus
80999 }
81000 #endif
81001
81002 int
81003 main ()
81004 {
81005 return f != $ac_func;
81006 ;
81007 return 0;
81008 }
81009 _ACEOF
81010 rm -f conftest.$ac_objext conftest$ac_exeext
81011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81012 (eval $ac_link) 2>conftest.er1
81013 ac_status=$?
81014 grep -v '^ *+' conftest.er1 >conftest.err
81015 rm -f conftest.er1
81016 cat conftest.err >&5
81017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81018 (exit $ac_status); } &&
81019 { ac_try='test -z "$ac_c_werror_flag"
81020 || test ! -s conftest.err'
81021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81022 (eval $ac_try) 2>&5
81023 ac_status=$?
81024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81025 (exit $ac_status); }; } &&
81026 { ac_try='test -s conftest$ac_exeext'
81027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81028 (eval $ac_try) 2>&5
81029 ac_status=$?
81030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81031 (exit $ac_status); }; }; then
81032 eval "$as_ac_var=yes"
81033 else
81034 echo "$as_me: failed program was:" >&5
81035 sed 's/^/| /' conftest.$ac_ext >&5
81036
81037 eval "$as_ac_var=no"
81038 fi
81039 rm -f conftest.err conftest.$ac_objext \
81040 conftest$ac_exeext conftest.$ac_ext
81041 fi
81042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81044 if test `eval echo '${'$as_ac_var'}'` = yes; then
81045 cat >>confdefs.h <<_ACEOF
81046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81047 _ACEOF
81048
81049 fi
81050 done
81051
81052 fi
81053 fi
81054
81055
81056
81057
81058
81059
81060 echo "$as_me:$LINENO: checking for log10l declaration" >&5
81061 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
81062 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
81063 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
81064 echo $ECHO_N "(cached) $ECHO_C" >&6
81065 else
81066
81067
81068
81069 ac_ext=cc
81070 ac_cpp='$CXXCPP $CPPFLAGS'
81071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81074
81075 cat >conftest.$ac_ext <<_ACEOF
81076 /* confdefs.h. */
81077 _ACEOF
81078 cat confdefs.h >>conftest.$ac_ext
81079 cat >>conftest.$ac_ext <<_ACEOF
81080 /* end confdefs.h. */
81081 #include <math.h>
81082 #ifdef HAVE_IEEEFP_H
81083 #include <ieeefp.h>
81084 #endif
81085
81086 int
81087 main ()
81088 {
81089 log10l(0);
81090 ;
81091 return 0;
81092 }
81093 _ACEOF
81094 rm -f conftest.$ac_objext
81095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81096 (eval $ac_compile) 2>conftest.er1
81097 ac_status=$?
81098 grep -v '^ *+' conftest.er1 >conftest.err
81099 rm -f conftest.er1
81100 cat conftest.err >&5
81101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81102 (exit $ac_status); } &&
81103 { ac_try='test -z "$ac_cxx_werror_flag"
81104 || test ! -s conftest.err'
81105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81106 (eval $ac_try) 2>&5
81107 ac_status=$?
81108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81109 (exit $ac_status); }; } &&
81110 { ac_try='test -s conftest.$ac_objext'
81111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81112 (eval $ac_try) 2>&5
81113 ac_status=$?
81114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81115 (exit $ac_status); }; }; then
81116 glibcxx_cv_func_log10l_use=yes
81117 else
81118 echo "$as_me: failed program was:" >&5
81119 sed 's/^/| /' conftest.$ac_ext >&5
81120
81121 glibcxx_cv_func_log10l_use=no
81122 fi
81123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81124 ac_ext=c
81125 ac_cpp='$CPP $CPPFLAGS'
81126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81129
81130
81131 fi
81132
81133 fi
81134 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
81135 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
81136
81137 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
81138
81139 for ac_func in log10l
81140 do
81141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81142 echo "$as_me:$LINENO: checking for $ac_func" >&5
81143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81144 if eval "test \"\${$as_ac_var+set}\" = set"; then
81145 echo $ECHO_N "(cached) $ECHO_C" >&6
81146 else
81147 if test x$gcc_no_link = xyes; then
81148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81150 { (exit 1); exit 1; }; }
81151 fi
81152 cat >conftest.$ac_ext <<_ACEOF
81153 /* confdefs.h. */
81154 _ACEOF
81155 cat confdefs.h >>conftest.$ac_ext
81156 cat >>conftest.$ac_ext <<_ACEOF
81157 /* end confdefs.h. */
81158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81160 #define $ac_func innocuous_$ac_func
81161
81162 /* System header to define __stub macros and hopefully few prototypes,
81163 which can conflict with char $ac_func (); below.
81164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81165 <limits.h> exists even on freestanding compilers. */
81166
81167 #ifdef __STDC__
81168 # include <limits.h>
81169 #else
81170 # include <assert.h>
81171 #endif
81172
81173 #undef $ac_func
81174
81175 /* Override any gcc2 internal prototype to avoid an error. */
81176 #ifdef __cplusplus
81177 extern "C"
81178 {
81179 #endif
81180 /* We use char because int might match the return type of a gcc2
81181 builtin and then its argument prototype would still apply. */
81182 char $ac_func ();
81183 /* The GNU C library defines this for functions which it implements
81184 to always fail with ENOSYS. Some functions are actually named
81185 something starting with __ and the normal name is an alias. */
81186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81187 choke me
81188 #else
81189 char (*f) () = $ac_func;
81190 #endif
81191 #ifdef __cplusplus
81192 }
81193 #endif
81194
81195 int
81196 main ()
81197 {
81198 return f != $ac_func;
81199 ;
81200 return 0;
81201 }
81202 _ACEOF
81203 rm -f conftest.$ac_objext conftest$ac_exeext
81204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81205 (eval $ac_link) 2>conftest.er1
81206 ac_status=$?
81207 grep -v '^ *+' conftest.er1 >conftest.err
81208 rm -f conftest.er1
81209 cat conftest.err >&5
81210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81211 (exit $ac_status); } &&
81212 { ac_try='test -z "$ac_c_werror_flag"
81213 || test ! -s conftest.err'
81214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81215 (eval $ac_try) 2>&5
81216 ac_status=$?
81217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81218 (exit $ac_status); }; } &&
81219 { ac_try='test -s conftest$ac_exeext'
81220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81221 (eval $ac_try) 2>&5
81222 ac_status=$?
81223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81224 (exit $ac_status); }; }; then
81225 eval "$as_ac_var=yes"
81226 else
81227 echo "$as_me: failed program was:" >&5
81228 sed 's/^/| /' conftest.$ac_ext >&5
81229
81230 eval "$as_ac_var=no"
81231 fi
81232 rm -f conftest.err conftest.$ac_objext \
81233 conftest$ac_exeext conftest.$ac_ext
81234 fi
81235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81237 if test `eval echo '${'$as_ac_var'}'` = yes; then
81238 cat >>confdefs.h <<_ACEOF
81239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81240 _ACEOF
81241
81242 fi
81243 done
81244
81245 else
81246
81247 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
81248 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
81249 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
81250 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
81251 echo $ECHO_N "(cached) $ECHO_C" >&6
81252 else
81253
81254
81255
81256 ac_ext=cc
81257 ac_cpp='$CXXCPP $CPPFLAGS'
81258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81261
81262 cat >conftest.$ac_ext <<_ACEOF
81263 /* confdefs.h. */
81264 _ACEOF
81265 cat confdefs.h >>conftest.$ac_ext
81266 cat >>conftest.$ac_ext <<_ACEOF
81267 /* end confdefs.h. */
81268 #include <math.h>
81269 #ifdef HAVE_IEEEFP_H
81270 #include <ieeefp.h>
81271 #endif
81272
81273 int
81274 main ()
81275 {
81276 _log10l(0);
81277 ;
81278 return 0;
81279 }
81280 _ACEOF
81281 rm -f conftest.$ac_objext
81282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81283 (eval $ac_compile) 2>conftest.er1
81284 ac_status=$?
81285 grep -v '^ *+' conftest.er1 >conftest.err
81286 rm -f conftest.er1
81287 cat conftest.err >&5
81288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81289 (exit $ac_status); } &&
81290 { ac_try='test -z "$ac_cxx_werror_flag"
81291 || test ! -s conftest.err'
81292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81293 (eval $ac_try) 2>&5
81294 ac_status=$?
81295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81296 (exit $ac_status); }; } &&
81297 { ac_try='test -s conftest.$ac_objext'
81298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81299 (eval $ac_try) 2>&5
81300 ac_status=$?
81301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81302 (exit $ac_status); }; }; then
81303 glibcxx_cv_func__log10l_use=yes
81304 else
81305 echo "$as_me: failed program was:" >&5
81306 sed 's/^/| /' conftest.$ac_ext >&5
81307
81308 glibcxx_cv_func__log10l_use=no
81309 fi
81310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81311 ac_ext=c
81312 ac_cpp='$CPP $CPPFLAGS'
81313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81316
81317
81318 fi
81319
81320 fi
81321 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
81322 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
81323
81324 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
81325
81326 for ac_func in _log10l
81327 do
81328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81329 echo "$as_me:$LINENO: checking for $ac_func" >&5
81330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81331 if eval "test \"\${$as_ac_var+set}\" = set"; then
81332 echo $ECHO_N "(cached) $ECHO_C" >&6
81333 else
81334 if test x$gcc_no_link = xyes; then
81335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81337 { (exit 1); exit 1; }; }
81338 fi
81339 cat >conftest.$ac_ext <<_ACEOF
81340 /* confdefs.h. */
81341 _ACEOF
81342 cat confdefs.h >>conftest.$ac_ext
81343 cat >>conftest.$ac_ext <<_ACEOF
81344 /* end confdefs.h. */
81345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81347 #define $ac_func innocuous_$ac_func
81348
81349 /* System header to define __stub macros and hopefully few prototypes,
81350 which can conflict with char $ac_func (); below.
81351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81352 <limits.h> exists even on freestanding compilers. */
81353
81354 #ifdef __STDC__
81355 # include <limits.h>
81356 #else
81357 # include <assert.h>
81358 #endif
81359
81360 #undef $ac_func
81361
81362 /* Override any gcc2 internal prototype to avoid an error. */
81363 #ifdef __cplusplus
81364 extern "C"
81365 {
81366 #endif
81367 /* We use char because int might match the return type of a gcc2
81368 builtin and then its argument prototype would still apply. */
81369 char $ac_func ();
81370 /* The GNU C library defines this for functions which it implements
81371 to always fail with ENOSYS. Some functions are actually named
81372 something starting with __ and the normal name is an alias. */
81373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81374 choke me
81375 #else
81376 char (*f) () = $ac_func;
81377 #endif
81378 #ifdef __cplusplus
81379 }
81380 #endif
81381
81382 int
81383 main ()
81384 {
81385 return f != $ac_func;
81386 ;
81387 return 0;
81388 }
81389 _ACEOF
81390 rm -f conftest.$ac_objext conftest$ac_exeext
81391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81392 (eval $ac_link) 2>conftest.er1
81393 ac_status=$?
81394 grep -v '^ *+' conftest.er1 >conftest.err
81395 rm -f conftest.er1
81396 cat conftest.err >&5
81397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81398 (exit $ac_status); } &&
81399 { ac_try='test -z "$ac_c_werror_flag"
81400 || test ! -s conftest.err'
81401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81402 (eval $ac_try) 2>&5
81403 ac_status=$?
81404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81405 (exit $ac_status); }; } &&
81406 { ac_try='test -s conftest$ac_exeext'
81407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81408 (eval $ac_try) 2>&5
81409 ac_status=$?
81410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81411 (exit $ac_status); }; }; then
81412 eval "$as_ac_var=yes"
81413 else
81414 echo "$as_me: failed program was:" >&5
81415 sed 's/^/| /' conftest.$ac_ext >&5
81416
81417 eval "$as_ac_var=no"
81418 fi
81419 rm -f conftest.err conftest.$ac_objext \
81420 conftest$ac_exeext conftest.$ac_ext
81421 fi
81422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81424 if test `eval echo '${'$as_ac_var'}'` = yes; then
81425 cat >>confdefs.h <<_ACEOF
81426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81427 _ACEOF
81428
81429 fi
81430 done
81431
81432 fi
81433 fi
81434
81435
81436
81437
81438
81439
81440 echo "$as_me:$LINENO: checking for modfl declaration" >&5
81441 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
81442 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
81443 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
81444 echo $ECHO_N "(cached) $ECHO_C" >&6
81445 else
81446
81447
81448
81449 ac_ext=cc
81450 ac_cpp='$CXXCPP $CPPFLAGS'
81451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81454
81455 cat >conftest.$ac_ext <<_ACEOF
81456 /* confdefs.h. */
81457 _ACEOF
81458 cat confdefs.h >>conftest.$ac_ext
81459 cat >>conftest.$ac_ext <<_ACEOF
81460 /* end confdefs.h. */
81461 #include <math.h>
81462 int
81463 main ()
81464 {
81465 modfl(0, 0);
81466 ;
81467 return 0;
81468 }
81469 _ACEOF
81470 rm -f conftest.$ac_objext
81471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81472 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_modfl_use=yes
81493 else
81494 echo "$as_me: failed program was:" >&5
81495 sed 's/^/| /' conftest.$ac_ext >&5
81496
81497 glibcxx_cv_func_modfl_use=no
81498 fi
81499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81500 ac_ext=c
81501 ac_cpp='$CPP $CPPFLAGS'
81502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81505
81506
81507 fi
81508
81509 fi
81510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
81511 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
81512
81513 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
81514
81515 for ac_func in modfl
81516 do
81517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81518 echo "$as_me:$LINENO: checking for $ac_func" >&5
81519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81520 if eval "test \"\${$as_ac_var+set}\" = set"; then
81521 echo $ECHO_N "(cached) $ECHO_C" >&6
81522 else
81523 if test x$gcc_no_link = xyes; then
81524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81526 { (exit 1); exit 1; }; }
81527 fi
81528 cat >conftest.$ac_ext <<_ACEOF
81529 /* confdefs.h. */
81530 _ACEOF
81531 cat confdefs.h >>conftest.$ac_ext
81532 cat >>conftest.$ac_ext <<_ACEOF
81533 /* end confdefs.h. */
81534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81536 #define $ac_func innocuous_$ac_func
81537
81538 /* System header to define __stub macros and hopefully few prototypes,
81539 which can conflict with char $ac_func (); below.
81540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81541 <limits.h> exists even on freestanding compilers. */
81542
81543 #ifdef __STDC__
81544 # include <limits.h>
81545 #else
81546 # include <assert.h>
81547 #endif
81548
81549 #undef $ac_func
81550
81551 /* Override any gcc2 internal prototype to avoid an error. */
81552 #ifdef __cplusplus
81553 extern "C"
81554 {
81555 #endif
81556 /* We use char because int might match the return type of a gcc2
81557 builtin and then its argument prototype would still apply. */
81558 char $ac_func ();
81559 /* The GNU C library defines this for functions which it implements
81560 to always fail with ENOSYS. Some functions are actually named
81561 something starting with __ and the normal name is an alias. */
81562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81563 choke me
81564 #else
81565 char (*f) () = $ac_func;
81566 #endif
81567 #ifdef __cplusplus
81568 }
81569 #endif
81570
81571 int
81572 main ()
81573 {
81574 return f != $ac_func;
81575 ;
81576 return 0;
81577 }
81578 _ACEOF
81579 rm -f conftest.$ac_objext conftest$ac_exeext
81580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81581 (eval $ac_link) 2>conftest.er1
81582 ac_status=$?
81583 grep -v '^ *+' conftest.er1 >conftest.err
81584 rm -f conftest.er1
81585 cat conftest.err >&5
81586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81587 (exit $ac_status); } &&
81588 { ac_try='test -z "$ac_c_werror_flag"
81589 || test ! -s conftest.err'
81590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81591 (eval $ac_try) 2>&5
81592 ac_status=$?
81593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81594 (exit $ac_status); }; } &&
81595 { ac_try='test -s conftest$ac_exeext'
81596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81597 (eval $ac_try) 2>&5
81598 ac_status=$?
81599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81600 (exit $ac_status); }; }; then
81601 eval "$as_ac_var=yes"
81602 else
81603 echo "$as_me: failed program was:" >&5
81604 sed 's/^/| /' conftest.$ac_ext >&5
81605
81606 eval "$as_ac_var=no"
81607 fi
81608 rm -f conftest.err conftest.$ac_objext \
81609 conftest$ac_exeext conftest.$ac_ext
81610 fi
81611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81613 if test `eval echo '${'$as_ac_var'}'` = yes; then
81614 cat >>confdefs.h <<_ACEOF
81615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81616 _ACEOF
81617
81618 fi
81619 done
81620
81621 else
81622
81623 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
81624 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
81625 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
81626 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
81627 echo $ECHO_N "(cached) $ECHO_C" >&6
81628 else
81629
81630
81631
81632 ac_ext=cc
81633 ac_cpp='$CXXCPP $CPPFLAGS'
81634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81637
81638 cat >conftest.$ac_ext <<_ACEOF
81639 /* confdefs.h. */
81640 _ACEOF
81641 cat confdefs.h >>conftest.$ac_ext
81642 cat >>conftest.$ac_ext <<_ACEOF
81643 /* end confdefs.h. */
81644 #include <math.h>
81645 int
81646 main ()
81647 {
81648 _modfl(0, 0);
81649 ;
81650 return 0;
81651 }
81652 _ACEOF
81653 rm -f conftest.$ac_objext
81654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81655 (eval $ac_compile) 2>conftest.er1
81656 ac_status=$?
81657 grep -v '^ *+' conftest.er1 >conftest.err
81658 rm -f conftest.er1
81659 cat conftest.err >&5
81660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81661 (exit $ac_status); } &&
81662 { ac_try='test -z "$ac_cxx_werror_flag"
81663 || test ! -s conftest.err'
81664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81665 (eval $ac_try) 2>&5
81666 ac_status=$?
81667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81668 (exit $ac_status); }; } &&
81669 { ac_try='test -s conftest.$ac_objext'
81670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81671 (eval $ac_try) 2>&5
81672 ac_status=$?
81673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81674 (exit $ac_status); }; }; then
81675 glibcxx_cv_func__modfl_use=yes
81676 else
81677 echo "$as_me: failed program was:" >&5
81678 sed 's/^/| /' conftest.$ac_ext >&5
81679
81680 glibcxx_cv_func__modfl_use=no
81681 fi
81682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81683 ac_ext=c
81684 ac_cpp='$CPP $CPPFLAGS'
81685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81688
81689
81690 fi
81691
81692 fi
81693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
81694 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
81695
81696 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
81697
81698 for ac_func in _modfl
81699 do
81700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81701 echo "$as_me:$LINENO: checking for $ac_func" >&5
81702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81703 if eval "test \"\${$as_ac_var+set}\" = set"; then
81704 echo $ECHO_N "(cached) $ECHO_C" >&6
81705 else
81706 if test x$gcc_no_link = xyes; then
81707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81709 { (exit 1); exit 1; }; }
81710 fi
81711 cat >conftest.$ac_ext <<_ACEOF
81712 /* confdefs.h. */
81713 _ACEOF
81714 cat confdefs.h >>conftest.$ac_ext
81715 cat >>conftest.$ac_ext <<_ACEOF
81716 /* end confdefs.h. */
81717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81719 #define $ac_func innocuous_$ac_func
81720
81721 /* System header to define __stub macros and hopefully few prototypes,
81722 which can conflict with char $ac_func (); below.
81723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81724 <limits.h> exists even on freestanding compilers. */
81725
81726 #ifdef __STDC__
81727 # include <limits.h>
81728 #else
81729 # include <assert.h>
81730 #endif
81731
81732 #undef $ac_func
81733
81734 /* Override any gcc2 internal prototype to avoid an error. */
81735 #ifdef __cplusplus
81736 extern "C"
81737 {
81738 #endif
81739 /* We use char because int might match the return type of a gcc2
81740 builtin and then its argument prototype would still apply. */
81741 char $ac_func ();
81742 /* The GNU C library defines this for functions which it implements
81743 to always fail with ENOSYS. Some functions are actually named
81744 something starting with __ and the normal name is an alias. */
81745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81746 choke me
81747 #else
81748 char (*f) () = $ac_func;
81749 #endif
81750 #ifdef __cplusplus
81751 }
81752 #endif
81753
81754 int
81755 main ()
81756 {
81757 return f != $ac_func;
81758 ;
81759 return 0;
81760 }
81761 _ACEOF
81762 rm -f conftest.$ac_objext conftest$ac_exeext
81763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81764 (eval $ac_link) 2>conftest.er1
81765 ac_status=$?
81766 grep -v '^ *+' conftest.er1 >conftest.err
81767 rm -f conftest.er1
81768 cat conftest.err >&5
81769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81770 (exit $ac_status); } &&
81771 { ac_try='test -z "$ac_c_werror_flag"
81772 || test ! -s conftest.err'
81773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81774 (eval $ac_try) 2>&5
81775 ac_status=$?
81776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81777 (exit $ac_status); }; } &&
81778 { ac_try='test -s conftest$ac_exeext'
81779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81780 (eval $ac_try) 2>&5
81781 ac_status=$?
81782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81783 (exit $ac_status); }; }; then
81784 eval "$as_ac_var=yes"
81785 else
81786 echo "$as_me: failed program was:" >&5
81787 sed 's/^/| /' conftest.$ac_ext >&5
81788
81789 eval "$as_ac_var=no"
81790 fi
81791 rm -f conftest.err conftest.$ac_objext \
81792 conftest$ac_exeext conftest.$ac_ext
81793 fi
81794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81796 if test `eval echo '${'$as_ac_var'}'` = yes; then
81797 cat >>confdefs.h <<_ACEOF
81798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81799 _ACEOF
81800
81801 fi
81802 done
81803
81804 fi
81805 fi
81806
81807
81808
81809
81810
81811
81812 echo "$as_me:$LINENO: checking for powl declaration" >&5
81813 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
81814 if test x${glibcxx_cv_func_powl_use+set} != xset; then
81815 if test "${glibcxx_cv_func_powl_use+set}" = set; then
81816 echo $ECHO_N "(cached) $ECHO_C" >&6
81817 else
81818
81819
81820
81821 ac_ext=cc
81822 ac_cpp='$CXXCPP $CPPFLAGS'
81823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81826
81827 cat >conftest.$ac_ext <<_ACEOF
81828 /* confdefs.h. */
81829 _ACEOF
81830 cat confdefs.h >>conftest.$ac_ext
81831 cat >>conftest.$ac_ext <<_ACEOF
81832 /* end confdefs.h. */
81833 #include <math.h>
81834 int
81835 main ()
81836 {
81837 powl(0, 0);
81838 ;
81839 return 0;
81840 }
81841 _ACEOF
81842 rm -f conftest.$ac_objext
81843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81844 (eval $ac_compile) 2>conftest.er1
81845 ac_status=$?
81846 grep -v '^ *+' conftest.er1 >conftest.err
81847 rm -f conftest.er1
81848 cat conftest.err >&5
81849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81850 (exit $ac_status); } &&
81851 { ac_try='test -z "$ac_cxx_werror_flag"
81852 || test ! -s conftest.err'
81853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81854 (eval $ac_try) 2>&5
81855 ac_status=$?
81856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81857 (exit $ac_status); }; } &&
81858 { ac_try='test -s conftest.$ac_objext'
81859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81860 (eval $ac_try) 2>&5
81861 ac_status=$?
81862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81863 (exit $ac_status); }; }; then
81864 glibcxx_cv_func_powl_use=yes
81865 else
81866 echo "$as_me: failed program was:" >&5
81867 sed 's/^/| /' conftest.$ac_ext >&5
81868
81869 glibcxx_cv_func_powl_use=no
81870 fi
81871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81872 ac_ext=c
81873 ac_cpp='$CPP $CPPFLAGS'
81874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81877
81878
81879 fi
81880
81881 fi
81882 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
81883 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
81884
81885 if test x$glibcxx_cv_func_powl_use = x"yes"; then
81886
81887 for ac_func in powl
81888 do
81889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81890 echo "$as_me:$LINENO: checking for $ac_func" >&5
81891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81892 if eval "test \"\${$as_ac_var+set}\" = set"; then
81893 echo $ECHO_N "(cached) $ECHO_C" >&6
81894 else
81895 if test x$gcc_no_link = xyes; then
81896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81898 { (exit 1); exit 1; }; }
81899 fi
81900 cat >conftest.$ac_ext <<_ACEOF
81901 /* confdefs.h. */
81902 _ACEOF
81903 cat confdefs.h >>conftest.$ac_ext
81904 cat >>conftest.$ac_ext <<_ACEOF
81905 /* end confdefs.h. */
81906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81908 #define $ac_func innocuous_$ac_func
81909
81910 /* System header to define __stub macros and hopefully few prototypes,
81911 which can conflict with char $ac_func (); below.
81912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81913 <limits.h> exists even on freestanding compilers. */
81914
81915 #ifdef __STDC__
81916 # include <limits.h>
81917 #else
81918 # include <assert.h>
81919 #endif
81920
81921 #undef $ac_func
81922
81923 /* Override any gcc2 internal prototype to avoid an error. */
81924 #ifdef __cplusplus
81925 extern "C"
81926 {
81927 #endif
81928 /* We use char because int might match the return type of a gcc2
81929 builtin and then its argument prototype would still apply. */
81930 char $ac_func ();
81931 /* The GNU C library defines this for functions which it implements
81932 to always fail with ENOSYS. Some functions are actually named
81933 something starting with __ and the normal name is an alias. */
81934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81935 choke me
81936 #else
81937 char (*f) () = $ac_func;
81938 #endif
81939 #ifdef __cplusplus
81940 }
81941 #endif
81942
81943 int
81944 main ()
81945 {
81946 return f != $ac_func;
81947 ;
81948 return 0;
81949 }
81950 _ACEOF
81951 rm -f conftest.$ac_objext conftest$ac_exeext
81952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81953 (eval $ac_link) 2>conftest.er1
81954 ac_status=$?
81955 grep -v '^ *+' conftest.er1 >conftest.err
81956 rm -f conftest.er1
81957 cat conftest.err >&5
81958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81959 (exit $ac_status); } &&
81960 { ac_try='test -z "$ac_c_werror_flag"
81961 || test ! -s conftest.err'
81962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81963 (eval $ac_try) 2>&5
81964 ac_status=$?
81965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81966 (exit $ac_status); }; } &&
81967 { ac_try='test -s conftest$ac_exeext'
81968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81969 (eval $ac_try) 2>&5
81970 ac_status=$?
81971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81972 (exit $ac_status); }; }; then
81973 eval "$as_ac_var=yes"
81974 else
81975 echo "$as_me: failed program was:" >&5
81976 sed 's/^/| /' conftest.$ac_ext >&5
81977
81978 eval "$as_ac_var=no"
81979 fi
81980 rm -f conftest.err conftest.$ac_objext \
81981 conftest$ac_exeext conftest.$ac_ext
81982 fi
81983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81985 if test `eval echo '${'$as_ac_var'}'` = yes; then
81986 cat >>confdefs.h <<_ACEOF
81987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81988 _ACEOF
81989
81990 fi
81991 done
81992
81993 else
81994
81995 echo "$as_me:$LINENO: checking for _powl declaration" >&5
81996 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
81997 if test x${glibcxx_cv_func__powl_use+set} != xset; then
81998 if test "${glibcxx_cv_func__powl_use+set}" = set; then
81999 echo $ECHO_N "(cached) $ECHO_C" >&6
82000 else
82001
82002
82003
82004 ac_ext=cc
82005 ac_cpp='$CXXCPP $CPPFLAGS'
82006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82009
82010 cat >conftest.$ac_ext <<_ACEOF
82011 /* confdefs.h. */
82012 _ACEOF
82013 cat confdefs.h >>conftest.$ac_ext
82014 cat >>conftest.$ac_ext <<_ACEOF
82015 /* end confdefs.h. */
82016 #include <math.h>
82017 int
82018 main ()
82019 {
82020 _powl(0, 0);
82021 ;
82022 return 0;
82023 }
82024 _ACEOF
82025 rm -f conftest.$ac_objext
82026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82027 (eval $ac_compile) 2>conftest.er1
82028 ac_status=$?
82029 grep -v '^ *+' conftest.er1 >conftest.err
82030 rm -f conftest.er1
82031 cat conftest.err >&5
82032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82033 (exit $ac_status); } &&
82034 { ac_try='test -z "$ac_cxx_werror_flag"
82035 || test ! -s conftest.err'
82036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82037 (eval $ac_try) 2>&5
82038 ac_status=$?
82039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82040 (exit $ac_status); }; } &&
82041 { ac_try='test -s conftest.$ac_objext'
82042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82043 (eval $ac_try) 2>&5
82044 ac_status=$?
82045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82046 (exit $ac_status); }; }; then
82047 glibcxx_cv_func__powl_use=yes
82048 else
82049 echo "$as_me: failed program was:" >&5
82050 sed 's/^/| /' conftest.$ac_ext >&5
82051
82052 glibcxx_cv_func__powl_use=no
82053 fi
82054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82055 ac_ext=c
82056 ac_cpp='$CPP $CPPFLAGS'
82057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82060
82061
82062 fi
82063
82064 fi
82065 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
82066 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
82067
82068 if test x$glibcxx_cv_func__powl_use = x"yes"; then
82069
82070 for ac_func in _powl
82071 do
82072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82073 echo "$as_me:$LINENO: checking for $ac_func" >&5
82074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82075 if eval "test \"\${$as_ac_var+set}\" = set"; then
82076 echo $ECHO_N "(cached) $ECHO_C" >&6
82077 else
82078 if test x$gcc_no_link = xyes; then
82079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82081 { (exit 1); exit 1; }; }
82082 fi
82083 cat >conftest.$ac_ext <<_ACEOF
82084 /* confdefs.h. */
82085 _ACEOF
82086 cat confdefs.h >>conftest.$ac_ext
82087 cat >>conftest.$ac_ext <<_ACEOF
82088 /* end confdefs.h. */
82089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82091 #define $ac_func innocuous_$ac_func
82092
82093 /* System header to define __stub macros and hopefully few prototypes,
82094 which can conflict with char $ac_func (); below.
82095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82096 <limits.h> exists even on freestanding compilers. */
82097
82098 #ifdef __STDC__
82099 # include <limits.h>
82100 #else
82101 # include <assert.h>
82102 #endif
82103
82104 #undef $ac_func
82105
82106 /* Override any gcc2 internal prototype to avoid an error. */
82107 #ifdef __cplusplus
82108 extern "C"
82109 {
82110 #endif
82111 /* We use char because int might match the return type of a gcc2
82112 builtin and then its argument prototype would still apply. */
82113 char $ac_func ();
82114 /* The GNU C library defines this for functions which it implements
82115 to always fail with ENOSYS. Some functions are actually named
82116 something starting with __ and the normal name is an alias. */
82117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82118 choke me
82119 #else
82120 char (*f) () = $ac_func;
82121 #endif
82122 #ifdef __cplusplus
82123 }
82124 #endif
82125
82126 int
82127 main ()
82128 {
82129 return f != $ac_func;
82130 ;
82131 return 0;
82132 }
82133 _ACEOF
82134 rm -f conftest.$ac_objext conftest$ac_exeext
82135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82136 (eval $ac_link) 2>conftest.er1
82137 ac_status=$?
82138 grep -v '^ *+' conftest.er1 >conftest.err
82139 rm -f conftest.er1
82140 cat conftest.err >&5
82141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82142 (exit $ac_status); } &&
82143 { ac_try='test -z "$ac_c_werror_flag"
82144 || test ! -s conftest.err'
82145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82146 (eval $ac_try) 2>&5
82147 ac_status=$?
82148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82149 (exit $ac_status); }; } &&
82150 { ac_try='test -s conftest$ac_exeext'
82151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82152 (eval $ac_try) 2>&5
82153 ac_status=$?
82154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82155 (exit $ac_status); }; }; then
82156 eval "$as_ac_var=yes"
82157 else
82158 echo "$as_me: failed program was:" >&5
82159 sed 's/^/| /' conftest.$ac_ext >&5
82160
82161 eval "$as_ac_var=no"
82162 fi
82163 rm -f conftest.err conftest.$ac_objext \
82164 conftest$ac_exeext conftest.$ac_ext
82165 fi
82166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82168 if test `eval echo '${'$as_ac_var'}'` = yes; then
82169 cat >>confdefs.h <<_ACEOF
82170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82171 _ACEOF
82172
82173 fi
82174 done
82175
82176 fi
82177 fi
82178
82179
82180
82181
82182
82183
82184 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
82185 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
82186 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
82187 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
82188 echo $ECHO_N "(cached) $ECHO_C" >&6
82189 else
82190
82191
82192
82193 ac_ext=cc
82194 ac_cpp='$CXXCPP $CPPFLAGS'
82195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82198
82199 cat >conftest.$ac_ext <<_ACEOF
82200 /* confdefs.h. */
82201 _ACEOF
82202 cat confdefs.h >>conftest.$ac_ext
82203 cat >>conftest.$ac_ext <<_ACEOF
82204 /* end confdefs.h. */
82205 #include <math.h>
82206 #ifdef HAVE_IEEEFP_H
82207 #include <ieeefp.h>
82208 #endif
82209
82210 int
82211 main ()
82212 {
82213 sqrtl(0);
82214 ;
82215 return 0;
82216 }
82217 _ACEOF
82218 rm -f conftest.$ac_objext
82219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82220 (eval $ac_compile) 2>conftest.er1
82221 ac_status=$?
82222 grep -v '^ *+' conftest.er1 >conftest.err
82223 rm -f conftest.er1
82224 cat conftest.err >&5
82225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82226 (exit $ac_status); } &&
82227 { ac_try='test -z "$ac_cxx_werror_flag"
82228 || test ! -s conftest.err'
82229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82230 (eval $ac_try) 2>&5
82231 ac_status=$?
82232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82233 (exit $ac_status); }; } &&
82234 { ac_try='test -s conftest.$ac_objext'
82235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82236 (eval $ac_try) 2>&5
82237 ac_status=$?
82238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82239 (exit $ac_status); }; }; then
82240 glibcxx_cv_func_sqrtl_use=yes
82241 else
82242 echo "$as_me: failed program was:" >&5
82243 sed 's/^/| /' conftest.$ac_ext >&5
82244
82245 glibcxx_cv_func_sqrtl_use=no
82246 fi
82247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82248 ac_ext=c
82249 ac_cpp='$CPP $CPPFLAGS'
82250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82253
82254
82255 fi
82256
82257 fi
82258 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
82259 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
82260
82261 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
82262
82263 for ac_func in sqrtl
82264 do
82265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82266 echo "$as_me:$LINENO: checking for $ac_func" >&5
82267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82268 if eval "test \"\${$as_ac_var+set}\" = set"; then
82269 echo $ECHO_N "(cached) $ECHO_C" >&6
82270 else
82271 if test x$gcc_no_link = xyes; then
82272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82274 { (exit 1); exit 1; }; }
82275 fi
82276 cat >conftest.$ac_ext <<_ACEOF
82277 /* confdefs.h. */
82278 _ACEOF
82279 cat confdefs.h >>conftest.$ac_ext
82280 cat >>conftest.$ac_ext <<_ACEOF
82281 /* end confdefs.h. */
82282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82284 #define $ac_func innocuous_$ac_func
82285
82286 /* System header to define __stub macros and hopefully few prototypes,
82287 which can conflict with char $ac_func (); below.
82288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82289 <limits.h> exists even on freestanding compilers. */
82290
82291 #ifdef __STDC__
82292 # include <limits.h>
82293 #else
82294 # include <assert.h>
82295 #endif
82296
82297 #undef $ac_func
82298
82299 /* Override any gcc2 internal prototype to avoid an error. */
82300 #ifdef __cplusplus
82301 extern "C"
82302 {
82303 #endif
82304 /* We use char because int might match the return type of a gcc2
82305 builtin and then its argument prototype would still apply. */
82306 char $ac_func ();
82307 /* The GNU C library defines this for functions which it implements
82308 to always fail with ENOSYS. Some functions are actually named
82309 something starting with __ and the normal name is an alias. */
82310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82311 choke me
82312 #else
82313 char (*f) () = $ac_func;
82314 #endif
82315 #ifdef __cplusplus
82316 }
82317 #endif
82318
82319 int
82320 main ()
82321 {
82322 return f != $ac_func;
82323 ;
82324 return 0;
82325 }
82326 _ACEOF
82327 rm -f conftest.$ac_objext conftest$ac_exeext
82328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82329 (eval $ac_link) 2>conftest.er1
82330 ac_status=$?
82331 grep -v '^ *+' conftest.er1 >conftest.err
82332 rm -f conftest.er1
82333 cat conftest.err >&5
82334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82335 (exit $ac_status); } &&
82336 { ac_try='test -z "$ac_c_werror_flag"
82337 || test ! -s conftest.err'
82338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82339 (eval $ac_try) 2>&5
82340 ac_status=$?
82341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82342 (exit $ac_status); }; } &&
82343 { ac_try='test -s conftest$ac_exeext'
82344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82345 (eval $ac_try) 2>&5
82346 ac_status=$?
82347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82348 (exit $ac_status); }; }; then
82349 eval "$as_ac_var=yes"
82350 else
82351 echo "$as_me: failed program was:" >&5
82352 sed 's/^/| /' conftest.$ac_ext >&5
82353
82354 eval "$as_ac_var=no"
82355 fi
82356 rm -f conftest.err conftest.$ac_objext \
82357 conftest$ac_exeext conftest.$ac_ext
82358 fi
82359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82361 if test `eval echo '${'$as_ac_var'}'` = yes; then
82362 cat >>confdefs.h <<_ACEOF
82363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82364 _ACEOF
82365
82366 fi
82367 done
82368
82369 else
82370
82371 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
82372 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
82373 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
82374 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
82375 echo $ECHO_N "(cached) $ECHO_C" >&6
82376 else
82377
82378
82379
82380 ac_ext=cc
82381 ac_cpp='$CXXCPP $CPPFLAGS'
82382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82385
82386 cat >conftest.$ac_ext <<_ACEOF
82387 /* confdefs.h. */
82388 _ACEOF
82389 cat confdefs.h >>conftest.$ac_ext
82390 cat >>conftest.$ac_ext <<_ACEOF
82391 /* end confdefs.h. */
82392 #include <math.h>
82393 #ifdef HAVE_IEEEFP_H
82394 #include <ieeefp.h>
82395 #endif
82396
82397 int
82398 main ()
82399 {
82400 _sqrtl(0);
82401 ;
82402 return 0;
82403 }
82404 _ACEOF
82405 rm -f conftest.$ac_objext
82406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82407 (eval $ac_compile) 2>conftest.er1
82408 ac_status=$?
82409 grep -v '^ *+' conftest.er1 >conftest.err
82410 rm -f conftest.er1
82411 cat conftest.err >&5
82412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82413 (exit $ac_status); } &&
82414 { ac_try='test -z "$ac_cxx_werror_flag"
82415 || test ! -s conftest.err'
82416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82417 (eval $ac_try) 2>&5
82418 ac_status=$?
82419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82420 (exit $ac_status); }; } &&
82421 { ac_try='test -s conftest.$ac_objext'
82422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82423 (eval $ac_try) 2>&5
82424 ac_status=$?
82425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82426 (exit $ac_status); }; }; then
82427 glibcxx_cv_func__sqrtl_use=yes
82428 else
82429 echo "$as_me: failed program was:" >&5
82430 sed 's/^/| /' conftest.$ac_ext >&5
82431
82432 glibcxx_cv_func__sqrtl_use=no
82433 fi
82434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82435 ac_ext=c
82436 ac_cpp='$CPP $CPPFLAGS'
82437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82440
82441
82442 fi
82443
82444 fi
82445 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
82446 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
82447
82448 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
82449
82450 for ac_func in _sqrtl
82451 do
82452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82453 echo "$as_me:$LINENO: checking for $ac_func" >&5
82454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82455 if eval "test \"\${$as_ac_var+set}\" = set"; then
82456 echo $ECHO_N "(cached) $ECHO_C" >&6
82457 else
82458 if test x$gcc_no_link = xyes; then
82459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82461 { (exit 1); exit 1; }; }
82462 fi
82463 cat >conftest.$ac_ext <<_ACEOF
82464 /* confdefs.h. */
82465 _ACEOF
82466 cat confdefs.h >>conftest.$ac_ext
82467 cat >>conftest.$ac_ext <<_ACEOF
82468 /* end confdefs.h. */
82469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82471 #define $ac_func innocuous_$ac_func
82472
82473 /* System header to define __stub macros and hopefully few prototypes,
82474 which can conflict with char $ac_func (); below.
82475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82476 <limits.h> exists even on freestanding compilers. */
82477
82478 #ifdef __STDC__
82479 # include <limits.h>
82480 #else
82481 # include <assert.h>
82482 #endif
82483
82484 #undef $ac_func
82485
82486 /* Override any gcc2 internal prototype to avoid an error. */
82487 #ifdef __cplusplus
82488 extern "C"
82489 {
82490 #endif
82491 /* We use char because int might match the return type of a gcc2
82492 builtin and then its argument prototype would still apply. */
82493 char $ac_func ();
82494 /* The GNU C library defines this for functions which it implements
82495 to always fail with ENOSYS. Some functions are actually named
82496 something starting with __ and the normal name is an alias. */
82497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82498 choke me
82499 #else
82500 char (*f) () = $ac_func;
82501 #endif
82502 #ifdef __cplusplus
82503 }
82504 #endif
82505
82506 int
82507 main ()
82508 {
82509 return f != $ac_func;
82510 ;
82511 return 0;
82512 }
82513 _ACEOF
82514 rm -f conftest.$ac_objext conftest$ac_exeext
82515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82516 (eval $ac_link) 2>conftest.er1
82517 ac_status=$?
82518 grep -v '^ *+' conftest.er1 >conftest.err
82519 rm -f conftest.er1
82520 cat conftest.err >&5
82521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82522 (exit $ac_status); } &&
82523 { ac_try='test -z "$ac_c_werror_flag"
82524 || test ! -s conftest.err'
82525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82526 (eval $ac_try) 2>&5
82527 ac_status=$?
82528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82529 (exit $ac_status); }; } &&
82530 { ac_try='test -s conftest$ac_exeext'
82531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82532 (eval $ac_try) 2>&5
82533 ac_status=$?
82534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82535 (exit $ac_status); }; }; then
82536 eval "$as_ac_var=yes"
82537 else
82538 echo "$as_me: failed program was:" >&5
82539 sed 's/^/| /' conftest.$ac_ext >&5
82540
82541 eval "$as_ac_var=no"
82542 fi
82543 rm -f conftest.err conftest.$ac_objext \
82544 conftest$ac_exeext conftest.$ac_ext
82545 fi
82546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82548 if test `eval echo '${'$as_ac_var'}'` = yes; then
82549 cat >>confdefs.h <<_ACEOF
82550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82551 _ACEOF
82552
82553 fi
82554 done
82555
82556 fi
82557 fi
82558
82559
82560
82561
82562
82563
82564 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
82565 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
82566 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
82567 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
82568 echo $ECHO_N "(cached) $ECHO_C" >&6
82569 else
82570
82571
82572
82573 ac_ext=cc
82574 ac_cpp='$CXXCPP $CPPFLAGS'
82575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82578
82579 cat >conftest.$ac_ext <<_ACEOF
82580 /* confdefs.h. */
82581 _ACEOF
82582 cat confdefs.h >>conftest.$ac_ext
82583 cat >>conftest.$ac_ext <<_ACEOF
82584 /* end confdefs.h. */
82585 #include <math.h>
82586 int
82587 main ()
82588 {
82589 sincosl(0, 0, 0);
82590 ;
82591 return 0;
82592 }
82593 _ACEOF
82594 rm -f conftest.$ac_objext
82595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82596 (eval $ac_compile) 2>conftest.er1
82597 ac_status=$?
82598 grep -v '^ *+' conftest.er1 >conftest.err
82599 rm -f conftest.er1
82600 cat conftest.err >&5
82601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82602 (exit $ac_status); } &&
82603 { ac_try='test -z "$ac_cxx_werror_flag"
82604 || test ! -s conftest.err'
82605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82606 (eval $ac_try) 2>&5
82607 ac_status=$?
82608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82609 (exit $ac_status); }; } &&
82610 { ac_try='test -s conftest.$ac_objext'
82611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82612 (eval $ac_try) 2>&5
82613 ac_status=$?
82614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82615 (exit $ac_status); }; }; then
82616 glibcxx_cv_func_sincosl_use=yes
82617 else
82618 echo "$as_me: failed program was:" >&5
82619 sed 's/^/| /' conftest.$ac_ext >&5
82620
82621 glibcxx_cv_func_sincosl_use=no
82622 fi
82623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82624 ac_ext=c
82625 ac_cpp='$CPP $CPPFLAGS'
82626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82629
82630
82631 fi
82632
82633 fi
82634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
82635 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
82636
82637 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
82638
82639 for ac_func in sincosl
82640 do
82641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82642 echo "$as_me:$LINENO: checking for $ac_func" >&5
82643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82644 if eval "test \"\${$as_ac_var+set}\" = set"; then
82645 echo $ECHO_N "(cached) $ECHO_C" >&6
82646 else
82647 if test x$gcc_no_link = xyes; then
82648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82650 { (exit 1); exit 1; }; }
82651 fi
82652 cat >conftest.$ac_ext <<_ACEOF
82653 /* confdefs.h. */
82654 _ACEOF
82655 cat confdefs.h >>conftest.$ac_ext
82656 cat >>conftest.$ac_ext <<_ACEOF
82657 /* end confdefs.h. */
82658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82660 #define $ac_func innocuous_$ac_func
82661
82662 /* System header to define __stub macros and hopefully few prototypes,
82663 which can conflict with char $ac_func (); below.
82664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82665 <limits.h> exists even on freestanding compilers. */
82666
82667 #ifdef __STDC__
82668 # include <limits.h>
82669 #else
82670 # include <assert.h>
82671 #endif
82672
82673 #undef $ac_func
82674
82675 /* Override any gcc2 internal prototype to avoid an error. */
82676 #ifdef __cplusplus
82677 extern "C"
82678 {
82679 #endif
82680 /* We use char because int might match the return type of a gcc2
82681 builtin and then its argument prototype would still apply. */
82682 char $ac_func ();
82683 /* The GNU C library defines this for functions which it implements
82684 to always fail with ENOSYS. Some functions are actually named
82685 something starting with __ and the normal name is an alias. */
82686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82687 choke me
82688 #else
82689 char (*f) () = $ac_func;
82690 #endif
82691 #ifdef __cplusplus
82692 }
82693 #endif
82694
82695 int
82696 main ()
82697 {
82698 return f != $ac_func;
82699 ;
82700 return 0;
82701 }
82702 _ACEOF
82703 rm -f conftest.$ac_objext conftest$ac_exeext
82704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82705 (eval $ac_link) 2>conftest.er1
82706 ac_status=$?
82707 grep -v '^ *+' conftest.er1 >conftest.err
82708 rm -f conftest.er1
82709 cat conftest.err >&5
82710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82711 (exit $ac_status); } &&
82712 { ac_try='test -z "$ac_c_werror_flag"
82713 || test ! -s conftest.err'
82714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82715 (eval $ac_try) 2>&5
82716 ac_status=$?
82717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82718 (exit $ac_status); }; } &&
82719 { ac_try='test -s conftest$ac_exeext'
82720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82721 (eval $ac_try) 2>&5
82722 ac_status=$?
82723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82724 (exit $ac_status); }; }; then
82725 eval "$as_ac_var=yes"
82726 else
82727 echo "$as_me: failed program was:" >&5
82728 sed 's/^/| /' conftest.$ac_ext >&5
82729
82730 eval "$as_ac_var=no"
82731 fi
82732 rm -f conftest.err conftest.$ac_objext \
82733 conftest$ac_exeext conftest.$ac_ext
82734 fi
82735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82737 if test `eval echo '${'$as_ac_var'}'` = yes; then
82738 cat >>confdefs.h <<_ACEOF
82739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82740 _ACEOF
82741
82742 fi
82743 done
82744
82745 else
82746
82747 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
82748 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
82749 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
82750 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
82751 echo $ECHO_N "(cached) $ECHO_C" >&6
82752 else
82753
82754
82755
82756 ac_ext=cc
82757 ac_cpp='$CXXCPP $CPPFLAGS'
82758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82761
82762 cat >conftest.$ac_ext <<_ACEOF
82763 /* confdefs.h. */
82764 _ACEOF
82765 cat confdefs.h >>conftest.$ac_ext
82766 cat >>conftest.$ac_ext <<_ACEOF
82767 /* end confdefs.h. */
82768 #include <math.h>
82769 int
82770 main ()
82771 {
82772 _sincosl(0, 0, 0);
82773 ;
82774 return 0;
82775 }
82776 _ACEOF
82777 rm -f conftest.$ac_objext
82778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82779 (eval $ac_compile) 2>conftest.er1
82780 ac_status=$?
82781 grep -v '^ *+' conftest.er1 >conftest.err
82782 rm -f conftest.er1
82783 cat conftest.err >&5
82784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82785 (exit $ac_status); } &&
82786 { ac_try='test -z "$ac_cxx_werror_flag"
82787 || test ! -s conftest.err'
82788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82789 (eval $ac_try) 2>&5
82790 ac_status=$?
82791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82792 (exit $ac_status); }; } &&
82793 { ac_try='test -s conftest.$ac_objext'
82794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82795 (eval $ac_try) 2>&5
82796 ac_status=$?
82797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82798 (exit $ac_status); }; }; then
82799 glibcxx_cv_func__sincosl_use=yes
82800 else
82801 echo "$as_me: failed program was:" >&5
82802 sed 's/^/| /' conftest.$ac_ext >&5
82803
82804 glibcxx_cv_func__sincosl_use=no
82805 fi
82806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82807 ac_ext=c
82808 ac_cpp='$CPP $CPPFLAGS'
82809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82812
82813
82814 fi
82815
82816 fi
82817 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
82818 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
82819
82820 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
82821
82822 for ac_func in _sincosl
82823 do
82824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82825 echo "$as_me:$LINENO: checking for $ac_func" >&5
82826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82827 if eval "test \"\${$as_ac_var+set}\" = set"; then
82828 echo $ECHO_N "(cached) $ECHO_C" >&6
82829 else
82830 if test x$gcc_no_link = xyes; then
82831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82833 { (exit 1); exit 1; }; }
82834 fi
82835 cat >conftest.$ac_ext <<_ACEOF
82836 /* confdefs.h. */
82837 _ACEOF
82838 cat confdefs.h >>conftest.$ac_ext
82839 cat >>conftest.$ac_ext <<_ACEOF
82840 /* end confdefs.h. */
82841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82843 #define $ac_func innocuous_$ac_func
82844
82845 /* System header to define __stub macros and hopefully few prototypes,
82846 which can conflict with char $ac_func (); below.
82847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82848 <limits.h> exists even on freestanding compilers. */
82849
82850 #ifdef __STDC__
82851 # include <limits.h>
82852 #else
82853 # include <assert.h>
82854 #endif
82855
82856 #undef $ac_func
82857
82858 /* Override any gcc2 internal prototype to avoid an error. */
82859 #ifdef __cplusplus
82860 extern "C"
82861 {
82862 #endif
82863 /* We use char because int might match the return type of a gcc2
82864 builtin and then its argument prototype would still apply. */
82865 char $ac_func ();
82866 /* The GNU C library defines this for functions which it implements
82867 to always fail with ENOSYS. Some functions are actually named
82868 something starting with __ and the normal name is an alias. */
82869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82870 choke me
82871 #else
82872 char (*f) () = $ac_func;
82873 #endif
82874 #ifdef __cplusplus
82875 }
82876 #endif
82877
82878 int
82879 main ()
82880 {
82881 return f != $ac_func;
82882 ;
82883 return 0;
82884 }
82885 _ACEOF
82886 rm -f conftest.$ac_objext conftest$ac_exeext
82887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82888 (eval $ac_link) 2>conftest.er1
82889 ac_status=$?
82890 grep -v '^ *+' conftest.er1 >conftest.err
82891 rm -f conftest.er1
82892 cat conftest.err >&5
82893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82894 (exit $ac_status); } &&
82895 { ac_try='test -z "$ac_c_werror_flag"
82896 || test ! -s conftest.err'
82897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82898 (eval $ac_try) 2>&5
82899 ac_status=$?
82900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82901 (exit $ac_status); }; } &&
82902 { ac_try='test -s conftest$ac_exeext'
82903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82904 (eval $ac_try) 2>&5
82905 ac_status=$?
82906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82907 (exit $ac_status); }; }; then
82908 eval "$as_ac_var=yes"
82909 else
82910 echo "$as_me: failed program was:" >&5
82911 sed 's/^/| /' conftest.$ac_ext >&5
82912
82913 eval "$as_ac_var=no"
82914 fi
82915 rm -f conftest.err conftest.$ac_objext \
82916 conftest$ac_exeext conftest.$ac_ext
82917 fi
82918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82920 if test `eval echo '${'$as_ac_var'}'` = yes; then
82921 cat >>confdefs.h <<_ACEOF
82922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82923 _ACEOF
82924
82925 fi
82926 done
82927
82928 fi
82929 fi
82930
82931
82932
82933
82934
82935
82936 echo "$as_me:$LINENO: checking for finitel declaration" >&5
82937 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
82938 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
82939 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
82940 echo $ECHO_N "(cached) $ECHO_C" >&6
82941 else
82942
82943
82944
82945 ac_ext=cc
82946 ac_cpp='$CXXCPP $CPPFLAGS'
82947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82950
82951 cat >conftest.$ac_ext <<_ACEOF
82952 /* confdefs.h. */
82953 _ACEOF
82954 cat confdefs.h >>conftest.$ac_ext
82955 cat >>conftest.$ac_ext <<_ACEOF
82956 /* end confdefs.h. */
82957 #include <math.h>
82958 #ifdef HAVE_IEEEFP_H
82959 #include <ieeefp.h>
82960 #endif
82961
82962 int
82963 main ()
82964 {
82965 finitel(0);
82966 ;
82967 return 0;
82968 }
82969 _ACEOF
82970 rm -f conftest.$ac_objext
82971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82972 (eval $ac_compile) 2>conftest.er1
82973 ac_status=$?
82974 grep -v '^ *+' conftest.er1 >conftest.err
82975 rm -f conftest.er1
82976 cat conftest.err >&5
82977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82978 (exit $ac_status); } &&
82979 { ac_try='test -z "$ac_cxx_werror_flag"
82980 || test ! -s conftest.err'
82981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82982 (eval $ac_try) 2>&5
82983 ac_status=$?
82984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82985 (exit $ac_status); }; } &&
82986 { ac_try='test -s conftest.$ac_objext'
82987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82988 (eval $ac_try) 2>&5
82989 ac_status=$?
82990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82991 (exit $ac_status); }; }; then
82992 glibcxx_cv_func_finitel_use=yes
82993 else
82994 echo "$as_me: failed program was:" >&5
82995 sed 's/^/| /' conftest.$ac_ext >&5
82996
82997 glibcxx_cv_func_finitel_use=no
82998 fi
82999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83000 ac_ext=c
83001 ac_cpp='$CPP $CPPFLAGS'
83002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83005
83006
83007 fi
83008
83009 fi
83010 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
83011 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
83012
83013 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
83014
83015 for ac_func in finitel
83016 do
83017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83018 echo "$as_me:$LINENO: checking for $ac_func" >&5
83019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83020 if eval "test \"\${$as_ac_var+set}\" = set"; then
83021 echo $ECHO_N "(cached) $ECHO_C" >&6
83022 else
83023 if test x$gcc_no_link = xyes; then
83024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83026 { (exit 1); exit 1; }; }
83027 fi
83028 cat >conftest.$ac_ext <<_ACEOF
83029 /* confdefs.h. */
83030 _ACEOF
83031 cat confdefs.h >>conftest.$ac_ext
83032 cat >>conftest.$ac_ext <<_ACEOF
83033 /* end confdefs.h. */
83034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83036 #define $ac_func innocuous_$ac_func
83037
83038 /* System header to define __stub macros and hopefully few prototypes,
83039 which can conflict with char $ac_func (); below.
83040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83041 <limits.h> exists even on freestanding compilers. */
83042
83043 #ifdef __STDC__
83044 # include <limits.h>
83045 #else
83046 # include <assert.h>
83047 #endif
83048
83049 #undef $ac_func
83050
83051 /* Override any gcc2 internal prototype to avoid an error. */
83052 #ifdef __cplusplus
83053 extern "C"
83054 {
83055 #endif
83056 /* We use char because int might match the return type of a gcc2
83057 builtin and then its argument prototype would still apply. */
83058 char $ac_func ();
83059 /* The GNU C library defines this for functions which it implements
83060 to always fail with ENOSYS. Some functions are actually named
83061 something starting with __ and the normal name is an alias. */
83062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83063 choke me
83064 #else
83065 char (*f) () = $ac_func;
83066 #endif
83067 #ifdef __cplusplus
83068 }
83069 #endif
83070
83071 int
83072 main ()
83073 {
83074 return f != $ac_func;
83075 ;
83076 return 0;
83077 }
83078 _ACEOF
83079 rm -f conftest.$ac_objext conftest$ac_exeext
83080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83081 (eval $ac_link) 2>conftest.er1
83082 ac_status=$?
83083 grep -v '^ *+' conftest.er1 >conftest.err
83084 rm -f conftest.er1
83085 cat conftest.err >&5
83086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83087 (exit $ac_status); } &&
83088 { ac_try='test -z "$ac_c_werror_flag"
83089 || test ! -s conftest.err'
83090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83091 (eval $ac_try) 2>&5
83092 ac_status=$?
83093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83094 (exit $ac_status); }; } &&
83095 { ac_try='test -s conftest$ac_exeext'
83096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83097 (eval $ac_try) 2>&5
83098 ac_status=$?
83099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83100 (exit $ac_status); }; }; then
83101 eval "$as_ac_var=yes"
83102 else
83103 echo "$as_me: failed program was:" >&5
83104 sed 's/^/| /' conftest.$ac_ext >&5
83105
83106 eval "$as_ac_var=no"
83107 fi
83108 rm -f conftest.err conftest.$ac_objext \
83109 conftest$ac_exeext conftest.$ac_ext
83110 fi
83111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83113 if test `eval echo '${'$as_ac_var'}'` = yes; then
83114 cat >>confdefs.h <<_ACEOF
83115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83116 _ACEOF
83117
83118 fi
83119 done
83120
83121 else
83122
83123 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
83124 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
83125 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
83126 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
83127 echo $ECHO_N "(cached) $ECHO_C" >&6
83128 else
83129
83130
83131
83132 ac_ext=cc
83133 ac_cpp='$CXXCPP $CPPFLAGS'
83134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83137
83138 cat >conftest.$ac_ext <<_ACEOF
83139 /* confdefs.h. */
83140 _ACEOF
83141 cat confdefs.h >>conftest.$ac_ext
83142 cat >>conftest.$ac_ext <<_ACEOF
83143 /* end confdefs.h. */
83144 #include <math.h>
83145 #ifdef HAVE_IEEEFP_H
83146 #include <ieeefp.h>
83147 #endif
83148
83149 int
83150 main ()
83151 {
83152 _finitel(0);
83153 ;
83154 return 0;
83155 }
83156 _ACEOF
83157 rm -f conftest.$ac_objext
83158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83159 (eval $ac_compile) 2>conftest.er1
83160 ac_status=$?
83161 grep -v '^ *+' conftest.er1 >conftest.err
83162 rm -f conftest.er1
83163 cat conftest.err >&5
83164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83165 (exit $ac_status); } &&
83166 { ac_try='test -z "$ac_cxx_werror_flag"
83167 || test ! -s conftest.err'
83168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83169 (eval $ac_try) 2>&5
83170 ac_status=$?
83171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83172 (exit $ac_status); }; } &&
83173 { ac_try='test -s conftest.$ac_objext'
83174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83175 (eval $ac_try) 2>&5
83176 ac_status=$?
83177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83178 (exit $ac_status); }; }; then
83179 glibcxx_cv_func__finitel_use=yes
83180 else
83181 echo "$as_me: failed program was:" >&5
83182 sed 's/^/| /' conftest.$ac_ext >&5
83183
83184 glibcxx_cv_func__finitel_use=no
83185 fi
83186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83187 ac_ext=c
83188 ac_cpp='$CPP $CPPFLAGS'
83189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83192
83193
83194 fi
83195
83196 fi
83197 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
83198 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
83199
83200 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
83201
83202 for ac_func in _finitel
83203 do
83204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83205 echo "$as_me:$LINENO: checking for $ac_func" >&5
83206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83207 if eval "test \"\${$as_ac_var+set}\" = set"; then
83208 echo $ECHO_N "(cached) $ECHO_C" >&6
83209 else
83210 if test x$gcc_no_link = xyes; then
83211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83213 { (exit 1); exit 1; }; }
83214 fi
83215 cat >conftest.$ac_ext <<_ACEOF
83216 /* confdefs.h. */
83217 _ACEOF
83218 cat confdefs.h >>conftest.$ac_ext
83219 cat >>conftest.$ac_ext <<_ACEOF
83220 /* end confdefs.h. */
83221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83223 #define $ac_func innocuous_$ac_func
83224
83225 /* System header to define __stub macros and hopefully few prototypes,
83226 which can conflict with char $ac_func (); below.
83227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83228 <limits.h> exists even on freestanding compilers. */
83229
83230 #ifdef __STDC__
83231 # include <limits.h>
83232 #else
83233 # include <assert.h>
83234 #endif
83235
83236 #undef $ac_func
83237
83238 /* Override any gcc2 internal prototype to avoid an error. */
83239 #ifdef __cplusplus
83240 extern "C"
83241 {
83242 #endif
83243 /* We use char because int might match the return type of a gcc2
83244 builtin and then its argument prototype would still apply. */
83245 char $ac_func ();
83246 /* The GNU C library defines this for functions which it implements
83247 to always fail with ENOSYS. Some functions are actually named
83248 something starting with __ and the normal name is an alias. */
83249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83250 choke me
83251 #else
83252 char (*f) () = $ac_func;
83253 #endif
83254 #ifdef __cplusplus
83255 }
83256 #endif
83257
83258 int
83259 main ()
83260 {
83261 return f != $ac_func;
83262 ;
83263 return 0;
83264 }
83265 _ACEOF
83266 rm -f conftest.$ac_objext conftest$ac_exeext
83267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83268 (eval $ac_link) 2>conftest.er1
83269 ac_status=$?
83270 grep -v '^ *+' conftest.er1 >conftest.err
83271 rm -f conftest.er1
83272 cat conftest.err >&5
83273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83274 (exit $ac_status); } &&
83275 { ac_try='test -z "$ac_c_werror_flag"
83276 || test ! -s conftest.err'
83277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83278 (eval $ac_try) 2>&5
83279 ac_status=$?
83280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83281 (exit $ac_status); }; } &&
83282 { ac_try='test -s conftest$ac_exeext'
83283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83284 (eval $ac_try) 2>&5
83285 ac_status=$?
83286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83287 (exit $ac_status); }; }; then
83288 eval "$as_ac_var=yes"
83289 else
83290 echo "$as_me: failed program was:" >&5
83291 sed 's/^/| /' conftest.$ac_ext >&5
83292
83293 eval "$as_ac_var=no"
83294 fi
83295 rm -f conftest.err conftest.$ac_objext \
83296 conftest$ac_exeext conftest.$ac_ext
83297 fi
83298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83300 if test `eval echo '${'$as_ac_var'}'` = yes; then
83301 cat >>confdefs.h <<_ACEOF
83302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83303 _ACEOF
83304
83305 fi
83306 done
83307
83308 fi
83309 fi
83310
83311
83312
83313
83314
83315 LIBS="$ac_save_LIBS"
83316 CXXFLAGS="$ac_save_CXXFLAGS"
83317
83318
83319
83320 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
83321 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
83322 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
83323 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
83324 echo $ECHO_N "(cached) $ECHO_C" >&6
83325 else
83326
83327
83328
83329 ac_ext=cc
83330 ac_cpp='$CXXCPP $CPPFLAGS'
83331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83334
83335 cat >conftest.$ac_ext <<_ACEOF
83336 /* confdefs.h. */
83337 _ACEOF
83338 cat confdefs.h >>conftest.$ac_ext
83339 cat >>conftest.$ac_ext <<_ACEOF
83340 /* end confdefs.h. */
83341 #include <math.h>
83342 int
83343 main ()
83344 {
83345 __builtin_abs(0);
83346 ;
83347 return 0;
83348 }
83349 _ACEOF
83350 rm -f conftest.$ac_objext
83351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83352 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func___builtin_abs_use=yes
83373 else
83374 echo "$as_me: failed program was:" >&5
83375 sed 's/^/| /' conftest.$ac_ext >&5
83376
83377 glibcxx_cv_func___builtin_abs_use=no
83378 fi
83379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83380 ac_ext=c
83381 ac_cpp='$CPP $CPPFLAGS'
83382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83385
83386
83387 fi
83388
83389 fi
83390 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
83391 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
83392 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
83393 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
83394 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
83395 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
83396 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
83397 echo $ECHO_N "(cached) $ECHO_C" >&6
83398 else
83399
83400 if test x$gcc_no_link = xyes; then
83401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83403 { (exit 1); exit 1; }; }
83404 fi
83405 cat >conftest.$ac_ext <<_ACEOF
83406 /* confdefs.h. */
83407 _ACEOF
83408 cat confdefs.h >>conftest.$ac_ext
83409 cat >>conftest.$ac_ext <<_ACEOF
83410 /* end confdefs.h. */
83411 #include <math.h>
83412 int
83413 main ()
83414 {
83415 __builtin_abs(0);
83416 ;
83417 return 0;
83418 }
83419 _ACEOF
83420 rm -f conftest.$ac_objext conftest$ac_exeext
83421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83422 (eval $ac_link) 2>conftest.er1
83423 ac_status=$?
83424 grep -v '^ *+' conftest.er1 >conftest.err
83425 rm -f conftest.er1
83426 cat conftest.err >&5
83427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83428 (exit $ac_status); } &&
83429 { ac_try='test -z "$ac_c_werror_flag"
83430 || test ! -s conftest.err'
83431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83432 (eval $ac_try) 2>&5
83433 ac_status=$?
83434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83435 (exit $ac_status); }; } &&
83436 { ac_try='test -s conftest$ac_exeext'
83437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83438 (eval $ac_try) 2>&5
83439 ac_status=$?
83440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83441 (exit $ac_status); }; }; then
83442 glibcxx_cv_func___builtin_abs_link=yes
83443 else
83444 echo "$as_me: failed program was:" >&5
83445 sed 's/^/| /' conftest.$ac_ext >&5
83446
83447 glibcxx_cv_func___builtin_abs_link=no
83448 fi
83449 rm -f conftest.err conftest.$ac_objext \
83450 conftest$ac_exeext conftest.$ac_ext
83451
83452 fi
83453
83454 fi
83455 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
83456 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
83457
83458 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
83459
83460 cat >>confdefs.h <<\_ACEOF
83461 #define HAVE___BUILTIN_ABS 1
83462 _ACEOF
83463
83464 fi
83465
83466 fi
83467
83468
83469 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
83470 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
83471 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
83472 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
83473 echo $ECHO_N "(cached) $ECHO_C" >&6
83474 else
83475
83476
83477
83478 ac_ext=cc
83479 ac_cpp='$CXXCPP $CPPFLAGS'
83480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83483
83484 cat >conftest.$ac_ext <<_ACEOF
83485 /* confdefs.h. */
83486 _ACEOF
83487 cat confdefs.h >>conftest.$ac_ext
83488 cat >>conftest.$ac_ext <<_ACEOF
83489 /* end confdefs.h. */
83490 #include <math.h>
83491 int
83492 main ()
83493 {
83494 __builtin_fabsf(0);
83495 ;
83496 return 0;
83497 }
83498 _ACEOF
83499 rm -f conftest.$ac_objext
83500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83501 (eval $ac_compile) 2>conftest.er1
83502 ac_status=$?
83503 grep -v '^ *+' conftest.er1 >conftest.err
83504 rm -f conftest.er1
83505 cat conftest.err >&5
83506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83507 (exit $ac_status); } &&
83508 { ac_try='test -z "$ac_cxx_werror_flag"
83509 || test ! -s conftest.err'
83510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83511 (eval $ac_try) 2>&5
83512 ac_status=$?
83513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83514 (exit $ac_status); }; } &&
83515 { ac_try='test -s conftest.$ac_objext'
83516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83517 (eval $ac_try) 2>&5
83518 ac_status=$?
83519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83520 (exit $ac_status); }; }; then
83521 glibcxx_cv_func___builtin_fabsf_use=yes
83522 else
83523 echo "$as_me: failed program was:" >&5
83524 sed 's/^/| /' conftest.$ac_ext >&5
83525
83526 glibcxx_cv_func___builtin_fabsf_use=no
83527 fi
83528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83529 ac_ext=c
83530 ac_cpp='$CPP $CPPFLAGS'
83531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83534
83535
83536 fi
83537
83538 fi
83539 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
83540 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
83541 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
83542 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
83543 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
83544 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
83545 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
83546 echo $ECHO_N "(cached) $ECHO_C" >&6
83547 else
83548
83549 if test x$gcc_no_link = xyes; then
83550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83552 { (exit 1); exit 1; }; }
83553 fi
83554 cat >conftest.$ac_ext <<_ACEOF
83555 /* confdefs.h. */
83556 _ACEOF
83557 cat confdefs.h >>conftest.$ac_ext
83558 cat >>conftest.$ac_ext <<_ACEOF
83559 /* end confdefs.h. */
83560 #include <math.h>
83561 int
83562 main ()
83563 {
83564 __builtin_fabsf(0);
83565 ;
83566 return 0;
83567 }
83568 _ACEOF
83569 rm -f conftest.$ac_objext conftest$ac_exeext
83570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83571 (eval $ac_link) 2>conftest.er1
83572 ac_status=$?
83573 grep -v '^ *+' conftest.er1 >conftest.err
83574 rm -f conftest.er1
83575 cat conftest.err >&5
83576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83577 (exit $ac_status); } &&
83578 { ac_try='test -z "$ac_c_werror_flag"
83579 || test ! -s conftest.err'
83580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83581 (eval $ac_try) 2>&5
83582 ac_status=$?
83583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83584 (exit $ac_status); }; } &&
83585 { ac_try='test -s conftest$ac_exeext'
83586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83587 (eval $ac_try) 2>&5
83588 ac_status=$?
83589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83590 (exit $ac_status); }; }; then
83591 glibcxx_cv_func___builtin_fabsf_link=yes
83592 else
83593 echo "$as_me: failed program was:" >&5
83594 sed 's/^/| /' conftest.$ac_ext >&5
83595
83596 glibcxx_cv_func___builtin_fabsf_link=no
83597 fi
83598 rm -f conftest.err conftest.$ac_objext \
83599 conftest$ac_exeext conftest.$ac_ext
83600
83601 fi
83602
83603 fi
83604 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
83605 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
83606
83607 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
83608
83609 cat >>confdefs.h <<\_ACEOF
83610 #define HAVE___BUILTIN_FABSF 1
83611 _ACEOF
83612
83613 fi
83614
83615 fi
83616
83617
83618 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
83619 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
83620 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
83621 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
83622 echo $ECHO_N "(cached) $ECHO_C" >&6
83623 else
83624
83625
83626
83627 ac_ext=cc
83628 ac_cpp='$CXXCPP $CPPFLAGS'
83629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83632
83633 cat >conftest.$ac_ext <<_ACEOF
83634 /* confdefs.h. */
83635 _ACEOF
83636 cat confdefs.h >>conftest.$ac_ext
83637 cat >>conftest.$ac_ext <<_ACEOF
83638 /* end confdefs.h. */
83639 #include <math.h>
83640 int
83641 main ()
83642 {
83643 __builtin_fabs(0);
83644 ;
83645 return 0;
83646 }
83647 _ACEOF
83648 rm -f conftest.$ac_objext
83649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83650 (eval $ac_compile) 2>conftest.er1
83651 ac_status=$?
83652 grep -v '^ *+' conftest.er1 >conftest.err
83653 rm -f conftest.er1
83654 cat conftest.err >&5
83655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83656 (exit $ac_status); } &&
83657 { ac_try='test -z "$ac_cxx_werror_flag"
83658 || test ! -s conftest.err'
83659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83660 (eval $ac_try) 2>&5
83661 ac_status=$?
83662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83663 (exit $ac_status); }; } &&
83664 { ac_try='test -s conftest.$ac_objext'
83665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83666 (eval $ac_try) 2>&5
83667 ac_status=$?
83668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83669 (exit $ac_status); }; }; then
83670 glibcxx_cv_func___builtin_fabs_use=yes
83671 else
83672 echo "$as_me: failed program was:" >&5
83673 sed 's/^/| /' conftest.$ac_ext >&5
83674
83675 glibcxx_cv_func___builtin_fabs_use=no
83676 fi
83677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83678 ac_ext=c
83679 ac_cpp='$CPP $CPPFLAGS'
83680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83683
83684
83685 fi
83686
83687 fi
83688 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
83689 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
83690 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
83691 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
83692 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
83693 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
83694 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
83695 echo $ECHO_N "(cached) $ECHO_C" >&6
83696 else
83697
83698 if test x$gcc_no_link = xyes; then
83699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83701 { (exit 1); exit 1; }; }
83702 fi
83703 cat >conftest.$ac_ext <<_ACEOF
83704 /* confdefs.h. */
83705 _ACEOF
83706 cat confdefs.h >>conftest.$ac_ext
83707 cat >>conftest.$ac_ext <<_ACEOF
83708 /* end confdefs.h. */
83709 #include <math.h>
83710 int
83711 main ()
83712 {
83713 __builtin_fabs(0);
83714 ;
83715 return 0;
83716 }
83717 _ACEOF
83718 rm -f conftest.$ac_objext conftest$ac_exeext
83719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83720 (eval $ac_link) 2>conftest.er1
83721 ac_status=$?
83722 grep -v '^ *+' conftest.er1 >conftest.err
83723 rm -f conftest.er1
83724 cat conftest.err >&5
83725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83726 (exit $ac_status); } &&
83727 { ac_try='test -z "$ac_c_werror_flag"
83728 || test ! -s conftest.err'
83729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83730 (eval $ac_try) 2>&5
83731 ac_status=$?
83732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83733 (exit $ac_status); }; } &&
83734 { ac_try='test -s conftest$ac_exeext'
83735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83736 (eval $ac_try) 2>&5
83737 ac_status=$?
83738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83739 (exit $ac_status); }; }; then
83740 glibcxx_cv_func___builtin_fabs_link=yes
83741 else
83742 echo "$as_me: failed program was:" >&5
83743 sed 's/^/| /' conftest.$ac_ext >&5
83744
83745 glibcxx_cv_func___builtin_fabs_link=no
83746 fi
83747 rm -f conftest.err conftest.$ac_objext \
83748 conftest$ac_exeext conftest.$ac_ext
83749
83750 fi
83751
83752 fi
83753 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
83754 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
83755
83756 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
83757
83758 cat >>confdefs.h <<\_ACEOF
83759 #define HAVE___BUILTIN_FABS 1
83760 _ACEOF
83761
83762 fi
83763
83764 fi
83765
83766
83767 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
83768 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
83769 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
83770 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
83771 echo $ECHO_N "(cached) $ECHO_C" >&6
83772 else
83773
83774
83775
83776 ac_ext=cc
83777 ac_cpp='$CXXCPP $CPPFLAGS'
83778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83781
83782 cat >conftest.$ac_ext <<_ACEOF
83783 /* confdefs.h. */
83784 _ACEOF
83785 cat confdefs.h >>conftest.$ac_ext
83786 cat >>conftest.$ac_ext <<_ACEOF
83787 /* end confdefs.h. */
83788 #include <math.h>
83789 int
83790 main ()
83791 {
83792 __builtin_fabsl(0);
83793 ;
83794 return 0;
83795 }
83796 _ACEOF
83797 rm -f conftest.$ac_objext
83798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83799 (eval $ac_compile) 2>conftest.er1
83800 ac_status=$?
83801 grep -v '^ *+' conftest.er1 >conftest.err
83802 rm -f conftest.er1
83803 cat conftest.err >&5
83804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83805 (exit $ac_status); } &&
83806 { ac_try='test -z "$ac_cxx_werror_flag"
83807 || test ! -s conftest.err'
83808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83809 (eval $ac_try) 2>&5
83810 ac_status=$?
83811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83812 (exit $ac_status); }; } &&
83813 { ac_try='test -s conftest.$ac_objext'
83814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83815 (eval $ac_try) 2>&5
83816 ac_status=$?
83817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83818 (exit $ac_status); }; }; then
83819 glibcxx_cv_func___builtin_fabsl_use=yes
83820 else
83821 echo "$as_me: failed program was:" >&5
83822 sed 's/^/| /' conftest.$ac_ext >&5
83823
83824 glibcxx_cv_func___builtin_fabsl_use=no
83825 fi
83826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83827 ac_ext=c
83828 ac_cpp='$CPP $CPPFLAGS'
83829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83832
83833
83834 fi
83835
83836 fi
83837 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
83838 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
83839 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
83840 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
83841 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
83842 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
83843 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
83844 echo $ECHO_N "(cached) $ECHO_C" >&6
83845 else
83846
83847 if test x$gcc_no_link = xyes; then
83848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83850 { (exit 1); exit 1; }; }
83851 fi
83852 cat >conftest.$ac_ext <<_ACEOF
83853 /* confdefs.h. */
83854 _ACEOF
83855 cat confdefs.h >>conftest.$ac_ext
83856 cat >>conftest.$ac_ext <<_ACEOF
83857 /* end confdefs.h. */
83858 #include <math.h>
83859 int
83860 main ()
83861 {
83862 __builtin_fabsl(0);
83863 ;
83864 return 0;
83865 }
83866 _ACEOF
83867 rm -f conftest.$ac_objext conftest$ac_exeext
83868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83869 (eval $ac_link) 2>conftest.er1
83870 ac_status=$?
83871 grep -v '^ *+' conftest.er1 >conftest.err
83872 rm -f conftest.er1
83873 cat conftest.err >&5
83874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83875 (exit $ac_status); } &&
83876 { ac_try='test -z "$ac_c_werror_flag"
83877 || test ! -s conftest.err'
83878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83879 (eval $ac_try) 2>&5
83880 ac_status=$?
83881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83882 (exit $ac_status); }; } &&
83883 { ac_try='test -s conftest$ac_exeext'
83884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83885 (eval $ac_try) 2>&5
83886 ac_status=$?
83887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83888 (exit $ac_status); }; }; then
83889 glibcxx_cv_func___builtin_fabsl_link=yes
83890 else
83891 echo "$as_me: failed program was:" >&5
83892 sed 's/^/| /' conftest.$ac_ext >&5
83893
83894 glibcxx_cv_func___builtin_fabsl_link=no
83895 fi
83896 rm -f conftest.err conftest.$ac_objext \
83897 conftest$ac_exeext conftest.$ac_ext
83898
83899 fi
83900
83901 fi
83902 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
83903 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
83904
83905 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
83906
83907 cat >>confdefs.h <<\_ACEOF
83908 #define HAVE___BUILTIN_FABSL 1
83909 _ACEOF
83910
83911 fi
83912
83913 fi
83914
83915
83916 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
83917 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
83918 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
83919 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
83920 echo $ECHO_N "(cached) $ECHO_C" >&6
83921 else
83922
83923
83924
83925 ac_ext=cc
83926 ac_cpp='$CXXCPP $CPPFLAGS'
83927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83930
83931 cat >conftest.$ac_ext <<_ACEOF
83932 /* confdefs.h. */
83933 _ACEOF
83934 cat confdefs.h >>conftest.$ac_ext
83935 cat >>conftest.$ac_ext <<_ACEOF
83936 /* end confdefs.h. */
83937 #include <math.h>
83938 int
83939 main ()
83940 {
83941 __builtin_labs(0);
83942 ;
83943 return 0;
83944 }
83945 _ACEOF
83946 rm -f conftest.$ac_objext
83947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83948 (eval $ac_compile) 2>conftest.er1
83949 ac_status=$?
83950 grep -v '^ *+' conftest.er1 >conftest.err
83951 rm -f conftest.er1
83952 cat conftest.err >&5
83953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83954 (exit $ac_status); } &&
83955 { ac_try='test -z "$ac_cxx_werror_flag"
83956 || test ! -s conftest.err'
83957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83958 (eval $ac_try) 2>&5
83959 ac_status=$?
83960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83961 (exit $ac_status); }; } &&
83962 { ac_try='test -s conftest.$ac_objext'
83963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83964 (eval $ac_try) 2>&5
83965 ac_status=$?
83966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83967 (exit $ac_status); }; }; then
83968 glibcxx_cv_func___builtin_labs_use=yes
83969 else
83970 echo "$as_me: failed program was:" >&5
83971 sed 's/^/| /' conftest.$ac_ext >&5
83972
83973 glibcxx_cv_func___builtin_labs_use=no
83974 fi
83975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83976 ac_ext=c
83977 ac_cpp='$CPP $CPPFLAGS'
83978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83981
83982
83983 fi
83984
83985 fi
83986 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
83987 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
83988 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
83989 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
83990 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
83991 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
83992 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
83993 echo $ECHO_N "(cached) $ECHO_C" >&6
83994 else
83995
83996 if test x$gcc_no_link = xyes; then
83997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83999 { (exit 1); exit 1; }; }
84000 fi
84001 cat >conftest.$ac_ext <<_ACEOF
84002 /* confdefs.h. */
84003 _ACEOF
84004 cat confdefs.h >>conftest.$ac_ext
84005 cat >>conftest.$ac_ext <<_ACEOF
84006 /* end confdefs.h. */
84007 #include <math.h>
84008 int
84009 main ()
84010 {
84011 __builtin_labs(0);
84012 ;
84013 return 0;
84014 }
84015 _ACEOF
84016 rm -f conftest.$ac_objext conftest$ac_exeext
84017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84018 (eval $ac_link) 2>conftest.er1
84019 ac_status=$?
84020 grep -v '^ *+' conftest.er1 >conftest.err
84021 rm -f conftest.er1
84022 cat conftest.err >&5
84023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84024 (exit $ac_status); } &&
84025 { ac_try='test -z "$ac_c_werror_flag"
84026 || test ! -s conftest.err'
84027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84028 (eval $ac_try) 2>&5
84029 ac_status=$?
84030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84031 (exit $ac_status); }; } &&
84032 { ac_try='test -s conftest$ac_exeext'
84033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84034 (eval $ac_try) 2>&5
84035 ac_status=$?
84036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84037 (exit $ac_status); }; }; then
84038 glibcxx_cv_func___builtin_labs_link=yes
84039 else
84040 echo "$as_me: failed program was:" >&5
84041 sed 's/^/| /' conftest.$ac_ext >&5
84042
84043 glibcxx_cv_func___builtin_labs_link=no
84044 fi
84045 rm -f conftest.err conftest.$ac_objext \
84046 conftest$ac_exeext conftest.$ac_ext
84047
84048 fi
84049
84050 fi
84051 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
84052 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
84053
84054 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
84055
84056 cat >>confdefs.h <<\_ACEOF
84057 #define HAVE___BUILTIN_LABS 1
84058 _ACEOF
84059
84060 fi
84061
84062 fi
84063
84064
84065
84066 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
84067 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
84068 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
84069 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
84070 echo $ECHO_N "(cached) $ECHO_C" >&6
84071 else
84072
84073
84074
84075 ac_ext=cc
84076 ac_cpp='$CXXCPP $CPPFLAGS'
84077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84080
84081 cat >conftest.$ac_ext <<_ACEOF
84082 /* confdefs.h. */
84083 _ACEOF
84084 cat confdefs.h >>conftest.$ac_ext
84085 cat >>conftest.$ac_ext <<_ACEOF
84086 /* end confdefs.h. */
84087 #include <math.h>
84088 int
84089 main ()
84090 {
84091 __builtin_sqrtf(0);
84092 ;
84093 return 0;
84094 }
84095 _ACEOF
84096 rm -f conftest.$ac_objext
84097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84098 (eval $ac_compile) 2>conftest.er1
84099 ac_status=$?
84100 grep -v '^ *+' conftest.er1 >conftest.err
84101 rm -f conftest.er1
84102 cat conftest.err >&5
84103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84104 (exit $ac_status); } &&
84105 { ac_try='test -z "$ac_cxx_werror_flag"
84106 || test ! -s conftest.err'
84107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84108 (eval $ac_try) 2>&5
84109 ac_status=$?
84110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84111 (exit $ac_status); }; } &&
84112 { ac_try='test -s conftest.$ac_objext'
84113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84114 (eval $ac_try) 2>&5
84115 ac_status=$?
84116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84117 (exit $ac_status); }; }; then
84118 glibcxx_cv_func___builtin_sqrtf_use=yes
84119 else
84120 echo "$as_me: failed program was:" >&5
84121 sed 's/^/| /' conftest.$ac_ext >&5
84122
84123 glibcxx_cv_func___builtin_sqrtf_use=no
84124 fi
84125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84126 ac_ext=c
84127 ac_cpp='$CPP $CPPFLAGS'
84128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84131
84132
84133 fi
84134
84135 fi
84136 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
84137 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
84138 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
84139 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
84140 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
84141 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
84142 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
84143 echo $ECHO_N "(cached) $ECHO_C" >&6
84144 else
84145
84146 if test x$gcc_no_link = xyes; then
84147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84149 { (exit 1); exit 1; }; }
84150 fi
84151 cat >conftest.$ac_ext <<_ACEOF
84152 /* confdefs.h. */
84153 _ACEOF
84154 cat confdefs.h >>conftest.$ac_ext
84155 cat >>conftest.$ac_ext <<_ACEOF
84156 /* end confdefs.h. */
84157 #include <math.h>
84158 int
84159 main ()
84160 {
84161 __builtin_sqrtf(0);
84162 ;
84163 return 0;
84164 }
84165 _ACEOF
84166 rm -f conftest.$ac_objext conftest$ac_exeext
84167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84168 (eval $ac_link) 2>conftest.er1
84169 ac_status=$?
84170 grep -v '^ *+' conftest.er1 >conftest.err
84171 rm -f conftest.er1
84172 cat conftest.err >&5
84173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84174 (exit $ac_status); } &&
84175 { ac_try='test -z "$ac_c_werror_flag"
84176 || test ! -s conftest.err'
84177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84178 (eval $ac_try) 2>&5
84179 ac_status=$?
84180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84181 (exit $ac_status); }; } &&
84182 { ac_try='test -s conftest$ac_exeext'
84183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84184 (eval $ac_try) 2>&5
84185 ac_status=$?
84186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84187 (exit $ac_status); }; }; then
84188 glibcxx_cv_func___builtin_sqrtf_link=yes
84189 else
84190 echo "$as_me: failed program was:" >&5
84191 sed 's/^/| /' conftest.$ac_ext >&5
84192
84193 glibcxx_cv_func___builtin_sqrtf_link=no
84194 fi
84195 rm -f conftest.err conftest.$ac_objext \
84196 conftest$ac_exeext conftest.$ac_ext
84197
84198 fi
84199
84200 fi
84201 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
84202 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
84203
84204 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
84205
84206 cat >>confdefs.h <<\_ACEOF
84207 #define HAVE___BUILTIN_SQRTF 1
84208 _ACEOF
84209
84210 fi
84211
84212 fi
84213
84214
84215 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
84216 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
84217 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
84218 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
84219 echo $ECHO_N "(cached) $ECHO_C" >&6
84220 else
84221
84222
84223
84224 ac_ext=cc
84225 ac_cpp='$CXXCPP $CPPFLAGS'
84226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84229
84230 cat >conftest.$ac_ext <<_ACEOF
84231 /* confdefs.h. */
84232 _ACEOF
84233 cat confdefs.h >>conftest.$ac_ext
84234 cat >>conftest.$ac_ext <<_ACEOF
84235 /* end confdefs.h. */
84236 #include <math.h>
84237 int
84238 main ()
84239 {
84240 __builtin_sqrt(0);
84241 ;
84242 return 0;
84243 }
84244 _ACEOF
84245 rm -f conftest.$ac_objext
84246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84247 (eval $ac_compile) 2>conftest.er1
84248 ac_status=$?
84249 grep -v '^ *+' conftest.er1 >conftest.err
84250 rm -f conftest.er1
84251 cat conftest.err >&5
84252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84253 (exit $ac_status); } &&
84254 { ac_try='test -z "$ac_cxx_werror_flag"
84255 || test ! -s conftest.err'
84256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84257 (eval $ac_try) 2>&5
84258 ac_status=$?
84259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84260 (exit $ac_status); }; } &&
84261 { ac_try='test -s conftest.$ac_objext'
84262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84263 (eval $ac_try) 2>&5
84264 ac_status=$?
84265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84266 (exit $ac_status); }; }; then
84267 glibcxx_cv_func___builtin_sqrt_use=yes
84268 else
84269 echo "$as_me: failed program was:" >&5
84270 sed 's/^/| /' conftest.$ac_ext >&5
84271
84272 glibcxx_cv_func___builtin_sqrt_use=no
84273 fi
84274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84275 ac_ext=c
84276 ac_cpp='$CPP $CPPFLAGS'
84277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84280
84281
84282 fi
84283
84284 fi
84285 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
84286 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
84287 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
84288 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
84289 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
84290 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
84291 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
84292 echo $ECHO_N "(cached) $ECHO_C" >&6
84293 else
84294
84295 if test x$gcc_no_link = xyes; then
84296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84298 { (exit 1); exit 1; }; }
84299 fi
84300 cat >conftest.$ac_ext <<_ACEOF
84301 /* confdefs.h. */
84302 _ACEOF
84303 cat confdefs.h >>conftest.$ac_ext
84304 cat >>conftest.$ac_ext <<_ACEOF
84305 /* end confdefs.h. */
84306 #include <math.h>
84307 int
84308 main ()
84309 {
84310 __builtin_sqrt(0);
84311 ;
84312 return 0;
84313 }
84314 _ACEOF
84315 rm -f conftest.$ac_objext conftest$ac_exeext
84316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84317 (eval $ac_link) 2>conftest.er1
84318 ac_status=$?
84319 grep -v '^ *+' conftest.er1 >conftest.err
84320 rm -f conftest.er1
84321 cat conftest.err >&5
84322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84323 (exit $ac_status); } &&
84324 { ac_try='test -z "$ac_c_werror_flag"
84325 || test ! -s conftest.err'
84326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84327 (eval $ac_try) 2>&5
84328 ac_status=$?
84329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84330 (exit $ac_status); }; } &&
84331 { ac_try='test -s conftest$ac_exeext'
84332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84333 (eval $ac_try) 2>&5
84334 ac_status=$?
84335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84336 (exit $ac_status); }; }; then
84337 glibcxx_cv_func___builtin_sqrt_link=yes
84338 else
84339 echo "$as_me: failed program was:" >&5
84340 sed 's/^/| /' conftest.$ac_ext >&5
84341
84342 glibcxx_cv_func___builtin_sqrt_link=no
84343 fi
84344 rm -f conftest.err conftest.$ac_objext \
84345 conftest$ac_exeext conftest.$ac_ext
84346
84347 fi
84348
84349 fi
84350 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
84351 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
84352
84353 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
84354
84355 cat >>confdefs.h <<\_ACEOF
84356 #define HAVE___BUILTIN_SQRT 1
84357 _ACEOF
84358
84359 fi
84360
84361 fi
84362
84363
84364 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
84365 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
84366 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
84367 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
84368 echo $ECHO_N "(cached) $ECHO_C" >&6
84369 else
84370
84371
84372
84373 ac_ext=cc
84374 ac_cpp='$CXXCPP $CPPFLAGS'
84375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84378
84379 cat >conftest.$ac_ext <<_ACEOF
84380 /* confdefs.h. */
84381 _ACEOF
84382 cat confdefs.h >>conftest.$ac_ext
84383 cat >>conftest.$ac_ext <<_ACEOF
84384 /* end confdefs.h. */
84385 #include <math.h>
84386 int
84387 main ()
84388 {
84389 __builtin_sqrtl(0);
84390 ;
84391 return 0;
84392 }
84393 _ACEOF
84394 rm -f conftest.$ac_objext
84395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84396 (eval $ac_compile) 2>conftest.er1
84397 ac_status=$?
84398 grep -v '^ *+' conftest.er1 >conftest.err
84399 rm -f conftest.er1
84400 cat conftest.err >&5
84401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84402 (exit $ac_status); } &&
84403 { ac_try='test -z "$ac_cxx_werror_flag"
84404 || test ! -s conftest.err'
84405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84406 (eval $ac_try) 2>&5
84407 ac_status=$?
84408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84409 (exit $ac_status); }; } &&
84410 { ac_try='test -s conftest.$ac_objext'
84411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84412 (eval $ac_try) 2>&5
84413 ac_status=$?
84414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84415 (exit $ac_status); }; }; then
84416 glibcxx_cv_func___builtin_sqrtl_use=yes
84417 else
84418 echo "$as_me: failed program was:" >&5
84419 sed 's/^/| /' conftest.$ac_ext >&5
84420
84421 glibcxx_cv_func___builtin_sqrtl_use=no
84422 fi
84423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84424 ac_ext=c
84425 ac_cpp='$CPP $CPPFLAGS'
84426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84429
84430
84431 fi
84432
84433 fi
84434 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
84435 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
84436 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
84437 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
84438 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
84439 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
84440 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
84441 echo $ECHO_N "(cached) $ECHO_C" >&6
84442 else
84443
84444 if test x$gcc_no_link = xyes; then
84445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84447 { (exit 1); exit 1; }; }
84448 fi
84449 cat >conftest.$ac_ext <<_ACEOF
84450 /* confdefs.h. */
84451 _ACEOF
84452 cat confdefs.h >>conftest.$ac_ext
84453 cat >>conftest.$ac_ext <<_ACEOF
84454 /* end confdefs.h. */
84455 #include <math.h>
84456 int
84457 main ()
84458 {
84459 __builtin_sqrtl(0);
84460 ;
84461 return 0;
84462 }
84463 _ACEOF
84464 rm -f conftest.$ac_objext conftest$ac_exeext
84465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84466 (eval $ac_link) 2>conftest.er1
84467 ac_status=$?
84468 grep -v '^ *+' conftest.er1 >conftest.err
84469 rm -f conftest.er1
84470 cat conftest.err >&5
84471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84472 (exit $ac_status); } &&
84473 { ac_try='test -z "$ac_c_werror_flag"
84474 || test ! -s conftest.err'
84475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84476 (eval $ac_try) 2>&5
84477 ac_status=$?
84478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84479 (exit $ac_status); }; } &&
84480 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
84486 glibcxx_cv_func___builtin_sqrtl_link=yes
84487 else
84488 echo "$as_me: failed program was:" >&5
84489 sed 's/^/| /' conftest.$ac_ext >&5
84490
84491 glibcxx_cv_func___builtin_sqrtl_link=no
84492 fi
84493 rm -f conftest.err conftest.$ac_objext \
84494 conftest$ac_exeext conftest.$ac_ext
84495
84496 fi
84497
84498 fi
84499 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
84500 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
84501
84502 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
84503
84504 cat >>confdefs.h <<\_ACEOF
84505 #define HAVE___BUILTIN_SQRTL 1
84506 _ACEOF
84507
84508 fi
84509
84510 fi
84511
84512
84513
84514 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
84515 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
84516 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
84517 if test "${glibcxx_cv_func___builtin_sinf_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 int
84537 main ()
84538 {
84539 __builtin_sinf(0);
84540 ;
84541 return 0;
84542 }
84543 _ACEOF
84544 rm -f conftest.$ac_objext
84545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84546 (eval $ac_compile) 2>conftest.er1
84547 ac_status=$?
84548 grep -v '^ *+' conftest.er1 >conftest.err
84549 rm -f conftest.er1
84550 cat conftest.err >&5
84551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84552 (exit $ac_status); } &&
84553 { ac_try='test -z "$ac_cxx_werror_flag"
84554 || test ! -s conftest.err'
84555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84556 (eval $ac_try) 2>&5
84557 ac_status=$?
84558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84559 (exit $ac_status); }; } &&
84560 { ac_try='test -s conftest.$ac_objext'
84561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84562 (eval $ac_try) 2>&5
84563 ac_status=$?
84564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84565 (exit $ac_status); }; }; then
84566 glibcxx_cv_func___builtin_sinf_use=yes
84567 else
84568 echo "$as_me: failed program was:" >&5
84569 sed 's/^/| /' conftest.$ac_ext >&5
84570
84571 glibcxx_cv_func___builtin_sinf_use=no
84572 fi
84573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84574 ac_ext=c
84575 ac_cpp='$CPP $CPPFLAGS'
84576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84579
84580
84581 fi
84582
84583 fi
84584 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
84585 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
84586 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
84587 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
84588 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
84589 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
84590 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
84591 echo $ECHO_N "(cached) $ECHO_C" >&6
84592 else
84593
84594 if test x$gcc_no_link = xyes; then
84595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84597 { (exit 1); exit 1; }; }
84598 fi
84599 cat >conftest.$ac_ext <<_ACEOF
84600 /* confdefs.h. */
84601 _ACEOF
84602 cat confdefs.h >>conftest.$ac_ext
84603 cat >>conftest.$ac_ext <<_ACEOF
84604 /* end confdefs.h. */
84605 #include <math.h>
84606 int
84607 main ()
84608 {
84609 __builtin_sinf(0);
84610 ;
84611 return 0;
84612 }
84613 _ACEOF
84614 rm -f conftest.$ac_objext conftest$ac_exeext
84615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84616 (eval $ac_link) 2>conftest.er1
84617 ac_status=$?
84618 grep -v '^ *+' conftest.er1 >conftest.err
84619 rm -f conftest.er1
84620 cat conftest.err >&5
84621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84622 (exit $ac_status); } &&
84623 { ac_try='test -z "$ac_c_werror_flag"
84624 || test ! -s conftest.err'
84625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84626 (eval $ac_try) 2>&5
84627 ac_status=$?
84628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84629 (exit $ac_status); }; } &&
84630 { ac_try='test -s conftest$ac_exeext'
84631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84632 (eval $ac_try) 2>&5
84633 ac_status=$?
84634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84635 (exit $ac_status); }; }; then
84636 glibcxx_cv_func___builtin_sinf_link=yes
84637 else
84638 echo "$as_me: failed program was:" >&5
84639 sed 's/^/| /' conftest.$ac_ext >&5
84640
84641 glibcxx_cv_func___builtin_sinf_link=no
84642 fi
84643 rm -f conftest.err conftest.$ac_objext \
84644 conftest$ac_exeext conftest.$ac_ext
84645
84646 fi
84647
84648 fi
84649 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
84650 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
84651
84652 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
84653
84654 cat >>confdefs.h <<\_ACEOF
84655 #define HAVE___BUILTIN_SINF 1
84656 _ACEOF
84657
84658 fi
84659
84660 fi
84661
84662
84663 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
84664 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
84665 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
84666 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
84667 echo $ECHO_N "(cached) $ECHO_C" >&6
84668 else
84669
84670
84671
84672 ac_ext=cc
84673 ac_cpp='$CXXCPP $CPPFLAGS'
84674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84677
84678 cat >conftest.$ac_ext <<_ACEOF
84679 /* confdefs.h. */
84680 _ACEOF
84681 cat confdefs.h >>conftest.$ac_ext
84682 cat >>conftest.$ac_ext <<_ACEOF
84683 /* end confdefs.h. */
84684 #include <math.h>
84685 int
84686 main ()
84687 {
84688 __builtin_sin(0);
84689 ;
84690 return 0;
84691 }
84692 _ACEOF
84693 rm -f conftest.$ac_objext
84694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84695 (eval $ac_compile) 2>conftest.er1
84696 ac_status=$?
84697 grep -v '^ *+' conftest.er1 >conftest.err
84698 rm -f conftest.er1
84699 cat conftest.err >&5
84700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84701 (exit $ac_status); } &&
84702 { ac_try='test -z "$ac_cxx_werror_flag"
84703 || test ! -s conftest.err'
84704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84705 (eval $ac_try) 2>&5
84706 ac_status=$?
84707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84708 (exit $ac_status); }; } &&
84709 { ac_try='test -s conftest.$ac_objext'
84710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84711 (eval $ac_try) 2>&5
84712 ac_status=$?
84713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84714 (exit $ac_status); }; }; then
84715 glibcxx_cv_func___builtin_sin_use=yes
84716 else
84717 echo "$as_me: failed program was:" >&5
84718 sed 's/^/| /' conftest.$ac_ext >&5
84719
84720 glibcxx_cv_func___builtin_sin_use=no
84721 fi
84722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84723 ac_ext=c
84724 ac_cpp='$CPP $CPPFLAGS'
84725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84728
84729
84730 fi
84731
84732 fi
84733 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
84734 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
84735 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
84736 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
84737 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
84738 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
84739 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
84740 echo $ECHO_N "(cached) $ECHO_C" >&6
84741 else
84742
84743 if test x$gcc_no_link = xyes; then
84744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84746 { (exit 1); exit 1; }; }
84747 fi
84748 cat >conftest.$ac_ext <<_ACEOF
84749 /* confdefs.h. */
84750 _ACEOF
84751 cat confdefs.h >>conftest.$ac_ext
84752 cat >>conftest.$ac_ext <<_ACEOF
84753 /* end confdefs.h. */
84754 #include <math.h>
84755 int
84756 main ()
84757 {
84758 __builtin_sin(0);
84759 ;
84760 return 0;
84761 }
84762 _ACEOF
84763 rm -f conftest.$ac_objext conftest$ac_exeext
84764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84765 (eval $ac_link) 2>conftest.er1
84766 ac_status=$?
84767 grep -v '^ *+' conftest.er1 >conftest.err
84768 rm -f conftest.er1
84769 cat conftest.err >&5
84770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84771 (exit $ac_status); } &&
84772 { ac_try='test -z "$ac_c_werror_flag"
84773 || test ! -s conftest.err'
84774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84775 (eval $ac_try) 2>&5
84776 ac_status=$?
84777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84778 (exit $ac_status); }; } &&
84779 { ac_try='test -s conftest$ac_exeext'
84780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84781 (eval $ac_try) 2>&5
84782 ac_status=$?
84783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84784 (exit $ac_status); }; }; then
84785 glibcxx_cv_func___builtin_sin_link=yes
84786 else
84787 echo "$as_me: failed program was:" >&5
84788 sed 's/^/| /' conftest.$ac_ext >&5
84789
84790 glibcxx_cv_func___builtin_sin_link=no
84791 fi
84792 rm -f conftest.err conftest.$ac_objext \
84793 conftest$ac_exeext conftest.$ac_ext
84794
84795 fi
84796
84797 fi
84798 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
84799 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
84800
84801 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
84802
84803 cat >>confdefs.h <<\_ACEOF
84804 #define HAVE___BUILTIN_SIN 1
84805 _ACEOF
84806
84807 fi
84808
84809 fi
84810
84811
84812 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
84813 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
84814 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
84815 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
84816 echo $ECHO_N "(cached) $ECHO_C" >&6
84817 else
84818
84819
84820
84821 ac_ext=cc
84822 ac_cpp='$CXXCPP $CPPFLAGS'
84823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84826
84827 cat >conftest.$ac_ext <<_ACEOF
84828 /* confdefs.h. */
84829 _ACEOF
84830 cat confdefs.h >>conftest.$ac_ext
84831 cat >>conftest.$ac_ext <<_ACEOF
84832 /* end confdefs.h. */
84833 #include <math.h>
84834 int
84835 main ()
84836 {
84837 __builtin_sinl(0);
84838 ;
84839 return 0;
84840 }
84841 _ACEOF
84842 rm -f conftest.$ac_objext
84843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84844 (eval $ac_compile) 2>conftest.er1
84845 ac_status=$?
84846 grep -v '^ *+' conftest.er1 >conftest.err
84847 rm -f conftest.er1
84848 cat conftest.err >&5
84849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84850 (exit $ac_status); } &&
84851 { ac_try='test -z "$ac_cxx_werror_flag"
84852 || test ! -s conftest.err'
84853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84854 (eval $ac_try) 2>&5
84855 ac_status=$?
84856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84857 (exit $ac_status); }; } &&
84858 { ac_try='test -s conftest.$ac_objext'
84859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84860 (eval $ac_try) 2>&5
84861 ac_status=$?
84862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84863 (exit $ac_status); }; }; then
84864 glibcxx_cv_func___builtin_sinl_use=yes
84865 else
84866 echo "$as_me: failed program was:" >&5
84867 sed 's/^/| /' conftest.$ac_ext >&5
84868
84869 glibcxx_cv_func___builtin_sinl_use=no
84870 fi
84871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84872 ac_ext=c
84873 ac_cpp='$CPP $CPPFLAGS'
84874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84877
84878
84879 fi
84880
84881 fi
84882 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
84883 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
84884 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
84885 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
84886 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
84887 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
84888 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
84889 echo $ECHO_N "(cached) $ECHO_C" >&6
84890 else
84891
84892 if test x$gcc_no_link = xyes; then
84893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84895 { (exit 1); exit 1; }; }
84896 fi
84897 cat >conftest.$ac_ext <<_ACEOF
84898 /* confdefs.h. */
84899 _ACEOF
84900 cat confdefs.h >>conftest.$ac_ext
84901 cat >>conftest.$ac_ext <<_ACEOF
84902 /* end confdefs.h. */
84903 #include <math.h>
84904 int
84905 main ()
84906 {
84907 __builtin_sinl(0);
84908 ;
84909 return 0;
84910 }
84911 _ACEOF
84912 rm -f conftest.$ac_objext conftest$ac_exeext
84913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84914 (eval $ac_link) 2>conftest.er1
84915 ac_status=$?
84916 grep -v '^ *+' conftest.er1 >conftest.err
84917 rm -f conftest.er1
84918 cat conftest.err >&5
84919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84920 (exit $ac_status); } &&
84921 { ac_try='test -z "$ac_c_werror_flag"
84922 || test ! -s conftest.err'
84923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84924 (eval $ac_try) 2>&5
84925 ac_status=$?
84926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84927 (exit $ac_status); }; } &&
84928 { ac_try='test -s conftest$ac_exeext'
84929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84930 (eval $ac_try) 2>&5
84931 ac_status=$?
84932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84933 (exit $ac_status); }; }; then
84934 glibcxx_cv_func___builtin_sinl_link=yes
84935 else
84936 echo "$as_me: failed program was:" >&5
84937 sed 's/^/| /' conftest.$ac_ext >&5
84938
84939 glibcxx_cv_func___builtin_sinl_link=no
84940 fi
84941 rm -f conftest.err conftest.$ac_objext \
84942 conftest$ac_exeext conftest.$ac_ext
84943
84944 fi
84945
84946 fi
84947 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
84948 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
84949
84950 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
84951
84952 cat >>confdefs.h <<\_ACEOF
84953 #define HAVE___BUILTIN_SINL 1
84954 _ACEOF
84955
84956 fi
84957
84958 fi
84959
84960
84961
84962 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
84963 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
84964 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
84965 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
84966 echo $ECHO_N "(cached) $ECHO_C" >&6
84967 else
84968
84969
84970
84971 ac_ext=cc
84972 ac_cpp='$CXXCPP $CPPFLAGS'
84973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84976
84977 cat >conftest.$ac_ext <<_ACEOF
84978 /* confdefs.h. */
84979 _ACEOF
84980 cat confdefs.h >>conftest.$ac_ext
84981 cat >>conftest.$ac_ext <<_ACEOF
84982 /* end confdefs.h. */
84983 #include <math.h>
84984 int
84985 main ()
84986 {
84987 __builtin_cosf(0);
84988 ;
84989 return 0;
84990 }
84991 _ACEOF
84992 rm -f conftest.$ac_objext
84993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84994 (eval $ac_compile) 2>conftest.er1
84995 ac_status=$?
84996 grep -v '^ *+' conftest.er1 >conftest.err
84997 rm -f conftest.er1
84998 cat conftest.err >&5
84999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85000 (exit $ac_status); } &&
85001 { ac_try='test -z "$ac_cxx_werror_flag"
85002 || test ! -s conftest.err'
85003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85004 (eval $ac_try) 2>&5
85005 ac_status=$?
85006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85007 (exit $ac_status); }; } &&
85008 { ac_try='test -s conftest.$ac_objext'
85009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85010 (eval $ac_try) 2>&5
85011 ac_status=$?
85012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85013 (exit $ac_status); }; }; then
85014 glibcxx_cv_func___builtin_cosf_use=yes
85015 else
85016 echo "$as_me: failed program was:" >&5
85017 sed 's/^/| /' conftest.$ac_ext >&5
85018
85019 glibcxx_cv_func___builtin_cosf_use=no
85020 fi
85021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85022 ac_ext=c
85023 ac_cpp='$CPP $CPPFLAGS'
85024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85027
85028
85029 fi
85030
85031 fi
85032 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
85033 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
85034 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
85035 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
85036 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
85037 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
85038 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
85039 echo $ECHO_N "(cached) $ECHO_C" >&6
85040 else
85041
85042 if test x$gcc_no_link = xyes; then
85043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85045 { (exit 1); exit 1; }; }
85046 fi
85047 cat >conftest.$ac_ext <<_ACEOF
85048 /* confdefs.h. */
85049 _ACEOF
85050 cat confdefs.h >>conftest.$ac_ext
85051 cat >>conftest.$ac_ext <<_ACEOF
85052 /* end confdefs.h. */
85053 #include <math.h>
85054 int
85055 main ()
85056 {
85057 __builtin_cosf(0);
85058 ;
85059 return 0;
85060 }
85061 _ACEOF
85062 rm -f conftest.$ac_objext conftest$ac_exeext
85063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85064 (eval $ac_link) 2>conftest.er1
85065 ac_status=$?
85066 grep -v '^ *+' conftest.er1 >conftest.err
85067 rm -f conftest.er1
85068 cat conftest.err >&5
85069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85070 (exit $ac_status); } &&
85071 { ac_try='test -z "$ac_c_werror_flag"
85072 || test ! -s conftest.err'
85073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85074 (eval $ac_try) 2>&5
85075 ac_status=$?
85076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85077 (exit $ac_status); }; } &&
85078 { ac_try='test -s conftest$ac_exeext'
85079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85080 (eval $ac_try) 2>&5
85081 ac_status=$?
85082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85083 (exit $ac_status); }; }; then
85084 glibcxx_cv_func___builtin_cosf_link=yes
85085 else
85086 echo "$as_me: failed program was:" >&5
85087 sed 's/^/| /' conftest.$ac_ext >&5
85088
85089 glibcxx_cv_func___builtin_cosf_link=no
85090 fi
85091 rm -f conftest.err conftest.$ac_objext \
85092 conftest$ac_exeext conftest.$ac_ext
85093
85094 fi
85095
85096 fi
85097 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
85098 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
85099
85100 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
85101
85102 cat >>confdefs.h <<\_ACEOF
85103 #define HAVE___BUILTIN_COSF 1
85104 _ACEOF
85105
85106 fi
85107
85108 fi
85109
85110
85111 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
85112 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
85113 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
85114 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
85115 echo $ECHO_N "(cached) $ECHO_C" >&6
85116 else
85117
85118
85119
85120 ac_ext=cc
85121 ac_cpp='$CXXCPP $CPPFLAGS'
85122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85125
85126 cat >conftest.$ac_ext <<_ACEOF
85127 /* confdefs.h. */
85128 _ACEOF
85129 cat confdefs.h >>conftest.$ac_ext
85130 cat >>conftest.$ac_ext <<_ACEOF
85131 /* end confdefs.h. */
85132 #include <math.h>
85133 int
85134 main ()
85135 {
85136 __builtin_cos(0);
85137 ;
85138 return 0;
85139 }
85140 _ACEOF
85141 rm -f conftest.$ac_objext
85142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85143 (eval $ac_compile) 2>conftest.er1
85144 ac_status=$?
85145 grep -v '^ *+' conftest.er1 >conftest.err
85146 rm -f conftest.er1
85147 cat conftest.err >&5
85148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85149 (exit $ac_status); } &&
85150 { ac_try='test -z "$ac_cxx_werror_flag"
85151 || test ! -s conftest.err'
85152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85153 (eval $ac_try) 2>&5
85154 ac_status=$?
85155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85156 (exit $ac_status); }; } &&
85157 { ac_try='test -s conftest.$ac_objext'
85158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85159 (eval $ac_try) 2>&5
85160 ac_status=$?
85161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85162 (exit $ac_status); }; }; then
85163 glibcxx_cv_func___builtin_cos_use=yes
85164 else
85165 echo "$as_me: failed program was:" >&5
85166 sed 's/^/| /' conftest.$ac_ext >&5
85167
85168 glibcxx_cv_func___builtin_cos_use=no
85169 fi
85170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85171 ac_ext=c
85172 ac_cpp='$CPP $CPPFLAGS'
85173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85176
85177
85178 fi
85179
85180 fi
85181 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
85182 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
85183 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
85184 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
85185 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
85186 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
85187 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
85188 echo $ECHO_N "(cached) $ECHO_C" >&6
85189 else
85190
85191 if test x$gcc_no_link = xyes; then
85192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85194 { (exit 1); exit 1; }; }
85195 fi
85196 cat >conftest.$ac_ext <<_ACEOF
85197 /* confdefs.h. */
85198 _ACEOF
85199 cat confdefs.h >>conftest.$ac_ext
85200 cat >>conftest.$ac_ext <<_ACEOF
85201 /* end confdefs.h. */
85202 #include <math.h>
85203 int
85204 main ()
85205 {
85206 __builtin_cos(0);
85207 ;
85208 return 0;
85209 }
85210 _ACEOF
85211 rm -f conftest.$ac_objext conftest$ac_exeext
85212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85213 (eval $ac_link) 2>conftest.er1
85214 ac_status=$?
85215 grep -v '^ *+' conftest.er1 >conftest.err
85216 rm -f conftest.er1
85217 cat conftest.err >&5
85218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85219 (exit $ac_status); } &&
85220 { ac_try='test -z "$ac_c_werror_flag"
85221 || test ! -s conftest.err'
85222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85223 (eval $ac_try) 2>&5
85224 ac_status=$?
85225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85226 (exit $ac_status); }; } &&
85227 { ac_try='test -s conftest$ac_exeext'
85228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85229 (eval $ac_try) 2>&5
85230 ac_status=$?
85231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85232 (exit $ac_status); }; }; then
85233 glibcxx_cv_func___builtin_cos_link=yes
85234 else
85235 echo "$as_me: failed program was:" >&5
85236 sed 's/^/| /' conftest.$ac_ext >&5
85237
85238 glibcxx_cv_func___builtin_cos_link=no
85239 fi
85240 rm -f conftest.err conftest.$ac_objext \
85241 conftest$ac_exeext conftest.$ac_ext
85242
85243 fi
85244
85245 fi
85246 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
85247 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
85248
85249 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
85250
85251 cat >>confdefs.h <<\_ACEOF
85252 #define HAVE___BUILTIN_COS 1
85253 _ACEOF
85254
85255 fi
85256
85257 fi
85258
85259
85260 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
85261 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
85262 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
85263 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
85264 echo $ECHO_N "(cached) $ECHO_C" >&6
85265 else
85266
85267
85268
85269 ac_ext=cc
85270 ac_cpp='$CXXCPP $CPPFLAGS'
85271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85274
85275 cat >conftest.$ac_ext <<_ACEOF
85276 /* confdefs.h. */
85277 _ACEOF
85278 cat confdefs.h >>conftest.$ac_ext
85279 cat >>conftest.$ac_ext <<_ACEOF
85280 /* end confdefs.h. */
85281 #include <math.h>
85282 int
85283 main ()
85284 {
85285 __builtin_cosl(0);
85286 ;
85287 return 0;
85288 }
85289 _ACEOF
85290 rm -f conftest.$ac_objext
85291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85292 (eval $ac_compile) 2>conftest.er1
85293 ac_status=$?
85294 grep -v '^ *+' conftest.er1 >conftest.err
85295 rm -f conftest.er1
85296 cat conftest.err >&5
85297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85298 (exit $ac_status); } &&
85299 { ac_try='test -z "$ac_cxx_werror_flag"
85300 || test ! -s conftest.err'
85301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85302 (eval $ac_try) 2>&5
85303 ac_status=$?
85304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85305 (exit $ac_status); }; } &&
85306 { ac_try='test -s conftest.$ac_objext'
85307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85308 (eval $ac_try) 2>&5
85309 ac_status=$?
85310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85311 (exit $ac_status); }; }; then
85312 glibcxx_cv_func___builtin_cosl_use=yes
85313 else
85314 echo "$as_me: failed program was:" >&5
85315 sed 's/^/| /' conftest.$ac_ext >&5
85316
85317 glibcxx_cv_func___builtin_cosl_use=no
85318 fi
85319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85320 ac_ext=c
85321 ac_cpp='$CPP $CPPFLAGS'
85322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85325
85326
85327 fi
85328
85329 fi
85330 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
85331 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
85332 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
85333 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
85334 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
85335 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
85336 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
85337 echo $ECHO_N "(cached) $ECHO_C" >&6
85338 else
85339
85340 if test x$gcc_no_link = xyes; then
85341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85343 { (exit 1); exit 1; }; }
85344 fi
85345 cat >conftest.$ac_ext <<_ACEOF
85346 /* confdefs.h. */
85347 _ACEOF
85348 cat confdefs.h >>conftest.$ac_ext
85349 cat >>conftest.$ac_ext <<_ACEOF
85350 /* end confdefs.h. */
85351 #include <math.h>
85352 int
85353 main ()
85354 {
85355 __builtin_cosl(0);
85356 ;
85357 return 0;
85358 }
85359 _ACEOF
85360 rm -f conftest.$ac_objext conftest$ac_exeext
85361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85362 (eval $ac_link) 2>conftest.er1
85363 ac_status=$?
85364 grep -v '^ *+' conftest.er1 >conftest.err
85365 rm -f conftest.er1
85366 cat conftest.err >&5
85367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85368 (exit $ac_status); } &&
85369 { ac_try='test -z "$ac_c_werror_flag"
85370 || test ! -s conftest.err'
85371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85372 (eval $ac_try) 2>&5
85373 ac_status=$?
85374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85375 (exit $ac_status); }; } &&
85376 { ac_try='test -s conftest$ac_exeext'
85377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85378 (eval $ac_try) 2>&5
85379 ac_status=$?
85380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85381 (exit $ac_status); }; }; then
85382 glibcxx_cv_func___builtin_cosl_link=yes
85383 else
85384 echo "$as_me: failed program was:" >&5
85385 sed 's/^/| /' conftest.$ac_ext >&5
85386
85387 glibcxx_cv_func___builtin_cosl_link=no
85388 fi
85389 rm -f conftest.err conftest.$ac_objext \
85390 conftest$ac_exeext conftest.$ac_ext
85391
85392 fi
85393
85394 fi
85395 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
85396 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
85397
85398 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
85399
85400 cat >>confdefs.h <<\_ACEOF
85401 #define HAVE___BUILTIN_COSL 1
85402 _ACEOF
85403
85404 fi
85405
85406 fi
85407
85408
85409
85410
85411 echo "$as_me:$LINENO: checking for main in -lm" >&5
85412 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85413 if test "${ac_cv_lib_m_main+set}" = set; then
85414 echo $ECHO_N "(cached) $ECHO_C" >&6
85415 else
85416 ac_check_lib_save_LIBS=$LIBS
85417 LIBS="-lm $LIBS"
85418 if test x$gcc_no_link = xyes; then
85419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85421 { (exit 1); exit 1; }; }
85422 fi
85423 cat >conftest.$ac_ext <<_ACEOF
85424 /* confdefs.h. */
85425 _ACEOF
85426 cat confdefs.h >>conftest.$ac_ext
85427 cat >>conftest.$ac_ext <<_ACEOF
85428 /* end confdefs.h. */
85429
85430
85431 int
85432 main ()
85433 {
85434 main ();
85435 ;
85436 return 0;
85437 }
85438 _ACEOF
85439 rm -f conftest.$ac_objext conftest$ac_exeext
85440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85441 (eval $ac_link) 2>conftest.er1
85442 ac_status=$?
85443 grep -v '^ *+' conftest.er1 >conftest.err
85444 rm -f conftest.er1
85445 cat conftest.err >&5
85446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85447 (exit $ac_status); } &&
85448 { ac_try='test -z "$ac_c_werror_flag"
85449 || test ! -s conftest.err'
85450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85451 (eval $ac_try) 2>&5
85452 ac_status=$?
85453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85454 (exit $ac_status); }; } &&
85455 { ac_try='test -s conftest$ac_exeext'
85456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85457 (eval $ac_try) 2>&5
85458 ac_status=$?
85459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85460 (exit $ac_status); }; }; then
85461 ac_cv_lib_m_main=yes
85462 else
85463 echo "$as_me: failed program was:" >&5
85464 sed 's/^/| /' conftest.$ac_ext >&5
85465
85466 ac_cv_lib_m_main=no
85467 fi
85468 rm -f conftest.err conftest.$ac_objext \
85469 conftest$ac_exeext conftest.$ac_ext
85470 LIBS=$ac_check_lib_save_LIBS
85471 fi
85472 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85473 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85474 if test $ac_cv_lib_m_main = yes; then
85475 cat >>confdefs.h <<_ACEOF
85476 #define HAVE_LIBM 1
85477 _ACEOF
85478
85479 LIBS="-lm $LIBS"
85480
85481 fi
85482
85483
85484 for ac_func in copysignf
85485 do
85486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85487 echo "$as_me:$LINENO: checking for $ac_func" >&5
85488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85489 if eval "test \"\${$as_ac_var+set}\" = set"; then
85490 echo $ECHO_N "(cached) $ECHO_C" >&6
85491 else
85492 if test x$gcc_no_link = xyes; then
85493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85495 { (exit 1); exit 1; }; }
85496 fi
85497 cat >conftest.$ac_ext <<_ACEOF
85498 /* confdefs.h. */
85499 _ACEOF
85500 cat confdefs.h >>conftest.$ac_ext
85501 cat >>conftest.$ac_ext <<_ACEOF
85502 /* end confdefs.h. */
85503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85505 #define $ac_func innocuous_$ac_func
85506
85507 /* System header to define __stub macros and hopefully few prototypes,
85508 which can conflict with char $ac_func (); below.
85509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85510 <limits.h> exists even on freestanding compilers. */
85511
85512 #ifdef __STDC__
85513 # include <limits.h>
85514 #else
85515 # include <assert.h>
85516 #endif
85517
85518 #undef $ac_func
85519
85520 /* Override any gcc2 internal prototype to avoid an error. */
85521 #ifdef __cplusplus
85522 extern "C"
85523 {
85524 #endif
85525 /* We use char because int might match the return type of a gcc2
85526 builtin and then its argument prototype would still apply. */
85527 char $ac_func ();
85528 /* The GNU C library defines this for functions which it implements
85529 to always fail with ENOSYS. Some functions are actually named
85530 something starting with __ and the normal name is an alias. */
85531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85532 choke me
85533 #else
85534 char (*f) () = $ac_func;
85535 #endif
85536 #ifdef __cplusplus
85537 }
85538 #endif
85539
85540 int
85541 main ()
85542 {
85543 return f != $ac_func;
85544 ;
85545 return 0;
85546 }
85547 _ACEOF
85548 rm -f conftest.$ac_objext conftest$ac_exeext
85549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85550 (eval $ac_link) 2>conftest.er1
85551 ac_status=$?
85552 grep -v '^ *+' conftest.er1 >conftest.err
85553 rm -f conftest.er1
85554 cat conftest.err >&5
85555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85556 (exit $ac_status); } &&
85557 { ac_try='test -z "$ac_c_werror_flag"
85558 || test ! -s conftest.err'
85559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85560 (eval $ac_try) 2>&5
85561 ac_status=$?
85562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85563 (exit $ac_status); }; } &&
85564 { ac_try='test -s conftest$ac_exeext'
85565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85566 (eval $ac_try) 2>&5
85567 ac_status=$?
85568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85569 (exit $ac_status); }; }; then
85570 eval "$as_ac_var=yes"
85571 else
85572 echo "$as_me: failed program was:" >&5
85573 sed 's/^/| /' conftest.$ac_ext >&5
85574
85575 eval "$as_ac_var=no"
85576 fi
85577 rm -f conftest.err conftest.$ac_objext \
85578 conftest$ac_exeext conftest.$ac_ext
85579 fi
85580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85582 if test `eval echo '${'$as_ac_var'}'` = yes; then
85583 cat >>confdefs.h <<_ACEOF
85584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85585 _ACEOF
85586
85587 else
85588 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85589 fi
85590 done
85591
85592
85593
85594 for ac_func in __signbit
85595 do
85596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85597 echo "$as_me:$LINENO: checking for $ac_func" >&5
85598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85599 if eval "test \"\${$as_ac_var+set}\" = set"; then
85600 echo $ECHO_N "(cached) $ECHO_C" >&6
85601 else
85602 if test x$gcc_no_link = xyes; then
85603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85605 { (exit 1); exit 1; }; }
85606 fi
85607 cat >conftest.$ac_ext <<_ACEOF
85608 /* confdefs.h. */
85609 _ACEOF
85610 cat confdefs.h >>conftest.$ac_ext
85611 cat >>conftest.$ac_ext <<_ACEOF
85612 /* end confdefs.h. */
85613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85615 #define $ac_func innocuous_$ac_func
85616
85617 /* System header to define __stub macros and hopefully few prototypes,
85618 which can conflict with char $ac_func (); below.
85619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85620 <limits.h> exists even on freestanding compilers. */
85621
85622 #ifdef __STDC__
85623 # include <limits.h>
85624 #else
85625 # include <assert.h>
85626 #endif
85627
85628 #undef $ac_func
85629
85630 /* Override any gcc2 internal prototype to avoid an error. */
85631 #ifdef __cplusplus
85632 extern "C"
85633 {
85634 #endif
85635 /* We use char because int might match the return type of a gcc2
85636 builtin and then its argument prototype would still apply. */
85637 char $ac_func ();
85638 /* The GNU C library defines this for functions which it implements
85639 to always fail with ENOSYS. Some functions are actually named
85640 something starting with __ and the normal name is an alias. */
85641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85642 choke me
85643 #else
85644 char (*f) () = $ac_func;
85645 #endif
85646 #ifdef __cplusplus
85647 }
85648 #endif
85649
85650 int
85651 main ()
85652 {
85653 return f != $ac_func;
85654 ;
85655 return 0;
85656 }
85657 _ACEOF
85658 rm -f conftest.$ac_objext conftest$ac_exeext
85659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85660 (eval $ac_link) 2>conftest.er1
85661 ac_status=$?
85662 grep -v '^ *+' conftest.er1 >conftest.err
85663 rm -f conftest.er1
85664 cat conftest.err >&5
85665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85666 (exit $ac_status); } &&
85667 { ac_try='test -z "$ac_c_werror_flag"
85668 || test ! -s conftest.err'
85669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85670 (eval $ac_try) 2>&5
85671 ac_status=$?
85672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85673 (exit $ac_status); }; } &&
85674 { ac_try='test -s conftest$ac_exeext'
85675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85676 (eval $ac_try) 2>&5
85677 ac_status=$?
85678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85679 (exit $ac_status); }; }; then
85680 eval "$as_ac_var=yes"
85681 else
85682 echo "$as_me: failed program was:" >&5
85683 sed 's/^/| /' conftest.$ac_ext >&5
85684
85685 eval "$as_ac_var=no"
85686 fi
85687 rm -f conftest.err conftest.$ac_objext \
85688 conftest$ac_exeext conftest.$ac_ext
85689 fi
85690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85692 if test `eval echo '${'$as_ac_var'}'` = yes; then
85693 cat >>confdefs.h <<_ACEOF
85694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85695 _ACEOF
85696
85697 else
85698 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85699 fi
85700 done
85701
85702
85703
85704 for ac_func in __signbitf
85705 do
85706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85707 echo "$as_me:$LINENO: checking for $ac_func" >&5
85708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85709 if eval "test \"\${$as_ac_var+set}\" = set"; then
85710 echo $ECHO_N "(cached) $ECHO_C" >&6
85711 else
85712 if test x$gcc_no_link = xyes; then
85713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85715 { (exit 1); exit 1; }; }
85716 fi
85717 cat >conftest.$ac_ext <<_ACEOF
85718 /* confdefs.h. */
85719 _ACEOF
85720 cat confdefs.h >>conftest.$ac_ext
85721 cat >>conftest.$ac_ext <<_ACEOF
85722 /* end confdefs.h. */
85723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85725 #define $ac_func innocuous_$ac_func
85726
85727 /* System header to define __stub macros and hopefully few prototypes,
85728 which can conflict with char $ac_func (); below.
85729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85730 <limits.h> exists even on freestanding compilers. */
85731
85732 #ifdef __STDC__
85733 # include <limits.h>
85734 #else
85735 # include <assert.h>
85736 #endif
85737
85738 #undef $ac_func
85739
85740 /* Override any gcc2 internal prototype to avoid an error. */
85741 #ifdef __cplusplus
85742 extern "C"
85743 {
85744 #endif
85745 /* We use char because int might match the return type of a gcc2
85746 builtin and then its argument prototype would still apply. */
85747 char $ac_func ();
85748 /* The GNU C library defines this for functions which it implements
85749 to always fail with ENOSYS. Some functions are actually named
85750 something starting with __ and the normal name is an alias. */
85751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85752 choke me
85753 #else
85754 char (*f) () = $ac_func;
85755 #endif
85756 #ifdef __cplusplus
85757 }
85758 #endif
85759
85760 int
85761 main ()
85762 {
85763 return f != $ac_func;
85764 ;
85765 return 0;
85766 }
85767 _ACEOF
85768 rm -f conftest.$ac_objext conftest$ac_exeext
85769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85770 (eval $ac_link) 2>conftest.er1
85771 ac_status=$?
85772 grep -v '^ *+' conftest.er1 >conftest.err
85773 rm -f conftest.er1
85774 cat conftest.err >&5
85775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85776 (exit $ac_status); } &&
85777 { ac_try='test -z "$ac_c_werror_flag"
85778 || test ! -s conftest.err'
85779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85780 (eval $ac_try) 2>&5
85781 ac_status=$?
85782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85783 (exit $ac_status); }; } &&
85784 { ac_try='test -s conftest$ac_exeext'
85785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85786 (eval $ac_try) 2>&5
85787 ac_status=$?
85788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85789 (exit $ac_status); }; }; then
85790 eval "$as_ac_var=yes"
85791 else
85792 echo "$as_me: failed program was:" >&5
85793 sed 's/^/| /' conftest.$ac_ext >&5
85794
85795 eval "$as_ac_var=no"
85796 fi
85797 rm -f conftest.err conftest.$ac_objext \
85798 conftest$ac_exeext conftest.$ac_ext
85799 fi
85800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85802 if test `eval echo '${'$as_ac_var'}'` = yes; then
85803 cat >>confdefs.h <<_ACEOF
85804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85805 _ACEOF
85806
85807 else
85808 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85809 fi
85810 done
85811
85812
85813 if test x$ac_cv_func_copysignl = x"yes"; then
85814
85815 for ac_func in __signbitl
85816 do
85817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85818 echo "$as_me:$LINENO: checking for $ac_func" >&5
85819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85820 if eval "test \"\${$as_ac_var+set}\" = set"; then
85821 echo $ECHO_N "(cached) $ECHO_C" >&6
85822 else
85823 if test x$gcc_no_link = xyes; then
85824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85826 { (exit 1); exit 1; }; }
85827 fi
85828 cat >conftest.$ac_ext <<_ACEOF
85829 /* confdefs.h. */
85830 _ACEOF
85831 cat confdefs.h >>conftest.$ac_ext
85832 cat >>conftest.$ac_ext <<_ACEOF
85833 /* end confdefs.h. */
85834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85836 #define $ac_func innocuous_$ac_func
85837
85838 /* System header to define __stub macros and hopefully few prototypes,
85839 which can conflict with char $ac_func (); below.
85840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85841 <limits.h> exists even on freestanding compilers. */
85842
85843 #ifdef __STDC__
85844 # include <limits.h>
85845 #else
85846 # include <assert.h>
85847 #endif
85848
85849 #undef $ac_func
85850
85851 /* Override any gcc2 internal prototype to avoid an error. */
85852 #ifdef __cplusplus
85853 extern "C"
85854 {
85855 #endif
85856 /* We use char because int might match the return type of a gcc2
85857 builtin and then its argument prototype would still apply. */
85858 char $ac_func ();
85859 /* The GNU C library defines this for functions which it implements
85860 to always fail with ENOSYS. Some functions are actually named
85861 something starting with __ and the normal name is an alias. */
85862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85863 choke me
85864 #else
85865 char (*f) () = $ac_func;
85866 #endif
85867 #ifdef __cplusplus
85868 }
85869 #endif
85870
85871 int
85872 main ()
85873 {
85874 return f != $ac_func;
85875 ;
85876 return 0;
85877 }
85878 _ACEOF
85879 rm -f conftest.$ac_objext conftest$ac_exeext
85880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85881 (eval $ac_link) 2>conftest.er1
85882 ac_status=$?
85883 grep -v '^ *+' conftest.er1 >conftest.err
85884 rm -f conftest.er1
85885 cat conftest.err >&5
85886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85887 (exit $ac_status); } &&
85888 { ac_try='test -z "$ac_c_werror_flag"
85889 || test ! -s conftest.err'
85890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85891 (eval $ac_try) 2>&5
85892 ac_status=$?
85893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85894 (exit $ac_status); }; } &&
85895 { ac_try='test -s conftest$ac_exeext'
85896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85897 (eval $ac_try) 2>&5
85898 ac_status=$?
85899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85900 (exit $ac_status); }; }; then
85901 eval "$as_ac_var=yes"
85902 else
85903 echo "$as_me: failed program was:" >&5
85904 sed 's/^/| /' conftest.$ac_ext >&5
85905
85906 eval "$as_ac_var=no"
85907 fi
85908 rm -f conftest.err conftest.$ac_objext \
85909 conftest$ac_exeext conftest.$ac_ext
85910 fi
85911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85913 if test `eval echo '${'$as_ac_var'}'` = yes; then
85914 cat >>confdefs.h <<_ACEOF
85915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85916 _ACEOF
85917
85918 else
85919 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85920 fi
85921 done
85922
85923 fi
85924
85925 # Used in libmath/Makefile.am.
85926 if test -n "$LIBMATHOBJS"; then
85927 need_libmath=yes
85928 fi
85929
85930
85931
85932 ac_test_CXXFLAGS="${CXXFLAGS+set}"
85933 ac_save_CXXFLAGS="$CXXFLAGS"
85934 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
85935
85936
85937 echo "$as_me:$LINENO: checking for strtold declaration" >&5
85938 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
85939 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
85940 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
85941 echo $ECHO_N "(cached) $ECHO_C" >&6
85942 else
85943
85944
85945
85946 ac_ext=cc
85947 ac_cpp='$CXXCPP $CPPFLAGS'
85948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85951
85952 cat >conftest.$ac_ext <<_ACEOF
85953 /* confdefs.h. */
85954 _ACEOF
85955 cat confdefs.h >>conftest.$ac_ext
85956 cat >>conftest.$ac_ext <<_ACEOF
85957 /* end confdefs.h. */
85958 #include <stdlib.h>
85959 int
85960 main ()
85961 {
85962 strtold(0, 0);
85963 ;
85964 return 0;
85965 }
85966 _ACEOF
85967 rm -f conftest.$ac_objext
85968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85969 (eval $ac_compile) 2>conftest.er1
85970 ac_status=$?
85971 grep -v '^ *+' conftest.er1 >conftest.err
85972 rm -f conftest.er1
85973 cat conftest.err >&5
85974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85975 (exit $ac_status); } &&
85976 { ac_try='test -z "$ac_cxx_werror_flag"
85977 || test ! -s conftest.err'
85978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85979 (eval $ac_try) 2>&5
85980 ac_status=$?
85981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85982 (exit $ac_status); }; } &&
85983 { ac_try='test -s conftest.$ac_objext'
85984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85985 (eval $ac_try) 2>&5
85986 ac_status=$?
85987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85988 (exit $ac_status); }; }; then
85989 glibcxx_cv_func_strtold_use=yes
85990 else
85991 echo "$as_me: failed program was:" >&5
85992 sed 's/^/| /' conftest.$ac_ext >&5
85993
85994 glibcxx_cv_func_strtold_use=no
85995 fi
85996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85997 ac_ext=c
85998 ac_cpp='$CPP $CPPFLAGS'
85999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86002
86003
86004 fi
86005
86006 fi
86007 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
86008 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
86009 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
86010
86011 for ac_func in strtold
86012 do
86013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86014 echo "$as_me:$LINENO: checking for $ac_func" >&5
86015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86016 if eval "test \"\${$as_ac_var+set}\" = set"; then
86017 echo $ECHO_N "(cached) $ECHO_C" >&6
86018 else
86019 if test x$gcc_no_link = xyes; then
86020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86022 { (exit 1); exit 1; }; }
86023 fi
86024 cat >conftest.$ac_ext <<_ACEOF
86025 /* confdefs.h. */
86026 _ACEOF
86027 cat confdefs.h >>conftest.$ac_ext
86028 cat >>conftest.$ac_ext <<_ACEOF
86029 /* end confdefs.h. */
86030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86032 #define $ac_func innocuous_$ac_func
86033
86034 /* System header to define __stub macros and hopefully few prototypes,
86035 which can conflict with char $ac_func (); below.
86036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86037 <limits.h> exists even on freestanding compilers. */
86038
86039 #ifdef __STDC__
86040 # include <limits.h>
86041 #else
86042 # include <assert.h>
86043 #endif
86044
86045 #undef $ac_func
86046
86047 /* Override any gcc2 internal prototype to avoid an error. */
86048 #ifdef __cplusplus
86049 extern "C"
86050 {
86051 #endif
86052 /* We use char because int might match the return type of a gcc2
86053 builtin and then its argument prototype would still apply. */
86054 char $ac_func ();
86055 /* The GNU C library defines this for functions which it implements
86056 to always fail with ENOSYS. Some functions are actually named
86057 something starting with __ and the normal name is an alias. */
86058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86059 choke me
86060 #else
86061 char (*f) () = $ac_func;
86062 #endif
86063 #ifdef __cplusplus
86064 }
86065 #endif
86066
86067 int
86068 main ()
86069 {
86070 return f != $ac_func;
86071 ;
86072 return 0;
86073 }
86074 _ACEOF
86075 rm -f conftest.$ac_objext conftest$ac_exeext
86076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86077 (eval $ac_link) 2>conftest.er1
86078 ac_status=$?
86079 grep -v '^ *+' conftest.er1 >conftest.err
86080 rm -f conftest.er1
86081 cat conftest.err >&5
86082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86083 (exit $ac_status); } &&
86084 { ac_try='test -z "$ac_c_werror_flag"
86085 || test ! -s conftest.err'
86086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86087 (eval $ac_try) 2>&5
86088 ac_status=$?
86089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86090 (exit $ac_status); }; } &&
86091 { ac_try='test -s conftest$ac_exeext'
86092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86093 (eval $ac_try) 2>&5
86094 ac_status=$?
86095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86096 (exit $ac_status); }; }; then
86097 eval "$as_ac_var=yes"
86098 else
86099 echo "$as_me: failed program was:" >&5
86100 sed 's/^/| /' conftest.$ac_ext >&5
86101
86102 eval "$as_ac_var=no"
86103 fi
86104 rm -f conftest.err conftest.$ac_objext \
86105 conftest$ac_exeext conftest.$ac_ext
86106 fi
86107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86109 if test `eval echo '${'$as_ac_var'}'` = yes; then
86110 cat >>confdefs.h <<_ACEOF
86111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86112 _ACEOF
86113
86114 fi
86115 done
86116
86117 fi
86118
86119
86120
86121
86122
86123 echo "$as_me:$LINENO: checking for strtof declaration" >&5
86124 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
86125 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
86126 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
86127 echo $ECHO_N "(cached) $ECHO_C" >&6
86128 else
86129
86130
86131
86132 ac_ext=cc
86133 ac_cpp='$CXXCPP $CPPFLAGS'
86134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86137
86138 cat >conftest.$ac_ext <<_ACEOF
86139 /* confdefs.h. */
86140 _ACEOF
86141 cat confdefs.h >>conftest.$ac_ext
86142 cat >>conftest.$ac_ext <<_ACEOF
86143 /* end confdefs.h. */
86144 #include <stdlib.h>
86145 int
86146 main ()
86147 {
86148 strtof(0, 0);
86149 ;
86150 return 0;
86151 }
86152 _ACEOF
86153 rm -f conftest.$ac_objext
86154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86155 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_strtof_use=yes
86176 else
86177 echo "$as_me: failed program was:" >&5
86178 sed 's/^/| /' conftest.$ac_ext >&5
86179
86180 glibcxx_cv_func_strtof_use=no
86181 fi
86182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86183 ac_ext=c
86184 ac_cpp='$CPP $CPPFLAGS'
86185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86188
86189
86190 fi
86191
86192 fi
86193 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
86194 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
86195 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
86196
86197 for ac_func in strtof
86198 do
86199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86200 echo "$as_me:$LINENO: checking for $ac_func" >&5
86201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86202 if eval "test \"\${$as_ac_var+set}\" = set"; then
86203 echo $ECHO_N "(cached) $ECHO_C" >&6
86204 else
86205 if test x$gcc_no_link = xyes; then
86206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86208 { (exit 1); exit 1; }; }
86209 fi
86210 cat >conftest.$ac_ext <<_ACEOF
86211 /* confdefs.h. */
86212 _ACEOF
86213 cat confdefs.h >>conftest.$ac_ext
86214 cat >>conftest.$ac_ext <<_ACEOF
86215 /* end confdefs.h. */
86216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86218 #define $ac_func innocuous_$ac_func
86219
86220 /* System header to define __stub macros and hopefully few prototypes,
86221 which can conflict with char $ac_func (); below.
86222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86223 <limits.h> exists even on freestanding compilers. */
86224
86225 #ifdef __STDC__
86226 # include <limits.h>
86227 #else
86228 # include <assert.h>
86229 #endif
86230
86231 #undef $ac_func
86232
86233 /* Override any gcc2 internal prototype to avoid an error. */
86234 #ifdef __cplusplus
86235 extern "C"
86236 {
86237 #endif
86238 /* We use char because int might match the return type of a gcc2
86239 builtin and then its argument prototype would still apply. */
86240 char $ac_func ();
86241 /* The GNU C library defines this for functions which it implements
86242 to always fail with ENOSYS. Some functions are actually named
86243 something starting with __ and the normal name is an alias. */
86244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86245 choke me
86246 #else
86247 char (*f) () = $ac_func;
86248 #endif
86249 #ifdef __cplusplus
86250 }
86251 #endif
86252
86253 int
86254 main ()
86255 {
86256 return f != $ac_func;
86257 ;
86258 return 0;
86259 }
86260 _ACEOF
86261 rm -f conftest.$ac_objext conftest$ac_exeext
86262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86263 (eval $ac_link) 2>conftest.er1
86264 ac_status=$?
86265 grep -v '^ *+' conftest.er1 >conftest.err
86266 rm -f conftest.er1
86267 cat conftest.err >&5
86268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86269 (exit $ac_status); } &&
86270 { ac_try='test -z "$ac_c_werror_flag"
86271 || test ! -s conftest.err'
86272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86273 (eval $ac_try) 2>&5
86274 ac_status=$?
86275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86276 (exit $ac_status); }; } &&
86277 { ac_try='test -s conftest$ac_exeext'
86278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86279 (eval $ac_try) 2>&5
86280 ac_status=$?
86281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86282 (exit $ac_status); }; }; then
86283 eval "$as_ac_var=yes"
86284 else
86285 echo "$as_me: failed program was:" >&5
86286 sed 's/^/| /' conftest.$ac_ext >&5
86287
86288 eval "$as_ac_var=no"
86289 fi
86290 rm -f conftest.err conftest.$ac_objext \
86291 conftest$ac_exeext conftest.$ac_ext
86292 fi
86293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86295 if test `eval echo '${'$as_ac_var'}'` = yes; then
86296 cat >>confdefs.h <<_ACEOF
86297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86298 _ACEOF
86299
86300 fi
86301 done
86302
86303 fi
86304
86305
86306
86307
86308
86309 CXXFLAGS="$ac_save_CXXFLAGS"
86310
86311
86312 # For LFS.
86313 cat >>confdefs.h <<\_ACEOF
86314 #define HAVE_INT64_T 1
86315 _ACEOF
86316
86317
86318
86319
86320 ac_ext=cc
86321 ac_cpp='$CXXCPP $CPPFLAGS'
86322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86325
86326 ac_save_CXXFLAGS="$CXXFLAGS"
86327 CXXFLAGS="$CXXFLAGS -fno-exceptions"
86328 echo "$as_me:$LINENO: checking for LFS support" >&5
86329 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
86330 if test "${glibcxx_cv_LFS+set}" = set; then
86331 echo $ECHO_N "(cached) $ECHO_C" >&6
86332 else
86333
86334 if test x$gcc_no_link = xyes; then
86335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86337 { (exit 1); exit 1; }; }
86338 fi
86339 cat >conftest.$ac_ext <<_ACEOF
86340 /* confdefs.h. */
86341 _ACEOF
86342 cat confdefs.h >>conftest.$ac_ext
86343 cat >>conftest.$ac_ext <<_ACEOF
86344 /* end confdefs.h. */
86345 #include <unistd.h>
86346 #include <stdio.h>
86347 #include <sys/stat.h>
86348
86349 int
86350 main ()
86351 {
86352 FILE* fp;
86353 fopen64("t", "w");
86354 fseeko64(fp, 0, SEEK_CUR);
86355 ftello64(fp);
86356 lseek64(1, 0, SEEK_CUR);
86357 struct stat64 buf;
86358 fstat64(1, &buf);
86359 ;
86360 return 0;
86361 }
86362 _ACEOF
86363 rm -f conftest.$ac_objext conftest$ac_exeext
86364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86365 (eval $ac_link) 2>conftest.er1
86366 ac_status=$?
86367 grep -v '^ *+' conftest.er1 >conftest.err
86368 rm -f conftest.er1
86369 cat conftest.err >&5
86370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86371 (exit $ac_status); } &&
86372 { ac_try='test -z "$ac_cxx_werror_flag"
86373 || test ! -s conftest.err'
86374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86375 (eval $ac_try) 2>&5
86376 ac_status=$?
86377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86378 (exit $ac_status); }; } &&
86379 { ac_try='test -s conftest$ac_exeext'
86380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86381 (eval $ac_try) 2>&5
86382 ac_status=$?
86383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86384 (exit $ac_status); }; }; then
86385 glibcxx_cv_LFS=yes
86386 else
86387 echo "$as_me: failed program was:" >&5
86388 sed 's/^/| /' conftest.$ac_ext >&5
86389
86390 glibcxx_cv_LFS=no
86391 fi
86392 rm -f conftest.err conftest.$ac_objext \
86393 conftest$ac_exeext conftest.$ac_ext
86394
86395 fi
86396
86397 if test $glibcxx_cv_LFS = yes; then
86398
86399 cat >>confdefs.h <<\_ACEOF
86400 #define _GLIBCXX_USE_LFS 1
86401 _ACEOF
86402
86403 fi
86404 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
86405 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
86406 CXXFLAGS="$ac_save_CXXFLAGS"
86407 ac_ext=c
86408 ac_cpp='$CPP $CPPFLAGS'
86409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86412
86413
86414
86415 # For showmanyc_helper().
86416
86417
86418 for ac_header in sys/ioctl.h sys/filio.h
86419 do
86420 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86422 echo "$as_me:$LINENO: checking for $ac_header" >&5
86423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86425 echo $ECHO_N "(cached) $ECHO_C" >&6
86426 fi
86427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86429 else
86430 # Is the header compilable?
86431 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86432 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86433 cat >conftest.$ac_ext <<_ACEOF
86434 /* confdefs.h. */
86435 _ACEOF
86436 cat confdefs.h >>conftest.$ac_ext
86437 cat >>conftest.$ac_ext <<_ACEOF
86438 /* end confdefs.h. */
86439 $ac_includes_default
86440 #include <$ac_header>
86441 _ACEOF
86442 rm -f conftest.$ac_objext
86443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86444 (eval $ac_compile) 2>conftest.er1
86445 ac_status=$?
86446 grep -v '^ *+' conftest.er1 >conftest.err
86447 rm -f conftest.er1
86448 cat conftest.err >&5
86449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86450 (exit $ac_status); } &&
86451 { ac_try='test -z "$ac_c_werror_flag"
86452 || test ! -s conftest.err'
86453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86454 (eval $ac_try) 2>&5
86455 ac_status=$?
86456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86457 (exit $ac_status); }; } &&
86458 { ac_try='test -s conftest.$ac_objext'
86459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86460 (eval $ac_try) 2>&5
86461 ac_status=$?
86462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86463 (exit $ac_status); }; }; then
86464 ac_header_compiler=yes
86465 else
86466 echo "$as_me: failed program was:" >&5
86467 sed 's/^/| /' conftest.$ac_ext >&5
86468
86469 ac_header_compiler=no
86470 fi
86471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86473 echo "${ECHO_T}$ac_header_compiler" >&6
86474
86475 # Is the header present?
86476 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86477 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86478 cat >conftest.$ac_ext <<_ACEOF
86479 /* confdefs.h. */
86480 _ACEOF
86481 cat confdefs.h >>conftest.$ac_ext
86482 cat >>conftest.$ac_ext <<_ACEOF
86483 /* end confdefs.h. */
86484 #include <$ac_header>
86485 _ACEOF
86486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86488 ac_status=$?
86489 grep -v '^ *+' conftest.er1 >conftest.err
86490 rm -f conftest.er1
86491 cat conftest.err >&5
86492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86493 (exit $ac_status); } >/dev/null; then
86494 if test -s conftest.err; then
86495 ac_cpp_err=$ac_c_preproc_warn_flag
86496 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86497 else
86498 ac_cpp_err=
86499 fi
86500 else
86501 ac_cpp_err=yes
86502 fi
86503 if test -z "$ac_cpp_err"; then
86504 ac_header_preproc=yes
86505 else
86506 echo "$as_me: failed program was:" >&5
86507 sed 's/^/| /' conftest.$ac_ext >&5
86508
86509 ac_header_preproc=no
86510 fi
86511 rm -f conftest.err conftest.$ac_ext
86512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86513 echo "${ECHO_T}$ac_header_preproc" >&6
86514
86515 # So? What about this header?
86516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86517 yes:no: )
86518 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86519 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86521 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86522 ac_header_preproc=yes
86523 ;;
86524 no:yes:* )
86525 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86526 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86527 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86528 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86529 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86530 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86531 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86532 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86534 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86535 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86536 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86537 (
86538 cat <<\_ASBOX
86539 ## ----------------------------------------- ##
86540 ## Report this to the package-unused lists. ##
86541 ## ----------------------------------------- ##
86542 _ASBOX
86543 ) |
86544 sed "s/^/$as_me: WARNING: /" >&2
86545 ;;
86546 esac
86547 echo "$as_me:$LINENO: checking for $ac_header" >&5
86548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86550 echo $ECHO_N "(cached) $ECHO_C" >&6
86551 else
86552 eval "$as_ac_Header=\$ac_header_preproc"
86553 fi
86554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86556
86557 fi
86558 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86559 cat >>confdefs.h <<_ACEOF
86560 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86561 _ACEOF
86562
86563 fi
86564
86565 done
86566
86567
86568 echo "$as_me:$LINENO: checking for poll" >&5
86569 echo $ECHO_N "checking for poll... $ECHO_C" >&6
86570 if test "${glibcxx_cv_POLL+set}" = set; then
86571 echo $ECHO_N "(cached) $ECHO_C" >&6
86572 else
86573
86574 if test x$gcc_no_link = xyes; then
86575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86577 { (exit 1); exit 1; }; }
86578 fi
86579 cat >conftest.$ac_ext <<_ACEOF
86580 /* confdefs.h. */
86581 _ACEOF
86582 cat confdefs.h >>conftest.$ac_ext
86583 cat >>conftest.$ac_ext <<_ACEOF
86584 /* end confdefs.h. */
86585 #include <poll.h>
86586 int
86587 main ()
86588 {
86589 struct pollfd pfd[1];
86590 pfd[0].events = POLLIN;
86591 poll(pfd, 1, 0);
86592 ;
86593 return 0;
86594 }
86595 _ACEOF
86596 rm -f conftest.$ac_objext conftest$ac_exeext
86597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86598 (eval $ac_link) 2>conftest.er1
86599 ac_status=$?
86600 grep -v '^ *+' conftest.er1 >conftest.err
86601 rm -f conftest.er1
86602 cat conftest.err >&5
86603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86604 (exit $ac_status); } &&
86605 { ac_try='test -z "$ac_c_werror_flag"
86606 || test ! -s conftest.err'
86607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86608 (eval $ac_try) 2>&5
86609 ac_status=$?
86610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86611 (exit $ac_status); }; } &&
86612 { ac_try='test -s conftest$ac_exeext'
86613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86614 (eval $ac_try) 2>&5
86615 ac_status=$?
86616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86617 (exit $ac_status); }; }; then
86618 glibcxx_cv_POLL=yes
86619 else
86620 echo "$as_me: failed program was:" >&5
86621 sed 's/^/| /' conftest.$ac_ext >&5
86622
86623 glibcxx_cv_POLL=no
86624 fi
86625 rm -f conftest.err conftest.$ac_objext \
86626 conftest$ac_exeext conftest.$ac_ext
86627
86628 fi
86629
86630 if test $glibcxx_cv_POLL = yes; then
86631
86632 cat >>confdefs.h <<\_ACEOF
86633 #define HAVE_POLL 1
86634 _ACEOF
86635
86636 fi
86637 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
86638 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
86639
86640
86641 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
86642 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
86643 if test "${glibcxx_cv_S_ISREG+set}" = set; then
86644 echo $ECHO_N "(cached) $ECHO_C" >&6
86645 else
86646
86647 if test x$gcc_no_link = xyes; then
86648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86650 { (exit 1); exit 1; }; }
86651 fi
86652 cat >conftest.$ac_ext <<_ACEOF
86653 /* confdefs.h. */
86654 _ACEOF
86655 cat confdefs.h >>conftest.$ac_ext
86656 cat >>conftest.$ac_ext <<_ACEOF
86657 /* end confdefs.h. */
86658 #include <sys/stat.h>
86659 int
86660 main ()
86661 {
86662 struct stat buffer;
86663 fstat(0, &buffer);
86664 S_ISREG(buffer.st_mode);
86665 ;
86666 return 0;
86667 }
86668 _ACEOF
86669 rm -f conftest.$ac_objext conftest$ac_exeext
86670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86671 (eval $ac_link) 2>conftest.er1
86672 ac_status=$?
86673 grep -v '^ *+' conftest.er1 >conftest.err
86674 rm -f conftest.er1
86675 cat conftest.err >&5
86676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86677 (exit $ac_status); } &&
86678 { ac_try='test -z "$ac_c_werror_flag"
86679 || test ! -s conftest.err'
86680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86681 (eval $ac_try) 2>&5
86682 ac_status=$?
86683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86684 (exit $ac_status); }; } &&
86685 { ac_try='test -s conftest$ac_exeext'
86686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86687 (eval $ac_try) 2>&5
86688 ac_status=$?
86689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86690 (exit $ac_status); }; }; then
86691 glibcxx_cv_S_ISREG=yes
86692 else
86693 echo "$as_me: failed program was:" >&5
86694 sed 's/^/| /' conftest.$ac_ext >&5
86695
86696 glibcxx_cv_S_ISREG=no
86697 fi
86698 rm -f conftest.err conftest.$ac_objext \
86699 conftest$ac_exeext conftest.$ac_ext
86700
86701 fi
86702
86703 if test "${glibcxx_cv_S_IFREG+set}" = set; then
86704 echo $ECHO_N "(cached) $ECHO_C" >&6
86705 else
86706
86707 if test x$gcc_no_link = xyes; then
86708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86710 { (exit 1); exit 1; }; }
86711 fi
86712 cat >conftest.$ac_ext <<_ACEOF
86713 /* confdefs.h. */
86714 _ACEOF
86715 cat confdefs.h >>conftest.$ac_ext
86716 cat >>conftest.$ac_ext <<_ACEOF
86717 /* end confdefs.h. */
86718 #include <sys/stat.h>
86719 int
86720 main ()
86721 {
86722 struct stat buffer;
86723 fstat(0, &buffer);
86724 S_IFREG & buffer.st_mode;
86725 ;
86726 return 0;
86727 }
86728 _ACEOF
86729 rm -f conftest.$ac_objext conftest$ac_exeext
86730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86731 (eval $ac_link) 2>conftest.er1
86732 ac_status=$?
86733 grep -v '^ *+' conftest.er1 >conftest.err
86734 rm -f conftest.er1
86735 cat conftest.err >&5
86736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86737 (exit $ac_status); } &&
86738 { ac_try='test -z "$ac_c_werror_flag"
86739 || test ! -s conftest.err'
86740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86741 (eval $ac_try) 2>&5
86742 ac_status=$?
86743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86744 (exit $ac_status); }; } &&
86745 { ac_try='test -s conftest$ac_exeext'
86746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86747 (eval $ac_try) 2>&5
86748 ac_status=$?
86749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86750 (exit $ac_status); }; }; then
86751 glibcxx_cv_S_IFREG=yes
86752 else
86753 echo "$as_me: failed program was:" >&5
86754 sed 's/^/| /' conftest.$ac_ext >&5
86755
86756 glibcxx_cv_S_IFREG=no
86757 fi
86758 rm -f conftest.err conftest.$ac_objext \
86759 conftest$ac_exeext conftest.$ac_ext
86760
86761 fi
86762
86763 res=no
86764 if test $glibcxx_cv_S_ISREG = yes; then
86765
86766 cat >>confdefs.h <<\_ACEOF
86767 #define HAVE_S_ISREG 1
86768 _ACEOF
86769
86770 res=S_ISREG
86771 elif test $glibcxx_cv_S_IFREG = yes; then
86772
86773 cat >>confdefs.h <<\_ACEOF
86774 #define HAVE_S_IFREG 1
86775 _ACEOF
86776
86777 res=S_IFREG
86778 fi
86779 echo "$as_me:$LINENO: result: $res" >&5
86780 echo "${ECHO_T}$res" >&6
86781
86782
86783 # For xsputn_2().
86784
86785 for ac_header in sys/uio.h
86786 do
86787 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86789 echo "$as_me:$LINENO: checking for $ac_header" >&5
86790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86792 echo $ECHO_N "(cached) $ECHO_C" >&6
86793 fi
86794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86796 else
86797 # Is the header compilable?
86798 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86799 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86800 cat >conftest.$ac_ext <<_ACEOF
86801 /* confdefs.h. */
86802 _ACEOF
86803 cat confdefs.h >>conftest.$ac_ext
86804 cat >>conftest.$ac_ext <<_ACEOF
86805 /* end confdefs.h. */
86806 $ac_includes_default
86807 #include <$ac_header>
86808 _ACEOF
86809 rm -f conftest.$ac_objext
86810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86811 (eval $ac_compile) 2>conftest.er1
86812 ac_status=$?
86813 grep -v '^ *+' conftest.er1 >conftest.err
86814 rm -f conftest.er1
86815 cat conftest.err >&5
86816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86817 (exit $ac_status); } &&
86818 { ac_try='test -z "$ac_c_werror_flag"
86819 || test ! -s conftest.err'
86820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86821 (eval $ac_try) 2>&5
86822 ac_status=$?
86823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86824 (exit $ac_status); }; } &&
86825 { ac_try='test -s conftest.$ac_objext'
86826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86827 (eval $ac_try) 2>&5
86828 ac_status=$?
86829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86830 (exit $ac_status); }; }; then
86831 ac_header_compiler=yes
86832 else
86833 echo "$as_me: failed program was:" >&5
86834 sed 's/^/| /' conftest.$ac_ext >&5
86835
86836 ac_header_compiler=no
86837 fi
86838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86839 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86840 echo "${ECHO_T}$ac_header_compiler" >&6
86841
86842 # Is the header present?
86843 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86844 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86845 cat >conftest.$ac_ext <<_ACEOF
86846 /* confdefs.h. */
86847 _ACEOF
86848 cat confdefs.h >>conftest.$ac_ext
86849 cat >>conftest.$ac_ext <<_ACEOF
86850 /* end confdefs.h. */
86851 #include <$ac_header>
86852 _ACEOF
86853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86854 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86855 ac_status=$?
86856 grep -v '^ *+' conftest.er1 >conftest.err
86857 rm -f conftest.er1
86858 cat conftest.err >&5
86859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86860 (exit $ac_status); } >/dev/null; then
86861 if test -s conftest.err; then
86862 ac_cpp_err=$ac_c_preproc_warn_flag
86863 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86864 else
86865 ac_cpp_err=
86866 fi
86867 else
86868 ac_cpp_err=yes
86869 fi
86870 if test -z "$ac_cpp_err"; then
86871 ac_header_preproc=yes
86872 else
86873 echo "$as_me: failed program was:" >&5
86874 sed 's/^/| /' conftest.$ac_ext >&5
86875
86876 ac_header_preproc=no
86877 fi
86878 rm -f conftest.err conftest.$ac_ext
86879 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86880 echo "${ECHO_T}$ac_header_preproc" >&6
86881
86882 # So? What about this header?
86883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86884 yes:no: )
86885 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86886 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86888 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86889 ac_header_preproc=yes
86890 ;;
86891 no:yes:* )
86892 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86893 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86894 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86895 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86896 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86897 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86898 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86899 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86901 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86902 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86903 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86904 (
86905 cat <<\_ASBOX
86906 ## ----------------------------------------- ##
86907 ## Report this to the package-unused lists. ##
86908 ## ----------------------------------------- ##
86909 _ASBOX
86910 ) |
86911 sed "s/^/$as_me: WARNING: /" >&2
86912 ;;
86913 esac
86914 echo "$as_me:$LINENO: checking for $ac_header" >&5
86915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86917 echo $ECHO_N "(cached) $ECHO_C" >&6
86918 else
86919 eval "$as_ac_Header=\$ac_header_preproc"
86920 fi
86921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86923
86924 fi
86925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86926 cat >>confdefs.h <<_ACEOF
86927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86928 _ACEOF
86929
86930 fi
86931
86932 done
86933
86934
86935 echo "$as_me:$LINENO: checking for writev" >&5
86936 echo $ECHO_N "checking for writev... $ECHO_C" >&6
86937 if test "${glibcxx_cv_WRITEV+set}" = set; then
86938 echo $ECHO_N "(cached) $ECHO_C" >&6
86939 else
86940
86941 if test x$gcc_no_link = xyes; then
86942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86944 { (exit 1); exit 1; }; }
86945 fi
86946 cat >conftest.$ac_ext <<_ACEOF
86947 /* confdefs.h. */
86948 _ACEOF
86949 cat confdefs.h >>conftest.$ac_ext
86950 cat >>conftest.$ac_ext <<_ACEOF
86951 /* end confdefs.h. */
86952 #include <sys/uio.h>
86953 int
86954 main ()
86955 {
86956 struct iovec iov[2];
86957 writev(0, iov, 0);
86958 ;
86959 return 0;
86960 }
86961 _ACEOF
86962 rm -f conftest.$ac_objext conftest$ac_exeext
86963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86964 (eval $ac_link) 2>conftest.er1
86965 ac_status=$?
86966 grep -v '^ *+' conftest.er1 >conftest.err
86967 rm -f conftest.er1
86968 cat conftest.err >&5
86969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86970 (exit $ac_status); } &&
86971 { ac_try='test -z "$ac_c_werror_flag"
86972 || test ! -s conftest.err'
86973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86974 (eval $ac_try) 2>&5
86975 ac_status=$?
86976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86977 (exit $ac_status); }; } &&
86978 { ac_try='test -s conftest$ac_exeext'
86979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86980 (eval $ac_try) 2>&5
86981 ac_status=$?
86982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86983 (exit $ac_status); }; }; then
86984 glibcxx_cv_WRITEV=yes
86985 else
86986 echo "$as_me: failed program was:" >&5
86987 sed 's/^/| /' conftest.$ac_ext >&5
86988
86989 glibcxx_cv_WRITEV=no
86990 fi
86991 rm -f conftest.err conftest.$ac_objext \
86992 conftest$ac_exeext conftest.$ac_ext
86993
86994 fi
86995
86996 if test $glibcxx_cv_WRITEV = yes; then
86997
86998 cat >>confdefs.h <<\_ACEOF
86999 #define HAVE_WRITEV 1
87000 _ACEOF
87001
87002 fi
87003 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
87004 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
87005
87006 ;;
87007 *-mingw32*)
87008
87009
87010
87011 for ac_header in sys/types.h locale.h float.h
87012 do
87013 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87015 echo "$as_me:$LINENO: checking for $ac_header" >&5
87016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87018 echo $ECHO_N "(cached) $ECHO_C" >&6
87019 fi
87020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87022 else
87023 # Is the header compilable?
87024 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87025 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87026 cat >conftest.$ac_ext <<_ACEOF
87027 /* confdefs.h. */
87028 _ACEOF
87029 cat confdefs.h >>conftest.$ac_ext
87030 cat >>conftest.$ac_ext <<_ACEOF
87031 /* end confdefs.h. */
87032 $ac_includes_default
87033 #include <$ac_header>
87034 _ACEOF
87035 rm -f conftest.$ac_objext
87036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87037 (eval $ac_compile) 2>conftest.er1
87038 ac_status=$?
87039 grep -v '^ *+' conftest.er1 >conftest.err
87040 rm -f conftest.er1
87041 cat conftest.err >&5
87042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87043 (exit $ac_status); } &&
87044 { ac_try='test -z "$ac_c_werror_flag"
87045 || test ! -s conftest.err'
87046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87047 (eval $ac_try) 2>&5
87048 ac_status=$?
87049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87050 (exit $ac_status); }; } &&
87051 { ac_try='test -s conftest.$ac_objext'
87052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87053 (eval $ac_try) 2>&5
87054 ac_status=$?
87055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87056 (exit $ac_status); }; }; then
87057 ac_header_compiler=yes
87058 else
87059 echo "$as_me: failed program was:" >&5
87060 sed 's/^/| /' conftest.$ac_ext >&5
87061
87062 ac_header_compiler=no
87063 fi
87064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87066 echo "${ECHO_T}$ac_header_compiler" >&6
87067
87068 # Is the header present?
87069 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87070 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87071 cat >conftest.$ac_ext <<_ACEOF
87072 /* confdefs.h. */
87073 _ACEOF
87074 cat confdefs.h >>conftest.$ac_ext
87075 cat >>conftest.$ac_ext <<_ACEOF
87076 /* end confdefs.h. */
87077 #include <$ac_header>
87078 _ACEOF
87079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87081 ac_status=$?
87082 grep -v '^ *+' conftest.er1 >conftest.err
87083 rm -f conftest.er1
87084 cat conftest.err >&5
87085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87086 (exit $ac_status); } >/dev/null; then
87087 if test -s conftest.err; then
87088 ac_cpp_err=$ac_c_preproc_warn_flag
87089 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87090 else
87091 ac_cpp_err=
87092 fi
87093 else
87094 ac_cpp_err=yes
87095 fi
87096 if test -z "$ac_cpp_err"; then
87097 ac_header_preproc=yes
87098 else
87099 echo "$as_me: failed program was:" >&5
87100 sed 's/^/| /' conftest.$ac_ext >&5
87101
87102 ac_header_preproc=no
87103 fi
87104 rm -f conftest.err conftest.$ac_ext
87105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87106 echo "${ECHO_T}$ac_header_preproc" >&6
87107
87108 # So? What about this header?
87109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87110 yes:no: )
87111 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87112 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87114 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87115 ac_header_preproc=yes
87116 ;;
87117 no:yes:* )
87118 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87119 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87120 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87121 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87122 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87123 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87124 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87125 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87127 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87128 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87129 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87130 (
87131 cat <<\_ASBOX
87132 ## ----------------------------------------- ##
87133 ## Report this to the package-unused lists. ##
87134 ## ----------------------------------------- ##
87135 _ASBOX
87136 ) |
87137 sed "s/^/$as_me: WARNING: /" >&2
87138 ;;
87139 esac
87140 echo "$as_me:$LINENO: checking for $ac_header" >&5
87141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87143 echo $ECHO_N "(cached) $ECHO_C" >&6
87144 else
87145 eval "$as_ac_Header=\$ac_header_preproc"
87146 fi
87147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87149
87150 fi
87151 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87152 cat >>confdefs.h <<_ACEOF
87153 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87154 _ACEOF
87155
87156 fi
87157
87158 done
87159
87160
87161 # If we're not using GNU ld, then there's no point in even trying these
87162 # tests. Check for that first. We should have already tested for gld
87163 # by now (in libtool), but require it now just to be safe...
87164 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87165 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87166
87167
87168
87169 # The name set by libtool depends on the version of libtool. Shame on us
87170 # for depending on an impl detail, but c'est la vie. Older versions used
87171 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87172 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87173 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87174 # set (hence we're using an older libtool), then set it.
87175 if test x${with_gnu_ld+set} != xset; then
87176 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87177 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87178 with_gnu_ld=no
87179 else
87180 with_gnu_ld=$ac_cv_prog_gnu_ld
87181 fi
87182 fi
87183
87184 # Start by getting the version number. I think the libtool test already
87185 # does some of this, but throws away the result.
87186 if test x"$with_gnu_ld" = x"yes"; then
87187 echo "$as_me:$LINENO: checking for ld version" >&5
87188 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87189
87190 ldver=`$LD --version 2>/dev/null | head -1 | \
87191 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
87192
87193 glibcxx_gnu_ld_version=`echo $ldver | \
87194 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87195 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87196 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87197 fi
87198
87199 # Set --gc-sections.
87200 glibcxx_gcsections_min_ld=21602
87201 if test x"$with_gnu_ld" = x"yes" &&
87202 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87203
87204 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87205 # NB: This flag only works reliably after 2.16.1. Configure tests
87206 # for this are difficult, so hard wire a value that should work.
87207
87208 ac_test_CFLAGS="${CFLAGS+set}"
87209 ac_save_CFLAGS="$CFLAGS"
87210 CFLAGS='-Wl,--gc-sections'
87211
87212 # Check for -Wl,--gc-sections
87213 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87214 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87215 if test x$gcc_no_link = xyes; then
87216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87218 { (exit 1); exit 1; }; }
87219 fi
87220 cat >conftest.$ac_ext <<_ACEOF
87221 /* confdefs.h. */
87222 _ACEOF
87223 cat confdefs.h >>conftest.$ac_ext
87224 cat >>conftest.$ac_ext <<_ACEOF
87225 /* end confdefs.h. */
87226 int one(void) { return 1; }
87227 int two(void) { return 2; }
87228
87229 int
87230 main ()
87231 {
87232 two();
87233 ;
87234 return 0;
87235 }
87236 _ACEOF
87237 rm -f conftest.$ac_objext conftest$ac_exeext
87238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87239 (eval $ac_link) 2>conftest.er1
87240 ac_status=$?
87241 grep -v '^ *+' conftest.er1 >conftest.err
87242 rm -f conftest.er1
87243 cat conftest.err >&5
87244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87245 (exit $ac_status); } &&
87246 { ac_try='test -z "$ac_c_werror_flag"
87247 || test ! -s conftest.err'
87248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87249 (eval $ac_try) 2>&5
87250 ac_status=$?
87251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87252 (exit $ac_status); }; } &&
87253 { ac_try='test -s conftest$ac_exeext'
87254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87255 (eval $ac_try) 2>&5
87256 ac_status=$?
87257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87258 (exit $ac_status); }; }; then
87259 ac_gcsections=yes
87260 else
87261 echo "$as_me: failed program was:" >&5
87262 sed 's/^/| /' conftest.$ac_ext >&5
87263
87264 ac_gcsections=no
87265 fi
87266 rm -f conftest.err conftest.$ac_objext \
87267 conftest$ac_exeext conftest.$ac_ext
87268 if test "$ac_gcsections" = "yes"; then
87269 rm -f conftest.c
87270 touch conftest.c
87271 if $CC -c conftest.c; then
87272 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87273 grep "Warning: gc-sections option ignored" > /dev/null; then
87274 ac_gcsections=no
87275 fi
87276 fi
87277 rm -f conftest.c conftest.o conftest
87278 fi
87279 if test "$ac_gcsections" = "yes"; then
87280 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87281 fi
87282 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87283 echo "${ECHO_T}$ac_gcsections" >&6
87284
87285 if test "$ac_test_CFLAGS" = set; then
87286 CFLAGS="$ac_save_CFLAGS"
87287 else
87288 # this is the suspicious part
87289 CFLAGS=''
87290 fi
87291 fi
87292
87293 # Set -z,relro.
87294 # Note this is only for shared objects.
87295 ac_ld_relro=no
87296 if test x"$with_gnu_ld" = x"yes"; then
87297 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87298 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87299 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87300 if test -n "$cxx_z_relo"; then
87301 OPT_LDFLAGS="-Wl,-z,relro"
87302 ac_ld_relro=yes
87303 fi
87304 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87305 echo "${ECHO_T}$ac_ld_relro" >&6
87306 fi
87307
87308 # Set linker optimization flags.
87309 if test x"$with_gnu_ld" = x"yes"; then
87310 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87311 fi
87312
87313
87314
87315
87316
87317
87318 echo "$as_me:$LINENO: checking for main in -lm" >&5
87319 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87320 if test "${ac_cv_lib_m_main+set}" = set; then
87321 echo $ECHO_N "(cached) $ECHO_C" >&6
87322 else
87323 ac_check_lib_save_LIBS=$LIBS
87324 LIBS="-lm $LIBS"
87325 if test x$gcc_no_link = xyes; then
87326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87328 { (exit 1); exit 1; }; }
87329 fi
87330 cat >conftest.$ac_ext <<_ACEOF
87331 /* confdefs.h. */
87332 _ACEOF
87333 cat confdefs.h >>conftest.$ac_ext
87334 cat >>conftest.$ac_ext <<_ACEOF
87335 /* end confdefs.h. */
87336
87337
87338 int
87339 main ()
87340 {
87341 main ();
87342 ;
87343 return 0;
87344 }
87345 _ACEOF
87346 rm -f conftest.$ac_objext conftest$ac_exeext
87347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87348 (eval $ac_link) 2>conftest.er1
87349 ac_status=$?
87350 grep -v '^ *+' conftest.er1 >conftest.err
87351 rm -f conftest.er1
87352 cat conftest.err >&5
87353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87354 (exit $ac_status); } &&
87355 { ac_try='test -z "$ac_c_werror_flag"
87356 || test ! -s conftest.err'
87357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87358 (eval $ac_try) 2>&5
87359 ac_status=$?
87360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87361 (exit $ac_status); }; } &&
87362 { ac_try='test -s conftest$ac_exeext'
87363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87364 (eval $ac_try) 2>&5
87365 ac_status=$?
87366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87367 (exit $ac_status); }; }; then
87368 ac_cv_lib_m_main=yes
87369 else
87370 echo "$as_me: failed program was:" >&5
87371 sed 's/^/| /' conftest.$ac_ext >&5
87372
87373 ac_cv_lib_m_main=no
87374 fi
87375 rm -f conftest.err conftest.$ac_objext \
87376 conftest$ac_exeext conftest.$ac_ext
87377 LIBS=$ac_check_lib_save_LIBS
87378 fi
87379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87380 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87381 if test $ac_cv_lib_m_main = yes; then
87382 cat >>confdefs.h <<_ACEOF
87383 #define HAVE_LIBM 1
87384 _ACEOF
87385
87386 LIBS="-lm $LIBS"
87387
87388 fi
87389
87390
87391 for ac_func in copysignf
87392 do
87393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87394 echo "$as_me:$LINENO: checking for $ac_func" >&5
87395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87396 if eval "test \"\${$as_ac_var+set}\" = set"; then
87397 echo $ECHO_N "(cached) $ECHO_C" >&6
87398 else
87399 if test x$gcc_no_link = xyes; then
87400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87402 { (exit 1); exit 1; }; }
87403 fi
87404 cat >conftest.$ac_ext <<_ACEOF
87405 /* confdefs.h. */
87406 _ACEOF
87407 cat confdefs.h >>conftest.$ac_ext
87408 cat >>conftest.$ac_ext <<_ACEOF
87409 /* end confdefs.h. */
87410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87412 #define $ac_func innocuous_$ac_func
87413
87414 /* System header to define __stub macros and hopefully few prototypes,
87415 which can conflict with char $ac_func (); below.
87416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87417 <limits.h> exists even on freestanding compilers. */
87418
87419 #ifdef __STDC__
87420 # include <limits.h>
87421 #else
87422 # include <assert.h>
87423 #endif
87424
87425 #undef $ac_func
87426
87427 /* Override any gcc2 internal prototype to avoid an error. */
87428 #ifdef __cplusplus
87429 extern "C"
87430 {
87431 #endif
87432 /* We use char because int might match the return type of a gcc2
87433 builtin and then its argument prototype would still apply. */
87434 char $ac_func ();
87435 /* The GNU C library defines this for functions which it implements
87436 to always fail with ENOSYS. Some functions are actually named
87437 something starting with __ and the normal name is an alias. */
87438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87439 choke me
87440 #else
87441 char (*f) () = $ac_func;
87442 #endif
87443 #ifdef __cplusplus
87444 }
87445 #endif
87446
87447 int
87448 main ()
87449 {
87450 return f != $ac_func;
87451 ;
87452 return 0;
87453 }
87454 _ACEOF
87455 rm -f conftest.$ac_objext conftest$ac_exeext
87456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87457 (eval $ac_link) 2>conftest.er1
87458 ac_status=$?
87459 grep -v '^ *+' conftest.er1 >conftest.err
87460 rm -f conftest.er1
87461 cat conftest.err >&5
87462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87463 (exit $ac_status); } &&
87464 { ac_try='test -z "$ac_c_werror_flag"
87465 || test ! -s conftest.err'
87466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87467 (eval $ac_try) 2>&5
87468 ac_status=$?
87469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87470 (exit $ac_status); }; } &&
87471 { ac_try='test -s conftest$ac_exeext'
87472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87473 (eval $ac_try) 2>&5
87474 ac_status=$?
87475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87476 (exit $ac_status); }; }; then
87477 eval "$as_ac_var=yes"
87478 else
87479 echo "$as_me: failed program was:" >&5
87480 sed 's/^/| /' conftest.$ac_ext >&5
87481
87482 eval "$as_ac_var=no"
87483 fi
87484 rm -f conftest.err conftest.$ac_objext \
87485 conftest$ac_exeext conftest.$ac_ext
87486 fi
87487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87489 if test `eval echo '${'$as_ac_var'}'` = yes; then
87490 cat >>confdefs.h <<_ACEOF
87491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87492 _ACEOF
87493
87494 else
87495 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87496 fi
87497 done
87498
87499
87500
87501 for ac_func in __signbit
87502 do
87503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87504 echo "$as_me:$LINENO: checking for $ac_func" >&5
87505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87506 if eval "test \"\${$as_ac_var+set}\" = set"; then
87507 echo $ECHO_N "(cached) $ECHO_C" >&6
87508 else
87509 if test x$gcc_no_link = xyes; then
87510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87512 { (exit 1); exit 1; }; }
87513 fi
87514 cat >conftest.$ac_ext <<_ACEOF
87515 /* confdefs.h. */
87516 _ACEOF
87517 cat confdefs.h >>conftest.$ac_ext
87518 cat >>conftest.$ac_ext <<_ACEOF
87519 /* end confdefs.h. */
87520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87522 #define $ac_func innocuous_$ac_func
87523
87524 /* System header to define __stub macros and hopefully few prototypes,
87525 which can conflict with char $ac_func (); below.
87526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87527 <limits.h> exists even on freestanding compilers. */
87528
87529 #ifdef __STDC__
87530 # include <limits.h>
87531 #else
87532 # include <assert.h>
87533 #endif
87534
87535 #undef $ac_func
87536
87537 /* Override any gcc2 internal prototype to avoid an error. */
87538 #ifdef __cplusplus
87539 extern "C"
87540 {
87541 #endif
87542 /* We use char because int might match the return type of a gcc2
87543 builtin and then its argument prototype would still apply. */
87544 char $ac_func ();
87545 /* The GNU C library defines this for functions which it implements
87546 to always fail with ENOSYS. Some functions are actually named
87547 something starting with __ and the normal name is an alias. */
87548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87549 choke me
87550 #else
87551 char (*f) () = $ac_func;
87552 #endif
87553 #ifdef __cplusplus
87554 }
87555 #endif
87556
87557 int
87558 main ()
87559 {
87560 return f != $ac_func;
87561 ;
87562 return 0;
87563 }
87564 _ACEOF
87565 rm -f conftest.$ac_objext conftest$ac_exeext
87566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87567 (eval $ac_link) 2>conftest.er1
87568 ac_status=$?
87569 grep -v '^ *+' conftest.er1 >conftest.err
87570 rm -f conftest.er1
87571 cat conftest.err >&5
87572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87573 (exit $ac_status); } &&
87574 { ac_try='test -z "$ac_c_werror_flag"
87575 || test ! -s conftest.err'
87576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87577 (eval $ac_try) 2>&5
87578 ac_status=$?
87579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87580 (exit $ac_status); }; } &&
87581 { ac_try='test -s conftest$ac_exeext'
87582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87583 (eval $ac_try) 2>&5
87584 ac_status=$?
87585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87586 (exit $ac_status); }; }; then
87587 eval "$as_ac_var=yes"
87588 else
87589 echo "$as_me: failed program was:" >&5
87590 sed 's/^/| /' conftest.$ac_ext >&5
87591
87592 eval "$as_ac_var=no"
87593 fi
87594 rm -f conftest.err conftest.$ac_objext \
87595 conftest$ac_exeext conftest.$ac_ext
87596 fi
87597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87599 if test `eval echo '${'$as_ac_var'}'` = yes; then
87600 cat >>confdefs.h <<_ACEOF
87601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87602 _ACEOF
87603
87604 else
87605 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87606 fi
87607 done
87608
87609
87610
87611 for ac_func in __signbitf
87612 do
87613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87614 echo "$as_me:$LINENO: checking for $ac_func" >&5
87615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87616 if eval "test \"\${$as_ac_var+set}\" = set"; then
87617 echo $ECHO_N "(cached) $ECHO_C" >&6
87618 else
87619 if test x$gcc_no_link = xyes; then
87620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87622 { (exit 1); exit 1; }; }
87623 fi
87624 cat >conftest.$ac_ext <<_ACEOF
87625 /* confdefs.h. */
87626 _ACEOF
87627 cat confdefs.h >>conftest.$ac_ext
87628 cat >>conftest.$ac_ext <<_ACEOF
87629 /* end confdefs.h. */
87630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87632 #define $ac_func innocuous_$ac_func
87633
87634 /* System header to define __stub macros and hopefully few prototypes,
87635 which can conflict with char $ac_func (); below.
87636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87637 <limits.h> exists even on freestanding compilers. */
87638
87639 #ifdef __STDC__
87640 # include <limits.h>
87641 #else
87642 # include <assert.h>
87643 #endif
87644
87645 #undef $ac_func
87646
87647 /* Override any gcc2 internal prototype to avoid an error. */
87648 #ifdef __cplusplus
87649 extern "C"
87650 {
87651 #endif
87652 /* We use char because int might match the return type of a gcc2
87653 builtin and then its argument prototype would still apply. */
87654 char $ac_func ();
87655 /* The GNU C library defines this for functions which it implements
87656 to always fail with ENOSYS. Some functions are actually named
87657 something starting with __ and the normal name is an alias. */
87658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87659 choke me
87660 #else
87661 char (*f) () = $ac_func;
87662 #endif
87663 #ifdef __cplusplus
87664 }
87665 #endif
87666
87667 int
87668 main ()
87669 {
87670 return f != $ac_func;
87671 ;
87672 return 0;
87673 }
87674 _ACEOF
87675 rm -f conftest.$ac_objext conftest$ac_exeext
87676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87677 (eval $ac_link) 2>conftest.er1
87678 ac_status=$?
87679 grep -v '^ *+' conftest.er1 >conftest.err
87680 rm -f conftest.er1
87681 cat conftest.err >&5
87682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87683 (exit $ac_status); } &&
87684 { ac_try='test -z "$ac_c_werror_flag"
87685 || test ! -s conftest.err'
87686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87687 (eval $ac_try) 2>&5
87688 ac_status=$?
87689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87690 (exit $ac_status); }; } &&
87691 { ac_try='test -s conftest$ac_exeext'
87692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87693 (eval $ac_try) 2>&5
87694 ac_status=$?
87695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87696 (exit $ac_status); }; }; then
87697 eval "$as_ac_var=yes"
87698 else
87699 echo "$as_me: failed program was:" >&5
87700 sed 's/^/| /' conftest.$ac_ext >&5
87701
87702 eval "$as_ac_var=no"
87703 fi
87704 rm -f conftest.err conftest.$ac_objext \
87705 conftest$ac_exeext conftest.$ac_ext
87706 fi
87707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87709 if test `eval echo '${'$as_ac_var'}'` = yes; then
87710 cat >>confdefs.h <<_ACEOF
87711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87712 _ACEOF
87713
87714 else
87715 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87716 fi
87717 done
87718
87719
87720 if test x$ac_cv_func_copysignl = x"yes"; then
87721
87722 for ac_func in __signbitl
87723 do
87724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87725 echo "$as_me:$LINENO: checking for $ac_func" >&5
87726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87727 if eval "test \"\${$as_ac_var+set}\" = set"; then
87728 echo $ECHO_N "(cached) $ECHO_C" >&6
87729 else
87730 if test x$gcc_no_link = xyes; then
87731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87733 { (exit 1); exit 1; }; }
87734 fi
87735 cat >conftest.$ac_ext <<_ACEOF
87736 /* confdefs.h. */
87737 _ACEOF
87738 cat confdefs.h >>conftest.$ac_ext
87739 cat >>conftest.$ac_ext <<_ACEOF
87740 /* end confdefs.h. */
87741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87743 #define $ac_func innocuous_$ac_func
87744
87745 /* System header to define __stub macros and hopefully few prototypes,
87746 which can conflict with char $ac_func (); below.
87747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87748 <limits.h> exists even on freestanding compilers. */
87749
87750 #ifdef __STDC__
87751 # include <limits.h>
87752 #else
87753 # include <assert.h>
87754 #endif
87755
87756 #undef $ac_func
87757
87758 /* Override any gcc2 internal prototype to avoid an error. */
87759 #ifdef __cplusplus
87760 extern "C"
87761 {
87762 #endif
87763 /* We use char because int might match the return type of a gcc2
87764 builtin and then its argument prototype would still apply. */
87765 char $ac_func ();
87766 /* The GNU C library defines this for functions which it implements
87767 to always fail with ENOSYS. Some functions are actually named
87768 something starting with __ and the normal name is an alias. */
87769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87770 choke me
87771 #else
87772 char (*f) () = $ac_func;
87773 #endif
87774 #ifdef __cplusplus
87775 }
87776 #endif
87777
87778 int
87779 main ()
87780 {
87781 return f != $ac_func;
87782 ;
87783 return 0;
87784 }
87785 _ACEOF
87786 rm -f conftest.$ac_objext conftest$ac_exeext
87787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87788 (eval $ac_link) 2>conftest.er1
87789 ac_status=$?
87790 grep -v '^ *+' conftest.er1 >conftest.err
87791 rm -f conftest.er1
87792 cat conftest.err >&5
87793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87794 (exit $ac_status); } &&
87795 { ac_try='test -z "$ac_c_werror_flag"
87796 || test ! -s conftest.err'
87797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87798 (eval $ac_try) 2>&5
87799 ac_status=$?
87800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87801 (exit $ac_status); }; } &&
87802 { ac_try='test -s conftest$ac_exeext'
87803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87804 (eval $ac_try) 2>&5
87805 ac_status=$?
87806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87807 (exit $ac_status); }; }; then
87808 eval "$as_ac_var=yes"
87809 else
87810 echo "$as_me: failed program was:" >&5
87811 sed 's/^/| /' conftest.$ac_ext >&5
87812
87813 eval "$as_ac_var=no"
87814 fi
87815 rm -f conftest.err conftest.$ac_objext \
87816 conftest$ac_exeext conftest.$ac_ext
87817 fi
87818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87820 if test `eval echo '${'$as_ac_var'}'` = yes; then
87821 cat >>confdefs.h <<_ACEOF
87822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87823 _ACEOF
87824
87825 else
87826 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87827 fi
87828 done
87829
87830 fi
87831
87832 # Used in libmath/Makefile.am.
87833 if test -n "$LIBMATHOBJS"; then
87834 need_libmath=yes
87835 fi
87836
87837
87838 ;;
87839 *-netbsd*)
87840
87841
87842
87843
87844
87845
87846
87847
87848
87849
87850
87851
87852 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87853 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87854 fp.h locale.h float.h inttypes.h
87855 do
87856 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87858 echo "$as_me:$LINENO: checking for $ac_header" >&5
87859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87861 echo $ECHO_N "(cached) $ECHO_C" >&6
87862 fi
87863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87865 else
87866 # Is the header compilable?
87867 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87868 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87869 cat >conftest.$ac_ext <<_ACEOF
87870 /* confdefs.h. */
87871 _ACEOF
87872 cat confdefs.h >>conftest.$ac_ext
87873 cat >>conftest.$ac_ext <<_ACEOF
87874 /* end confdefs.h. */
87875 $ac_includes_default
87876 #include <$ac_header>
87877 _ACEOF
87878 rm -f conftest.$ac_objext
87879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87880 (eval $ac_compile) 2>conftest.er1
87881 ac_status=$?
87882 grep -v '^ *+' conftest.er1 >conftest.err
87883 rm -f conftest.er1
87884 cat conftest.err >&5
87885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87886 (exit $ac_status); } &&
87887 { ac_try='test -z "$ac_c_werror_flag"
87888 || test ! -s conftest.err'
87889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87890 (eval $ac_try) 2>&5
87891 ac_status=$?
87892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87893 (exit $ac_status); }; } &&
87894 { ac_try='test -s conftest.$ac_objext'
87895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87896 (eval $ac_try) 2>&5
87897 ac_status=$?
87898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87899 (exit $ac_status); }; }; then
87900 ac_header_compiler=yes
87901 else
87902 echo "$as_me: failed program was:" >&5
87903 sed 's/^/| /' conftest.$ac_ext >&5
87904
87905 ac_header_compiler=no
87906 fi
87907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87909 echo "${ECHO_T}$ac_header_compiler" >&6
87910
87911 # Is the header present?
87912 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87914 cat >conftest.$ac_ext <<_ACEOF
87915 /* confdefs.h. */
87916 _ACEOF
87917 cat confdefs.h >>conftest.$ac_ext
87918 cat >>conftest.$ac_ext <<_ACEOF
87919 /* end confdefs.h. */
87920 #include <$ac_header>
87921 _ACEOF
87922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87924 ac_status=$?
87925 grep -v '^ *+' conftest.er1 >conftest.err
87926 rm -f conftest.er1
87927 cat conftest.err >&5
87928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87929 (exit $ac_status); } >/dev/null; then
87930 if test -s conftest.err; then
87931 ac_cpp_err=$ac_c_preproc_warn_flag
87932 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87933 else
87934 ac_cpp_err=
87935 fi
87936 else
87937 ac_cpp_err=yes
87938 fi
87939 if test -z "$ac_cpp_err"; then
87940 ac_header_preproc=yes
87941 else
87942 echo "$as_me: failed program was:" >&5
87943 sed 's/^/| /' conftest.$ac_ext >&5
87944
87945 ac_header_preproc=no
87946 fi
87947 rm -f conftest.err conftest.$ac_ext
87948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87949 echo "${ECHO_T}$ac_header_preproc" >&6
87950
87951 # So? What about this header?
87952 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87953 yes:no: )
87954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87955 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87957 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87958 ac_header_preproc=yes
87959 ;;
87960 no:yes:* )
87961 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87962 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87963 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87964 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87965 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87966 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87967 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87968 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87971 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87972 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87973 (
87974 cat <<\_ASBOX
87975 ## ----------------------------------------- ##
87976 ## Report this to the package-unused lists. ##
87977 ## ----------------------------------------- ##
87978 _ASBOX
87979 ) |
87980 sed "s/^/$as_me: WARNING: /" >&2
87981 ;;
87982 esac
87983 echo "$as_me:$LINENO: checking for $ac_header" >&5
87984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87986 echo $ECHO_N "(cached) $ECHO_C" >&6
87987 else
87988 eval "$as_ac_Header=\$ac_header_preproc"
87989 fi
87990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87992
87993 fi
87994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87995 cat >>confdefs.h <<_ACEOF
87996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87997 _ACEOF
87998
87999 fi
88000
88001 done
88002
88003 SECTION_FLAGS='-ffunction-sections -fdata-sections'
88004
88005
88006 # If we're not using GNU ld, then there's no point in even trying these
88007 # tests. Check for that first. We should have already tested for gld
88008 # by now (in libtool), but require it now just to be safe...
88009 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
88010 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
88011
88012
88013
88014 # The name set by libtool depends on the version of libtool. Shame on us
88015 # for depending on an impl detail, but c'est la vie. Older versions used
88016 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
88017 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
88018 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
88019 # set (hence we're using an older libtool), then set it.
88020 if test x${with_gnu_ld+set} != xset; then
88021 if test x${ac_cv_prog_gnu_ld+set} != xset; then
88022 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
88023 with_gnu_ld=no
88024 else
88025 with_gnu_ld=$ac_cv_prog_gnu_ld
88026 fi
88027 fi
88028
88029 # Start by getting the version number. I think the libtool test already
88030 # does some of this, but throws away the result.
88031 if test x"$with_gnu_ld" = x"yes"; then
88032 echo "$as_me:$LINENO: checking for ld version" >&5
88033 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
88034
88035 ldver=`$LD --version 2>/dev/null | head -1 | \
88036 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
88037
88038 glibcxx_gnu_ld_version=`echo $ldver | \
88039 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
88040 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
88041 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
88042 fi
88043
88044 # Set --gc-sections.
88045 glibcxx_gcsections_min_ld=21602
88046 if test x"$with_gnu_ld" = x"yes" &&
88047 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
88048
88049 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
88050 # NB: This flag only works reliably after 2.16.1. Configure tests
88051 # for this are difficult, so hard wire a value that should work.
88052
88053 ac_test_CFLAGS="${CFLAGS+set}"
88054 ac_save_CFLAGS="$CFLAGS"
88055 CFLAGS='-Wl,--gc-sections'
88056
88057 # Check for -Wl,--gc-sections
88058 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
88059 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
88060 if test x$gcc_no_link = xyes; then
88061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88063 { (exit 1); exit 1; }; }
88064 fi
88065 cat >conftest.$ac_ext <<_ACEOF
88066 /* confdefs.h. */
88067 _ACEOF
88068 cat confdefs.h >>conftest.$ac_ext
88069 cat >>conftest.$ac_ext <<_ACEOF
88070 /* end confdefs.h. */
88071 int one(void) { return 1; }
88072 int two(void) { return 2; }
88073
88074 int
88075 main ()
88076 {
88077 two();
88078 ;
88079 return 0;
88080 }
88081 _ACEOF
88082 rm -f conftest.$ac_objext conftest$ac_exeext
88083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88084 (eval $ac_link) 2>conftest.er1
88085 ac_status=$?
88086 grep -v '^ *+' conftest.er1 >conftest.err
88087 rm -f conftest.er1
88088 cat conftest.err >&5
88089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88090 (exit $ac_status); } &&
88091 { ac_try='test -z "$ac_c_werror_flag"
88092 || test ! -s conftest.err'
88093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88094 (eval $ac_try) 2>&5
88095 ac_status=$?
88096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88097 (exit $ac_status); }; } &&
88098 { ac_try='test -s conftest$ac_exeext'
88099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88100 (eval $ac_try) 2>&5
88101 ac_status=$?
88102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88103 (exit $ac_status); }; }; then
88104 ac_gcsections=yes
88105 else
88106 echo "$as_me: failed program was:" >&5
88107 sed 's/^/| /' conftest.$ac_ext >&5
88108
88109 ac_gcsections=no
88110 fi
88111 rm -f conftest.err conftest.$ac_objext \
88112 conftest$ac_exeext conftest.$ac_ext
88113 if test "$ac_gcsections" = "yes"; then
88114 rm -f conftest.c
88115 touch conftest.c
88116 if $CC -c conftest.c; then
88117 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
88118 grep "Warning: gc-sections option ignored" > /dev/null; then
88119 ac_gcsections=no
88120 fi
88121 fi
88122 rm -f conftest.c conftest.o conftest
88123 fi
88124 if test "$ac_gcsections" = "yes"; then
88125 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
88126 fi
88127 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
88128 echo "${ECHO_T}$ac_gcsections" >&6
88129
88130 if test "$ac_test_CFLAGS" = set; then
88131 CFLAGS="$ac_save_CFLAGS"
88132 else
88133 # this is the suspicious part
88134 CFLAGS=''
88135 fi
88136 fi
88137
88138 # Set -z,relro.
88139 # Note this is only for shared objects.
88140 ac_ld_relro=no
88141 if test x"$with_gnu_ld" = x"yes"; then
88142 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
88143 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
88144 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
88145 if test -n "$cxx_z_relo"; then
88146 OPT_LDFLAGS="-Wl,-z,relro"
88147 ac_ld_relro=yes
88148 fi
88149 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
88150 echo "${ECHO_T}$ac_ld_relro" >&6
88151 fi
88152
88153 # Set linker optimization flags.
88154 if test x"$with_gnu_ld" = x"yes"; then
88155 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
88156 fi
88157
88158
88159
88160
88161
88162
88163 echo "$as_me:$LINENO: checking for main in -lm" >&5
88164 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
88165 if test "${ac_cv_lib_m_main+set}" = set; then
88166 echo $ECHO_N "(cached) $ECHO_C" >&6
88167 else
88168 ac_check_lib_save_LIBS=$LIBS
88169 LIBS="-lm $LIBS"
88170 if test x$gcc_no_link = xyes; then
88171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88173 { (exit 1); exit 1; }; }
88174 fi
88175 cat >conftest.$ac_ext <<_ACEOF
88176 /* confdefs.h. */
88177 _ACEOF
88178 cat confdefs.h >>conftest.$ac_ext
88179 cat >>conftest.$ac_ext <<_ACEOF
88180 /* end confdefs.h. */
88181
88182
88183 int
88184 main ()
88185 {
88186 main ();
88187 ;
88188 return 0;
88189 }
88190 _ACEOF
88191 rm -f conftest.$ac_objext conftest$ac_exeext
88192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88193 (eval $ac_link) 2>conftest.er1
88194 ac_status=$?
88195 grep -v '^ *+' conftest.er1 >conftest.err
88196 rm -f conftest.er1
88197 cat conftest.err >&5
88198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88199 (exit $ac_status); } &&
88200 { ac_try='test -z "$ac_c_werror_flag"
88201 || test ! -s conftest.err'
88202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88203 (eval $ac_try) 2>&5
88204 ac_status=$?
88205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88206 (exit $ac_status); }; } &&
88207 { ac_try='test -s conftest$ac_exeext'
88208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88209 (eval $ac_try) 2>&5
88210 ac_status=$?
88211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88212 (exit $ac_status); }; }; then
88213 ac_cv_lib_m_main=yes
88214 else
88215 echo "$as_me: failed program was:" >&5
88216 sed 's/^/| /' conftest.$ac_ext >&5
88217
88218 ac_cv_lib_m_main=no
88219 fi
88220 rm -f conftest.err conftest.$ac_objext \
88221 conftest$ac_exeext conftest.$ac_ext
88222 LIBS=$ac_check_lib_save_LIBS
88223 fi
88224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
88225 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
88226 if test $ac_cv_lib_m_main = yes; then
88227 cat >>confdefs.h <<_ACEOF
88228 #define HAVE_LIBM 1
88229 _ACEOF
88230
88231 LIBS="-lm $LIBS"
88232
88233 fi
88234
88235
88236 for ac_func in copysignf
88237 do
88238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88239 echo "$as_me:$LINENO: checking for $ac_func" >&5
88240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88241 if eval "test \"\${$as_ac_var+set}\" = set"; then
88242 echo $ECHO_N "(cached) $ECHO_C" >&6
88243 else
88244 if test x$gcc_no_link = xyes; then
88245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88247 { (exit 1); exit 1; }; }
88248 fi
88249 cat >conftest.$ac_ext <<_ACEOF
88250 /* confdefs.h. */
88251 _ACEOF
88252 cat confdefs.h >>conftest.$ac_ext
88253 cat >>conftest.$ac_ext <<_ACEOF
88254 /* end confdefs.h. */
88255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88257 #define $ac_func innocuous_$ac_func
88258
88259 /* System header to define __stub macros and hopefully few prototypes,
88260 which can conflict with char $ac_func (); below.
88261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88262 <limits.h> exists even on freestanding compilers. */
88263
88264 #ifdef __STDC__
88265 # include <limits.h>
88266 #else
88267 # include <assert.h>
88268 #endif
88269
88270 #undef $ac_func
88271
88272 /* Override any gcc2 internal prototype to avoid an error. */
88273 #ifdef __cplusplus
88274 extern "C"
88275 {
88276 #endif
88277 /* We use char because int might match the return type of a gcc2
88278 builtin and then its argument prototype would still apply. */
88279 char $ac_func ();
88280 /* The GNU C library defines this for functions which it implements
88281 to always fail with ENOSYS. Some functions are actually named
88282 something starting with __ and the normal name is an alias. */
88283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88284 choke me
88285 #else
88286 char (*f) () = $ac_func;
88287 #endif
88288 #ifdef __cplusplus
88289 }
88290 #endif
88291
88292 int
88293 main ()
88294 {
88295 return f != $ac_func;
88296 ;
88297 return 0;
88298 }
88299 _ACEOF
88300 rm -f conftest.$ac_objext conftest$ac_exeext
88301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88302 (eval $ac_link) 2>conftest.er1
88303 ac_status=$?
88304 grep -v '^ *+' conftest.er1 >conftest.err
88305 rm -f conftest.er1
88306 cat conftest.err >&5
88307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88308 (exit $ac_status); } &&
88309 { ac_try='test -z "$ac_c_werror_flag"
88310 || test ! -s conftest.err'
88311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88312 (eval $ac_try) 2>&5
88313 ac_status=$?
88314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88315 (exit $ac_status); }; } &&
88316 { ac_try='test -s conftest$ac_exeext'
88317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88318 (eval $ac_try) 2>&5
88319 ac_status=$?
88320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88321 (exit $ac_status); }; }; then
88322 eval "$as_ac_var=yes"
88323 else
88324 echo "$as_me: failed program was:" >&5
88325 sed 's/^/| /' conftest.$ac_ext >&5
88326
88327 eval "$as_ac_var=no"
88328 fi
88329 rm -f conftest.err conftest.$ac_objext \
88330 conftest$ac_exeext conftest.$ac_ext
88331 fi
88332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88334 if test `eval echo '${'$as_ac_var'}'` = yes; then
88335 cat >>confdefs.h <<_ACEOF
88336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88337 _ACEOF
88338
88339 else
88340 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
88341 fi
88342 done
88343
88344
88345
88346 for ac_func in __signbit
88347 do
88348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88349 echo "$as_me:$LINENO: checking for $ac_func" >&5
88350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88351 if eval "test \"\${$as_ac_var+set}\" = set"; then
88352 echo $ECHO_N "(cached) $ECHO_C" >&6
88353 else
88354 if test x$gcc_no_link = xyes; then
88355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88357 { (exit 1); exit 1; }; }
88358 fi
88359 cat >conftest.$ac_ext <<_ACEOF
88360 /* confdefs.h. */
88361 _ACEOF
88362 cat confdefs.h >>conftest.$ac_ext
88363 cat >>conftest.$ac_ext <<_ACEOF
88364 /* end confdefs.h. */
88365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88367 #define $ac_func innocuous_$ac_func
88368
88369 /* System header to define __stub macros and hopefully few prototypes,
88370 which can conflict with char $ac_func (); below.
88371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88372 <limits.h> exists even on freestanding compilers. */
88373
88374 #ifdef __STDC__
88375 # include <limits.h>
88376 #else
88377 # include <assert.h>
88378 #endif
88379
88380 #undef $ac_func
88381
88382 /* Override any gcc2 internal prototype to avoid an error. */
88383 #ifdef __cplusplus
88384 extern "C"
88385 {
88386 #endif
88387 /* We use char because int might match the return type of a gcc2
88388 builtin and then its argument prototype would still apply. */
88389 char $ac_func ();
88390 /* The GNU C library defines this for functions which it implements
88391 to always fail with ENOSYS. Some functions are actually named
88392 something starting with __ and the normal name is an alias. */
88393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88394 choke me
88395 #else
88396 char (*f) () = $ac_func;
88397 #endif
88398 #ifdef __cplusplus
88399 }
88400 #endif
88401
88402 int
88403 main ()
88404 {
88405 return f != $ac_func;
88406 ;
88407 return 0;
88408 }
88409 _ACEOF
88410 rm -f conftest.$ac_objext conftest$ac_exeext
88411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88412 (eval $ac_link) 2>conftest.er1
88413 ac_status=$?
88414 grep -v '^ *+' conftest.er1 >conftest.err
88415 rm -f conftest.er1
88416 cat conftest.err >&5
88417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88418 (exit $ac_status); } &&
88419 { ac_try='test -z "$ac_c_werror_flag"
88420 || test ! -s conftest.err'
88421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88422 (eval $ac_try) 2>&5
88423 ac_status=$?
88424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88425 (exit $ac_status); }; } &&
88426 { ac_try='test -s conftest$ac_exeext'
88427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88428 (eval $ac_try) 2>&5
88429 ac_status=$?
88430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88431 (exit $ac_status); }; }; then
88432 eval "$as_ac_var=yes"
88433 else
88434 echo "$as_me: failed program was:" >&5
88435 sed 's/^/| /' conftest.$ac_ext >&5
88436
88437 eval "$as_ac_var=no"
88438 fi
88439 rm -f conftest.err conftest.$ac_objext \
88440 conftest$ac_exeext conftest.$ac_ext
88441 fi
88442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88444 if test `eval echo '${'$as_ac_var'}'` = yes; then
88445 cat >>confdefs.h <<_ACEOF
88446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88447 _ACEOF
88448
88449 else
88450 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
88451 fi
88452 done
88453
88454
88455
88456 for ac_func in __signbitf
88457 do
88458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88459 echo "$as_me:$LINENO: checking for $ac_func" >&5
88460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88461 if eval "test \"\${$as_ac_var+set}\" = set"; then
88462 echo $ECHO_N "(cached) $ECHO_C" >&6
88463 else
88464 if test x$gcc_no_link = xyes; then
88465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88467 { (exit 1); exit 1; }; }
88468 fi
88469 cat >conftest.$ac_ext <<_ACEOF
88470 /* confdefs.h. */
88471 _ACEOF
88472 cat confdefs.h >>conftest.$ac_ext
88473 cat >>conftest.$ac_ext <<_ACEOF
88474 /* end confdefs.h. */
88475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88477 #define $ac_func innocuous_$ac_func
88478
88479 /* System header to define __stub macros and hopefully few prototypes,
88480 which can conflict with char $ac_func (); below.
88481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88482 <limits.h> exists even on freestanding compilers. */
88483
88484 #ifdef __STDC__
88485 # include <limits.h>
88486 #else
88487 # include <assert.h>
88488 #endif
88489
88490 #undef $ac_func
88491
88492 /* Override any gcc2 internal prototype to avoid an error. */
88493 #ifdef __cplusplus
88494 extern "C"
88495 {
88496 #endif
88497 /* We use char because int might match the return type of a gcc2
88498 builtin and then its argument prototype would still apply. */
88499 char $ac_func ();
88500 /* The GNU C library defines this for functions which it implements
88501 to always fail with ENOSYS. Some functions are actually named
88502 something starting with __ and the normal name is an alias. */
88503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88504 choke me
88505 #else
88506 char (*f) () = $ac_func;
88507 #endif
88508 #ifdef __cplusplus
88509 }
88510 #endif
88511
88512 int
88513 main ()
88514 {
88515 return f != $ac_func;
88516 ;
88517 return 0;
88518 }
88519 _ACEOF
88520 rm -f conftest.$ac_objext conftest$ac_exeext
88521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88522 (eval $ac_link) 2>conftest.er1
88523 ac_status=$?
88524 grep -v '^ *+' conftest.er1 >conftest.err
88525 rm -f conftest.er1
88526 cat conftest.err >&5
88527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88528 (exit $ac_status); } &&
88529 { ac_try='test -z "$ac_c_werror_flag"
88530 || test ! -s conftest.err'
88531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88532 (eval $ac_try) 2>&5
88533 ac_status=$?
88534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88535 (exit $ac_status); }; } &&
88536 { ac_try='test -s conftest$ac_exeext'
88537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88538 (eval $ac_try) 2>&5
88539 ac_status=$?
88540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88541 (exit $ac_status); }; }; then
88542 eval "$as_ac_var=yes"
88543 else
88544 echo "$as_me: failed program was:" >&5
88545 sed 's/^/| /' conftest.$ac_ext >&5
88546
88547 eval "$as_ac_var=no"
88548 fi
88549 rm -f conftest.err conftest.$ac_objext \
88550 conftest$ac_exeext conftest.$ac_ext
88551 fi
88552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88554 if test `eval echo '${'$as_ac_var'}'` = yes; then
88555 cat >>confdefs.h <<_ACEOF
88556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88557 _ACEOF
88558
88559 else
88560 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
88561 fi
88562 done
88563
88564
88565 if test x$ac_cv_func_copysignl = x"yes"; then
88566
88567 for ac_func in __signbitl
88568 do
88569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88570 echo "$as_me:$LINENO: checking for $ac_func" >&5
88571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88572 if eval "test \"\${$as_ac_var+set}\" = set"; then
88573 echo $ECHO_N "(cached) $ECHO_C" >&6
88574 else
88575 if test x$gcc_no_link = xyes; then
88576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88578 { (exit 1); exit 1; }; }
88579 fi
88580 cat >conftest.$ac_ext <<_ACEOF
88581 /* confdefs.h. */
88582 _ACEOF
88583 cat confdefs.h >>conftest.$ac_ext
88584 cat >>conftest.$ac_ext <<_ACEOF
88585 /* end confdefs.h. */
88586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88588 #define $ac_func innocuous_$ac_func
88589
88590 /* System header to define __stub macros and hopefully few prototypes,
88591 which can conflict with char $ac_func (); below.
88592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88593 <limits.h> exists even on freestanding compilers. */
88594
88595 #ifdef __STDC__
88596 # include <limits.h>
88597 #else
88598 # include <assert.h>
88599 #endif
88600
88601 #undef $ac_func
88602
88603 /* Override any gcc2 internal prototype to avoid an error. */
88604 #ifdef __cplusplus
88605 extern "C"
88606 {
88607 #endif
88608 /* We use char because int might match the return type of a gcc2
88609 builtin and then its argument prototype would still apply. */
88610 char $ac_func ();
88611 /* The GNU C library defines this for functions which it implements
88612 to always fail with ENOSYS. Some functions are actually named
88613 something starting with __ and the normal name is an alias. */
88614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88615 choke me
88616 #else
88617 char (*f) () = $ac_func;
88618 #endif
88619 #ifdef __cplusplus
88620 }
88621 #endif
88622
88623 int
88624 main ()
88625 {
88626 return f != $ac_func;
88627 ;
88628 return 0;
88629 }
88630 _ACEOF
88631 rm -f conftest.$ac_objext conftest$ac_exeext
88632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88633 (eval $ac_link) 2>conftest.er1
88634 ac_status=$?
88635 grep -v '^ *+' conftest.er1 >conftest.err
88636 rm -f conftest.er1
88637 cat conftest.err >&5
88638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88639 (exit $ac_status); } &&
88640 { ac_try='test -z "$ac_c_werror_flag"
88641 || test ! -s conftest.err'
88642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88643 (eval $ac_try) 2>&5
88644 ac_status=$?
88645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88646 (exit $ac_status); }; } &&
88647 { ac_try='test -s conftest$ac_exeext'
88648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88649 (eval $ac_try) 2>&5
88650 ac_status=$?
88651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88652 (exit $ac_status); }; }; then
88653 eval "$as_ac_var=yes"
88654 else
88655 echo "$as_me: failed program was:" >&5
88656 sed 's/^/| /' conftest.$ac_ext >&5
88657
88658 eval "$as_ac_var=no"
88659 fi
88660 rm -f conftest.err conftest.$ac_objext \
88661 conftest$ac_exeext conftest.$ac_ext
88662 fi
88663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88665 if test `eval echo '${'$as_ac_var'}'` = yes; then
88666 cat >>confdefs.h <<_ACEOF
88667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88668 _ACEOF
88669
88670 else
88671 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
88672 fi
88673 done
88674
88675 fi
88676
88677 # Used in libmath/Makefile.am.
88678 if test -n "$LIBMATHOBJS"; then
88679 need_libmath=yes
88680 fi
88681
88682
88683 cat >>confdefs.h <<\_ACEOF
88684 #define HAVE_COPYSIGN 1
88685 _ACEOF
88686
88687 cat >>confdefs.h <<\_ACEOF
88688 #define HAVE_COPYSIGNF 1
88689 _ACEOF
88690
88691 cat >>confdefs.h <<\_ACEOF
88692 #define HAVE_FINITEF 1
88693 _ACEOF
88694
88695 cat >>confdefs.h <<\_ACEOF
88696 #define HAVE_FINITE 1
88697 _ACEOF
88698
88699 cat >>confdefs.h <<\_ACEOF
88700 #define HAVE_FREXPF 1
88701 _ACEOF
88702
88703 cat >>confdefs.h <<\_ACEOF
88704 #define HAVE_HYPOTF 1
88705 _ACEOF
88706
88707 cat >>confdefs.h <<\_ACEOF
88708 #define HAVE_ISINF 1
88709 _ACEOF
88710
88711 cat >>confdefs.h <<\_ACEOF
88712 #define HAVE_ISINFF 1
88713 _ACEOF
88714
88715 cat >>confdefs.h <<\_ACEOF
88716 #define HAVE_ISNAN 1
88717 _ACEOF
88718
88719 cat >>confdefs.h <<\_ACEOF
88720 #define HAVE_ISNANF 1
88721 _ACEOF
88722
88723 if test x"long_double_math_on_this_cpu" = x"yes"; then
88724 cat >>confdefs.h <<\_ACEOF
88725 #define HAVE_FINITEL 1
88726 _ACEOF
88727
88728 cat >>confdefs.h <<\_ACEOF
88729 #define HAVE_ISINFL 1
88730 _ACEOF
88731
88732 cat >>confdefs.h <<\_ACEOF
88733 #define HAVE_ISNANL 1
88734 _ACEOF
88735
88736 fi
88737 ;;
88738 *-netware)
88739
88740
88741
88742
88743
88744
88745
88746
88747 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
88748 sys/types.h locale.h float.h inttypes.h
88749 do
88750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88752 echo "$as_me:$LINENO: checking for $ac_header" >&5
88753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88755 echo $ECHO_N "(cached) $ECHO_C" >&6
88756 fi
88757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88759 else
88760 # Is the header compilable?
88761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88763 cat >conftest.$ac_ext <<_ACEOF
88764 /* confdefs.h. */
88765 _ACEOF
88766 cat confdefs.h >>conftest.$ac_ext
88767 cat >>conftest.$ac_ext <<_ACEOF
88768 /* end confdefs.h. */
88769 $ac_includes_default
88770 #include <$ac_header>
88771 _ACEOF
88772 rm -f conftest.$ac_objext
88773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88774 (eval $ac_compile) 2>conftest.er1
88775 ac_status=$?
88776 grep -v '^ *+' conftest.er1 >conftest.err
88777 rm -f conftest.er1
88778 cat conftest.err >&5
88779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88780 (exit $ac_status); } &&
88781 { ac_try='test -z "$ac_c_werror_flag"
88782 || test ! -s conftest.err'
88783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88784 (eval $ac_try) 2>&5
88785 ac_status=$?
88786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88787 (exit $ac_status); }; } &&
88788 { ac_try='test -s conftest.$ac_objext'
88789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88790 (eval $ac_try) 2>&5
88791 ac_status=$?
88792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88793 (exit $ac_status); }; }; then
88794 ac_header_compiler=yes
88795 else
88796 echo "$as_me: failed program was:" >&5
88797 sed 's/^/| /' conftest.$ac_ext >&5
88798
88799 ac_header_compiler=no
88800 fi
88801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88803 echo "${ECHO_T}$ac_header_compiler" >&6
88804
88805 # Is the header present?
88806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88808 cat >conftest.$ac_ext <<_ACEOF
88809 /* confdefs.h. */
88810 _ACEOF
88811 cat confdefs.h >>conftest.$ac_ext
88812 cat >>conftest.$ac_ext <<_ACEOF
88813 /* end confdefs.h. */
88814 #include <$ac_header>
88815 _ACEOF
88816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88817 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88818 ac_status=$?
88819 grep -v '^ *+' conftest.er1 >conftest.err
88820 rm -f conftest.er1
88821 cat conftest.err >&5
88822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88823 (exit $ac_status); } >/dev/null; then
88824 if test -s conftest.err; then
88825 ac_cpp_err=$ac_c_preproc_warn_flag
88826 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88827 else
88828 ac_cpp_err=
88829 fi
88830 else
88831 ac_cpp_err=yes
88832 fi
88833 if test -z "$ac_cpp_err"; then
88834 ac_header_preproc=yes
88835 else
88836 echo "$as_me: failed program was:" >&5
88837 sed 's/^/| /' conftest.$ac_ext >&5
88838
88839 ac_header_preproc=no
88840 fi
88841 rm -f conftest.err conftest.$ac_ext
88842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88843 echo "${ECHO_T}$ac_header_preproc" >&6
88844
88845 # So? What about this header?
88846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88847 yes:no: )
88848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88851 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88852 ac_header_preproc=yes
88853 ;;
88854 no:yes:* )
88855 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88856 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88857 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88858 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88859 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88860 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88861 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88862 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88864 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88865 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88866 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88867 (
88868 cat <<\_ASBOX
88869 ## ----------------------------------------- ##
88870 ## Report this to the package-unused lists. ##
88871 ## ----------------------------------------- ##
88872 _ASBOX
88873 ) |
88874 sed "s/^/$as_me: WARNING: /" >&2
88875 ;;
88876 esac
88877 echo "$as_me:$LINENO: checking for $ac_header" >&5
88878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88880 echo $ECHO_N "(cached) $ECHO_C" >&6
88881 else
88882 eval "$as_ac_Header=\$ac_header_preproc"
88883 fi
88884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88886
88887 fi
88888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88889 cat >>confdefs.h <<_ACEOF
88890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88891 _ACEOF
88892
88893 fi
88894
88895 done
88896
88897 SECTION_FLAGS='-ffunction-sections -fdata-sections'
88898
88899
88900 # If we're not using GNU ld, then there's no point in even trying these
88901 # tests. Check for that first. We should have already tested for gld
88902 # by now (in libtool), but require it now just to be safe...
88903 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
88904 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
88905
88906
88907
88908 # The name set by libtool depends on the version of libtool. Shame on us
88909 # for depending on an impl detail, but c'est la vie. Older versions used
88910 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
88911 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
88912 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
88913 # set (hence we're using an older libtool), then set it.
88914 if test x${with_gnu_ld+set} != xset; then
88915 if test x${ac_cv_prog_gnu_ld+set} != xset; then
88916 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
88917 with_gnu_ld=no
88918 else
88919 with_gnu_ld=$ac_cv_prog_gnu_ld
88920 fi
88921 fi
88922
88923 # Start by getting the version number. I think the libtool test already
88924 # does some of this, but throws away the result.
88925 if test x"$with_gnu_ld" = x"yes"; then
88926 echo "$as_me:$LINENO: checking for ld version" >&5
88927 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
88928
88929 ldver=`$LD --version 2>/dev/null | head -1 | \
88930 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
88931
88932 glibcxx_gnu_ld_version=`echo $ldver | \
88933 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
88934 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
88935 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
88936 fi
88937
88938 # Set --gc-sections.
88939 glibcxx_gcsections_min_ld=21602
88940 if test x"$with_gnu_ld" = x"yes" &&
88941 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
88942
88943 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
88944 # NB: This flag only works reliably after 2.16.1. Configure tests
88945 # for this are difficult, so hard wire a value that should work.
88946
88947 ac_test_CFLAGS="${CFLAGS+set}"
88948 ac_save_CFLAGS="$CFLAGS"
88949 CFLAGS='-Wl,--gc-sections'
88950
88951 # Check for -Wl,--gc-sections
88952 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
88953 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
88954 if test x$gcc_no_link = xyes; then
88955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88957 { (exit 1); exit 1; }; }
88958 fi
88959 cat >conftest.$ac_ext <<_ACEOF
88960 /* confdefs.h. */
88961 _ACEOF
88962 cat confdefs.h >>conftest.$ac_ext
88963 cat >>conftest.$ac_ext <<_ACEOF
88964 /* end confdefs.h. */
88965 int one(void) { return 1; }
88966 int two(void) { return 2; }
88967
88968 int
88969 main ()
88970 {
88971 two();
88972 ;
88973 return 0;
88974 }
88975 _ACEOF
88976 rm -f conftest.$ac_objext conftest$ac_exeext
88977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88978 (eval $ac_link) 2>conftest.er1
88979 ac_status=$?
88980 grep -v '^ *+' conftest.er1 >conftest.err
88981 rm -f conftest.er1
88982 cat conftest.err >&5
88983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88984 (exit $ac_status); } &&
88985 { ac_try='test -z "$ac_c_werror_flag"
88986 || test ! -s conftest.err'
88987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88988 (eval $ac_try) 2>&5
88989 ac_status=$?
88990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88991 (exit $ac_status); }; } &&
88992 { ac_try='test -s conftest$ac_exeext'
88993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88994 (eval $ac_try) 2>&5
88995 ac_status=$?
88996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88997 (exit $ac_status); }; }; then
88998 ac_gcsections=yes
88999 else
89000 echo "$as_me: failed program was:" >&5
89001 sed 's/^/| /' conftest.$ac_ext >&5
89002
89003 ac_gcsections=no
89004 fi
89005 rm -f conftest.err conftest.$ac_objext \
89006 conftest$ac_exeext conftest.$ac_ext
89007 if test "$ac_gcsections" = "yes"; then
89008 rm -f conftest.c
89009 touch conftest.c
89010 if $CC -c conftest.c; then
89011 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
89012 grep "Warning: gc-sections option ignored" > /dev/null; then
89013 ac_gcsections=no
89014 fi
89015 fi
89016 rm -f conftest.c conftest.o conftest
89017 fi
89018 if test "$ac_gcsections" = "yes"; then
89019 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
89020 fi
89021 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
89022 echo "${ECHO_T}$ac_gcsections" >&6
89023
89024 if test "$ac_test_CFLAGS" = set; then
89025 CFLAGS="$ac_save_CFLAGS"
89026 else
89027 # this is the suspicious part
89028 CFLAGS=''
89029 fi
89030 fi
89031
89032 # Set -z,relro.
89033 # Note this is only for shared objects.
89034 ac_ld_relro=no
89035 if test x"$with_gnu_ld" = x"yes"; then
89036 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
89037 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
89038 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
89039 if test -n "$cxx_z_relo"; then
89040 OPT_LDFLAGS="-Wl,-z,relro"
89041 ac_ld_relro=yes
89042 fi
89043 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
89044 echo "${ECHO_T}$ac_ld_relro" >&6
89045 fi
89046
89047 # Set linker optimization flags.
89048 if test x"$with_gnu_ld" = x"yes"; then
89049 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
89050 fi
89051
89052
89053
89054
89055
89056
89057 echo "$as_me:$LINENO: checking for main in -lm" >&5
89058 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
89059 if test "${ac_cv_lib_m_main+set}" = set; then
89060 echo $ECHO_N "(cached) $ECHO_C" >&6
89061 else
89062 ac_check_lib_save_LIBS=$LIBS
89063 LIBS="-lm $LIBS"
89064 if test x$gcc_no_link = xyes; then
89065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89067 { (exit 1); exit 1; }; }
89068 fi
89069 cat >conftest.$ac_ext <<_ACEOF
89070 /* confdefs.h. */
89071 _ACEOF
89072 cat confdefs.h >>conftest.$ac_ext
89073 cat >>conftest.$ac_ext <<_ACEOF
89074 /* end confdefs.h. */
89075
89076
89077 int
89078 main ()
89079 {
89080 main ();
89081 ;
89082 return 0;
89083 }
89084 _ACEOF
89085 rm -f conftest.$ac_objext conftest$ac_exeext
89086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89087 (eval $ac_link) 2>conftest.er1
89088 ac_status=$?
89089 grep -v '^ *+' conftest.er1 >conftest.err
89090 rm -f conftest.er1
89091 cat conftest.err >&5
89092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89093 (exit $ac_status); } &&
89094 { ac_try='test -z "$ac_c_werror_flag"
89095 || test ! -s conftest.err'
89096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89097 (eval $ac_try) 2>&5
89098 ac_status=$?
89099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89100 (exit $ac_status); }; } &&
89101 { ac_try='test -s conftest$ac_exeext'
89102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89103 (eval $ac_try) 2>&5
89104 ac_status=$?
89105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89106 (exit $ac_status); }; }; then
89107 ac_cv_lib_m_main=yes
89108 else
89109 echo "$as_me: failed program was:" >&5
89110 sed 's/^/| /' conftest.$ac_ext >&5
89111
89112 ac_cv_lib_m_main=no
89113 fi
89114 rm -f conftest.err conftest.$ac_objext \
89115 conftest$ac_exeext conftest.$ac_ext
89116 LIBS=$ac_check_lib_save_LIBS
89117 fi
89118 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
89119 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
89120 if test $ac_cv_lib_m_main = yes; then
89121 cat >>confdefs.h <<_ACEOF
89122 #define HAVE_LIBM 1
89123 _ACEOF
89124
89125 LIBS="-lm $LIBS"
89126
89127 fi
89128
89129
89130 for ac_func in copysignf
89131 do
89132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89133 echo "$as_me:$LINENO: checking for $ac_func" >&5
89134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89135 if eval "test \"\${$as_ac_var+set}\" = set"; then
89136 echo $ECHO_N "(cached) $ECHO_C" >&6
89137 else
89138 if test x$gcc_no_link = xyes; then
89139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89141 { (exit 1); exit 1; }; }
89142 fi
89143 cat >conftest.$ac_ext <<_ACEOF
89144 /* confdefs.h. */
89145 _ACEOF
89146 cat confdefs.h >>conftest.$ac_ext
89147 cat >>conftest.$ac_ext <<_ACEOF
89148 /* end confdefs.h. */
89149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89151 #define $ac_func innocuous_$ac_func
89152
89153 /* System header to define __stub macros and hopefully few prototypes,
89154 which can conflict with char $ac_func (); below.
89155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89156 <limits.h> exists even on freestanding compilers. */
89157
89158 #ifdef __STDC__
89159 # include <limits.h>
89160 #else
89161 # include <assert.h>
89162 #endif
89163
89164 #undef $ac_func
89165
89166 /* Override any gcc2 internal prototype to avoid an error. */
89167 #ifdef __cplusplus
89168 extern "C"
89169 {
89170 #endif
89171 /* We use char because int might match the return type of a gcc2
89172 builtin and then its argument prototype would still apply. */
89173 char $ac_func ();
89174 /* The GNU C library defines this for functions which it implements
89175 to always fail with ENOSYS. Some functions are actually named
89176 something starting with __ and the normal name is an alias. */
89177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89178 choke me
89179 #else
89180 char (*f) () = $ac_func;
89181 #endif
89182 #ifdef __cplusplus
89183 }
89184 #endif
89185
89186 int
89187 main ()
89188 {
89189 return f != $ac_func;
89190 ;
89191 return 0;
89192 }
89193 _ACEOF
89194 rm -f conftest.$ac_objext conftest$ac_exeext
89195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89196 (eval $ac_link) 2>conftest.er1
89197 ac_status=$?
89198 grep -v '^ *+' conftest.er1 >conftest.err
89199 rm -f conftest.er1
89200 cat conftest.err >&5
89201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89202 (exit $ac_status); } &&
89203 { ac_try='test -z "$ac_c_werror_flag"
89204 || test ! -s conftest.err'
89205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89206 (eval $ac_try) 2>&5
89207 ac_status=$?
89208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89209 (exit $ac_status); }; } &&
89210 { ac_try='test -s conftest$ac_exeext'
89211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89212 (eval $ac_try) 2>&5
89213 ac_status=$?
89214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89215 (exit $ac_status); }; }; then
89216 eval "$as_ac_var=yes"
89217 else
89218 echo "$as_me: failed program was:" >&5
89219 sed 's/^/| /' conftest.$ac_ext >&5
89220
89221 eval "$as_ac_var=no"
89222 fi
89223 rm -f conftest.err conftest.$ac_objext \
89224 conftest$ac_exeext conftest.$ac_ext
89225 fi
89226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89228 if test `eval echo '${'$as_ac_var'}'` = yes; then
89229 cat >>confdefs.h <<_ACEOF
89230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89231 _ACEOF
89232
89233 else
89234 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
89235 fi
89236 done
89237
89238
89239
89240 for ac_func in __signbit
89241 do
89242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89243 echo "$as_me:$LINENO: checking for $ac_func" >&5
89244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89245 if eval "test \"\${$as_ac_var+set}\" = set"; then
89246 echo $ECHO_N "(cached) $ECHO_C" >&6
89247 else
89248 if test x$gcc_no_link = xyes; then
89249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89251 { (exit 1); exit 1; }; }
89252 fi
89253 cat >conftest.$ac_ext <<_ACEOF
89254 /* confdefs.h. */
89255 _ACEOF
89256 cat confdefs.h >>conftest.$ac_ext
89257 cat >>conftest.$ac_ext <<_ACEOF
89258 /* end confdefs.h. */
89259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89261 #define $ac_func innocuous_$ac_func
89262
89263 /* System header to define __stub macros and hopefully few prototypes,
89264 which can conflict with char $ac_func (); below.
89265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89266 <limits.h> exists even on freestanding compilers. */
89267
89268 #ifdef __STDC__
89269 # include <limits.h>
89270 #else
89271 # include <assert.h>
89272 #endif
89273
89274 #undef $ac_func
89275
89276 /* Override any gcc2 internal prototype to avoid an error. */
89277 #ifdef __cplusplus
89278 extern "C"
89279 {
89280 #endif
89281 /* We use char because int might match the return type of a gcc2
89282 builtin and then its argument prototype would still apply. */
89283 char $ac_func ();
89284 /* The GNU C library defines this for functions which it implements
89285 to always fail with ENOSYS. Some functions are actually named
89286 something starting with __ and the normal name is an alias. */
89287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89288 choke me
89289 #else
89290 char (*f) () = $ac_func;
89291 #endif
89292 #ifdef __cplusplus
89293 }
89294 #endif
89295
89296 int
89297 main ()
89298 {
89299 return f != $ac_func;
89300 ;
89301 return 0;
89302 }
89303 _ACEOF
89304 rm -f conftest.$ac_objext conftest$ac_exeext
89305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89306 (eval $ac_link) 2>conftest.er1
89307 ac_status=$?
89308 grep -v '^ *+' conftest.er1 >conftest.err
89309 rm -f conftest.er1
89310 cat conftest.err >&5
89311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89312 (exit $ac_status); } &&
89313 { ac_try='test -z "$ac_c_werror_flag"
89314 || test ! -s conftest.err'
89315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89316 (eval $ac_try) 2>&5
89317 ac_status=$?
89318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89319 (exit $ac_status); }; } &&
89320 { ac_try='test -s conftest$ac_exeext'
89321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89322 (eval $ac_try) 2>&5
89323 ac_status=$?
89324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89325 (exit $ac_status); }; }; then
89326 eval "$as_ac_var=yes"
89327 else
89328 echo "$as_me: failed program was:" >&5
89329 sed 's/^/| /' conftest.$ac_ext >&5
89330
89331 eval "$as_ac_var=no"
89332 fi
89333 rm -f conftest.err conftest.$ac_objext \
89334 conftest$ac_exeext conftest.$ac_ext
89335 fi
89336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89338 if test `eval echo '${'$as_ac_var'}'` = yes; then
89339 cat >>confdefs.h <<_ACEOF
89340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89341 _ACEOF
89342
89343 else
89344 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
89345 fi
89346 done
89347
89348
89349
89350 for ac_func in __signbitf
89351 do
89352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89353 echo "$as_me:$LINENO: checking for $ac_func" >&5
89354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89355 if eval "test \"\${$as_ac_var+set}\" = set"; then
89356 echo $ECHO_N "(cached) $ECHO_C" >&6
89357 else
89358 if test x$gcc_no_link = xyes; then
89359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89361 { (exit 1); exit 1; }; }
89362 fi
89363 cat >conftest.$ac_ext <<_ACEOF
89364 /* confdefs.h. */
89365 _ACEOF
89366 cat confdefs.h >>conftest.$ac_ext
89367 cat >>conftest.$ac_ext <<_ACEOF
89368 /* end confdefs.h. */
89369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89371 #define $ac_func innocuous_$ac_func
89372
89373 /* System header to define __stub macros and hopefully few prototypes,
89374 which can conflict with char $ac_func (); below.
89375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89376 <limits.h> exists even on freestanding compilers. */
89377
89378 #ifdef __STDC__
89379 # include <limits.h>
89380 #else
89381 # include <assert.h>
89382 #endif
89383
89384 #undef $ac_func
89385
89386 /* Override any gcc2 internal prototype to avoid an error. */
89387 #ifdef __cplusplus
89388 extern "C"
89389 {
89390 #endif
89391 /* We use char because int might match the return type of a gcc2
89392 builtin and then its argument prototype would still apply. */
89393 char $ac_func ();
89394 /* The GNU C library defines this for functions which it implements
89395 to always fail with ENOSYS. Some functions are actually named
89396 something starting with __ and the normal name is an alias. */
89397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89398 choke me
89399 #else
89400 char (*f) () = $ac_func;
89401 #endif
89402 #ifdef __cplusplus
89403 }
89404 #endif
89405
89406 int
89407 main ()
89408 {
89409 return f != $ac_func;
89410 ;
89411 return 0;
89412 }
89413 _ACEOF
89414 rm -f conftest.$ac_objext conftest$ac_exeext
89415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89416 (eval $ac_link) 2>conftest.er1
89417 ac_status=$?
89418 grep -v '^ *+' conftest.er1 >conftest.err
89419 rm -f conftest.er1
89420 cat conftest.err >&5
89421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89422 (exit $ac_status); } &&
89423 { ac_try='test -z "$ac_c_werror_flag"
89424 || test ! -s conftest.err'
89425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89426 (eval $ac_try) 2>&5
89427 ac_status=$?
89428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89429 (exit $ac_status); }; } &&
89430 { ac_try='test -s conftest$ac_exeext'
89431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89432 (eval $ac_try) 2>&5
89433 ac_status=$?
89434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89435 (exit $ac_status); }; }; then
89436 eval "$as_ac_var=yes"
89437 else
89438 echo "$as_me: failed program was:" >&5
89439 sed 's/^/| /' conftest.$ac_ext >&5
89440
89441 eval "$as_ac_var=no"
89442 fi
89443 rm -f conftest.err conftest.$ac_objext \
89444 conftest$ac_exeext conftest.$ac_ext
89445 fi
89446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89448 if test `eval echo '${'$as_ac_var'}'` = yes; then
89449 cat >>confdefs.h <<_ACEOF
89450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89451 _ACEOF
89452
89453 else
89454 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
89455 fi
89456 done
89457
89458
89459 if test x$ac_cv_func_copysignl = x"yes"; then
89460
89461 for ac_func in __signbitl
89462 do
89463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89464 echo "$as_me:$LINENO: checking for $ac_func" >&5
89465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89466 if eval "test \"\${$as_ac_var+set}\" = set"; then
89467 echo $ECHO_N "(cached) $ECHO_C" >&6
89468 else
89469 if test x$gcc_no_link = xyes; then
89470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89472 { (exit 1); exit 1; }; }
89473 fi
89474 cat >conftest.$ac_ext <<_ACEOF
89475 /* confdefs.h. */
89476 _ACEOF
89477 cat confdefs.h >>conftest.$ac_ext
89478 cat >>conftest.$ac_ext <<_ACEOF
89479 /* end confdefs.h. */
89480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89482 #define $ac_func innocuous_$ac_func
89483
89484 /* System header to define __stub macros and hopefully few prototypes,
89485 which can conflict with char $ac_func (); below.
89486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89487 <limits.h> exists even on freestanding compilers. */
89488
89489 #ifdef __STDC__
89490 # include <limits.h>
89491 #else
89492 # include <assert.h>
89493 #endif
89494
89495 #undef $ac_func
89496
89497 /* Override any gcc2 internal prototype to avoid an error. */
89498 #ifdef __cplusplus
89499 extern "C"
89500 {
89501 #endif
89502 /* We use char because int might match the return type of a gcc2
89503 builtin and then its argument prototype would still apply. */
89504 char $ac_func ();
89505 /* The GNU C library defines this for functions which it implements
89506 to always fail with ENOSYS. Some functions are actually named
89507 something starting with __ and the normal name is an alias. */
89508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89509 choke me
89510 #else
89511 char (*f) () = $ac_func;
89512 #endif
89513 #ifdef __cplusplus
89514 }
89515 #endif
89516
89517 int
89518 main ()
89519 {
89520 return f != $ac_func;
89521 ;
89522 return 0;
89523 }
89524 _ACEOF
89525 rm -f conftest.$ac_objext conftest$ac_exeext
89526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89527 (eval $ac_link) 2>conftest.er1
89528 ac_status=$?
89529 grep -v '^ *+' conftest.er1 >conftest.err
89530 rm -f conftest.er1
89531 cat conftest.err >&5
89532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89533 (exit $ac_status); } &&
89534 { ac_try='test -z "$ac_c_werror_flag"
89535 || test ! -s conftest.err'
89536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89537 (eval $ac_try) 2>&5
89538 ac_status=$?
89539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89540 (exit $ac_status); }; } &&
89541 { ac_try='test -s conftest$ac_exeext'
89542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89543 (eval $ac_try) 2>&5
89544 ac_status=$?
89545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89546 (exit $ac_status); }; }; then
89547 eval "$as_ac_var=yes"
89548 else
89549 echo "$as_me: failed program was:" >&5
89550 sed 's/^/| /' conftest.$ac_ext >&5
89551
89552 eval "$as_ac_var=no"
89553 fi
89554 rm -f conftest.err conftest.$ac_objext \
89555 conftest$ac_exeext conftest.$ac_ext
89556 fi
89557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89559 if test `eval echo '${'$as_ac_var'}'` = yes; then
89560 cat >>confdefs.h <<_ACEOF
89561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89562 _ACEOF
89563
89564 else
89565 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
89566 fi
89567 done
89568
89569 fi
89570
89571 # Used in libmath/Makefile.am.
89572 if test -n "$LIBMATHOBJS"; then
89573 need_libmath=yes
89574 fi
89575
89576
89577 cat >>confdefs.h <<\_ACEOF
89578 #define HAVE_HYPOT 1
89579 _ACEOF
89580
89581 cat >>confdefs.h <<\_ACEOF
89582 #define HAVE_ISINF 1
89583 _ACEOF
89584
89585 cat >>confdefs.h <<\_ACEOF
89586 #define HAVE_ISNAN 1
89587 _ACEOF
89588
89589
89590 # For showmanyc_helper().
89591
89592
89593 for ac_header in sys/ioctl.h sys/filio.h
89594 do
89595 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89597 echo "$as_me:$LINENO: checking for $ac_header" >&5
89598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89600 echo $ECHO_N "(cached) $ECHO_C" >&6
89601 fi
89602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89604 else
89605 # Is the header compilable?
89606 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89607 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89608 cat >conftest.$ac_ext <<_ACEOF
89609 /* confdefs.h. */
89610 _ACEOF
89611 cat confdefs.h >>conftest.$ac_ext
89612 cat >>conftest.$ac_ext <<_ACEOF
89613 /* end confdefs.h. */
89614 $ac_includes_default
89615 #include <$ac_header>
89616 _ACEOF
89617 rm -f conftest.$ac_objext
89618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89619 (eval $ac_compile) 2>conftest.er1
89620 ac_status=$?
89621 grep -v '^ *+' conftest.er1 >conftest.err
89622 rm -f conftest.er1
89623 cat conftest.err >&5
89624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89625 (exit $ac_status); } &&
89626 { ac_try='test -z "$ac_c_werror_flag"
89627 || test ! -s conftest.err'
89628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89629 (eval $ac_try) 2>&5
89630 ac_status=$?
89631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89632 (exit $ac_status); }; } &&
89633 { ac_try='test -s conftest.$ac_objext'
89634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89635 (eval $ac_try) 2>&5
89636 ac_status=$?
89637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89638 (exit $ac_status); }; }; then
89639 ac_header_compiler=yes
89640 else
89641 echo "$as_me: failed program was:" >&5
89642 sed 's/^/| /' conftest.$ac_ext >&5
89643
89644 ac_header_compiler=no
89645 fi
89646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89648 echo "${ECHO_T}$ac_header_compiler" >&6
89649
89650 # Is the header present?
89651 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89652 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89653 cat >conftest.$ac_ext <<_ACEOF
89654 /* confdefs.h. */
89655 _ACEOF
89656 cat confdefs.h >>conftest.$ac_ext
89657 cat >>conftest.$ac_ext <<_ACEOF
89658 /* end confdefs.h. */
89659 #include <$ac_header>
89660 _ACEOF
89661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89662 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89663 ac_status=$?
89664 grep -v '^ *+' conftest.er1 >conftest.err
89665 rm -f conftest.er1
89666 cat conftest.err >&5
89667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89668 (exit $ac_status); } >/dev/null; then
89669 if test -s conftest.err; then
89670 ac_cpp_err=$ac_c_preproc_warn_flag
89671 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89672 else
89673 ac_cpp_err=
89674 fi
89675 else
89676 ac_cpp_err=yes
89677 fi
89678 if test -z "$ac_cpp_err"; then
89679 ac_header_preproc=yes
89680 else
89681 echo "$as_me: failed program was:" >&5
89682 sed 's/^/| /' conftest.$ac_ext >&5
89683
89684 ac_header_preproc=no
89685 fi
89686 rm -f conftest.err conftest.$ac_ext
89687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89688 echo "${ECHO_T}$ac_header_preproc" >&6
89689
89690 # So? What about this header?
89691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89692 yes:no: )
89693 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89694 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89696 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89697 ac_header_preproc=yes
89698 ;;
89699 no:yes:* )
89700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89704 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89705 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89706 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89707 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89710 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89711 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89712 (
89713 cat <<\_ASBOX
89714 ## ----------------------------------------- ##
89715 ## Report this to the package-unused lists. ##
89716 ## ----------------------------------------- ##
89717 _ASBOX
89718 ) |
89719 sed "s/^/$as_me: WARNING: /" >&2
89720 ;;
89721 esac
89722 echo "$as_me:$LINENO: checking for $ac_header" >&5
89723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89725 echo $ECHO_N "(cached) $ECHO_C" >&6
89726 else
89727 eval "$as_ac_Header=\$ac_header_preproc"
89728 fi
89729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89731
89732 fi
89733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89734 cat >>confdefs.h <<_ACEOF
89735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89736 _ACEOF
89737
89738 fi
89739
89740 done
89741
89742
89743 echo "$as_me:$LINENO: checking for poll" >&5
89744 echo $ECHO_N "checking for poll... $ECHO_C" >&6
89745 if test "${glibcxx_cv_POLL+set}" = set; then
89746 echo $ECHO_N "(cached) $ECHO_C" >&6
89747 else
89748
89749 if test x$gcc_no_link = xyes; then
89750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89752 { (exit 1); exit 1; }; }
89753 fi
89754 cat >conftest.$ac_ext <<_ACEOF
89755 /* confdefs.h. */
89756 _ACEOF
89757 cat confdefs.h >>conftest.$ac_ext
89758 cat >>conftest.$ac_ext <<_ACEOF
89759 /* end confdefs.h. */
89760 #include <poll.h>
89761 int
89762 main ()
89763 {
89764 struct pollfd pfd[1];
89765 pfd[0].events = POLLIN;
89766 poll(pfd, 1, 0);
89767 ;
89768 return 0;
89769 }
89770 _ACEOF
89771 rm -f conftest.$ac_objext conftest$ac_exeext
89772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89773 (eval $ac_link) 2>conftest.er1
89774 ac_status=$?
89775 grep -v '^ *+' conftest.er1 >conftest.err
89776 rm -f conftest.er1
89777 cat conftest.err >&5
89778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89779 (exit $ac_status); } &&
89780 { ac_try='test -z "$ac_c_werror_flag"
89781 || test ! -s conftest.err'
89782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89783 (eval $ac_try) 2>&5
89784 ac_status=$?
89785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89786 (exit $ac_status); }; } &&
89787 { ac_try='test -s conftest$ac_exeext'
89788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89789 (eval $ac_try) 2>&5
89790 ac_status=$?
89791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89792 (exit $ac_status); }; }; then
89793 glibcxx_cv_POLL=yes
89794 else
89795 echo "$as_me: failed program was:" >&5
89796 sed 's/^/| /' conftest.$ac_ext >&5
89797
89798 glibcxx_cv_POLL=no
89799 fi
89800 rm -f conftest.err conftest.$ac_objext \
89801 conftest$ac_exeext conftest.$ac_ext
89802
89803 fi
89804
89805 if test $glibcxx_cv_POLL = yes; then
89806
89807 cat >>confdefs.h <<\_ACEOF
89808 #define HAVE_POLL 1
89809 _ACEOF
89810
89811 fi
89812 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
89813 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
89814
89815
89816 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
89817 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
89818 if test "${glibcxx_cv_S_ISREG+set}" = set; then
89819 echo $ECHO_N "(cached) $ECHO_C" >&6
89820 else
89821
89822 if test x$gcc_no_link = xyes; then
89823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89825 { (exit 1); exit 1; }; }
89826 fi
89827 cat >conftest.$ac_ext <<_ACEOF
89828 /* confdefs.h. */
89829 _ACEOF
89830 cat confdefs.h >>conftest.$ac_ext
89831 cat >>conftest.$ac_ext <<_ACEOF
89832 /* end confdefs.h. */
89833 #include <sys/stat.h>
89834 int
89835 main ()
89836 {
89837 struct stat buffer;
89838 fstat(0, &buffer);
89839 S_ISREG(buffer.st_mode);
89840 ;
89841 return 0;
89842 }
89843 _ACEOF
89844 rm -f conftest.$ac_objext conftest$ac_exeext
89845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89846 (eval $ac_link) 2>conftest.er1
89847 ac_status=$?
89848 grep -v '^ *+' conftest.er1 >conftest.err
89849 rm -f conftest.er1
89850 cat conftest.err >&5
89851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89852 (exit $ac_status); } &&
89853 { ac_try='test -z "$ac_c_werror_flag"
89854 || test ! -s conftest.err'
89855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89856 (eval $ac_try) 2>&5
89857 ac_status=$?
89858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89859 (exit $ac_status); }; } &&
89860 { ac_try='test -s conftest$ac_exeext'
89861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89862 (eval $ac_try) 2>&5
89863 ac_status=$?
89864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89865 (exit $ac_status); }; }; then
89866 glibcxx_cv_S_ISREG=yes
89867 else
89868 echo "$as_me: failed program was:" >&5
89869 sed 's/^/| /' conftest.$ac_ext >&5
89870
89871 glibcxx_cv_S_ISREG=no
89872 fi
89873 rm -f conftest.err conftest.$ac_objext \
89874 conftest$ac_exeext conftest.$ac_ext
89875
89876 fi
89877
89878 if test "${glibcxx_cv_S_IFREG+set}" = set; then
89879 echo $ECHO_N "(cached) $ECHO_C" >&6
89880 else
89881
89882 if test x$gcc_no_link = xyes; then
89883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89885 { (exit 1); exit 1; }; }
89886 fi
89887 cat >conftest.$ac_ext <<_ACEOF
89888 /* confdefs.h. */
89889 _ACEOF
89890 cat confdefs.h >>conftest.$ac_ext
89891 cat >>conftest.$ac_ext <<_ACEOF
89892 /* end confdefs.h. */
89893 #include <sys/stat.h>
89894 int
89895 main ()
89896 {
89897 struct stat buffer;
89898 fstat(0, &buffer);
89899 S_IFREG & buffer.st_mode;
89900 ;
89901 return 0;
89902 }
89903 _ACEOF
89904 rm -f conftest.$ac_objext conftest$ac_exeext
89905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89906 (eval $ac_link) 2>conftest.er1
89907 ac_status=$?
89908 grep -v '^ *+' conftest.er1 >conftest.err
89909 rm -f conftest.er1
89910 cat conftest.err >&5
89911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89912 (exit $ac_status); } &&
89913 { ac_try='test -z "$ac_c_werror_flag"
89914 || test ! -s conftest.err'
89915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89916 (eval $ac_try) 2>&5
89917 ac_status=$?
89918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89919 (exit $ac_status); }; } &&
89920 { ac_try='test -s conftest$ac_exeext'
89921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89922 (eval $ac_try) 2>&5
89923 ac_status=$?
89924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89925 (exit $ac_status); }; }; then
89926 glibcxx_cv_S_IFREG=yes
89927 else
89928 echo "$as_me: failed program was:" >&5
89929 sed 's/^/| /' conftest.$ac_ext >&5
89930
89931 glibcxx_cv_S_IFREG=no
89932 fi
89933 rm -f conftest.err conftest.$ac_objext \
89934 conftest$ac_exeext conftest.$ac_ext
89935
89936 fi
89937
89938 res=no
89939 if test $glibcxx_cv_S_ISREG = yes; then
89940
89941 cat >>confdefs.h <<\_ACEOF
89942 #define HAVE_S_ISREG 1
89943 _ACEOF
89944
89945 res=S_ISREG
89946 elif test $glibcxx_cv_S_IFREG = yes; then
89947
89948 cat >>confdefs.h <<\_ACEOF
89949 #define HAVE_S_IFREG 1
89950 _ACEOF
89951
89952 res=S_IFREG
89953 fi
89954 echo "$as_me:$LINENO: result: $res" >&5
89955 echo "${ECHO_T}$res" >&6
89956
89957
89958 # For xsputn_2().
89959
89960 for ac_header in sys/uio.h
89961 do
89962 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89964 echo "$as_me:$LINENO: checking for $ac_header" >&5
89965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89967 echo $ECHO_N "(cached) $ECHO_C" >&6
89968 fi
89969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89971 else
89972 # Is the header compilable?
89973 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89974 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89975 cat >conftest.$ac_ext <<_ACEOF
89976 /* confdefs.h. */
89977 _ACEOF
89978 cat confdefs.h >>conftest.$ac_ext
89979 cat >>conftest.$ac_ext <<_ACEOF
89980 /* end confdefs.h. */
89981 $ac_includes_default
89982 #include <$ac_header>
89983 _ACEOF
89984 rm -f conftest.$ac_objext
89985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89986 (eval $ac_compile) 2>conftest.er1
89987 ac_status=$?
89988 grep -v '^ *+' conftest.er1 >conftest.err
89989 rm -f conftest.er1
89990 cat conftest.err >&5
89991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89992 (exit $ac_status); } &&
89993 { ac_try='test -z "$ac_c_werror_flag"
89994 || test ! -s conftest.err'
89995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89996 (eval $ac_try) 2>&5
89997 ac_status=$?
89998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89999 (exit $ac_status); }; } &&
90000 { ac_try='test -s conftest.$ac_objext'
90001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90002 (eval $ac_try) 2>&5
90003 ac_status=$?
90004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90005 (exit $ac_status); }; }; then
90006 ac_header_compiler=yes
90007 else
90008 echo "$as_me: failed program was:" >&5
90009 sed 's/^/| /' conftest.$ac_ext >&5
90010
90011 ac_header_compiler=no
90012 fi
90013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90015 echo "${ECHO_T}$ac_header_compiler" >&6
90016
90017 # Is the header present?
90018 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90020 cat >conftest.$ac_ext <<_ACEOF
90021 /* confdefs.h. */
90022 _ACEOF
90023 cat confdefs.h >>conftest.$ac_ext
90024 cat >>conftest.$ac_ext <<_ACEOF
90025 /* end confdefs.h. */
90026 #include <$ac_header>
90027 _ACEOF
90028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90029 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90030 ac_status=$?
90031 grep -v '^ *+' conftest.er1 >conftest.err
90032 rm -f conftest.er1
90033 cat conftest.err >&5
90034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90035 (exit $ac_status); } >/dev/null; then
90036 if test -s conftest.err; then
90037 ac_cpp_err=$ac_c_preproc_warn_flag
90038 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90039 else
90040 ac_cpp_err=
90041 fi
90042 else
90043 ac_cpp_err=yes
90044 fi
90045 if test -z "$ac_cpp_err"; then
90046 ac_header_preproc=yes
90047 else
90048 echo "$as_me: failed program was:" >&5
90049 sed 's/^/| /' conftest.$ac_ext >&5
90050
90051 ac_header_preproc=no
90052 fi
90053 rm -f conftest.err conftest.$ac_ext
90054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90055 echo "${ECHO_T}$ac_header_preproc" >&6
90056
90057 # So? What about this header?
90058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90059 yes:no: )
90060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90064 ac_header_preproc=yes
90065 ;;
90066 no:yes:* )
90067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90079 (
90080 cat <<\_ASBOX
90081 ## ----------------------------------------- ##
90082 ## Report this to the package-unused lists. ##
90083 ## ----------------------------------------- ##
90084 _ASBOX
90085 ) |
90086 sed "s/^/$as_me: WARNING: /" >&2
90087 ;;
90088 esac
90089 echo "$as_me:$LINENO: checking for $ac_header" >&5
90090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90092 echo $ECHO_N "(cached) $ECHO_C" >&6
90093 else
90094 eval "$as_ac_Header=\$ac_header_preproc"
90095 fi
90096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90098
90099 fi
90100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90101 cat >>confdefs.h <<_ACEOF
90102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90103 _ACEOF
90104
90105 fi
90106
90107 done
90108
90109
90110 echo "$as_me:$LINENO: checking for writev" >&5
90111 echo $ECHO_N "checking for writev... $ECHO_C" >&6
90112 if test "${glibcxx_cv_WRITEV+set}" = set; then
90113 echo $ECHO_N "(cached) $ECHO_C" >&6
90114 else
90115
90116 if test x$gcc_no_link = xyes; then
90117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90119 { (exit 1); exit 1; }; }
90120 fi
90121 cat >conftest.$ac_ext <<_ACEOF
90122 /* confdefs.h. */
90123 _ACEOF
90124 cat confdefs.h >>conftest.$ac_ext
90125 cat >>conftest.$ac_ext <<_ACEOF
90126 /* end confdefs.h. */
90127 #include <sys/uio.h>
90128 int
90129 main ()
90130 {
90131 struct iovec iov[2];
90132 writev(0, iov, 0);
90133 ;
90134 return 0;
90135 }
90136 _ACEOF
90137 rm -f conftest.$ac_objext conftest$ac_exeext
90138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90139 (eval $ac_link) 2>conftest.er1
90140 ac_status=$?
90141 grep -v '^ *+' conftest.er1 >conftest.err
90142 rm -f conftest.er1
90143 cat conftest.err >&5
90144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90145 (exit $ac_status); } &&
90146 { ac_try='test -z "$ac_c_werror_flag"
90147 || test ! -s conftest.err'
90148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90149 (eval $ac_try) 2>&5
90150 ac_status=$?
90151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90152 (exit $ac_status); }; } &&
90153 { ac_try='test -s conftest$ac_exeext'
90154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90155 (eval $ac_try) 2>&5
90156 ac_status=$?
90157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90158 (exit $ac_status); }; }; then
90159 glibcxx_cv_WRITEV=yes
90160 else
90161 echo "$as_me: failed program was:" >&5
90162 sed 's/^/| /' conftest.$ac_ext >&5
90163
90164 glibcxx_cv_WRITEV=no
90165 fi
90166 rm -f conftest.err conftest.$ac_objext \
90167 conftest$ac_exeext conftest.$ac_ext
90168
90169 fi
90170
90171 if test $glibcxx_cv_WRITEV = yes; then
90172
90173 cat >>confdefs.h <<\_ACEOF
90174 #define HAVE_WRITEV 1
90175 _ACEOF
90176
90177 fi
90178 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
90179 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
90180
90181 ;;
90182 *-qnx6.1* | *-qnx6.2*)
90183 SECTION_FLAGS='-ffunction-sections -fdata-sections'
90184
90185
90186 # If we're not using GNU ld, then there's no point in even trying these
90187 # tests. Check for that first. We should have already tested for gld
90188 # by now (in libtool), but require it now just to be safe...
90189 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
90190 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
90191
90192
90193
90194 # The name set by libtool depends on the version of libtool. Shame on us
90195 # for depending on an impl detail, but c'est la vie. Older versions used
90196 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
90197 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
90198 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
90199 # set (hence we're using an older libtool), then set it.
90200 if test x${with_gnu_ld+set} != xset; then
90201 if test x${ac_cv_prog_gnu_ld+set} != xset; then
90202 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
90203 with_gnu_ld=no
90204 else
90205 with_gnu_ld=$ac_cv_prog_gnu_ld
90206 fi
90207 fi
90208
90209 # Start by getting the version number. I think the libtool test already
90210 # does some of this, but throws away the result.
90211 if test x"$with_gnu_ld" = x"yes"; then
90212 echo "$as_me:$LINENO: checking for ld version" >&5
90213 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
90214
90215 ldver=`$LD --version 2>/dev/null | head -1 | \
90216 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
90217
90218 glibcxx_gnu_ld_version=`echo $ldver | \
90219 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
90220 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
90221 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
90222 fi
90223
90224 # Set --gc-sections.
90225 glibcxx_gcsections_min_ld=21602
90226 if test x"$with_gnu_ld" = x"yes" &&
90227 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
90228
90229 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
90230 # NB: This flag only works reliably after 2.16.1. Configure tests
90231 # for this are difficult, so hard wire a value that should work.
90232
90233 ac_test_CFLAGS="${CFLAGS+set}"
90234 ac_save_CFLAGS="$CFLAGS"
90235 CFLAGS='-Wl,--gc-sections'
90236
90237 # Check for -Wl,--gc-sections
90238 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
90239 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
90240 if test x$gcc_no_link = xyes; then
90241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90243 { (exit 1); exit 1; }; }
90244 fi
90245 cat >conftest.$ac_ext <<_ACEOF
90246 /* confdefs.h. */
90247 _ACEOF
90248 cat confdefs.h >>conftest.$ac_ext
90249 cat >>conftest.$ac_ext <<_ACEOF
90250 /* end confdefs.h. */
90251 int one(void) { return 1; }
90252 int two(void) { return 2; }
90253
90254 int
90255 main ()
90256 {
90257 two();
90258 ;
90259 return 0;
90260 }
90261 _ACEOF
90262 rm -f conftest.$ac_objext conftest$ac_exeext
90263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90264 (eval $ac_link) 2>conftest.er1
90265 ac_status=$?
90266 grep -v '^ *+' conftest.er1 >conftest.err
90267 rm -f conftest.er1
90268 cat conftest.err >&5
90269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90270 (exit $ac_status); } &&
90271 { ac_try='test -z "$ac_c_werror_flag"
90272 || test ! -s conftest.err'
90273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90274 (eval $ac_try) 2>&5
90275 ac_status=$?
90276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90277 (exit $ac_status); }; } &&
90278 { ac_try='test -s conftest$ac_exeext'
90279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90280 (eval $ac_try) 2>&5
90281 ac_status=$?
90282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90283 (exit $ac_status); }; }; then
90284 ac_gcsections=yes
90285 else
90286 echo "$as_me: failed program was:" >&5
90287 sed 's/^/| /' conftest.$ac_ext >&5
90288
90289 ac_gcsections=no
90290 fi
90291 rm -f conftest.err conftest.$ac_objext \
90292 conftest$ac_exeext conftest.$ac_ext
90293 if test "$ac_gcsections" = "yes"; then
90294 rm -f conftest.c
90295 touch conftest.c
90296 if $CC -c conftest.c; then
90297 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
90298 grep "Warning: gc-sections option ignored" > /dev/null; then
90299 ac_gcsections=no
90300 fi
90301 fi
90302 rm -f conftest.c conftest.o conftest
90303 fi
90304 if test "$ac_gcsections" = "yes"; then
90305 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
90306 fi
90307 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
90308 echo "${ECHO_T}$ac_gcsections" >&6
90309
90310 if test "$ac_test_CFLAGS" = set; then
90311 CFLAGS="$ac_save_CFLAGS"
90312 else
90313 # this is the suspicious part
90314 CFLAGS=''
90315 fi
90316 fi
90317
90318 # Set -z,relro.
90319 # Note this is only for shared objects.
90320 ac_ld_relro=no
90321 if test x"$with_gnu_ld" = x"yes"; then
90322 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
90323 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
90324 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
90325 if test -n "$cxx_z_relo"; then
90326 OPT_LDFLAGS="-Wl,-z,relro"
90327 ac_ld_relro=yes
90328 fi
90329 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
90330 echo "${ECHO_T}$ac_ld_relro" >&6
90331 fi
90332
90333 # Set linker optimization flags.
90334 if test x"$with_gnu_ld" = x"yes"; then
90335 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
90336 fi
90337
90338
90339
90340
90341
90342
90343 echo "$as_me:$LINENO: checking for main in -lm" >&5
90344 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
90345 if test "${ac_cv_lib_m_main+set}" = set; then
90346 echo $ECHO_N "(cached) $ECHO_C" >&6
90347 else
90348 ac_check_lib_save_LIBS=$LIBS
90349 LIBS="-lm $LIBS"
90350 if test x$gcc_no_link = xyes; then
90351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90353 { (exit 1); exit 1; }; }
90354 fi
90355 cat >conftest.$ac_ext <<_ACEOF
90356 /* confdefs.h. */
90357 _ACEOF
90358 cat confdefs.h >>conftest.$ac_ext
90359 cat >>conftest.$ac_ext <<_ACEOF
90360 /* end confdefs.h. */
90361
90362
90363 int
90364 main ()
90365 {
90366 main ();
90367 ;
90368 return 0;
90369 }
90370 _ACEOF
90371 rm -f conftest.$ac_objext conftest$ac_exeext
90372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90373 (eval $ac_link) 2>conftest.er1
90374 ac_status=$?
90375 grep -v '^ *+' conftest.er1 >conftest.err
90376 rm -f conftest.er1
90377 cat conftest.err >&5
90378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90379 (exit $ac_status); } &&
90380 { ac_try='test -z "$ac_c_werror_flag"
90381 || test ! -s conftest.err'
90382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90383 (eval $ac_try) 2>&5
90384 ac_status=$?
90385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90386 (exit $ac_status); }; } &&
90387 { ac_try='test -s conftest$ac_exeext'
90388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90389 (eval $ac_try) 2>&5
90390 ac_status=$?
90391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90392 (exit $ac_status); }; }; then
90393 ac_cv_lib_m_main=yes
90394 else
90395 echo "$as_me: failed program was:" >&5
90396 sed 's/^/| /' conftest.$ac_ext >&5
90397
90398 ac_cv_lib_m_main=no
90399 fi
90400 rm -f conftest.err conftest.$ac_objext \
90401 conftest$ac_exeext conftest.$ac_ext
90402 LIBS=$ac_check_lib_save_LIBS
90403 fi
90404 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
90405 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
90406 if test $ac_cv_lib_m_main = yes; then
90407 cat >>confdefs.h <<_ACEOF
90408 #define HAVE_LIBM 1
90409 _ACEOF
90410
90411 LIBS="-lm $LIBS"
90412
90413 fi
90414
90415
90416 for ac_func in copysignf
90417 do
90418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90419 echo "$as_me:$LINENO: checking for $ac_func" >&5
90420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90421 if eval "test \"\${$as_ac_var+set}\" = set"; then
90422 echo $ECHO_N "(cached) $ECHO_C" >&6
90423 else
90424 if test x$gcc_no_link = xyes; then
90425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90427 { (exit 1); exit 1; }; }
90428 fi
90429 cat >conftest.$ac_ext <<_ACEOF
90430 /* confdefs.h. */
90431 _ACEOF
90432 cat confdefs.h >>conftest.$ac_ext
90433 cat >>conftest.$ac_ext <<_ACEOF
90434 /* end confdefs.h. */
90435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90437 #define $ac_func innocuous_$ac_func
90438
90439 /* System header to define __stub macros and hopefully few prototypes,
90440 which can conflict with char $ac_func (); below.
90441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90442 <limits.h> exists even on freestanding compilers. */
90443
90444 #ifdef __STDC__
90445 # include <limits.h>
90446 #else
90447 # include <assert.h>
90448 #endif
90449
90450 #undef $ac_func
90451
90452 /* Override any gcc2 internal prototype to avoid an error. */
90453 #ifdef __cplusplus
90454 extern "C"
90455 {
90456 #endif
90457 /* We use char because int might match the return type of a gcc2
90458 builtin and then its argument prototype would still apply. */
90459 char $ac_func ();
90460 /* The GNU C library defines this for functions which it implements
90461 to always fail with ENOSYS. Some functions are actually named
90462 something starting with __ and the normal name is an alias. */
90463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90464 choke me
90465 #else
90466 char (*f) () = $ac_func;
90467 #endif
90468 #ifdef __cplusplus
90469 }
90470 #endif
90471
90472 int
90473 main ()
90474 {
90475 return f != $ac_func;
90476 ;
90477 return 0;
90478 }
90479 _ACEOF
90480 rm -f conftest.$ac_objext conftest$ac_exeext
90481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90482 (eval $ac_link) 2>conftest.er1
90483 ac_status=$?
90484 grep -v '^ *+' conftest.er1 >conftest.err
90485 rm -f conftest.er1
90486 cat conftest.err >&5
90487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90488 (exit $ac_status); } &&
90489 { ac_try='test -z "$ac_c_werror_flag"
90490 || test ! -s conftest.err'
90491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90492 (eval $ac_try) 2>&5
90493 ac_status=$?
90494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90495 (exit $ac_status); }; } &&
90496 { ac_try='test -s conftest$ac_exeext'
90497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90498 (eval $ac_try) 2>&5
90499 ac_status=$?
90500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90501 (exit $ac_status); }; }; then
90502 eval "$as_ac_var=yes"
90503 else
90504 echo "$as_me: failed program was:" >&5
90505 sed 's/^/| /' conftest.$ac_ext >&5
90506
90507 eval "$as_ac_var=no"
90508 fi
90509 rm -f conftest.err conftest.$ac_objext \
90510 conftest$ac_exeext conftest.$ac_ext
90511 fi
90512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90514 if test `eval echo '${'$as_ac_var'}'` = yes; then
90515 cat >>confdefs.h <<_ACEOF
90516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90517 _ACEOF
90518
90519 else
90520 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
90521 fi
90522 done
90523
90524
90525
90526 for ac_func in __signbit
90527 do
90528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90529 echo "$as_me:$LINENO: checking for $ac_func" >&5
90530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90531 if eval "test \"\${$as_ac_var+set}\" = set"; then
90532 echo $ECHO_N "(cached) $ECHO_C" >&6
90533 else
90534 if test x$gcc_no_link = xyes; then
90535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90537 { (exit 1); exit 1; }; }
90538 fi
90539 cat >conftest.$ac_ext <<_ACEOF
90540 /* confdefs.h. */
90541 _ACEOF
90542 cat confdefs.h >>conftest.$ac_ext
90543 cat >>conftest.$ac_ext <<_ACEOF
90544 /* end confdefs.h. */
90545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90547 #define $ac_func innocuous_$ac_func
90548
90549 /* System header to define __stub macros and hopefully few prototypes,
90550 which can conflict with char $ac_func (); below.
90551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90552 <limits.h> exists even on freestanding compilers. */
90553
90554 #ifdef __STDC__
90555 # include <limits.h>
90556 #else
90557 # include <assert.h>
90558 #endif
90559
90560 #undef $ac_func
90561
90562 /* Override any gcc2 internal prototype to avoid an error. */
90563 #ifdef __cplusplus
90564 extern "C"
90565 {
90566 #endif
90567 /* We use char because int might match the return type of a gcc2
90568 builtin and then its argument prototype would still apply. */
90569 char $ac_func ();
90570 /* The GNU C library defines this for functions which it implements
90571 to always fail with ENOSYS. Some functions are actually named
90572 something starting with __ and the normal name is an alias. */
90573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90574 choke me
90575 #else
90576 char (*f) () = $ac_func;
90577 #endif
90578 #ifdef __cplusplus
90579 }
90580 #endif
90581
90582 int
90583 main ()
90584 {
90585 return f != $ac_func;
90586 ;
90587 return 0;
90588 }
90589 _ACEOF
90590 rm -f conftest.$ac_objext conftest$ac_exeext
90591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90592 (eval $ac_link) 2>conftest.er1
90593 ac_status=$?
90594 grep -v '^ *+' conftest.er1 >conftest.err
90595 rm -f conftest.er1
90596 cat conftest.err >&5
90597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90598 (exit $ac_status); } &&
90599 { ac_try='test -z "$ac_c_werror_flag"
90600 || test ! -s conftest.err'
90601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90602 (eval $ac_try) 2>&5
90603 ac_status=$?
90604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90605 (exit $ac_status); }; } &&
90606 { ac_try='test -s conftest$ac_exeext'
90607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90608 (eval $ac_try) 2>&5
90609 ac_status=$?
90610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90611 (exit $ac_status); }; }; then
90612 eval "$as_ac_var=yes"
90613 else
90614 echo "$as_me: failed program was:" >&5
90615 sed 's/^/| /' conftest.$ac_ext >&5
90616
90617 eval "$as_ac_var=no"
90618 fi
90619 rm -f conftest.err conftest.$ac_objext \
90620 conftest$ac_exeext conftest.$ac_ext
90621 fi
90622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90624 if test `eval echo '${'$as_ac_var'}'` = yes; then
90625 cat >>confdefs.h <<_ACEOF
90626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90627 _ACEOF
90628
90629 else
90630 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
90631 fi
90632 done
90633
90634
90635
90636 for ac_func in __signbitf
90637 do
90638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90639 echo "$as_me:$LINENO: checking for $ac_func" >&5
90640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90641 if eval "test \"\${$as_ac_var+set}\" = set"; then
90642 echo $ECHO_N "(cached) $ECHO_C" >&6
90643 else
90644 if test x$gcc_no_link = xyes; then
90645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90647 { (exit 1); exit 1; }; }
90648 fi
90649 cat >conftest.$ac_ext <<_ACEOF
90650 /* confdefs.h. */
90651 _ACEOF
90652 cat confdefs.h >>conftest.$ac_ext
90653 cat >>conftest.$ac_ext <<_ACEOF
90654 /* end confdefs.h. */
90655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90657 #define $ac_func innocuous_$ac_func
90658
90659 /* System header to define __stub macros and hopefully few prototypes,
90660 which can conflict with char $ac_func (); below.
90661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90662 <limits.h> exists even on freestanding compilers. */
90663
90664 #ifdef __STDC__
90665 # include <limits.h>
90666 #else
90667 # include <assert.h>
90668 #endif
90669
90670 #undef $ac_func
90671
90672 /* Override any gcc2 internal prototype to avoid an error. */
90673 #ifdef __cplusplus
90674 extern "C"
90675 {
90676 #endif
90677 /* We use char because int might match the return type of a gcc2
90678 builtin and then its argument prototype would still apply. */
90679 char $ac_func ();
90680 /* The GNU C library defines this for functions which it implements
90681 to always fail with ENOSYS. Some functions are actually named
90682 something starting with __ and the normal name is an alias. */
90683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90684 choke me
90685 #else
90686 char (*f) () = $ac_func;
90687 #endif
90688 #ifdef __cplusplus
90689 }
90690 #endif
90691
90692 int
90693 main ()
90694 {
90695 return f != $ac_func;
90696 ;
90697 return 0;
90698 }
90699 _ACEOF
90700 rm -f conftest.$ac_objext conftest$ac_exeext
90701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90702 (eval $ac_link) 2>conftest.er1
90703 ac_status=$?
90704 grep -v '^ *+' conftest.er1 >conftest.err
90705 rm -f conftest.er1
90706 cat conftest.err >&5
90707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90708 (exit $ac_status); } &&
90709 { ac_try='test -z "$ac_c_werror_flag"
90710 || test ! -s conftest.err'
90711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90712 (eval $ac_try) 2>&5
90713 ac_status=$?
90714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90715 (exit $ac_status); }; } &&
90716 { ac_try='test -s conftest$ac_exeext'
90717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90718 (eval $ac_try) 2>&5
90719 ac_status=$?
90720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90721 (exit $ac_status); }; }; then
90722 eval "$as_ac_var=yes"
90723 else
90724 echo "$as_me: failed program was:" >&5
90725 sed 's/^/| /' conftest.$ac_ext >&5
90726
90727 eval "$as_ac_var=no"
90728 fi
90729 rm -f conftest.err conftest.$ac_objext \
90730 conftest$ac_exeext conftest.$ac_ext
90731 fi
90732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90734 if test `eval echo '${'$as_ac_var'}'` = yes; then
90735 cat >>confdefs.h <<_ACEOF
90736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90737 _ACEOF
90738
90739 else
90740 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
90741 fi
90742 done
90743
90744
90745 if test x$ac_cv_func_copysignl = x"yes"; then
90746
90747 for ac_func in __signbitl
90748 do
90749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90750 echo "$as_me:$LINENO: checking for $ac_func" >&5
90751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90752 if eval "test \"\${$as_ac_var+set}\" = set"; then
90753 echo $ECHO_N "(cached) $ECHO_C" >&6
90754 else
90755 if test x$gcc_no_link = xyes; then
90756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90758 { (exit 1); exit 1; }; }
90759 fi
90760 cat >conftest.$ac_ext <<_ACEOF
90761 /* confdefs.h. */
90762 _ACEOF
90763 cat confdefs.h >>conftest.$ac_ext
90764 cat >>conftest.$ac_ext <<_ACEOF
90765 /* end confdefs.h. */
90766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90768 #define $ac_func innocuous_$ac_func
90769
90770 /* System header to define __stub macros and hopefully few prototypes,
90771 which can conflict with char $ac_func (); below.
90772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90773 <limits.h> exists even on freestanding compilers. */
90774
90775 #ifdef __STDC__
90776 # include <limits.h>
90777 #else
90778 # include <assert.h>
90779 #endif
90780
90781 #undef $ac_func
90782
90783 /* Override any gcc2 internal prototype to avoid an error. */
90784 #ifdef __cplusplus
90785 extern "C"
90786 {
90787 #endif
90788 /* We use char because int might match the return type of a gcc2
90789 builtin and then its argument prototype would still apply. */
90790 char $ac_func ();
90791 /* The GNU C library defines this for functions which it implements
90792 to always fail with ENOSYS. Some functions are actually named
90793 something starting with __ and the normal name is an alias. */
90794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90795 choke me
90796 #else
90797 char (*f) () = $ac_func;
90798 #endif
90799 #ifdef __cplusplus
90800 }
90801 #endif
90802
90803 int
90804 main ()
90805 {
90806 return f != $ac_func;
90807 ;
90808 return 0;
90809 }
90810 _ACEOF
90811 rm -f conftest.$ac_objext conftest$ac_exeext
90812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90813 (eval $ac_link) 2>conftest.er1
90814 ac_status=$?
90815 grep -v '^ *+' conftest.er1 >conftest.err
90816 rm -f conftest.er1
90817 cat conftest.err >&5
90818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90819 (exit $ac_status); } &&
90820 { ac_try='test -z "$ac_c_werror_flag"
90821 || test ! -s conftest.err'
90822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90823 (eval $ac_try) 2>&5
90824 ac_status=$?
90825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90826 (exit $ac_status); }; } &&
90827 { ac_try='test -s conftest$ac_exeext'
90828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90829 (eval $ac_try) 2>&5
90830 ac_status=$?
90831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90832 (exit $ac_status); }; }; then
90833 eval "$as_ac_var=yes"
90834 else
90835 echo "$as_me: failed program was:" >&5
90836 sed 's/^/| /' conftest.$ac_ext >&5
90837
90838 eval "$as_ac_var=no"
90839 fi
90840 rm -f conftest.err conftest.$ac_objext \
90841 conftest$ac_exeext conftest.$ac_ext
90842 fi
90843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90845 if test `eval echo '${'$as_ac_var'}'` = yes; then
90846 cat >>confdefs.h <<_ACEOF
90847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90848 _ACEOF
90849
90850 else
90851 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
90852 fi
90853 done
90854
90855 fi
90856
90857 # Used in libmath/Makefile.am.
90858 if test -n "$LIBMATHOBJS"; then
90859 need_libmath=yes
90860 fi
90861
90862
90863 cat >>confdefs.h <<\_ACEOF
90864 #define HAVE_COSF 1
90865 _ACEOF
90866
90867 cat >>confdefs.h <<\_ACEOF
90868 #define HAVE_COSL 1
90869 _ACEOF
90870
90871 cat >>confdefs.h <<\_ACEOF
90872 #define HAVE_COSHF 1
90873 _ACEOF
90874
90875 cat >>confdefs.h <<\_ACEOF
90876 #define HAVE_COSHL 1
90877 _ACEOF
90878
90879 cat >>confdefs.h <<\_ACEOF
90880 #define HAVE_LOGF 1
90881 _ACEOF
90882
90883 cat >>confdefs.h <<\_ACEOF
90884 #define HAVE_LOGL 1
90885 _ACEOF
90886
90887 cat >>confdefs.h <<\_ACEOF
90888 #define HAVE_LOG10F 1
90889 _ACEOF
90890
90891 cat >>confdefs.h <<\_ACEOF
90892 #define HAVE_LOG10L 1
90893 _ACEOF
90894
90895 cat >>confdefs.h <<\_ACEOF
90896 #define HAVE_SINF 1
90897 _ACEOF
90898
90899 cat >>confdefs.h <<\_ACEOF
90900 #define HAVE_SINL 1
90901 _ACEOF
90902
90903 cat >>confdefs.h <<\_ACEOF
90904 #define HAVE_SINHF 1
90905 _ACEOF
90906
90907 cat >>confdefs.h <<\_ACEOF
90908 #define HAVE_SINHL 1
90909 _ACEOF
90910
90911 ;;
90912 *-solaris*)
90913 case "$target" in
90914 # *-solaris2.5)
90915 # os_include_dir="os/solaris/solaris2.5"
90916 # ;;
90917 # *-solaris2.6)
90918 # os_include_dir="os/solaris/solaris2.6"
90919 # ;;
90920 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
90921
90922 # If we're not using GNU ld, then there's no point in even trying these
90923 # tests. Check for that first. We should have already tested for gld
90924 # by now (in libtool), but require it now just to be safe...
90925 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
90926 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
90927
90928
90929
90930 # The name set by libtool depends on the version of libtool. Shame on us
90931 # for depending on an impl detail, but c'est la vie. Older versions used
90932 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
90933 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
90934 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
90935 # set (hence we're using an older libtool), then set it.
90936 if test x${with_gnu_ld+set} != xset; then
90937 if test x${ac_cv_prog_gnu_ld+set} != xset; then
90938 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
90939 with_gnu_ld=no
90940 else
90941 with_gnu_ld=$ac_cv_prog_gnu_ld
90942 fi
90943 fi
90944
90945 # Start by getting the version number. I think the libtool test already
90946 # does some of this, but throws away the result.
90947 if test x"$with_gnu_ld" = x"yes"; then
90948 echo "$as_me:$LINENO: checking for ld version" >&5
90949 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
90950
90951 ldver=`$LD --version 2>/dev/null | head -1 | \
90952 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
90953
90954 glibcxx_gnu_ld_version=`echo $ldver | \
90955 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
90956 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
90957 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
90958 fi
90959
90960 # Set --gc-sections.
90961 glibcxx_gcsections_min_ld=21602
90962 if test x"$with_gnu_ld" = x"yes" &&
90963 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
90964
90965 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
90966 # NB: This flag only works reliably after 2.16.1. Configure tests
90967 # for this are difficult, so hard wire a value that should work.
90968
90969 ac_test_CFLAGS="${CFLAGS+set}"
90970 ac_save_CFLAGS="$CFLAGS"
90971 CFLAGS='-Wl,--gc-sections'
90972
90973 # Check for -Wl,--gc-sections
90974 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
90975 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
90976 if test x$gcc_no_link = xyes; then
90977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90979 { (exit 1); exit 1; }; }
90980 fi
90981 cat >conftest.$ac_ext <<_ACEOF
90982 /* confdefs.h. */
90983 _ACEOF
90984 cat confdefs.h >>conftest.$ac_ext
90985 cat >>conftest.$ac_ext <<_ACEOF
90986 /* end confdefs.h. */
90987 int one(void) { return 1; }
90988 int two(void) { return 2; }
90989
90990 int
90991 main ()
90992 {
90993 two();
90994 ;
90995 return 0;
90996 }
90997 _ACEOF
90998 rm -f conftest.$ac_objext conftest$ac_exeext
90999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91000 (eval $ac_link) 2>conftest.er1
91001 ac_status=$?
91002 grep -v '^ *+' conftest.er1 >conftest.err
91003 rm -f conftest.er1
91004 cat conftest.err >&5
91005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91006 (exit $ac_status); } &&
91007 { ac_try='test -z "$ac_c_werror_flag"
91008 || test ! -s conftest.err'
91009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91010 (eval $ac_try) 2>&5
91011 ac_status=$?
91012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91013 (exit $ac_status); }; } &&
91014 { ac_try='test -s conftest$ac_exeext'
91015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91016 (eval $ac_try) 2>&5
91017 ac_status=$?
91018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91019 (exit $ac_status); }; }; then
91020 ac_gcsections=yes
91021 else
91022 echo "$as_me: failed program was:" >&5
91023 sed 's/^/| /' conftest.$ac_ext >&5
91024
91025 ac_gcsections=no
91026 fi
91027 rm -f conftest.err conftest.$ac_objext \
91028 conftest$ac_exeext conftest.$ac_ext
91029 if test "$ac_gcsections" = "yes"; then
91030 rm -f conftest.c
91031 touch conftest.c
91032 if $CC -c conftest.c; then
91033 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
91034 grep "Warning: gc-sections option ignored" > /dev/null; then
91035 ac_gcsections=no
91036 fi
91037 fi
91038 rm -f conftest.c conftest.o conftest
91039 fi
91040 if test "$ac_gcsections" = "yes"; then
91041 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
91042 fi
91043 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
91044 echo "${ECHO_T}$ac_gcsections" >&6
91045
91046 if test "$ac_test_CFLAGS" = set; then
91047 CFLAGS="$ac_save_CFLAGS"
91048 else
91049 # this is the suspicious part
91050 CFLAGS=''
91051 fi
91052 fi
91053
91054 # Set -z,relro.
91055 # Note this is only for shared objects.
91056 ac_ld_relro=no
91057 if test x"$with_gnu_ld" = x"yes"; then
91058 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
91059 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
91060 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
91061 if test -n "$cxx_z_relo"; then
91062 OPT_LDFLAGS="-Wl,-z,relro"
91063 ac_ld_relro=yes
91064 fi
91065 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
91066 echo "${ECHO_T}$ac_ld_relro" >&6
91067 fi
91068
91069 # Set linker optimization flags.
91070 if test x"$with_gnu_ld" = x"yes"; then
91071 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
91072 fi
91073
91074
91075
91076
91077 cat >>confdefs.h <<\_ACEOF
91078 #define HAVE_GETPAGESIZE 1
91079 _ACEOF
91080
91081 cat >>confdefs.h <<\_ACEOF
91082 #define HAVE_SIGSETJMP 1
91083 _ACEOF
91084
91085 cat >>confdefs.h <<\_ACEOF
91086 #define HAVE_MBSTATE_T 1
91087 _ACEOF
91088
91089 cat >>confdefs.h <<\_ACEOF
91090 #define HAVE_POLL 1
91091 _ACEOF
91092
91093 cat >>confdefs.h <<\_ACEOF
91094 #define HAVE_S_ISREG 1
91095 _ACEOF
91096
91097 cat >>confdefs.h <<\_ACEOF
91098 #define HAVE_LC_MESSAGES 1
91099 _ACEOF
91100
91101 cat >>confdefs.h <<\_ACEOF
91102 #define HAVE_FINITE 1
91103 _ACEOF
91104
91105 cat >>confdefs.h <<\_ACEOF
91106 #define HAVE_FPCLASS 1
91107 _ACEOF
91108
91109 cat >>confdefs.h <<\_ACEOF
91110 #define HAVE_GETPAGESIZE 1
91111 _ACEOF
91112
91113 # All of the dependencies for wide character support are here, so
91114 # turn it on.
91115 cat >>confdefs.h <<\_ACEOF
91116 #define _GLIBCXX_USE_WCHAR_T 1
91117 _ACEOF
91118
91119 # Are these tested for even when cross?
91120 cat >>confdefs.h <<\_ACEOF
91121 #define HAVE_FLOAT_H 1
91122 _ACEOF
91123
91124 cat >>confdefs.h <<\_ACEOF
91125 #define HAVE_IEEEFP_H 1
91126 _ACEOF
91127
91128 cat >>confdefs.h <<\_ACEOF
91129 #define HAVE_INTTYPES_H 1
91130 _ACEOF
91131
91132 cat >>confdefs.h <<\_ACEOF
91133 #define HAVE_LOCALE_H 1
91134 _ACEOF
91135
91136 cat >>confdefs.h <<\_ACEOF
91137 #define HAVE_NAN_H 1
91138 _ACEOF
91139
91140 cat >>confdefs.h <<\_ACEOF
91141 #define HAVE_SYS_FILIO_H 1
91142 _ACEOF
91143
91144 cat >>confdefs.h <<\_ACEOF
91145 #define HAVE_SYS_IOCTL_H 1
91146 _ACEOF
91147
91148 cat >>confdefs.h <<\_ACEOF
91149 #define HAVE_SYS_ISA_DEFS_H 1
91150 _ACEOF
91151
91152 cat >>confdefs.h <<\_ACEOF
91153 #define HAVE_SYS_RESOURCE_H 1
91154 _ACEOF
91155
91156 cat >>confdefs.h <<\_ACEOF
91157 #define HAVE_SYS_TIME_H 1
91158 _ACEOF
91159
91160 cat >>confdefs.h <<\_ACEOF
91161 #define HAVE_SYS_TYPES_H 1
91162 _ACEOF
91163
91164 cat >>confdefs.h <<\_ACEOF
91165 #define HAVE_UNISTD_H 1
91166 _ACEOF
91167
91168 cat >>confdefs.h <<\_ACEOF
91169 #define HAVE_WCHAR_H 1
91170 _ACEOF
91171
91172 cat >>confdefs.h <<\_ACEOF
91173 #define HAVE_WCTYPE_H 1
91174 _ACEOF
91175
91176 cat >>confdefs.h <<\_ACEOF
91177 #define HAVE_LIBM 1
91178 _ACEOF
91179
91180 ;;
91181 esac
91182 case "$target" in
91183 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
91184 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
91185 cat >>confdefs.h <<\_ACEOF
91186 #define HAVE___BUILTIN_ABS 1
91187 _ACEOF
91188
91189 cat >>confdefs.h <<\_ACEOF
91190 #define HAVE___BUILTIN_LABS 1
91191 _ACEOF
91192
91193 cat >>confdefs.h <<\_ACEOF
91194 #define HAVE___BUILTIN_FABS 1
91195 _ACEOF
91196
91197 cat >>confdefs.h <<\_ACEOF
91198 #define HAVE___BUILTIN_FABSF 1
91199 _ACEOF
91200
91201 cat >>confdefs.h <<\_ACEOF
91202 #define HAVE___BUILTIN_FABSL 1
91203 _ACEOF
91204
91205 cat >>confdefs.h <<\_ACEOF
91206 #define HAVE___BUILTIN_COS 1
91207 _ACEOF
91208
91209 cat >>confdefs.h <<\_ACEOF
91210 #define HAVE___BUILTIN_COSF 1
91211 _ACEOF
91212
91213 cat >>confdefs.h <<\_ACEOF
91214 #define HAVE___BUILTIN_SIN 1
91215 _ACEOF
91216
91217 cat >>confdefs.h <<\_ACEOF
91218 #define HAVE___BUILTIN_SINF 1
91219 _ACEOF
91220
91221 ;;
91222 esac
91223 case "$target" in
91224 *-*-solaris2.10)
91225 # These two C99 functions are present only in Solaris >= 10
91226 cat >>confdefs.h <<\_ACEOF
91227 #define HAVE_STRTOF 1
91228 _ACEOF
91229
91230 cat >>confdefs.h <<\_ACEOF
91231 #define HAVE_STRTOLD 1
91232 _ACEOF
91233
91234 ;;
91235 esac
91236 cat >>confdefs.h <<\_ACEOF
91237 #define HAVE_MMAP 1
91238 _ACEOF
91239
91240 cat >>confdefs.h <<\_ACEOF
91241 #define HAVE_COPYSIGN 1
91242 _ACEOF
91243
91244 cat >>confdefs.h <<\_ACEOF
91245 #define HAVE_ISNAN 1
91246 _ACEOF
91247
91248 cat >>confdefs.h <<\_ACEOF
91249 #define HAVE_ISNANF 1
91250 _ACEOF
91251
91252 cat >>confdefs.h <<\_ACEOF
91253 #define HAVE_MODFF 1
91254 _ACEOF
91255
91256 cat >>confdefs.h <<\_ACEOF
91257 #define HAVE_HYPOT 1
91258 _ACEOF
91259
91260 ;;
91261 *-tpf)
91262
91263
91264
91265
91266
91267
91268
91269
91270 for ac_header in nan.h endian.h machine/endian.h \
91271 sys/param.h sys/types.h locale.h float.h inttypes.h
91272 do
91273 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91275 echo "$as_me:$LINENO: checking for $ac_header" >&5
91276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91278 echo $ECHO_N "(cached) $ECHO_C" >&6
91279 fi
91280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91282 else
91283 # Is the header compilable?
91284 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91285 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91286 cat >conftest.$ac_ext <<_ACEOF
91287 /* confdefs.h. */
91288 _ACEOF
91289 cat confdefs.h >>conftest.$ac_ext
91290 cat >>conftest.$ac_ext <<_ACEOF
91291 /* end confdefs.h. */
91292 $ac_includes_default
91293 #include <$ac_header>
91294 _ACEOF
91295 rm -f conftest.$ac_objext
91296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91297 (eval $ac_compile) 2>conftest.er1
91298 ac_status=$?
91299 grep -v '^ *+' conftest.er1 >conftest.err
91300 rm -f conftest.er1
91301 cat conftest.err >&5
91302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91303 (exit $ac_status); } &&
91304 { ac_try='test -z "$ac_c_werror_flag"
91305 || test ! -s conftest.err'
91306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91307 (eval $ac_try) 2>&5
91308 ac_status=$?
91309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91310 (exit $ac_status); }; } &&
91311 { ac_try='test -s conftest.$ac_objext'
91312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91313 (eval $ac_try) 2>&5
91314 ac_status=$?
91315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91316 (exit $ac_status); }; }; then
91317 ac_header_compiler=yes
91318 else
91319 echo "$as_me: failed program was:" >&5
91320 sed 's/^/| /' conftest.$ac_ext >&5
91321
91322 ac_header_compiler=no
91323 fi
91324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91326 echo "${ECHO_T}$ac_header_compiler" >&6
91327
91328 # Is the header present?
91329 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91330 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91331 cat >conftest.$ac_ext <<_ACEOF
91332 /* confdefs.h. */
91333 _ACEOF
91334 cat confdefs.h >>conftest.$ac_ext
91335 cat >>conftest.$ac_ext <<_ACEOF
91336 /* end confdefs.h. */
91337 #include <$ac_header>
91338 _ACEOF
91339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91341 ac_status=$?
91342 grep -v '^ *+' conftest.er1 >conftest.err
91343 rm -f conftest.er1
91344 cat conftest.err >&5
91345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91346 (exit $ac_status); } >/dev/null; then
91347 if test -s conftest.err; then
91348 ac_cpp_err=$ac_c_preproc_warn_flag
91349 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91350 else
91351 ac_cpp_err=
91352 fi
91353 else
91354 ac_cpp_err=yes
91355 fi
91356 if test -z "$ac_cpp_err"; then
91357 ac_header_preproc=yes
91358 else
91359 echo "$as_me: failed program was:" >&5
91360 sed 's/^/| /' conftest.$ac_ext >&5
91361
91362 ac_header_preproc=no
91363 fi
91364 rm -f conftest.err conftest.$ac_ext
91365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91366 echo "${ECHO_T}$ac_header_preproc" >&6
91367
91368 # So? What about this header?
91369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91370 yes:no: )
91371 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91372 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91374 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91375 ac_header_preproc=yes
91376 ;;
91377 no:yes:* )
91378 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91379 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91380 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
91381 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
91382 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91383 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91384 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
91385 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
91386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91387 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91388 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91389 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91390 (
91391 cat <<\_ASBOX
91392 ## ----------------------------------------- ##
91393 ## Report this to the package-unused lists. ##
91394 ## ----------------------------------------- ##
91395 _ASBOX
91396 ) |
91397 sed "s/^/$as_me: WARNING: /" >&2
91398 ;;
91399 esac
91400 echo "$as_me:$LINENO: checking for $ac_header" >&5
91401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91403 echo $ECHO_N "(cached) $ECHO_C" >&6
91404 else
91405 eval "$as_ac_Header=\$ac_header_preproc"
91406 fi
91407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91409
91410 fi
91411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91412 cat >>confdefs.h <<_ACEOF
91413 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91414 _ACEOF
91415
91416 fi
91417
91418 done
91419
91420 SECTION_FLAGS='-ffunction-sections -fdata-sections'
91421
91422
91423 # If we're not using GNU ld, then there's no point in even trying these
91424 # tests. Check for that first. We should have already tested for gld
91425 # by now (in libtool), but require it now just to be safe...
91426 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
91427 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
91428
91429
91430
91431 # The name set by libtool depends on the version of libtool. Shame on us
91432 # for depending on an impl detail, but c'est la vie. Older versions used
91433 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
91434 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
91435 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
91436 # set (hence we're using an older libtool), then set it.
91437 if test x${with_gnu_ld+set} != xset; then
91438 if test x${ac_cv_prog_gnu_ld+set} != xset; then
91439 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
91440 with_gnu_ld=no
91441 else
91442 with_gnu_ld=$ac_cv_prog_gnu_ld
91443 fi
91444 fi
91445
91446 # Start by getting the version number. I think the libtool test already
91447 # does some of this, but throws away the result.
91448 if test x"$with_gnu_ld" = x"yes"; then
91449 echo "$as_me:$LINENO: checking for ld version" >&5
91450 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
91451
91452 ldver=`$LD --version 2>/dev/null | head -1 | \
91453 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
91454
91455 glibcxx_gnu_ld_version=`echo $ldver | \
91456 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
91457 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
91458 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
91459 fi
91460
91461 # Set --gc-sections.
91462 glibcxx_gcsections_min_ld=21602
91463 if test x"$with_gnu_ld" = x"yes" &&
91464 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
91465
91466 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
91467 # NB: This flag only works reliably after 2.16.1. Configure tests
91468 # for this are difficult, so hard wire a value that should work.
91469
91470 ac_test_CFLAGS="${CFLAGS+set}"
91471 ac_save_CFLAGS="$CFLAGS"
91472 CFLAGS='-Wl,--gc-sections'
91473
91474 # Check for -Wl,--gc-sections
91475 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
91476 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
91477 if test x$gcc_no_link = xyes; then
91478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91480 { (exit 1); exit 1; }; }
91481 fi
91482 cat >conftest.$ac_ext <<_ACEOF
91483 /* confdefs.h. */
91484 _ACEOF
91485 cat confdefs.h >>conftest.$ac_ext
91486 cat >>conftest.$ac_ext <<_ACEOF
91487 /* end confdefs.h. */
91488 int one(void) { return 1; }
91489 int two(void) { return 2; }
91490
91491 int
91492 main ()
91493 {
91494 two();
91495 ;
91496 return 0;
91497 }
91498 _ACEOF
91499 rm -f conftest.$ac_objext conftest$ac_exeext
91500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91501 (eval $ac_link) 2>conftest.er1
91502 ac_status=$?
91503 grep -v '^ *+' conftest.er1 >conftest.err
91504 rm -f conftest.er1
91505 cat conftest.err >&5
91506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91507 (exit $ac_status); } &&
91508 { ac_try='test -z "$ac_c_werror_flag"
91509 || test ! -s conftest.err'
91510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91511 (eval $ac_try) 2>&5
91512 ac_status=$?
91513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91514 (exit $ac_status); }; } &&
91515 { ac_try='test -s conftest$ac_exeext'
91516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91517 (eval $ac_try) 2>&5
91518 ac_status=$?
91519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91520 (exit $ac_status); }; }; then
91521 ac_gcsections=yes
91522 else
91523 echo "$as_me: failed program was:" >&5
91524 sed 's/^/| /' conftest.$ac_ext >&5
91525
91526 ac_gcsections=no
91527 fi
91528 rm -f conftest.err conftest.$ac_objext \
91529 conftest$ac_exeext conftest.$ac_ext
91530 if test "$ac_gcsections" = "yes"; then
91531 rm -f conftest.c
91532 touch conftest.c
91533 if $CC -c conftest.c; then
91534 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
91535 grep "Warning: gc-sections option ignored" > /dev/null; then
91536 ac_gcsections=no
91537 fi
91538 fi
91539 rm -f conftest.c conftest.o conftest
91540 fi
91541 if test "$ac_gcsections" = "yes"; then
91542 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
91543 fi
91544 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
91545 echo "${ECHO_T}$ac_gcsections" >&6
91546
91547 if test "$ac_test_CFLAGS" = set; then
91548 CFLAGS="$ac_save_CFLAGS"
91549 else
91550 # this is the suspicious part
91551 CFLAGS=''
91552 fi
91553 fi
91554
91555 # Set -z,relro.
91556 # Note this is only for shared objects.
91557 ac_ld_relro=no
91558 if test x"$with_gnu_ld" = x"yes"; then
91559 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
91560 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
91561 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
91562 if test -n "$cxx_z_relo"; then
91563 OPT_LDFLAGS="-Wl,-z,relro"
91564 ac_ld_relro=yes
91565 fi
91566 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
91567 echo "${ECHO_T}$ac_ld_relro" >&6
91568 fi
91569
91570 # Set linker optimization flags.
91571 if test x"$with_gnu_ld" = x"yes"; then
91572 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
91573 fi
91574
91575
91576
91577
91578
91579
91580 echo "$as_me:$LINENO: checking for main in -lm" >&5
91581 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
91582 if test "${ac_cv_lib_m_main+set}" = set; then
91583 echo $ECHO_N "(cached) $ECHO_C" >&6
91584 else
91585 ac_check_lib_save_LIBS=$LIBS
91586 LIBS="-lm $LIBS"
91587 if test x$gcc_no_link = xyes; then
91588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91590 { (exit 1); exit 1; }; }
91591 fi
91592 cat >conftest.$ac_ext <<_ACEOF
91593 /* confdefs.h. */
91594 _ACEOF
91595 cat confdefs.h >>conftest.$ac_ext
91596 cat >>conftest.$ac_ext <<_ACEOF
91597 /* end confdefs.h. */
91598
91599
91600 int
91601 main ()
91602 {
91603 main ();
91604 ;
91605 return 0;
91606 }
91607 _ACEOF
91608 rm -f conftest.$ac_objext conftest$ac_exeext
91609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91610 (eval $ac_link) 2>conftest.er1
91611 ac_status=$?
91612 grep -v '^ *+' conftest.er1 >conftest.err
91613 rm -f conftest.er1
91614 cat conftest.err >&5
91615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91616 (exit $ac_status); } &&
91617 { ac_try='test -z "$ac_c_werror_flag"
91618 || test ! -s conftest.err'
91619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91620 (eval $ac_try) 2>&5
91621 ac_status=$?
91622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91623 (exit $ac_status); }; } &&
91624 { ac_try='test -s conftest$ac_exeext'
91625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91626 (eval $ac_try) 2>&5
91627 ac_status=$?
91628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91629 (exit $ac_status); }; }; then
91630 ac_cv_lib_m_main=yes
91631 else
91632 echo "$as_me: failed program was:" >&5
91633 sed 's/^/| /' conftest.$ac_ext >&5
91634
91635 ac_cv_lib_m_main=no
91636 fi
91637 rm -f conftest.err conftest.$ac_objext \
91638 conftest$ac_exeext conftest.$ac_ext
91639 LIBS=$ac_check_lib_save_LIBS
91640 fi
91641 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
91642 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
91643 if test $ac_cv_lib_m_main = yes; then
91644 cat >>confdefs.h <<_ACEOF
91645 #define HAVE_LIBM 1
91646 _ACEOF
91647
91648 LIBS="-lm $LIBS"
91649
91650 fi
91651
91652
91653 for ac_func in copysignf
91654 do
91655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91656 echo "$as_me:$LINENO: checking for $ac_func" >&5
91657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91658 if eval "test \"\${$as_ac_var+set}\" = set"; then
91659 echo $ECHO_N "(cached) $ECHO_C" >&6
91660 else
91661 if test x$gcc_no_link = xyes; then
91662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91664 { (exit 1); exit 1; }; }
91665 fi
91666 cat >conftest.$ac_ext <<_ACEOF
91667 /* confdefs.h. */
91668 _ACEOF
91669 cat confdefs.h >>conftest.$ac_ext
91670 cat >>conftest.$ac_ext <<_ACEOF
91671 /* end confdefs.h. */
91672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91674 #define $ac_func innocuous_$ac_func
91675
91676 /* System header to define __stub macros and hopefully few prototypes,
91677 which can conflict with char $ac_func (); below.
91678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91679 <limits.h> exists even on freestanding compilers. */
91680
91681 #ifdef __STDC__
91682 # include <limits.h>
91683 #else
91684 # include <assert.h>
91685 #endif
91686
91687 #undef $ac_func
91688
91689 /* Override any gcc2 internal prototype to avoid an error. */
91690 #ifdef __cplusplus
91691 extern "C"
91692 {
91693 #endif
91694 /* We use char because int might match the return type of a gcc2
91695 builtin and then its argument prototype would still apply. */
91696 char $ac_func ();
91697 /* The GNU C library defines this for functions which it implements
91698 to always fail with ENOSYS. Some functions are actually named
91699 something starting with __ and the normal name is an alias. */
91700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91701 choke me
91702 #else
91703 char (*f) () = $ac_func;
91704 #endif
91705 #ifdef __cplusplus
91706 }
91707 #endif
91708
91709 int
91710 main ()
91711 {
91712 return f != $ac_func;
91713 ;
91714 return 0;
91715 }
91716 _ACEOF
91717 rm -f conftest.$ac_objext conftest$ac_exeext
91718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91719 (eval $ac_link) 2>conftest.er1
91720 ac_status=$?
91721 grep -v '^ *+' conftest.er1 >conftest.err
91722 rm -f conftest.er1
91723 cat conftest.err >&5
91724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91725 (exit $ac_status); } &&
91726 { ac_try='test -z "$ac_c_werror_flag"
91727 || test ! -s conftest.err'
91728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91729 (eval $ac_try) 2>&5
91730 ac_status=$?
91731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91732 (exit $ac_status); }; } &&
91733 { ac_try='test -s conftest$ac_exeext'
91734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91735 (eval $ac_try) 2>&5
91736 ac_status=$?
91737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91738 (exit $ac_status); }; }; then
91739 eval "$as_ac_var=yes"
91740 else
91741 echo "$as_me: failed program was:" >&5
91742 sed 's/^/| /' conftest.$ac_ext >&5
91743
91744 eval "$as_ac_var=no"
91745 fi
91746 rm -f conftest.err conftest.$ac_objext \
91747 conftest$ac_exeext conftest.$ac_ext
91748 fi
91749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91751 if test `eval echo '${'$as_ac_var'}'` = yes; then
91752 cat >>confdefs.h <<_ACEOF
91753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91754 _ACEOF
91755
91756 else
91757 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
91758 fi
91759 done
91760
91761
91762
91763 for ac_func in __signbit
91764 do
91765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91766 echo "$as_me:$LINENO: checking for $ac_func" >&5
91767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91768 if eval "test \"\${$as_ac_var+set}\" = set"; then
91769 echo $ECHO_N "(cached) $ECHO_C" >&6
91770 else
91771 if test x$gcc_no_link = xyes; then
91772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91774 { (exit 1); exit 1; }; }
91775 fi
91776 cat >conftest.$ac_ext <<_ACEOF
91777 /* confdefs.h. */
91778 _ACEOF
91779 cat confdefs.h >>conftest.$ac_ext
91780 cat >>conftest.$ac_ext <<_ACEOF
91781 /* end confdefs.h. */
91782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91784 #define $ac_func innocuous_$ac_func
91785
91786 /* System header to define __stub macros and hopefully few prototypes,
91787 which can conflict with char $ac_func (); below.
91788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91789 <limits.h> exists even on freestanding compilers. */
91790
91791 #ifdef __STDC__
91792 # include <limits.h>
91793 #else
91794 # include <assert.h>
91795 #endif
91796
91797 #undef $ac_func
91798
91799 /* Override any gcc2 internal prototype to avoid an error. */
91800 #ifdef __cplusplus
91801 extern "C"
91802 {
91803 #endif
91804 /* We use char because int might match the return type of a gcc2
91805 builtin and then its argument prototype would still apply. */
91806 char $ac_func ();
91807 /* The GNU C library defines this for functions which it implements
91808 to always fail with ENOSYS. Some functions are actually named
91809 something starting with __ and the normal name is an alias. */
91810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91811 choke me
91812 #else
91813 char (*f) () = $ac_func;
91814 #endif
91815 #ifdef __cplusplus
91816 }
91817 #endif
91818
91819 int
91820 main ()
91821 {
91822 return f != $ac_func;
91823 ;
91824 return 0;
91825 }
91826 _ACEOF
91827 rm -f conftest.$ac_objext conftest$ac_exeext
91828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91829 (eval $ac_link) 2>conftest.er1
91830 ac_status=$?
91831 grep -v '^ *+' conftest.er1 >conftest.err
91832 rm -f conftest.er1
91833 cat conftest.err >&5
91834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91835 (exit $ac_status); } &&
91836 { ac_try='test -z "$ac_c_werror_flag"
91837 || test ! -s conftest.err'
91838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91839 (eval $ac_try) 2>&5
91840 ac_status=$?
91841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91842 (exit $ac_status); }; } &&
91843 { ac_try='test -s conftest$ac_exeext'
91844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91845 (eval $ac_try) 2>&5
91846 ac_status=$?
91847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91848 (exit $ac_status); }; }; then
91849 eval "$as_ac_var=yes"
91850 else
91851 echo "$as_me: failed program was:" >&5
91852 sed 's/^/| /' conftest.$ac_ext >&5
91853
91854 eval "$as_ac_var=no"
91855 fi
91856 rm -f conftest.err conftest.$ac_objext \
91857 conftest$ac_exeext conftest.$ac_ext
91858 fi
91859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91861 if test `eval echo '${'$as_ac_var'}'` = yes; then
91862 cat >>confdefs.h <<_ACEOF
91863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91864 _ACEOF
91865
91866 else
91867 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
91868 fi
91869 done
91870
91871
91872
91873 for ac_func in __signbitf
91874 do
91875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91876 echo "$as_me:$LINENO: checking for $ac_func" >&5
91877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91878 if eval "test \"\${$as_ac_var+set}\" = set"; then
91879 echo $ECHO_N "(cached) $ECHO_C" >&6
91880 else
91881 if test x$gcc_no_link = xyes; then
91882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91884 { (exit 1); exit 1; }; }
91885 fi
91886 cat >conftest.$ac_ext <<_ACEOF
91887 /* confdefs.h. */
91888 _ACEOF
91889 cat confdefs.h >>conftest.$ac_ext
91890 cat >>conftest.$ac_ext <<_ACEOF
91891 /* end confdefs.h. */
91892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91894 #define $ac_func innocuous_$ac_func
91895
91896 /* System header to define __stub macros and hopefully few prototypes,
91897 which can conflict with char $ac_func (); below.
91898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91899 <limits.h> exists even on freestanding compilers. */
91900
91901 #ifdef __STDC__
91902 # include <limits.h>
91903 #else
91904 # include <assert.h>
91905 #endif
91906
91907 #undef $ac_func
91908
91909 /* Override any gcc2 internal prototype to avoid an error. */
91910 #ifdef __cplusplus
91911 extern "C"
91912 {
91913 #endif
91914 /* We use char because int might match the return type of a gcc2
91915 builtin and then its argument prototype would still apply. */
91916 char $ac_func ();
91917 /* The GNU C library defines this for functions which it implements
91918 to always fail with ENOSYS. Some functions are actually named
91919 something starting with __ and the normal name is an alias. */
91920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91921 choke me
91922 #else
91923 char (*f) () = $ac_func;
91924 #endif
91925 #ifdef __cplusplus
91926 }
91927 #endif
91928
91929 int
91930 main ()
91931 {
91932 return f != $ac_func;
91933 ;
91934 return 0;
91935 }
91936 _ACEOF
91937 rm -f conftest.$ac_objext conftest$ac_exeext
91938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91939 (eval $ac_link) 2>conftest.er1
91940 ac_status=$?
91941 grep -v '^ *+' conftest.er1 >conftest.err
91942 rm -f conftest.er1
91943 cat conftest.err >&5
91944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91945 (exit $ac_status); } &&
91946 { ac_try='test -z "$ac_c_werror_flag"
91947 || test ! -s conftest.err'
91948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91949 (eval $ac_try) 2>&5
91950 ac_status=$?
91951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91952 (exit $ac_status); }; } &&
91953 { ac_try='test -s conftest$ac_exeext'
91954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91955 (eval $ac_try) 2>&5
91956 ac_status=$?
91957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91958 (exit $ac_status); }; }; then
91959 eval "$as_ac_var=yes"
91960 else
91961 echo "$as_me: failed program was:" >&5
91962 sed 's/^/| /' conftest.$ac_ext >&5
91963
91964 eval "$as_ac_var=no"
91965 fi
91966 rm -f conftest.err conftest.$ac_objext \
91967 conftest$ac_exeext conftest.$ac_ext
91968 fi
91969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91971 if test `eval echo '${'$as_ac_var'}'` = yes; then
91972 cat >>confdefs.h <<_ACEOF
91973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91974 _ACEOF
91975
91976 else
91977 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
91978 fi
91979 done
91980
91981
91982 if test x$ac_cv_func_copysignl = x"yes"; then
91983
91984 for ac_func in __signbitl
91985 do
91986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91987 echo "$as_me:$LINENO: checking for $ac_func" >&5
91988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91989 if eval "test \"\${$as_ac_var+set}\" = set"; then
91990 echo $ECHO_N "(cached) $ECHO_C" >&6
91991 else
91992 if test x$gcc_no_link = xyes; then
91993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91995 { (exit 1); exit 1; }; }
91996 fi
91997 cat >conftest.$ac_ext <<_ACEOF
91998 /* confdefs.h. */
91999 _ACEOF
92000 cat confdefs.h >>conftest.$ac_ext
92001 cat >>conftest.$ac_ext <<_ACEOF
92002 /* end confdefs.h. */
92003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92005 #define $ac_func innocuous_$ac_func
92006
92007 /* System header to define __stub macros and hopefully few prototypes,
92008 which can conflict with char $ac_func (); below.
92009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92010 <limits.h> exists even on freestanding compilers. */
92011
92012 #ifdef __STDC__
92013 # include <limits.h>
92014 #else
92015 # include <assert.h>
92016 #endif
92017
92018 #undef $ac_func
92019
92020 /* Override any gcc2 internal prototype to avoid an error. */
92021 #ifdef __cplusplus
92022 extern "C"
92023 {
92024 #endif
92025 /* We use char because int might match the return type of a gcc2
92026 builtin and then its argument prototype would still apply. */
92027 char $ac_func ();
92028 /* The GNU C library defines this for functions which it implements
92029 to always fail with ENOSYS. Some functions are actually named
92030 something starting with __ and the normal name is an alias. */
92031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92032 choke me
92033 #else
92034 char (*f) () = $ac_func;
92035 #endif
92036 #ifdef __cplusplus
92037 }
92038 #endif
92039
92040 int
92041 main ()
92042 {
92043 return f != $ac_func;
92044 ;
92045 return 0;
92046 }
92047 _ACEOF
92048 rm -f conftest.$ac_objext conftest$ac_exeext
92049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92050 (eval $ac_link) 2>conftest.er1
92051 ac_status=$?
92052 grep -v '^ *+' conftest.er1 >conftest.err
92053 rm -f conftest.er1
92054 cat conftest.err >&5
92055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92056 (exit $ac_status); } &&
92057 { ac_try='test -z "$ac_c_werror_flag"
92058 || test ! -s conftest.err'
92059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92060 (eval $ac_try) 2>&5
92061 ac_status=$?
92062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92063 (exit $ac_status); }; } &&
92064 { ac_try='test -s conftest$ac_exeext'
92065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92066 (eval $ac_try) 2>&5
92067 ac_status=$?
92068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92069 (exit $ac_status); }; }; then
92070 eval "$as_ac_var=yes"
92071 else
92072 echo "$as_me: failed program was:" >&5
92073 sed 's/^/| /' conftest.$ac_ext >&5
92074
92075 eval "$as_ac_var=no"
92076 fi
92077 rm -f conftest.err conftest.$ac_objext \
92078 conftest$ac_exeext conftest.$ac_ext
92079 fi
92080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92082 if test `eval echo '${'$as_ac_var'}'` = yes; then
92083 cat >>confdefs.h <<_ACEOF
92084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92085 _ACEOF
92086
92087 else
92088 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
92089 fi
92090 done
92091
92092 fi
92093
92094 # Used in libmath/Makefile.am.
92095 if test -n "$LIBMATHOBJS"; then
92096 need_libmath=yes
92097 fi
92098
92099
92100 cat >>confdefs.h <<\_ACEOF
92101 #define HAVE_COPYSIGN 1
92102 _ACEOF
92103
92104 cat >>confdefs.h <<\_ACEOF
92105 #define HAVE_COPYSIGNF 1
92106 _ACEOF
92107
92108 cat >>confdefs.h <<\_ACEOF
92109 #define HAVE_FINITE 1
92110 _ACEOF
92111
92112 cat >>confdefs.h <<\_ACEOF
92113 #define HAVE_FINITEF 1
92114 _ACEOF
92115
92116 cat >>confdefs.h <<\_ACEOF
92117 #define HAVE_FREXPF 1
92118 _ACEOF
92119
92120 cat >>confdefs.h <<\_ACEOF
92121 #define HAVE_HYPOTF 1
92122 _ACEOF
92123
92124 cat >>confdefs.h <<\_ACEOF
92125 #define HAVE_ISINF 1
92126 _ACEOF
92127
92128 cat >>confdefs.h <<\_ACEOF
92129 #define HAVE_ISINFF 1
92130 _ACEOF
92131
92132 cat >>confdefs.h <<\_ACEOF
92133 #define HAVE_ISNAN 1
92134 _ACEOF
92135
92136 cat >>confdefs.h <<\_ACEOF
92137 #define HAVE_ISNANF 1
92138 _ACEOF
92139
92140 cat >>confdefs.h <<\_ACEOF
92141 #define HAVE_SINCOS 1
92142 _ACEOF
92143
92144 cat >>confdefs.h <<\_ACEOF
92145 #define HAVE_SINCOSF 1
92146 _ACEOF
92147
92148 if test x"long_double_math_on_this_cpu" = x"yes"; then
92149 cat >>confdefs.h <<\_ACEOF
92150 #define HAVE_FINITEL 1
92151 _ACEOF
92152
92153 cat >>confdefs.h <<\_ACEOF
92154 #define HAVE_HYPOTL 1
92155 _ACEOF
92156
92157 cat >>confdefs.h <<\_ACEOF
92158 #define HAVE_ISINFL 1
92159 _ACEOF
92160
92161 cat >>confdefs.h <<\_ACEOF
92162 #define HAVE_ISNANL 1
92163 _ACEOF
92164
92165 fi
92166 ;;
92167 *-vxworks)
92168 cat >>confdefs.h <<\_ACEOF
92169 #define HAVE_MMAP 1
92170 _ACEOF
92171
92172 cat >>confdefs.h <<\_ACEOF
92173 #define HAVE_ACOSF 1
92174 _ACEOF
92175
92176 cat >>confdefs.h <<\_ACEOF
92177 #define HAVE_ASINF 1
92178 _ACEOF
92179
92180 cat >>confdefs.h <<\_ACEOF
92181 #define HAVE_ATAN2F 1
92182 _ACEOF
92183
92184 cat >>confdefs.h <<\_ACEOF
92185 #define HAVE_ATANF 1
92186 _ACEOF
92187
92188 cat >>confdefs.h <<\_ACEOF
92189 #define HAVE_CEILF 1
92190 _ACEOF
92191
92192 cat >>confdefs.h <<\_ACEOF
92193 #define HAVE_COSF 1
92194 _ACEOF
92195
92196 cat >>confdefs.h <<\_ACEOF
92197 #define HAVE_COSHF 1
92198 _ACEOF
92199
92200 cat >>confdefs.h <<\_ACEOF
92201 #define HAVE_EXPF 1
92202 _ACEOF
92203
92204 cat >>confdefs.h <<\_ACEOF
92205 #define HAVE_FABSF 1
92206 _ACEOF
92207
92208 cat >>confdefs.h <<\_ACEOF
92209 #define HAVE_FLOORF 1
92210 _ACEOF
92211
92212 cat >>confdefs.h <<\_ACEOF
92213 #define HAVE_FMODF 1
92214 _ACEOF
92215
92216 cat >>confdefs.h <<\_ACEOF
92217 #define HAVE_HYPOT 1
92218 _ACEOF
92219
92220 cat >>confdefs.h <<\_ACEOF
92221 #define HAVE_LOG10F 1
92222 _ACEOF
92223
92224 cat >>confdefs.h <<\_ACEOF
92225 #define HAVE_LOGF 1
92226 _ACEOF
92227
92228 cat >>confdefs.h <<\_ACEOF
92229 #define HAVE_POWF 1
92230 _ACEOF
92231
92232 cat >>confdefs.h <<\_ACEOF
92233 #define HAVE_SINF 1
92234 _ACEOF
92235
92236 cat >>confdefs.h <<\_ACEOF
92237 #define HAVE_SINHF 1
92238 _ACEOF
92239
92240 cat >>confdefs.h <<\_ACEOF
92241 #define HAVE_SQRTF 1
92242 _ACEOF
92243
92244 cat >>confdefs.h <<\_ACEOF
92245 #define HAVE_TANF 1
92246 _ACEOF
92247
92248 cat >>confdefs.h <<\_ACEOF
92249 #define HAVE_TANHF 1
92250 _ACEOF
92251
92252 ;;
92253 *-windiss*)
92254 cat >>confdefs.h <<\_ACEOF
92255 #define HAVE_ACOSF 1
92256 _ACEOF
92257
92258 cat >>confdefs.h <<\_ACEOF
92259 #define HAVE_ACOSL 1
92260 _ACEOF
92261
92262 cat >>confdefs.h <<\_ACEOF
92263 #define HAVE_ASINF 1
92264 _ACEOF
92265
92266 cat >>confdefs.h <<\_ACEOF
92267 #define HAVE_ASINL 1
92268 _ACEOF
92269
92270 cat >>confdefs.h <<\_ACEOF
92271 #define HAVE_ATAN2F 1
92272 _ACEOF
92273
92274 cat >>confdefs.h <<\_ACEOF
92275 #define HAVE_ATAN2L 1
92276 _ACEOF
92277
92278 cat >>confdefs.h <<\_ACEOF
92279 #define HAVE_ATANF 1
92280 _ACEOF
92281
92282 cat >>confdefs.h <<\_ACEOF
92283 #define HAVE_ATANL 1
92284 _ACEOF
92285
92286 cat >>confdefs.h <<\_ACEOF
92287 #define HAVE_CEILF 1
92288 _ACEOF
92289
92290 cat >>confdefs.h <<\_ACEOF
92291 #define HAVE_CEILL 1
92292 _ACEOF
92293
92294 cat >>confdefs.h <<\_ACEOF
92295 #define HAVE_COPYSIGN 1
92296 _ACEOF
92297
92298 cat >>confdefs.h <<\_ACEOF
92299 #define HAVE_COPYSIGNF 1
92300 _ACEOF
92301
92302 cat >>confdefs.h <<\_ACEOF
92303 #define HAVE_COSF 1
92304 _ACEOF
92305
92306 cat >>confdefs.h <<\_ACEOF
92307 #define HAVE_COSL 1
92308 _ACEOF
92309
92310 cat >>confdefs.h <<\_ACEOF
92311 #define HAVE_COSHF 1
92312 _ACEOF
92313
92314 cat >>confdefs.h <<\_ACEOF
92315 #define HAVE_COSHL 1
92316 _ACEOF
92317
92318 cat >>confdefs.h <<\_ACEOF
92319 #define HAVE_EXPF 1
92320 _ACEOF
92321
92322 cat >>confdefs.h <<\_ACEOF
92323 #define HAVE_EXPL 1
92324 _ACEOF
92325
92326 cat >>confdefs.h <<\_ACEOF
92327 #define HAVE_FABSF 1
92328 _ACEOF
92329
92330 cat >>confdefs.h <<\_ACEOF
92331 #define HAVE_FABSL 1
92332 _ACEOF
92333
92334 cat >>confdefs.h <<\_ACEOF
92335 #define HAVE_FLOORF 1
92336 _ACEOF
92337
92338 cat >>confdefs.h <<\_ACEOF
92339 #define HAVE_FLOORL 1
92340 _ACEOF
92341
92342 cat >>confdefs.h <<\_ACEOF
92343 #define HAVE_FMODF 1
92344 _ACEOF
92345
92346 cat >>confdefs.h <<\_ACEOF
92347 #define HAVE_FMODL 1
92348 _ACEOF
92349
92350 cat >>confdefs.h <<\_ACEOF
92351 #define HAVE_FREXPF 1
92352 _ACEOF
92353
92354 cat >>confdefs.h <<\_ACEOF
92355 #define HAVE_FREXPL 1
92356 _ACEOF
92357
92358 cat >>confdefs.h <<\_ACEOF
92359 #define HAVE_LDEXPF 1
92360 _ACEOF
92361
92362 cat >>confdefs.h <<\_ACEOF
92363 #define HAVE_LDEXPL 1
92364 _ACEOF
92365
92366 cat >>confdefs.h <<\_ACEOF
92367 #define HAVE_LOG10F 1
92368 _ACEOF
92369
92370 cat >>confdefs.h <<\_ACEOF
92371 #define HAVE_LOG10L 1
92372 _ACEOF
92373
92374 cat >>confdefs.h <<\_ACEOF
92375 #define HAVE_LOGF 1
92376 _ACEOF
92377
92378 cat >>confdefs.h <<\_ACEOF
92379 #define HAVE_MODFF 1
92380 _ACEOF
92381
92382 cat >>confdefs.h <<\_ACEOF
92383 #define HAVE_MODFL 1
92384 _ACEOF
92385
92386 cat >>confdefs.h <<\_ACEOF
92387 #define HAVE_POWF 1
92388 _ACEOF
92389
92390 cat >>confdefs.h <<\_ACEOF
92391 #define HAVE_POWL 1
92392 _ACEOF
92393
92394 cat >>confdefs.h <<\_ACEOF
92395 #define HAVE_SINF 1
92396 _ACEOF
92397
92398 cat >>confdefs.h <<\_ACEOF
92399 #define HAVE_SINL 1
92400 _ACEOF
92401
92402 cat >>confdefs.h <<\_ACEOF
92403 #define HAVE_SINHF 1
92404 _ACEOF
92405
92406 cat >>confdefs.h <<\_ACEOF
92407 #define HAVE_SINHL 1
92408 _ACEOF
92409
92410 cat >>confdefs.h <<\_ACEOF
92411 #define HAVE_SQRTF 1
92412 _ACEOF
92413
92414 cat >>confdefs.h <<\_ACEOF
92415 #define HAVE_SQRTL 1
92416 _ACEOF
92417
92418 cat >>confdefs.h <<\_ACEOF
92419 #define HAVE_TANF 1
92420 _ACEOF
92421
92422 cat >>confdefs.h <<\_ACEOF
92423 #define HAVE_TANL 1
92424 _ACEOF
92425
92426 cat >>confdefs.h <<\_ACEOF
92427 #define HAVE_TANHF 1
92428 _ACEOF
92429
92430 cat >>confdefs.h <<\_ACEOF
92431 #define HAVE_TANHL 1
92432 _ACEOF
92433
92434 ;;
92435 *)
92436 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
92437 echo "$as_me: error: No support for this host/target combination." >&2;}
92438 { (exit 1); exit 1; }; }
92439 ;;
92440 esac
92441
92442 fi
92443
92444 # At some point, we should differentiate between architectures
92445 # like x86, which have long double versions, and alpha/powerpc/etc.,
92446 # which don't. For the time being, punt.
92447 if test x"long_double_math_on_this_cpu" = x"yes"; then
92448 cat >>confdefs.h <<\_ACEOF
92449 #define HAVE_ACOSL 1
92450 _ACEOF
92451
92452 cat >>confdefs.h <<\_ACEOF
92453 #define HAVE_ASINL 1
92454 _ACEOF
92455
92456 cat >>confdefs.h <<\_ACEOF
92457 #define HAVE_ATAN2L 1
92458 _ACEOF
92459
92460 cat >>confdefs.h <<\_ACEOF
92461 #define HAVE_ATANL 1
92462 _ACEOF
92463
92464 cat >>confdefs.h <<\_ACEOF
92465 #define HAVE_CEILL 1
92466 _ACEOF
92467
92468 cat >>confdefs.h <<\_ACEOF
92469 #define HAVE_COPYSIGNL 1
92470 _ACEOF
92471
92472 cat >>confdefs.h <<\_ACEOF
92473 #define HAVE_COSL 1
92474 _ACEOF
92475
92476 cat >>confdefs.h <<\_ACEOF
92477 #define HAVE_COSHL 1
92478 _ACEOF
92479
92480 cat >>confdefs.h <<\_ACEOF
92481 #define HAVE_EXPL 1
92482 _ACEOF
92483
92484 cat >>confdefs.h <<\_ACEOF
92485 #define HAVE_FABSL 1
92486 _ACEOF
92487
92488 cat >>confdefs.h <<\_ACEOF
92489 #define HAVE_FLOORL 1
92490 _ACEOF
92491
92492 cat >>confdefs.h <<\_ACEOF
92493 #define HAVE_FMODL 1
92494 _ACEOF
92495
92496 cat >>confdefs.h <<\_ACEOF
92497 #define HAVE_FREXPL 1
92498 _ACEOF
92499
92500 cat >>confdefs.h <<\_ACEOF
92501 #define HAVE_LDEXPL 1
92502 _ACEOF
92503
92504 cat >>confdefs.h <<\_ACEOF
92505 #define HAVE_LOG10L 1
92506 _ACEOF
92507
92508 cat >>confdefs.h <<\_ACEOF
92509 #define HAVE_LOGL 1
92510 _ACEOF
92511
92512 cat >>confdefs.h <<\_ACEOF
92513 #define HAVE_MODFL 1
92514 _ACEOF
92515
92516 cat >>confdefs.h <<\_ACEOF
92517 #define HAVE_POWL 1
92518 _ACEOF
92519
92520 cat >>confdefs.h <<\_ACEOF
92521 #define HAVE_SINCOSL 1
92522 _ACEOF
92523
92524 cat >>confdefs.h <<\_ACEOF
92525 #define HAVE_SINL 1
92526 _ACEOF
92527
92528 cat >>confdefs.h <<\_ACEOF
92529 #define HAVE_SINHL 1
92530 _ACEOF
92531
92532 cat >>confdefs.h <<\_ACEOF
92533 #define HAVE_SQRTL 1
92534 _ACEOF
92535
92536 cat >>confdefs.h <<\_ACEOF
92537 #define HAVE_TANL 1
92538 _ACEOF
92539
92540 cat >>confdefs.h <<\_ACEOF
92541 #define HAVE_TANHL 1
92542 _ACEOF
92543
92544 fi
92545
92546 # Assume we have _Unwind_GetIPInfo for cross-compiles.
92547 cat >>confdefs.h <<\_ACEOF
92548 #define HAVE_GETIPINFO 1
92549 _ACEOF
92550
92551
92552 fi
92553
92554 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
92555
92556
92557 # Check whether --enable-symvers or --disable-symvers was given.
92558 if test "${enable_symvers+set}" = set; then
92559 enableval="$enable_symvers"
92560
92561 case "$enableval" in
92562 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
92563 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
92564 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
92565 { (exit 1); exit 1; }; } ;;
92566 esac
92567
92568 else
92569 enable_symvers=yes
92570 fi;
92571
92572
92573 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
92574 # don't know enough about $LD to do tricks...
92575
92576
92577 # Turn a 'yes' into a suitable default.
92578 if test x$enable_symvers = xyes ; then
92579 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
92580 enable_symvers=no
92581 else
92582 if test $with_gnu_ld = yes ; then
92583 enable_symvers=gnu
92584 else
92585 case ${target_os} in
92586 darwin*)
92587 enable_symvers=darwin ;;
92588 *)
92589 enable_symvers=no ;;
92590 esac
92591 fi
92592 fi
92593 fi
92594
92595 # Check to see if 'darwin' or 'darwin-export' can win.
92596 if test x$enable_symvers = xdarwin-export ; then
92597 enable_symvers=darwin
92598 fi
92599
92600 # Check to see if 'gnu' can win.
92601 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
92602 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
92603 echo "$as_me:$LINENO: checking for shared libgcc" >&5
92604 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
92605 ac_save_CFLAGS="$CFLAGS"
92606 CFLAGS=' -lgcc_s'
92607 if test x$gcc_no_link = xyes; then
92608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92610 { (exit 1); exit 1; }; }
92611 fi
92612 cat >conftest.$ac_ext <<_ACEOF
92613 /* confdefs.h. */
92614 _ACEOF
92615 cat confdefs.h >>conftest.$ac_ext
92616 cat >>conftest.$ac_ext <<_ACEOF
92617 /* end confdefs.h. */
92618
92619 int
92620 main ()
92621 {
92622 return 0;
92623 ;
92624 return 0;
92625 }
92626 _ACEOF
92627 rm -f conftest.$ac_objext conftest$ac_exeext
92628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92629 (eval $ac_link) 2>conftest.er1
92630 ac_status=$?
92631 grep -v '^ *+' conftest.er1 >conftest.err
92632 rm -f conftest.er1
92633 cat conftest.err >&5
92634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92635 (exit $ac_status); } &&
92636 { ac_try='test -z "$ac_c_werror_flag"
92637 || test ! -s conftest.err'
92638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92639 (eval $ac_try) 2>&5
92640 ac_status=$?
92641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92642 (exit $ac_status); }; } &&
92643 { ac_try='test -s conftest$ac_exeext'
92644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92645 (eval $ac_try) 2>&5
92646 ac_status=$?
92647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92648 (exit $ac_status); }; }; then
92649 glibcxx_shared_libgcc=yes
92650 else
92651 echo "$as_me: failed program was:" >&5
92652 sed 's/^/| /' conftest.$ac_ext >&5
92653
92654 glibcxx_shared_libgcc=no
92655 fi
92656 rm -f conftest.err conftest.$ac_objext \
92657 conftest$ac_exeext conftest.$ac_ext
92658 CFLAGS="$ac_save_CFLAGS"
92659 if test $glibcxx_shared_libgcc = no; then
92660 cat > conftest.c <<EOF
92661 int main (void) { return 0; }
92662 EOF
92663 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
92664 -shared -shared-libgcc -o conftest.so \
92665 conftest.c -v 2>&1 >/dev/null \
92666 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
92667 rm -f conftest.c conftest.so
92668 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
92669 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
92670 if test x$gcc_no_link = xyes; then
92671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92673 { (exit 1); exit 1; }; }
92674 fi
92675 cat >conftest.$ac_ext <<_ACEOF
92676 /* confdefs.h. */
92677 _ACEOF
92678 cat confdefs.h >>conftest.$ac_ext
92679 cat >>conftest.$ac_ext <<_ACEOF
92680 /* end confdefs.h. */
92681
92682 int
92683 main ()
92684 {
92685 return 0;
92686 ;
92687 return 0;
92688 }
92689 _ACEOF
92690 rm -f conftest.$ac_objext conftest$ac_exeext
92691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92692 (eval $ac_link) 2>conftest.er1
92693 ac_status=$?
92694 grep -v '^ *+' conftest.er1 >conftest.err
92695 rm -f conftest.er1
92696 cat conftest.err >&5
92697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92698 (exit $ac_status); } &&
92699 { ac_try='test -z "$ac_c_werror_flag"
92700 || test ! -s conftest.err'
92701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92702 (eval $ac_try) 2>&5
92703 ac_status=$?
92704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92705 (exit $ac_status); }; } &&
92706 { ac_try='test -s conftest$ac_exeext'
92707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92708 (eval $ac_try) 2>&5
92709 ac_status=$?
92710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92711 (exit $ac_status); }; }; then
92712 glibcxx_shared_libgcc=yes
92713 else
92714 echo "$as_me: failed program was:" >&5
92715 sed 's/^/| /' conftest.$ac_ext >&5
92716
92717 fi
92718 rm -f conftest.err conftest.$ac_objext \
92719 conftest$ac_exeext conftest.$ac_ext
92720 CFLAGS="$ac_save_CFLAGS"
92721 fi
92722 fi
92723 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
92724 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
92725
92726 # For GNU ld, we need at least this version. The format is described in
92727 # GLIBCXX_CHECK_LINKER_FEATURES above.
92728 glibcxx_min_gnu_ld_version=21400
92729
92730 # If no shared libgcc, can't win.
92731 if test $glibcxx_shared_libgcc != yes; then
92732 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
92733 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
92734 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
92735 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
92736 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92737 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92738 enable_symvers=no
92739 elif test $with_gnu_ld != yes ; then
92740 # just fail for now
92741 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
92742 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
92743 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
92744 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
92745 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92746 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92747 enable_symvers=no
92748 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
92749 # The right tools, the right setup, but too old. Fallbacks?
92750 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
92751 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
92752 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
92753 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
92754 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
92755 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
92756 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
92757 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
92758 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92759 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92760 enable_symvers=no
92761 fi
92762 fi
92763
92764 # Everything parsed; figure out what file to use.
92765 case $enable_symvers in
92766 no)
92767 SYMVER_FILE=config/abi/pre/none.ver
92768 ;;
92769 gnu)
92770 SYMVER_FILE=config/abi/pre/gnu.ver
92771
92772 cat >>confdefs.h <<\_ACEOF
92773 #define _GLIBCXX_SYMVER_GNU 1
92774 _ACEOF
92775
92776 ;;
92777 gnu-versioned-namespace)
92778 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
92779
92780 cat >>confdefs.h <<\_ACEOF
92781 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
92782 _ACEOF
92783
92784 ;;
92785 darwin)
92786 SYMVER_FILE=config/abi/pre/gnu.ver
92787
92788 cat >>confdefs.h <<\_ACEOF
92789 #define _GLIBCXX_SYMVER_DARWIN 1
92790 _ACEOF
92791
92792 ;;
92793 esac
92794
92795 if test x$enable_symvers != xno ; then
92796
92797 cat >>confdefs.h <<\_ACEOF
92798 #define _GLIBCXX_SYMVER 1
92799 _ACEOF
92800
92801 fi
92802
92803
92804
92805
92806
92807
92808
92809 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
92810 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
92811
92812 # Now, set up compatibility support, if any.
92813 # In addition, need this to deal with std::size_t mangling in
92814 # src/compatibility.cc. In a perfect world, could use
92815 # typeid(std::size_t).name()[0] to do direct substitution.
92816 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
92817 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
92818 ac_save_CFLAGS="$CFLAGS"
92819 CFLAGS="-Werror"
92820 cat >conftest.$ac_ext <<_ACEOF
92821 /* confdefs.h. */
92822 _ACEOF
92823 cat confdefs.h >>conftest.$ac_ext
92824 cat >>conftest.$ac_ext <<_ACEOF
92825 /* end confdefs.h. */
92826
92827 int
92828 main ()
92829 {
92830 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
92831 ;
92832 return 0;
92833 }
92834 _ACEOF
92835 rm -f conftest.$ac_objext
92836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92837 (eval $ac_compile) 2>conftest.er1
92838 ac_status=$?
92839 grep -v '^ *+' conftest.er1 >conftest.err
92840 rm -f conftest.er1
92841 cat conftest.err >&5
92842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92843 (exit $ac_status); } &&
92844 { ac_try='test -z "$ac_c_werror_flag"
92845 || test ! -s conftest.err'
92846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92847 (eval $ac_try) 2>&5
92848 ac_status=$?
92849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92850 (exit $ac_status); }; } &&
92851 { ac_try='test -s conftest.$ac_objext'
92852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92853 (eval $ac_try) 2>&5
92854 ac_status=$?
92855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92856 (exit $ac_status); }; }; then
92857 glibcxx_size_t_is_i=yes
92858 else
92859 echo "$as_me: failed program was:" >&5
92860 sed 's/^/| /' conftest.$ac_ext >&5
92861
92862 glibcxx_size_t_is_i=no
92863 fi
92864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92865 CFLAGS=$ac_save_CFLAGS
92866 if test "$glibcxx_size_t_is_i" = yes; then
92867
92868 cat >>confdefs.h <<\_ACEOF
92869 #define _GLIBCXX_SIZE_T_IS_UINT 1
92870 _ACEOF
92871
92872 fi
92873 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
92874 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
92875
92876 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
92877 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
92878 ac_save_CFLAGS="$CFLAGS"
92879 CFLAGS="-Werror"
92880 cat >conftest.$ac_ext <<_ACEOF
92881 /* confdefs.h. */
92882 _ACEOF
92883 cat confdefs.h >>conftest.$ac_ext
92884 cat >>conftest.$ac_ext <<_ACEOF
92885 /* end confdefs.h. */
92886
92887 int
92888 main ()
92889 {
92890 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
92891 ;
92892 return 0;
92893 }
92894 _ACEOF
92895 rm -f conftest.$ac_objext
92896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92897 (eval $ac_compile) 2>conftest.er1
92898 ac_status=$?
92899 grep -v '^ *+' conftest.er1 >conftest.err
92900 rm -f conftest.er1
92901 cat conftest.err >&5
92902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92903 (exit $ac_status); } &&
92904 { ac_try='test -z "$ac_c_werror_flag"
92905 || test ! -s conftest.err'
92906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92907 (eval $ac_try) 2>&5
92908 ac_status=$?
92909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92910 (exit $ac_status); }; } &&
92911 { ac_try='test -s conftest.$ac_objext'
92912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92913 (eval $ac_try) 2>&5
92914 ac_status=$?
92915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92916 (exit $ac_status); }; }; then
92917 glibcxx_ptrdiff_t_is_i=yes
92918 else
92919 echo "$as_me: failed program was:" >&5
92920 sed 's/^/| /' conftest.$ac_ext >&5
92921
92922 glibcxx_ptrdiff_t_is_i=no
92923 fi
92924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92925 CFLAGS=$ac_save_CFLAGS
92926 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
92927
92928 cat >>confdefs.h <<\_ACEOF
92929 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
92930 _ACEOF
92931
92932 fi
92933 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
92934 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
92935
92936
92937 # Check whether --enable-visibility or --disable-visibility was given.
92938 if test "${enable_visibility+set}" = set; then
92939 enableval="$enable_visibility"
92940
92941 case "$enableval" in
92942 yes|no) ;;
92943 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
92944 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
92945 { (exit 1); exit 1; }; } ;;
92946 esac
92947
92948 else
92949 enable_visibility=yes
92950 fi;
92951
92952
92953 if test x$enable_visibility = xyes ; then
92954 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
92955 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
92956 if test "${have_attribute_visibility+set}" = set; then
92957 echo $ECHO_N "(cached) $ECHO_C" >&6
92958 else
92959
92960 save_CFLAGS="$CFLAGS"
92961 CFLAGS="$CFLAGS -Werror"
92962 cat >conftest.$ac_ext <<_ACEOF
92963 /* confdefs.h. */
92964 _ACEOF
92965 cat confdefs.h >>conftest.$ac_ext
92966 cat >>conftest.$ac_ext <<_ACEOF
92967 /* end confdefs.h. */
92968 void __attribute__((visibility("hidden"))) foo(void) { }
92969 int
92970 main ()
92971 {
92972
92973 ;
92974 return 0;
92975 }
92976 _ACEOF
92977 rm -f conftest.$ac_objext
92978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92979 (eval $ac_compile) 2>conftest.er1
92980 ac_status=$?
92981 grep -v '^ *+' conftest.er1 >conftest.err
92982 rm -f conftest.er1
92983 cat conftest.err >&5
92984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92985 (exit $ac_status); } &&
92986 { ac_try='test -z "$ac_c_werror_flag"
92987 || test ! -s conftest.err'
92988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92989 (eval $ac_try) 2>&5
92990 ac_status=$?
92991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92992 (exit $ac_status); }; } &&
92993 { ac_try='test -s conftest.$ac_objext'
92994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92995 (eval $ac_try) 2>&5
92996 ac_status=$?
92997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92998 (exit $ac_status); }; }; then
92999 have_attribute_visibility=yes
93000 else
93001 echo "$as_me: failed program was:" >&5
93002 sed 's/^/| /' conftest.$ac_ext >&5
93003
93004 have_attribute_visibility=no
93005 fi
93006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93007 CFLAGS="$save_CFLAGS"
93008 fi
93009 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
93010 echo "${ECHO_T}$have_attribute_visibility" >&6
93011 if test $have_attribute_visibility = no; then
93012 enable_visibility=no
93013 fi
93014 fi
93015
93016
93017 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
93018 echo "$as_me: visibility supported: $enable_visibility" >&6;}
93019
93020
93021 ac_ldbl_compat=no
93022 case "$target" in
93023 powerpc*-*-linux* | \
93024 powerpc*-*-gnu* | \
93025 sparc*-*-linux* | \
93026 s390*-*-linux* | \
93027 alpha*-*-linux*)
93028 cat >conftest.$ac_ext <<_ACEOF
93029 /* confdefs.h. */
93030 _ACEOF
93031 cat confdefs.h >>conftest.$ac_ext
93032 cat >>conftest.$ac_ext <<_ACEOF
93033 /* end confdefs.h. */
93034
93035 int
93036 main ()
93037 {
93038
93039 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
93040 #error no need for long double compatibility
93041 #endif
93042
93043 ;
93044 return 0;
93045 }
93046 _ACEOF
93047 rm -f conftest.$ac_objext
93048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93049 (eval $ac_compile) 2>conftest.er1
93050 ac_status=$?
93051 grep -v '^ *+' conftest.er1 >conftest.err
93052 rm -f conftest.er1
93053 cat conftest.err >&5
93054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93055 (exit $ac_status); } &&
93056 { ac_try='test -z "$ac_c_werror_flag"
93057 || test ! -s conftest.err'
93058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93059 (eval $ac_try) 2>&5
93060 ac_status=$?
93061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93062 (exit $ac_status); }; } &&
93063 { ac_try='test -s conftest.$ac_objext'
93064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93065 (eval $ac_try) 2>&5
93066 ac_status=$?
93067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93068 (exit $ac_status); }; }; then
93069 ac_ldbl_compat=yes
93070 else
93071 echo "$as_me: failed program was:" >&5
93072 sed 's/^/| /' conftest.$ac_ext >&5
93073
93074 ac_ldbl_compat=no
93075 fi
93076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93077 if test "$ac_ldbl_compat" = yes; then
93078
93079 cat >>confdefs.h <<\_ACEOF
93080 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
93081 _ACEOF
93082
93083 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
93084 fi
93085 esac
93086
93087
93088 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
93089
93090 if $GLIBCXX_IS_NATIVE ; then
93091 # Do checks for resource limit functions.
93092
93093 setrlimit_have_headers=yes
93094
93095
93096
93097 for ac_header in unistd.h sys/time.h sys/resource.h
93098 do
93099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93101 echo "$as_me:$LINENO: checking for $ac_header" >&5
93102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93104 echo $ECHO_N "(cached) $ECHO_C" >&6
93105 fi
93106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93108 else
93109 # Is the header compilable?
93110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93112 cat >conftest.$ac_ext <<_ACEOF
93113 /* confdefs.h. */
93114 _ACEOF
93115 cat confdefs.h >>conftest.$ac_ext
93116 cat >>conftest.$ac_ext <<_ACEOF
93117 /* end confdefs.h. */
93118 $ac_includes_default
93119 #include <$ac_header>
93120 _ACEOF
93121 rm -f conftest.$ac_objext
93122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93123 (eval $ac_compile) 2>conftest.er1
93124 ac_status=$?
93125 grep -v '^ *+' conftest.er1 >conftest.err
93126 rm -f conftest.er1
93127 cat conftest.err >&5
93128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93129 (exit $ac_status); } &&
93130 { ac_try='test -z "$ac_c_werror_flag"
93131 || test ! -s conftest.err'
93132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93133 (eval $ac_try) 2>&5
93134 ac_status=$?
93135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93136 (exit $ac_status); }; } &&
93137 { ac_try='test -s conftest.$ac_objext'
93138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93139 (eval $ac_try) 2>&5
93140 ac_status=$?
93141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93142 (exit $ac_status); }; }; then
93143 ac_header_compiler=yes
93144 else
93145 echo "$as_me: failed program was:" >&5
93146 sed 's/^/| /' conftest.$ac_ext >&5
93147
93148 ac_header_compiler=no
93149 fi
93150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93152 echo "${ECHO_T}$ac_header_compiler" >&6
93153
93154 # Is the header present?
93155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
93156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
93157 cat >conftest.$ac_ext <<_ACEOF
93158 /* confdefs.h. */
93159 _ACEOF
93160 cat confdefs.h >>conftest.$ac_ext
93161 cat >>conftest.$ac_ext <<_ACEOF
93162 /* end confdefs.h. */
93163 #include <$ac_header>
93164 _ACEOF
93165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93167 ac_status=$?
93168 grep -v '^ *+' conftest.er1 >conftest.err
93169 rm -f conftest.er1
93170 cat conftest.err >&5
93171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93172 (exit $ac_status); } >/dev/null; then
93173 if test -s conftest.err; then
93174 ac_cpp_err=$ac_c_preproc_warn_flag
93175 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93176 else
93177 ac_cpp_err=
93178 fi
93179 else
93180 ac_cpp_err=yes
93181 fi
93182 if test -z "$ac_cpp_err"; then
93183 ac_header_preproc=yes
93184 else
93185 echo "$as_me: failed program was:" >&5
93186 sed 's/^/| /' conftest.$ac_ext >&5
93187
93188 ac_header_preproc=no
93189 fi
93190 rm -f conftest.err conftest.$ac_ext
93191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93192 echo "${ECHO_T}$ac_header_preproc" >&6
93193
93194 # So? What about this header?
93195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93196 yes:no: )
93197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
93198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
93199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
93200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
93201 ac_header_preproc=yes
93202 ;;
93203 no:yes:* )
93204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
93205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
93206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
93207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
93208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
93209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
93210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
93211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
93212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
93213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
93214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
93215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
93216 (
93217 cat <<\_ASBOX
93218 ## ----------------------------------------- ##
93219 ## Report this to the package-unused lists. ##
93220 ## ----------------------------------------- ##
93221 _ASBOX
93222 ) |
93223 sed "s/^/$as_me: WARNING: /" >&2
93224 ;;
93225 esac
93226 echo "$as_me:$LINENO: checking for $ac_header" >&5
93227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93229 echo $ECHO_N "(cached) $ECHO_C" >&6
93230 else
93231 eval "$as_ac_Header=\$ac_header_preproc"
93232 fi
93233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93235
93236 fi
93237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
93238 cat >>confdefs.h <<_ACEOF
93239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
93240 _ACEOF
93241
93242 else
93243 setrlimit_have_headers=no
93244 fi
93245
93246 done
93247
93248 # If don't have the headers, then we can't run the tests now, and we
93249 # won't be seeing any of these during testsuite compilation.
93250 if test $setrlimit_have_headers = yes; then
93251 # Can't do these in a loop, else the resulting syntax is wrong.
93252
93253 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
93254 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
93255 cat >conftest.$ac_ext <<_ACEOF
93256 /* confdefs.h. */
93257 _ACEOF
93258 cat confdefs.h >>conftest.$ac_ext
93259 cat >>conftest.$ac_ext <<_ACEOF
93260 /* end confdefs.h. */
93261 #include <unistd.h>
93262 #include <sys/time.h>
93263 #include <sys/resource.h>
93264
93265 int
93266 main ()
93267 {
93268 int f = RLIMIT_DATA ;
93269 ;
93270 return 0;
93271 }
93272 _ACEOF
93273 rm -f conftest.$ac_objext
93274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93275 (eval $ac_compile) 2>conftest.er1
93276 ac_status=$?
93277 grep -v '^ *+' conftest.er1 >conftest.err
93278 rm -f conftest.er1
93279 cat conftest.err >&5
93280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93281 (exit $ac_status); } &&
93282 { ac_try='test -z "$ac_c_werror_flag"
93283 || test ! -s conftest.err'
93284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93285 (eval $ac_try) 2>&5
93286 ac_status=$?
93287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93288 (exit $ac_status); }; } &&
93289 { ac_try='test -s conftest.$ac_objext'
93290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93291 (eval $ac_try) 2>&5
93292 ac_status=$?
93293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93294 (exit $ac_status); }; }; then
93295 glibcxx_mresult=1
93296 else
93297 echo "$as_me: failed program was:" >&5
93298 sed 's/^/| /' conftest.$ac_ext >&5
93299
93300 glibcxx_mresult=0
93301 fi
93302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93303
93304 cat >>confdefs.h <<_ACEOF
93305 #define HAVE_LIMIT_DATA $glibcxx_mresult
93306 _ACEOF
93307
93308 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
93309 echo "$as_me:$LINENO: result: $res" >&5
93310 echo "${ECHO_T}$res" >&6
93311
93312
93313 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
93314 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
93315 cat >conftest.$ac_ext <<_ACEOF
93316 /* confdefs.h. */
93317 _ACEOF
93318 cat confdefs.h >>conftest.$ac_ext
93319 cat >>conftest.$ac_ext <<_ACEOF
93320 /* end confdefs.h. */
93321 #include <unistd.h>
93322 #include <sys/time.h>
93323 #include <sys/resource.h>
93324
93325 int
93326 main ()
93327 {
93328 int f = RLIMIT_RSS ;
93329 ;
93330 return 0;
93331 }
93332 _ACEOF
93333 rm -f conftest.$ac_objext
93334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93335 (eval $ac_compile) 2>conftest.er1
93336 ac_status=$?
93337 grep -v '^ *+' conftest.er1 >conftest.err
93338 rm -f conftest.er1
93339 cat conftest.err >&5
93340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93341 (exit $ac_status); } &&
93342 { ac_try='test -z "$ac_c_werror_flag"
93343 || test ! -s conftest.err'
93344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93345 (eval $ac_try) 2>&5
93346 ac_status=$?
93347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93348 (exit $ac_status); }; } &&
93349 { ac_try='test -s conftest.$ac_objext'
93350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93351 (eval $ac_try) 2>&5
93352 ac_status=$?
93353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93354 (exit $ac_status); }; }; then
93355 glibcxx_mresult=1
93356 else
93357 echo "$as_me: failed program was:" >&5
93358 sed 's/^/| /' conftest.$ac_ext >&5
93359
93360 glibcxx_mresult=0
93361 fi
93362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93363
93364 cat >>confdefs.h <<_ACEOF
93365 #define HAVE_LIMIT_RSS $glibcxx_mresult
93366 _ACEOF
93367
93368 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
93369 echo "$as_me:$LINENO: result: $res" >&5
93370 echo "${ECHO_T}$res" >&6
93371
93372
93373 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
93374 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
93375 cat >conftest.$ac_ext <<_ACEOF
93376 /* confdefs.h. */
93377 _ACEOF
93378 cat confdefs.h >>conftest.$ac_ext
93379 cat >>conftest.$ac_ext <<_ACEOF
93380 /* end confdefs.h. */
93381 #include <unistd.h>
93382 #include <sys/time.h>
93383 #include <sys/resource.h>
93384
93385 int
93386 main ()
93387 {
93388 int f = RLIMIT_VMEM ;
93389 ;
93390 return 0;
93391 }
93392 _ACEOF
93393 rm -f conftest.$ac_objext
93394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93395 (eval $ac_compile) 2>conftest.er1
93396 ac_status=$?
93397 grep -v '^ *+' conftest.er1 >conftest.err
93398 rm -f conftest.er1
93399 cat conftest.err >&5
93400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93401 (exit $ac_status); } &&
93402 { ac_try='test -z "$ac_c_werror_flag"
93403 || test ! -s conftest.err'
93404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93405 (eval $ac_try) 2>&5
93406 ac_status=$?
93407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93408 (exit $ac_status); }; } &&
93409 { ac_try='test -s conftest.$ac_objext'
93410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93411 (eval $ac_try) 2>&5
93412 ac_status=$?
93413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93414 (exit $ac_status); }; }; then
93415 glibcxx_mresult=1
93416 else
93417 echo "$as_me: failed program was:" >&5
93418 sed 's/^/| /' conftest.$ac_ext >&5
93419
93420 glibcxx_mresult=0
93421 fi
93422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93423
93424 cat >>confdefs.h <<_ACEOF
93425 #define HAVE_LIMIT_VMEM $glibcxx_mresult
93426 _ACEOF
93427
93428 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
93429 echo "$as_me:$LINENO: result: $res" >&5
93430 echo "${ECHO_T}$res" >&6
93431
93432
93433 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
93434 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
93435 cat >conftest.$ac_ext <<_ACEOF
93436 /* confdefs.h. */
93437 _ACEOF
93438 cat confdefs.h >>conftest.$ac_ext
93439 cat >>conftest.$ac_ext <<_ACEOF
93440 /* end confdefs.h. */
93441 #include <unistd.h>
93442 #include <sys/time.h>
93443 #include <sys/resource.h>
93444
93445 int
93446 main ()
93447 {
93448 int f = RLIMIT_AS ;
93449 ;
93450 return 0;
93451 }
93452 _ACEOF
93453 rm -f conftest.$ac_objext
93454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93455 (eval $ac_compile) 2>conftest.er1
93456 ac_status=$?
93457 grep -v '^ *+' conftest.er1 >conftest.err
93458 rm -f conftest.er1
93459 cat conftest.err >&5
93460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93461 (exit $ac_status); } &&
93462 { ac_try='test -z "$ac_c_werror_flag"
93463 || test ! -s conftest.err'
93464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93465 (eval $ac_try) 2>&5
93466 ac_status=$?
93467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93468 (exit $ac_status); }; } &&
93469 { ac_try='test -s conftest.$ac_objext'
93470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93471 (eval $ac_try) 2>&5
93472 ac_status=$?
93473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93474 (exit $ac_status); }; }; then
93475 glibcxx_mresult=1
93476 else
93477 echo "$as_me: failed program was:" >&5
93478 sed 's/^/| /' conftest.$ac_ext >&5
93479
93480 glibcxx_mresult=0
93481 fi
93482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93483
93484 cat >>confdefs.h <<_ACEOF
93485 #define HAVE_LIMIT_AS $glibcxx_mresult
93486 _ACEOF
93487
93488 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
93489 echo "$as_me:$LINENO: result: $res" >&5
93490 echo "${ECHO_T}$res" >&6
93491
93492
93493 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
93494 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
93495 cat >conftest.$ac_ext <<_ACEOF
93496 /* confdefs.h. */
93497 _ACEOF
93498 cat confdefs.h >>conftest.$ac_ext
93499 cat >>conftest.$ac_ext <<_ACEOF
93500 /* end confdefs.h. */
93501 #include <unistd.h>
93502 #include <sys/time.h>
93503 #include <sys/resource.h>
93504
93505 int
93506 main ()
93507 {
93508 int f = RLIMIT_FSIZE ;
93509 ;
93510 return 0;
93511 }
93512 _ACEOF
93513 rm -f conftest.$ac_objext
93514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93515 (eval $ac_compile) 2>conftest.er1
93516 ac_status=$?
93517 grep -v '^ *+' conftest.er1 >conftest.err
93518 rm -f conftest.er1
93519 cat conftest.err >&5
93520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93521 (exit $ac_status); } &&
93522 { ac_try='test -z "$ac_c_werror_flag"
93523 || test ! -s conftest.err'
93524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93525 (eval $ac_try) 2>&5
93526 ac_status=$?
93527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93528 (exit $ac_status); }; } &&
93529 { ac_try='test -s conftest.$ac_objext'
93530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93531 (eval $ac_try) 2>&5
93532 ac_status=$?
93533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93534 (exit $ac_status); }; }; then
93535 glibcxx_mresult=1
93536 else
93537 echo "$as_me: failed program was:" >&5
93538 sed 's/^/| /' conftest.$ac_ext >&5
93539
93540 glibcxx_mresult=0
93541 fi
93542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93543
93544 cat >>confdefs.h <<_ACEOF
93545 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
93546 _ACEOF
93547
93548 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
93549 echo "$as_me:$LINENO: result: $res" >&5
93550 echo "${ECHO_T}$res" >&6
93551
93552
93553 # Check for rlimit, setrlimit.
93554 if test "${ac_setrlimit+set}" = set; then
93555 echo $ECHO_N "(cached) $ECHO_C" >&6
93556 else
93557
93558 cat >conftest.$ac_ext <<_ACEOF
93559 /* confdefs.h. */
93560 _ACEOF
93561 cat confdefs.h >>conftest.$ac_ext
93562 cat >>conftest.$ac_ext <<_ACEOF
93563 /* end confdefs.h. */
93564 #include <unistd.h>
93565 #include <sys/time.h>
93566 #include <sys/resource.h>
93567
93568 int
93569 main ()
93570 {
93571 struct rlimit r;
93572 setrlimit(0, &r);
93573 ;
93574 return 0;
93575 }
93576 _ACEOF
93577 rm -f conftest.$ac_objext
93578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93579 (eval $ac_compile) 2>conftest.er1
93580 ac_status=$?
93581 grep -v '^ *+' conftest.er1 >conftest.err
93582 rm -f conftest.er1
93583 cat conftest.err >&5
93584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93585 (exit $ac_status); } &&
93586 { ac_try='test -z "$ac_c_werror_flag"
93587 || test ! -s conftest.err'
93588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93589 (eval $ac_try) 2>&5
93590 ac_status=$?
93591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93592 (exit $ac_status); }; } &&
93593 { ac_try='test -s conftest.$ac_objext'
93594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93595 (eval $ac_try) 2>&5
93596 ac_status=$?
93597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93598 (exit $ac_status); }; }; then
93599 ac_setrlimit=yes
93600 else
93601 echo "$as_me: failed program was:" >&5
93602 sed 's/^/| /' conftest.$ac_ext >&5
93603
93604 ac_setrlimit=no
93605 fi
93606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93607
93608 fi
93609
93610 fi
93611
93612 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
93613 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
93614 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
93615 ac_res_limits=yes
93616
93617 cat >>confdefs.h <<\_ACEOF
93618 #define _GLIBCXX_RES_LIMITS 1
93619 _ACEOF
93620
93621 else
93622 ac_res_limits=no
93623 fi
93624 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
93625 echo "${ECHO_T}$ac_res_limits" >&6
93626
93627
93628 # Look for setenv, so that extended locale tests can be performed.
93629
93630 echo "$as_me:$LINENO: checking for setenv declaration" >&5
93631 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
93632 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
93633 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
93634 echo $ECHO_N "(cached) $ECHO_C" >&6
93635 else
93636
93637
93638
93639 ac_ext=cc
93640 ac_cpp='$CXXCPP $CPPFLAGS'
93641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93644
93645 cat >conftest.$ac_ext <<_ACEOF
93646 /* confdefs.h. */
93647 _ACEOF
93648 cat confdefs.h >>conftest.$ac_ext
93649 cat >>conftest.$ac_ext <<_ACEOF
93650 /* end confdefs.h. */
93651 #include <stdlib.h>
93652 int
93653 main ()
93654 {
93655 setenv(0, 0, 0);
93656 ;
93657 return 0;
93658 }
93659 _ACEOF
93660 rm -f conftest.$ac_objext
93661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93662 (eval $ac_compile) 2>conftest.er1
93663 ac_status=$?
93664 grep -v '^ *+' conftest.er1 >conftest.err
93665 rm -f conftest.er1
93666 cat conftest.err >&5
93667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93668 (exit $ac_status); } &&
93669 { ac_try='test -z "$ac_cxx_werror_flag"
93670 || test ! -s conftest.err'
93671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93672 (eval $ac_try) 2>&5
93673 ac_status=$?
93674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93675 (exit $ac_status); }; } &&
93676 { ac_try='test -s conftest.$ac_objext'
93677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93678 (eval $ac_try) 2>&5
93679 ac_status=$?
93680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93681 (exit $ac_status); }; }; then
93682 glibcxx_cv_func_setenv_use=yes
93683 else
93684 echo "$as_me: failed program was:" >&5
93685 sed 's/^/| /' conftest.$ac_ext >&5
93686
93687 glibcxx_cv_func_setenv_use=no
93688 fi
93689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93690 ac_ext=c
93691 ac_cpp='$CPP $CPPFLAGS'
93692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93695
93696
93697 fi
93698
93699 fi
93700 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
93701 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
93702 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
93703
93704 for ac_func in setenv
93705 do
93706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93707 echo "$as_me:$LINENO: checking for $ac_func" >&5
93708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93709 if eval "test \"\${$as_ac_var+set}\" = set"; then
93710 echo $ECHO_N "(cached) $ECHO_C" >&6
93711 else
93712 if test x$gcc_no_link = xyes; then
93713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93715 { (exit 1); exit 1; }; }
93716 fi
93717 cat >conftest.$ac_ext <<_ACEOF
93718 /* confdefs.h. */
93719 _ACEOF
93720 cat confdefs.h >>conftest.$ac_ext
93721 cat >>conftest.$ac_ext <<_ACEOF
93722 /* end confdefs.h. */
93723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93725 #define $ac_func innocuous_$ac_func
93726
93727 /* System header to define __stub macros and hopefully few prototypes,
93728 which can conflict with char $ac_func (); below.
93729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93730 <limits.h> exists even on freestanding compilers. */
93731
93732 #ifdef __STDC__
93733 # include <limits.h>
93734 #else
93735 # include <assert.h>
93736 #endif
93737
93738 #undef $ac_func
93739
93740 /* Override any gcc2 internal prototype to avoid an error. */
93741 #ifdef __cplusplus
93742 extern "C"
93743 {
93744 #endif
93745 /* We use char because int might match the return type of a gcc2
93746 builtin and then its argument prototype would still apply. */
93747 char $ac_func ();
93748 /* The GNU C library defines this for functions which it implements
93749 to always fail with ENOSYS. Some functions are actually named
93750 something starting with __ and the normal name is an alias. */
93751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93752 choke me
93753 #else
93754 char (*f) () = $ac_func;
93755 #endif
93756 #ifdef __cplusplus
93757 }
93758 #endif
93759
93760 int
93761 main ()
93762 {
93763 return f != $ac_func;
93764 ;
93765 return 0;
93766 }
93767 _ACEOF
93768 rm -f conftest.$ac_objext conftest$ac_exeext
93769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93770 (eval $ac_link) 2>conftest.er1
93771 ac_status=$?
93772 grep -v '^ *+' conftest.er1 >conftest.err
93773 rm -f conftest.er1
93774 cat conftest.err >&5
93775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93776 (exit $ac_status); } &&
93777 { ac_try='test -z "$ac_c_werror_flag"
93778 || test ! -s conftest.err'
93779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93780 (eval $ac_try) 2>&5
93781 ac_status=$?
93782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93783 (exit $ac_status); }; } &&
93784 { ac_try='test -s conftest$ac_exeext'
93785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93786 (eval $ac_try) 2>&5
93787 ac_status=$?
93788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93789 (exit $ac_status); }; }; then
93790 eval "$as_ac_var=yes"
93791 else
93792 echo "$as_me: failed program was:" >&5
93793 sed 's/^/| /' conftest.$ac_ext >&5
93794
93795 eval "$as_ac_var=no"
93796 fi
93797 rm -f conftest.err conftest.$ac_objext \
93798 conftest$ac_exeext conftest.$ac_ext
93799 fi
93800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93802 if test `eval echo '${'$as_ac_var'}'` = yes; then
93803 cat >>confdefs.h <<_ACEOF
93804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93805 _ACEOF
93806
93807 fi
93808 done
93809
93810 fi
93811
93812 fi
93813
93814 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
93815 test $enable_symvers != no; then
93816 case "$host" in
93817 *-*-cygwin*)
93818 enable_abi_check=no ;;
93819 *)
93820 enable_abi_check=yes ;;
93821 esac
93822 else
93823 # Only build this as native, since automake does not understand
93824 # CXX_FOR_BUILD.
93825 enable_abi_check=no
93826 fi
93827
93828 # Export file names for ABI checking.
93829 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
93830
93831
93832
93833 # Propagate the target-specific source directories through the build chain.
93834 ATOMICITY_SRCDIR=config/${atomicity_dir}
93835 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
93836 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
93837 OS_INC_SRCDIR=config/${os_include_dir}
93838 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
93839 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
93840
93841
93842
93843
93844
93845
93846
93847 # Determine cross-compile flags and AM_CONDITIONALs.
93848 #AC_SUBST(GLIBCXX_IS_NATIVE)
93849 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
93850 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
93851 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
93852
93853
93854 if test $is_hosted = yes; then
93855 GLIBCXX_HOSTED_TRUE=
93856 GLIBCXX_HOSTED_FALSE='#'
93857 else
93858 GLIBCXX_HOSTED_TRUE='#'
93859 GLIBCXX_HOSTED_FALSE=
93860 fi
93861
93862
93863
93864
93865 if test $enable_libstdcxx_pch = yes; then
93866 GLIBCXX_BUILD_PCH_TRUE=
93867 GLIBCXX_BUILD_PCH_FALSE='#'
93868 else
93869 GLIBCXX_BUILD_PCH_TRUE='#'
93870 GLIBCXX_BUILD_PCH_FALSE=
93871 fi
93872
93873
93874
93875
93876 if test $enable_cheaders = c; then
93877 GLIBCXX_C_HEADERS_C_TRUE=
93878 GLIBCXX_C_HEADERS_C_FALSE='#'
93879 else
93880 GLIBCXX_C_HEADERS_C_TRUE='#'
93881 GLIBCXX_C_HEADERS_C_FALSE=
93882 fi
93883
93884
93885
93886
93887 if test $enable_cheaders = c_std; then
93888 GLIBCXX_C_HEADERS_C_STD_TRUE=
93889 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
93890 else
93891 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
93892 GLIBCXX_C_HEADERS_C_STD_FALSE=
93893 fi
93894
93895
93896
93897
93898 if test $enable_cheaders = c_global; then
93899 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
93900 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
93901 else
93902 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
93903 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
93904 fi
93905
93906
93907
93908
93909 if test $c_compatibility = yes; then
93910 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
93911 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
93912 else
93913 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
93914 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
93915 fi
93916
93917
93918
93919
93920 if test $c_extra = yes; then
93921 GLIBCXX_C_HEADERS_EXTRA_TRUE=
93922 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
93923 else
93924 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
93925 GLIBCXX_C_HEADERS_EXTRA_FALSE=
93926 fi
93927
93928
93929
93930
93931 if test $enable_libstdcxx_debug = yes; then
93932 GLIBCXX_BUILD_DEBUG_TRUE=
93933 GLIBCXX_BUILD_DEBUG_FALSE='#'
93934 else
93935 GLIBCXX_BUILD_DEBUG_TRUE='#'
93936 GLIBCXX_BUILD_DEBUG_FALSE=
93937 fi
93938
93939
93940
93941
93942 if test $enable_symvers != no; then
93943 ENABLE_SYMVERS_TRUE=
93944 ENABLE_SYMVERS_FALSE='#'
93945 else
93946 ENABLE_SYMVERS_TRUE='#'
93947 ENABLE_SYMVERS_FALSE=
93948 fi
93949
93950
93951
93952
93953 if test $enable_symvers = gnu; then
93954 ENABLE_SYMVERS_GNU_TRUE=
93955 ENABLE_SYMVERS_GNU_FALSE='#'
93956 else
93957 ENABLE_SYMVERS_GNU_TRUE='#'
93958 ENABLE_SYMVERS_GNU_FALSE=
93959 fi
93960
93961
93962
93963
93964 if test $enable_symvers = gnu-versioned-namespace; then
93965 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
93966 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
93967 else
93968 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
93969 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
93970 fi
93971
93972
93973
93974
93975 if test $enable_symvers = darwin; then
93976 ENABLE_SYMVERS_DARWIN_TRUE=
93977 ENABLE_SYMVERS_DARWIN_FALSE='#'
93978 else
93979 ENABLE_SYMVERS_DARWIN_TRUE='#'
93980 ENABLE_SYMVERS_DARWIN_FALSE=
93981 fi
93982
93983
93984
93985
93986 if test $enable_visibility = yes; then
93987 ENABLE_VISIBILITY_TRUE=
93988 ENABLE_VISIBILITY_FALSE='#'
93989 else
93990 ENABLE_VISIBILITY_TRUE='#'
93991 ENABLE_VISIBILITY_FALSE=
93992 fi
93993
93994
93995
93996
93997 if test $ac_ldbl_compat = yes; then
93998 GLIBCXX_LDBL_COMPAT_TRUE=
93999 GLIBCXX_LDBL_COMPAT_FALSE='#'
94000 else
94001 GLIBCXX_LDBL_COMPAT_TRUE='#'
94002 GLIBCXX_LDBL_COMPAT_FALSE=
94003 fi
94004
94005
94006
94007
94008 cat >confcache <<\_ACEOF
94009 # This file is a shell script that caches the results of configure
94010 # tests run on this system so they can be shared between configure
94011 # scripts and configure runs, see configure's option --config-cache.
94012 # It is not useful on other systems. If it contains results you don't
94013 # want to keep, you may remove or edit it.
94014 #
94015 # config.status only pays attention to the cache file if you give it
94016 # the --recheck option to rerun configure.
94017 #
94018 # `ac_cv_env_foo' variables (set or unset) will be overridden when
94019 # loading this file, other *unset* `ac_cv_foo' will be assigned the
94020 # following values.
94021
94022 _ACEOF
94023
94024 # The following way of writing the cache mishandles newlines in values,
94025 # but we know of no workaround that is simple, portable, and efficient.
94026 # So, don't put newlines in cache variables' values.
94027 # Ultrix sh set writes to stderr and can't be redirected directly,
94028 # and sets the high bit in the cache file unless we assign to the vars.
94029 {
94030 (set) 2>&1 |
94031 case `(ac_space=' '; set | grep ac_space) 2>&1` in
94032 *ac_space=\ *)
94033 # `set' does not quote correctly, so add quotes (double-quote
94034 # substitution turns \\\\ into \\, and sed turns \\ into \).
94035 sed -n \
94036 "s/'/'\\\\''/g;
94037 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
94038 ;;
94039 *)
94040 # `set' quotes correctly as required by POSIX, so do not add quotes.
94041 sed -n \
94042 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
94043 ;;
94044 esac;
94045 } |
94046 sed '
94047 t clear
94048 : clear
94049 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
94050 t end
94051 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
94052 : end' >>confcache
94053 if diff $cache_file confcache >/dev/null 2>&1; then :; else
94054 if test -w $cache_file; then
94055 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
94056 cat confcache >$cache_file
94057 else
94058 echo "not updating unwritable cache $cache_file"
94059 fi
94060 fi
94061 rm -f confcache
94062
94063 if test ${multilib} = yes; then
94064 multilib_arg="--enable-multilib"
94065 else
94066 multilib_arg=
94067 fi
94068
94069 # Export all the install information.
94070
94071 glibcxx_toolexecdir=no
94072 glibcxx_toolexeclibdir=no
94073 glibcxx_prefixdir=$prefix
94074
94075 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
94076 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
94077
94078 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
94079 if test "${with_gxx_include_dir+set}" = set; then
94080 withval="$with_gxx_include_dir"
94081 case "$withval" in
94082 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
94083 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
94084 { (exit 1); exit 1; }; } ;;
94085 no) gxx_include_dir=no ;;
94086 *) gxx_include_dir=$withval ;;
94087 esac
94088 else
94089 gxx_include_dir=no
94090 fi;
94091 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
94092 echo "${ECHO_T}$gxx_include_dir" >&6
94093
94094 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
94095 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
94096 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
94097 if test "${enable_version_specific_runtime_libs+set}" = set; then
94098 enableval="$enable_version_specific_runtime_libs"
94099 case "$enableval" in
94100 yes) version_specific_libs=yes ;;
94101 no) version_specific_libs=no ;;
94102 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
94103 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
94104 { (exit 1); exit 1; }; };;
94105 esac
94106 else
94107 version_specific_libs=no
94108 fi;
94109 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
94110 echo "${ECHO_T}$version_specific_libs" >&6
94111
94112 # Default case for install directory for include files.
94113 if test $version_specific_libs = no && test $gxx_include_dir = no; then
94114 gxx_include_dir='include/c++/${gcc_version}'
94115 if test -n "$with_cross_host" &&
94116 test x"$with_cross_host" != x"no"; then
94117 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
94118 else
94119 gxx_include_dir='${prefix}/'"$gxx_include_dir"
94120 fi
94121 fi
94122
94123 # Version-specific runtime libs processing.
94124 if test $version_specific_libs = yes; then
94125 # Need the gcc compiler version to know where to install libraries
94126 # and header files if --enable-version-specific-runtime-libs option
94127 # is selected. FIXME: these variables are misnamed, there are
94128 # no executables installed in _toolexecdir or _toolexeclibdir.
94129 if test x"$gxx_include_dir" = x"no"; then
94130 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
94131 fi
94132 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
94133 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
94134 fi
94135
94136 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
94137 # Install a library built with a cross compiler in tooldir, not libdir.
94138 if test x"$glibcxx_toolexecdir" = x"no"; then
94139 if test -n "$with_cross_host" &&
94140 test x"$with_cross_host" != x"no"; then
94141 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
94142 glibcxx_toolexeclibdir='${toolexecdir}/lib'
94143 else
94144 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
94145 glibcxx_toolexeclibdir='${libdir}'
94146 fi
94147 multi_os_directory=`$CXX -print-multi-os-directory`
94148 case $multi_os_directory in
94149 .) ;; # Avoid trailing /.
94150 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
94151 esac
94152 fi
94153
94154 echo "$as_me:$LINENO: checking for install location" >&5
94155 echo $ECHO_N "checking for install location... $ECHO_C" >&6
94156 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
94157 echo "${ECHO_T}$gxx_include_dir" >&6
94158
94159
94160
94161
94162
94163
94164
94165 # Export all the include and flag information to Makefiles.
94166
94167 # Used for every C++ compile we perform.
94168 GLIBCXX_INCLUDES="\
94169 -I$glibcxx_builddir/include/$host_alias \
94170 -I$glibcxx_builddir/include \
94171 -I$glibcxx_srcdir/libsupc++"
94172
94173 # For Canadian crosses, pick this up too.
94174 if test $CANADIAN = yes; then
94175 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
94176 fi
94177
94178 # Stuff in the actual top level. Currently only used by libsupc++ to
94179 # get unwind* headers from the gcc dir.
94180 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
94181 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
94182
94183 # Now, export this to all the little Makefiles....
94184
94185
94186
94187
94188 # Optimization flags that are probably a good idea for thrill-seekers. Just
94189 # uncomment the lines below and make, everything else is ready to go...
94190 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
94191 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
94192
94193
94194 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
94195
94196
94197
94198 if test "$enable_shared" = yes; then
94199 LIBSUPCXX_PICFLAGS="-prefer-pic"
94200 else
94201 LIBSUPCXX_PICFLAGS=
94202 fi
94203
94204
94205 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
94206
94207 ac_config_files="$ac_config_files scripts/testsuite_flags"
94208
94209
94210 ac_config_commands="$ac_config_commands default"
94211
94212
94213 cat >confcache <<\_ACEOF
94214 # This file is a shell script that caches the results of configure
94215 # tests run on this system so they can be shared between configure
94216 # scripts and configure runs, see configure's option --config-cache.
94217 # It is not useful on other systems. If it contains results you don't
94218 # want to keep, you may remove or edit it.
94219 #
94220 # config.status only pays attention to the cache file if you give it
94221 # the --recheck option to rerun configure.
94222 #
94223 # `ac_cv_env_foo' variables (set or unset) will be overridden when
94224 # loading this file, other *unset* `ac_cv_foo' will be assigned the
94225 # following values.
94226
94227 _ACEOF
94228
94229 # The following way of writing the cache mishandles newlines in values,
94230 # but we know of no workaround that is simple, portable, and efficient.
94231 # So, don't put newlines in cache variables' values.
94232 # Ultrix sh set writes to stderr and can't be redirected directly,
94233 # and sets the high bit in the cache file unless we assign to the vars.
94234 {
94235 (set) 2>&1 |
94236 case `(ac_space=' '; set | grep ac_space) 2>&1` in
94237 *ac_space=\ *)
94238 # `set' does not quote correctly, so add quotes (double-quote
94239 # substitution turns \\\\ into \\, and sed turns \\ into \).
94240 sed -n \
94241 "s/'/'\\\\''/g;
94242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
94243 ;;
94244 *)
94245 # `set' quotes correctly as required by POSIX, so do not add quotes.
94246 sed -n \
94247 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
94248 ;;
94249 esac;
94250 } |
94251 sed '
94252 t clear
94253 : clear
94254 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
94255 t end
94256 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
94257 : end' >>confcache
94258 if diff $cache_file confcache >/dev/null 2>&1; then :; else
94259 if test -w $cache_file; then
94260 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
94261 cat confcache >$cache_file
94262 else
94263 echo "not updating unwritable cache $cache_file"
94264 fi
94265 fi
94266 rm -f confcache
94267
94268 test "x$prefix" = xNONE && prefix=$ac_default_prefix
94269 # Let make expand exec_prefix.
94270 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
94271
94272 # VPATH may cause trouble with some makes, so we remove $(srcdir),
94273 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
94274 # trailing colons and then remove the whole line if VPATH becomes empty
94275 # (actually we leave an empty line to preserve line numbers).
94276 if test "x$srcdir" = x.; then
94277 ac_vpsub='/^[ ]*VPATH[ ]*=/{
94278 s/:*\$(srcdir):*/:/;
94279 s/:*\${srcdir}:*/:/;
94280 s/:*@srcdir@:*/:/;
94281 s/^\([^=]*=[ ]*\):*/\1/;
94282 s/:*$//;
94283 s/^[^=]*=[ ]*$//;
94284 }'
94285 fi
94286
94287 DEFS=-DHAVE_CONFIG_H
94288
94289 ac_libobjs=
94290 ac_ltlibobjs=
94291 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
94292 # 1. Remove the extension, and $U if already installed.
94293 ac_i=`echo "$ac_i" |
94294 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
94295 # 2. Add them.
94296 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
94297 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
94298 done
94299 LIBOBJS=$ac_libobjs
94300
94301 LTLIBOBJS=$ac_ltlibobjs
94302
94303
94304 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
94305 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
94306 Usually this means the macro was only invoked conditionally." >&5
94307 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
94308 Usually this means the macro was only invoked conditionally." >&2;}
94309 { (exit 1); exit 1; }; }
94310 fi
94311 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
94312 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
94313 Usually this means the macro was only invoked conditionally." >&5
94314 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
94315 Usually this means the macro was only invoked conditionally." >&2;}
94316 { (exit 1); exit 1; }; }
94317 fi
94318 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
94319 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
94320 Usually this means the macro was only invoked conditionally." >&5
94321 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
94322 Usually this means the macro was only invoked conditionally." >&2;}
94323 { (exit 1); exit 1; }; }
94324 fi
94325 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
94326 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
94327 Usually this means the macro was only invoked conditionally." >&5
94328 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
94329 Usually this means the macro was only invoked conditionally." >&2;}
94330 { (exit 1); exit 1; }; }
94331 fi
94332 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
94333 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
94334 Usually this means the macro was only invoked conditionally." >&5
94335 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
94336 Usually this means the macro was only invoked conditionally." >&2;}
94337 { (exit 1); exit 1; }; }
94338 fi
94339 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
94340 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
94341 Usually this means the macro was only invoked conditionally." >&5
94342 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
94343 Usually this means the macro was only invoked conditionally." >&2;}
94344 { (exit 1); exit 1; }; }
94345 fi
94346 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
94347 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
94348 Usually this means the macro was only invoked conditionally." >&5
94349 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
94350 Usually this means the macro was only invoked conditionally." >&2;}
94351 { (exit 1); exit 1; }; }
94352 fi
94353 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
94354 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
94355 Usually this means the macro was only invoked conditionally." >&5
94356 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
94357 Usually this means the macro was only invoked conditionally." >&2;}
94358 { (exit 1); exit 1; }; }
94359 fi
94360 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
94361 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
94362 Usually this means the macro was only invoked conditionally." >&5
94363 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
94364 Usually this means the macro was only invoked conditionally." >&2;}
94365 { (exit 1); exit 1; }; }
94366 fi
94367 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
94368 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
94369 Usually this means the macro was only invoked conditionally." >&5
94370 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
94371 Usually this means the macro was only invoked conditionally." >&2;}
94372 { (exit 1); exit 1; }; }
94373 fi
94374 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
94375 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
94376 Usually this means the macro was only invoked conditionally." >&5
94377 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
94378 Usually this means the macro was only invoked conditionally." >&2;}
94379 { (exit 1); exit 1; }; }
94380 fi
94381 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
94382 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
94383 Usually this means the macro was only invoked conditionally." >&5
94384 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
94385 Usually this means the macro was only invoked conditionally." >&2;}
94386 { (exit 1); exit 1; }; }
94387 fi
94388 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
94389 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
94390 Usually this means the macro was only invoked conditionally." >&5
94391 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
94392 Usually this means the macro was only invoked conditionally." >&2;}
94393 { (exit 1); exit 1; }; }
94394 fi
94395 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
94396 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
94397 Usually this means the macro was only invoked conditionally." >&5
94398 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
94399 Usually this means the macro was only invoked conditionally." >&2;}
94400 { (exit 1); exit 1; }; }
94401 fi
94402 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
94403 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
94404 Usually this means the macro was only invoked conditionally." >&5
94405 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
94406 Usually this means the macro was only invoked conditionally." >&2;}
94407 { (exit 1); exit 1; }; }
94408 fi
94409
94410 : ${CONFIG_STATUS=./config.status}
94411 ac_clean_files_save=$ac_clean_files
94412 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
94413 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
94414 echo "$as_me: creating $CONFIG_STATUS" >&6;}
94415 cat >$CONFIG_STATUS <<_ACEOF
94416 #! $SHELL
94417 # Generated by $as_me.
94418 # Run this file to recreate the current configuration.
94419 # Compiler output produced by configure, useful for debugging
94420 # configure, is in config.log if it exists.
94421
94422 debug=false
94423 ac_cs_recheck=false
94424 ac_cs_silent=false
94425 SHELL=\${CONFIG_SHELL-$SHELL}
94426 _ACEOF
94427
94428 cat >>$CONFIG_STATUS <<\_ACEOF
94429 ## --------------------- ##
94430 ## M4sh Initialization. ##
94431 ## --------------------- ##
94432
94433 # Be Bourne compatible
94434 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
94435 emulate sh
94436 NULLCMD=:
94437 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
94438 # is contrary to our usage. Disable this feature.
94439 alias -g '${1+"$@"}'='"$@"'
94440 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
94441 set -o posix
94442 fi
94443 DUALCASE=1; export DUALCASE # for MKS sh
94444
94445 # Support unset when possible.
94446 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
94447 as_unset=unset
94448 else
94449 as_unset=false
94450 fi
94451
94452
94453 # Work around bugs in pre-3.0 UWIN ksh.
94454 $as_unset ENV MAIL MAILPATH
94455 PS1='$ '
94456 PS2='> '
94457 PS4='+ '
94458
94459 # NLS nuisances.
94460 for as_var in \
94461 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
94462 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
94463 LC_TELEPHONE LC_TIME
94464 do
94465 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
94466 eval $as_var=C; export $as_var
94467 else
94468 $as_unset $as_var
94469 fi
94470 done
94471
94472 # Required to use basename.
94473 if expr a : '\(a\)' >/dev/null 2>&1; then
94474 as_expr=expr
94475 else
94476 as_expr=false
94477 fi
94478
94479 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
94480 as_basename=basename
94481 else
94482 as_basename=false
94483 fi
94484
94485
94486 # Name of the executable.
94487 as_me=`$as_basename "$0" ||
94488 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
94489 X"$0" : 'X\(//\)$' \| \
94490 X"$0" : 'X\(/\)$' \| \
94491 . : '\(.\)' 2>/dev/null ||
94492 echo X/"$0" |
94493 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
94494 /^X\/\(\/\/\)$/{ s//\1/; q; }
94495 /^X\/\(\/\).*/{ s//\1/; q; }
94496 s/.*/./; q'`
94497
94498
94499 # PATH needs CR, and LINENO needs CR and PATH.
94500 # Avoid depending upon Character Ranges.
94501 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
94502 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
94503 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
94504 as_cr_digits='0123456789'
94505 as_cr_alnum=$as_cr_Letters$as_cr_digits
94506
94507 # The user is always right.
94508 if test "${PATH_SEPARATOR+set}" != set; then
94509 echo "#! /bin/sh" >conf$$.sh
94510 echo "exit 0" >>conf$$.sh
94511 chmod +x conf$$.sh
94512 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94513 PATH_SEPARATOR=';'
94514 else
94515 PATH_SEPARATOR=:
94516 fi
94517 rm -f conf$$.sh
94518 fi
94519
94520
94521 as_lineno_1=$LINENO
94522 as_lineno_2=$LINENO
94523 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
94524 test "x$as_lineno_1" != "x$as_lineno_2" &&
94525 test "x$as_lineno_3" = "x$as_lineno_2" || {
94526 # Find who we are. Look in the path if we contain no path at all
94527 # relative or not.
94528 case $0 in
94529 *[\\/]* ) as_myself=$0 ;;
94530 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94531 for as_dir in $PATH
94532 do
94533 IFS=$as_save_IFS
94534 test -z "$as_dir" && as_dir=.
94535 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
94536 done
94537
94538 ;;
94539 esac
94540 # We did not find ourselves, most probably we were run as `sh COMMAND'
94541 # in which case we are not to be found in the path.
94542 if test "x$as_myself" = x; then
94543 as_myself=$0
94544 fi
94545 if test ! -f "$as_myself"; then
94546 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
94547 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
94548 { (exit 1); exit 1; }; }
94549 fi
94550 case $CONFIG_SHELL in
94551 '')
94552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94553 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
94554 do
94555 IFS=$as_save_IFS
94556 test -z "$as_dir" && as_dir=.
94557 for as_base in sh bash ksh sh5; do
94558 case $as_dir in
94559 /*)
94560 if ("$as_dir/$as_base" -c '
94561 as_lineno_1=$LINENO
94562 as_lineno_2=$LINENO
94563 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
94564 test "x$as_lineno_1" != "x$as_lineno_2" &&
94565 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
94566 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
94567 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
94568 CONFIG_SHELL=$as_dir/$as_base
94569 export CONFIG_SHELL
94570 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
94571 fi;;
94572 esac
94573 done
94574 done
94575 ;;
94576 esac
94577
94578 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
94579 # uniformly replaced by the line number. The first 'sed' inserts a
94580 # line-number line before each line; the second 'sed' does the real
94581 # work. The second script uses 'N' to pair each line-number line
94582 # with the numbered line, and appends trailing '-' during
94583 # substitution so that $LINENO is not a special case at line end.
94584 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
94585 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
94586 sed '=' <$as_myself |
94587 sed '
94588 N
94589 s,$,-,
94590 : loop
94591 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
94592 t loop
94593 s,-$,,
94594 s,^['$as_cr_digits']*\n,,
94595 ' >$as_me.lineno &&
94596 chmod +x $as_me.lineno ||
94597 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
94598 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
94599 { (exit 1); exit 1; }; }
94600
94601 # Don't try to exec as it changes $[0], causing all sort of problems
94602 # (the dirname of $[0] is not the place where we might find the
94603 # original and so on. Autoconf is especially sensible to this).
94604 . ./$as_me.lineno
94605 # Exit status is that of the last command.
94606 exit
94607 }
94608
94609
94610 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
94611 *c*,-n*) ECHO_N= ECHO_C='
94612 ' ECHO_T=' ' ;;
94613 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
94614 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
94615 esac
94616
94617 if expr a : '\(a\)' >/dev/null 2>&1; then
94618 as_expr=expr
94619 else
94620 as_expr=false
94621 fi
94622
94623 rm -f conf$$ conf$$.exe conf$$.file
94624 echo >conf$$.file
94625 if ln -s conf$$.file conf$$ 2>/dev/null; then
94626 # We could just check for DJGPP; but this test a) works b) is more generic
94627 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
94628 if test -f conf$$.exe; then
94629 # Don't use ln at all; we don't have any links
94630 as_ln_s='cp -p'
94631 else
94632 as_ln_s='ln -s'
94633 fi
94634 elif ln conf$$.file conf$$ 2>/dev/null; then
94635 as_ln_s=ln
94636 else
94637 as_ln_s='cp -p'
94638 fi
94639 rm -f conf$$ conf$$.exe conf$$.file
94640
94641 if mkdir -p . 2>/dev/null; then
94642 as_mkdir_p=:
94643 else
94644 test -d ./-p && rmdir ./-p
94645 as_mkdir_p=false
94646 fi
94647
94648 as_executable_p="test -f"
94649
94650 # Sed expression to map a string onto a valid CPP name.
94651 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
94652
94653 # Sed expression to map a string onto a valid variable name.
94654 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
94655
94656
94657 # IFS
94658 # We need space, tab and new line, in precisely that order.
94659 as_nl='
94660 '
94661 IFS=" $as_nl"
94662
94663 # CDPATH.
94664 $as_unset CDPATH
94665
94666 exec 6>&1
94667
94668 # Open the log real soon, to keep \$[0] and so on meaningful, and to
94669 # report actual input values of CONFIG_FILES etc. instead of their
94670 # values after options handling. Logging --version etc. is OK.
94671 exec 5>>config.log
94672 {
94673 echo
94674 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
94675 ## Running $as_me. ##
94676 _ASBOX
94677 } >&5
94678 cat >&5 <<_CSEOF
94679
94680 This file was extended by package-unused $as_me version-unused, which was
94681 generated by GNU Autoconf 2.59. Invocation command line was
94682
94683 CONFIG_FILES = $CONFIG_FILES
94684 CONFIG_HEADERS = $CONFIG_HEADERS
94685 CONFIG_LINKS = $CONFIG_LINKS
94686 CONFIG_COMMANDS = $CONFIG_COMMANDS
94687 $ $0 $@
94688
94689 _CSEOF
94690 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
94691 echo >&5
94692 _ACEOF
94693
94694 # Files that config.status was made for.
94695 if test -n "$ac_config_files"; then
94696 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
94697 fi
94698
94699 if test -n "$ac_config_headers"; then
94700 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
94701 fi
94702
94703 if test -n "$ac_config_links"; then
94704 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
94705 fi
94706
94707 if test -n "$ac_config_commands"; then
94708 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
94709 fi
94710
94711 cat >>$CONFIG_STATUS <<\_ACEOF
94712
94713 ac_cs_usage="\
94714 \`$as_me' instantiates files from templates according to the
94715 current configuration.
94716
94717 Usage: $0 [OPTIONS] [FILE]...
94718
94719 -h, --help print this help, then exit
94720 -V, --version print version number, then exit
94721 -q, --quiet do not print progress messages
94722 -d, --debug don't remove temporary files
94723 --recheck update $as_me by reconfiguring in the same conditions
94724 --file=FILE[:TEMPLATE]
94725 instantiate the configuration file FILE
94726 --header=FILE[:TEMPLATE]
94727 instantiate the configuration header FILE
94728
94729 Configuration files:
94730 $config_files
94731
94732 Configuration headers:
94733 $config_headers
94734
94735 Configuration commands:
94736 $config_commands
94737
94738 Report bugs to <bug-autoconf@gnu.org>."
94739 _ACEOF
94740
94741 cat >>$CONFIG_STATUS <<_ACEOF
94742 ac_cs_version="\\
94743 package-unused config.status version-unused
94744 configured by $0, generated by GNU Autoconf 2.59,
94745 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
94746
94747 Copyright (C) 2003 Free Software Foundation, Inc.
94748 This config.status script is free software; the Free Software Foundation
94749 gives unlimited permission to copy, distribute and modify it."
94750 srcdir=$srcdir
94751 INSTALL="$INSTALL"
94752 _ACEOF
94753
94754 cat >>$CONFIG_STATUS <<\_ACEOF
94755 # If no file are specified by the user, then we need to provide default
94756 # value. By we need to know if files were specified by the user.
94757 ac_need_defaults=:
94758 while test $# != 0
94759 do
94760 case $1 in
94761 --*=*)
94762 ac_option=`expr "x$1" : 'x\([^=]*\)='`
94763 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
94764 ac_shift=:
94765 ;;
94766 -*)
94767 ac_option=$1
94768 ac_optarg=$2
94769 ac_shift=shift
94770 ;;
94771 *) # This is not an option, so the user has probably given explicit
94772 # arguments.
94773 ac_option=$1
94774 ac_need_defaults=false;;
94775 esac
94776
94777 case $ac_option in
94778 # Handling of the options.
94779 _ACEOF
94780 cat >>$CONFIG_STATUS <<\_ACEOF
94781 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
94782 ac_cs_recheck=: ;;
94783 --version | --vers* | -V )
94784 echo "$ac_cs_version"; exit 0 ;;
94785 --he | --h)
94786 # Conflict between --help and --header
94787 { { echo "$as_me:$LINENO: error: ambiguous option: $1
94788 Try \`$0 --help' for more information." >&5
94789 echo "$as_me: error: ambiguous option: $1
94790 Try \`$0 --help' for more information." >&2;}
94791 { (exit 1); exit 1; }; };;
94792 --help | --hel | -h )
94793 echo "$ac_cs_usage"; exit 0 ;;
94794 --debug | --d* | -d )
94795 debug=: ;;
94796 --file | --fil | --fi | --f )
94797 $ac_shift
94798 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
94799 ac_need_defaults=false;;
94800 --header | --heade | --head | --hea )
94801 $ac_shift
94802 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
94803 ac_need_defaults=false;;
94804 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
94805 | -silent | --silent | --silen | --sile | --sil | --si | --s)
94806 ac_cs_silent=: ;;
94807
94808 # This is an error.
94809 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
94810 Try \`$0 --help' for more information." >&5
94811 echo "$as_me: error: unrecognized option: $1
94812 Try \`$0 --help' for more information." >&2;}
94813 { (exit 1); exit 1; }; } ;;
94814
94815 *) ac_config_targets="$ac_config_targets $1" ;;
94816
94817 esac
94818 shift
94819 done
94820
94821 ac_configure_extra_args=
94822
94823 if $ac_cs_silent; then
94824 exec 6>/dev/null
94825 ac_configure_extra_args="$ac_configure_extra_args --silent"
94826 fi
94827
94828 _ACEOF
94829 cat >>$CONFIG_STATUS <<_ACEOF
94830 if \$ac_cs_recheck; then
94831 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
94832 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
94833 fi
94834
94835 _ACEOF
94836
94837 cat >>$CONFIG_STATUS <<_ACEOF
94838 #
94839 # INIT-COMMANDS section.
94840 #
94841
94842
94843 srcdir="$srcdir"
94844 host="$host"
94845 target="$target"
94846 with_multisubdir="$with_multisubdir"
94847 with_multisrctop="$with_multisrctop"
94848 with_target_subdir="$with_target_subdir"
94849 ac_configure_args="${multilib_arg} ${ac_configure_args}"
94850 multi_basedir="$multi_basedir"
94851 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
94852 CC="$CC"
94853
94854
94855 # The HP-UX ksh and POSIX shell print the target directory to stdout
94856 # if CDPATH is set.
94857 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
94858
94859 sed_quote_subst='$sed_quote_subst'
94860 double_quote_subst='$double_quote_subst'
94861 delay_variable_subst='$delay_variable_subst'
94862 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
94863 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
94864 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
94865 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
94866 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
94867 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
94868 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
94869 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
94870 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
94871 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
94872 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
94873 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
94874 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
94875 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
94876 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
94877 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
94878 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
94879 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
94880 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
94881 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
94882 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
94883 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
94884 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
94885 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
94886 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
94887 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
94888 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
94889 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94890 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
94891 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
94892 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
94893 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
94894 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
94895 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
94896 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94897 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94898 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94899 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
94900 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
94901 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
94902 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
94903 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
94904 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
94905 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"`'
94906 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
94907 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
94908 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
94909 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
94910 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
94911 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
94912 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
94913 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
94914 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
94915 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
94916 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
94917 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94918 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94919 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
94920 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
94921 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
94922 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
94923 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
94924 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94925 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94926 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94927 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94928 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94929 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94930 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
94931 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
94932 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
94933 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
94934 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
94935 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
94936 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
94937 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
94938 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
94939 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
94940 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
94941 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
94942 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
94943 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
94944 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
94945 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94946 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
94947 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
94948 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94949 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
94950 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
94951 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
94952 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
94953 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
94954 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
94955 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
94956 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
94957 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
94958 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
94959 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
94960 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94961 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94962 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94963 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
94964 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
94965 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
94966 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
94967 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
94968 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
94969 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
94970 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
94971 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
94972 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
94973 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
94974 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
94975 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
94976 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
94977 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
94978 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94979 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94980 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94981 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94982 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94983 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94984 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94985 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94986 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94987 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94988 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94989 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94990 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94991 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94992 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94993 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94994 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94995 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94996 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94997 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94998 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94999 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95000 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95001 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95002 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95003 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95004 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95005 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95006 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95007 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95008 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95009 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95010 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95011 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95012 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95013 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95014 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95015 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95016 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95017 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95018 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95019 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95020 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95021 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95022 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95023 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
95024
95025 LTCC='$LTCC'
95026 LTCFLAGS='$LTCFLAGS'
95027 compiler='$compiler_DEFAULT'
95028
95029 # Quote evaled strings.
95030 for var in SED \
95031 GREP \
95032 EGREP \
95033 FGREP \
95034 LD \
95035 NM \
95036 LN_S \
95037 lt_SP2NL \
95038 lt_NL2SP \
95039 reload_flag \
95040 deplibs_check_method \
95041 file_magic_cmd \
95042 AR \
95043 AR_FLAGS \
95044 STRIP \
95045 RANLIB \
95046 CC \
95047 CFLAGS \
95048 compiler \
95049 lt_cv_sys_global_symbol_pipe \
95050 lt_cv_sys_global_symbol_to_cdecl \
95051 lt_cv_sys_global_symbol_to_c_name_address \
95052 SHELL \
95053 ECHO \
95054 lt_prog_compiler_no_builtin_flag \
95055 lt_prog_compiler_wl \
95056 lt_prog_compiler_pic \
95057 lt_prog_compiler_static \
95058 lt_cv_prog_compiler_c_o \
95059 need_locks \
95060 shrext_cmds \
95061 export_dynamic_flag_spec \
95062 whole_archive_flag_spec \
95063 compiler_needs_object \
95064 with_gnu_ld \
95065 allow_undefined_flag \
95066 no_undefined_flag \
95067 hardcode_libdir_flag_spec \
95068 hardcode_libdir_flag_spec_ld \
95069 hardcode_libdir_separator \
95070 fix_srcfile_path \
95071 exclude_expsyms \
95072 include_expsyms \
95073 file_list_spec \
95074 variables_saved_for_relink \
95075 libname_spec \
95076 library_names_spec \
95077 soname_spec \
95078 finish_eval \
95079 old_striplib \
95080 striplib \
95081 predep_objects \
95082 postdep_objects \
95083 predeps \
95084 postdeps \
95085 compiler_lib_search_path \
95086 LD_CXX \
95087 compiler_CXX \
95088 lt_prog_compiler_no_builtin_flag_CXX \
95089 lt_prog_compiler_wl_CXX \
95090 lt_prog_compiler_pic_CXX \
95091 lt_prog_compiler_static_CXX \
95092 lt_cv_prog_compiler_c_o_CXX \
95093 export_dynamic_flag_spec_CXX \
95094 whole_archive_flag_spec_CXX \
95095 compiler_needs_object_CXX \
95096 with_gnu_ld_CXX \
95097 allow_undefined_flag_CXX \
95098 no_undefined_flag_CXX \
95099 hardcode_libdir_flag_spec_CXX \
95100 hardcode_libdir_flag_spec_ld_CXX \
95101 hardcode_libdir_separator_CXX \
95102 fix_srcfile_path_CXX \
95103 exclude_expsyms_CXX \
95104 include_expsyms_CXX \
95105 file_list_spec_CXX \
95106 predep_objects_CXX \
95107 postdep_objects_CXX \
95108 predeps_CXX \
95109 postdeps_CXX \
95110 compiler_lib_search_path_CXX; do
95111 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
95112 *[\\\\\\\`\\"\\\$]*)
95113 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
95114 ;;
95115 *)
95116 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
95117 ;;
95118 esac
95119 done
95120
95121 # Double-quote double-evaled strings.
95122 for var in reload_cmds \
95123 old_postinstall_cmds \
95124 old_postuninstall_cmds \
95125 old_archive_cmds \
95126 extract_expsyms_cmds \
95127 old_archive_from_new_cmds \
95128 old_archive_from_expsyms_cmds \
95129 archive_cmds \
95130 archive_expsym_cmds \
95131 module_cmds \
95132 module_expsym_cmds \
95133 export_symbols_cmds \
95134 prelink_cmds \
95135 postinstall_cmds \
95136 postuninstall_cmds \
95137 finish_cmds \
95138 sys_lib_search_path_spec \
95139 sys_lib_dlsearch_path_spec \
95140 old_archive_cmds_CXX \
95141 old_archive_from_new_cmds_CXX \
95142 old_archive_from_expsyms_cmds_CXX \
95143 archive_cmds_CXX \
95144 archive_expsym_cmds_CXX \
95145 module_cmds_CXX \
95146 module_expsym_cmds_CXX \
95147 export_symbols_cmds_CXX \
95148 prelink_cmds_CXX; do
95149 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
95150 *[\\\\\\\`\\"\\\$]*)
95151 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
95152 ;;
95153 *)
95154 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
95155 ;;
95156 esac
95157 done
95158
95159 # Fix-up fallback echo if it was mangled by the above quoting rules.
95160 case \$lt_ECHO in
95161 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
95162 ;;
95163 esac
95164
95165 ac_aux_dir='$ac_aux_dir'
95166 xsi_shell='$xsi_shell'
95167 lt_shell_append='$lt_shell_append'
95168
95169 # See if we are running on zsh, and set the options which allow our
95170 # commands through without removal of \ escapes INIT.
95171 if test -n "\${ZSH_VERSION+set}" ; then
95172 setopt NO_GLOB_SUBST
95173 fi
95174
95175
95176 PACKAGE='$PACKAGE'
95177 VERSION='$VERSION'
95178 TIMESTAMP='$TIMESTAMP'
95179 RM='$RM'
95180 ofile='$ofile'
95181
95182
95183
95184
95185
95186
95187 # Variables needed in config.status (file generation) which aren't already
95188 # passed by autoconf.
95189 SUBDIRS="$SUBDIRS"
95190
95191
95192 _ACEOF
95193
95194
95195
95196 cat >>$CONFIG_STATUS <<\_ACEOF
95197 for ac_config_target in $ac_config_targets
95198 do
95199 case "$ac_config_target" in
95200 # Handling of arguments.
95201 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
95202 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
95203 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
95204 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
95205 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
95206 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
95207 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
95208 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
95209 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
95210 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
95211 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
95212 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
95213 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
95214 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
95215 { (exit 1); exit 1; }; };;
95216 esac
95217 done
95218
95219 # If the user did not use the arguments to specify the items to instantiate,
95220 # then the envvar interface is used. Set only those that are not.
95221 # We use the long form for the default assignment because of an extremely
95222 # bizarre bug on SunOS 4.1.3.
95223 if $ac_need_defaults; then
95224 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
95225 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
95226 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
95227 fi
95228
95229 # Have a temporary directory for convenience. Make it in the build tree
95230 # simply because there is no reason to put it here, and in addition,
95231 # creating and moving files from /tmp can sometimes cause problems.
95232 # Create a temporary directory, and hook for its removal unless debugging.
95233 $debug ||
95234 {
95235 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
95236 trap '{ (exit 1); exit 1; }' 1 2 13 15
95237 }
95238
95239 # Create a (secure) tmp directory for tmp files.
95240
95241 {
95242 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
95243 test -n "$tmp" && test -d "$tmp"
95244 } ||
95245 {
95246 tmp=./confstat$$-$RANDOM
95247 (umask 077 && mkdir $tmp)
95248 } ||
95249 {
95250 echo "$me: cannot create a temporary directory in ." >&2
95251 { (exit 1); exit 1; }
95252 }
95253
95254 _ACEOF
95255
95256 cat >>$CONFIG_STATUS <<_ACEOF
95257
95258 #
95259 # CONFIG_FILES section.
95260 #
95261
95262 # No need to generate the scripts if there are no CONFIG_FILES.
95263 # This happens for instance when ./config.status config.h
95264 if test -n "\$CONFIG_FILES"; then
95265 # Protect against being on the right side of a sed subst in config.status.
95266 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
95267 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
95268 s,@SHELL@,$SHELL,;t t
95269 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
95270 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
95271 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
95272 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
95273 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
95274 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
95275 s,@exec_prefix@,$exec_prefix,;t t
95276 s,@prefix@,$prefix,;t t
95277 s,@program_transform_name@,$program_transform_name,;t t
95278 s,@bindir@,$bindir,;t t
95279 s,@sbindir@,$sbindir,;t t
95280 s,@libexecdir@,$libexecdir,;t t
95281 s,@datadir@,$datadir,;t t
95282 s,@sysconfdir@,$sysconfdir,;t t
95283 s,@sharedstatedir@,$sharedstatedir,;t t
95284 s,@localstatedir@,$localstatedir,;t t
95285 s,@libdir@,$libdir,;t t
95286 s,@includedir@,$includedir,;t t
95287 s,@oldincludedir@,$oldincludedir,;t t
95288 s,@infodir@,$infodir,;t t
95289 s,@mandir@,$mandir,;t t
95290 s,@build_alias@,$build_alias,;t t
95291 s,@host_alias@,$host_alias,;t t
95292 s,@target_alias@,$target_alias,;t t
95293 s,@DEFS@,$DEFS,;t t
95294 s,@ECHO_C@,$ECHO_C,;t t
95295 s,@ECHO_N@,$ECHO_N,;t t
95296 s,@ECHO_T@,$ECHO_T,;t t
95297 s,@LIBS@,$LIBS,;t t
95298 s,@libtool_VERSION@,$libtool_VERSION,;t t
95299 s,@multi_basedir@,$multi_basedir,;t t
95300 s,@build@,$build,;t t
95301 s,@build_cpu@,$build_cpu,;t t
95302 s,@build_vendor@,$build_vendor,;t t
95303 s,@build_os@,$build_os,;t t
95304 s,@host@,$host,;t t
95305 s,@host_cpu@,$host_cpu,;t t
95306 s,@host_vendor@,$host_vendor,;t t
95307 s,@host_os@,$host_os,;t t
95308 s,@target@,$target,;t t
95309 s,@target_cpu@,$target_cpu,;t t
95310 s,@target_vendor@,$target_vendor,;t t
95311 s,@target_os@,$target_os,;t t
95312 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
95313 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
95314 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
95315 s,@CYGPATH_W@,$CYGPATH_W,;t t
95316 s,@PACKAGE@,$PACKAGE,;t t
95317 s,@VERSION@,$VERSION,;t t
95318 s,@ACLOCAL@,$ACLOCAL,;t t
95319 s,@AUTOCONF@,$AUTOCONF,;t t
95320 s,@AUTOMAKE@,$AUTOMAKE,;t t
95321 s,@AUTOHEADER@,$AUTOHEADER,;t t
95322 s,@MAKEINFO@,$MAKEINFO,;t t
95323 s,@install_sh@,$install_sh,;t t
95324 s,@STRIP@,$STRIP,;t t
95325 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
95326 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
95327 s,@mkdir_p@,$mkdir_p,;t t
95328 s,@AWK@,$AWK,;t t
95329 s,@SET_MAKE@,$SET_MAKE,;t t
95330 s,@am__leading_dot@,$am__leading_dot,;t t
95331 s,@AMTAR@,$AMTAR,;t t
95332 s,@am__tar@,$am__tar,;t t
95333 s,@am__untar@,$am__untar,;t t
95334 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
95335 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
95336 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
95337 s,@CC@,$CC,;t t
95338 s,@ac_ct_CC@,$ac_ct_CC,;t t
95339 s,@EXEEXT@,$EXEEXT,;t t
95340 s,@OBJEXT@,$OBJEXT,;t t
95341 s,@CXX@,$CXX,;t t
95342 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
95343 s,@CFLAGS@,$CFLAGS,;t t
95344 s,@CXXFLAGS@,$CXXFLAGS,;t t
95345 s,@LN_S@,$LN_S,;t t
95346 s,@AS@,$AS,;t t
95347 s,@ac_ct_AS@,$ac_ct_AS,;t t
95348 s,@AR@,$AR,;t t
95349 s,@ac_ct_AR@,$ac_ct_AR,;t t
95350 s,@RANLIB@,$RANLIB,;t t
95351 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
95352 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
95353 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
95354 s,@MAINT@,$MAINT,;t t
95355 s,@CPP@,$CPP,;t t
95356 s,@CPPFLAGS@,$CPPFLAGS,;t t
95357 s,@EGREP@,$EGREP,;t t
95358 s,@LIBTOOL@,$LIBTOOL,;t t
95359 s,@SED@,$SED,;t t
95360 s,@FGREP@,$FGREP,;t t
95361 s,@GREP@,$GREP,;t t
95362 s,@LD@,$LD,;t t
95363 s,@DUMPBIN@,$DUMPBIN,;t t
95364 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
95365 s,@NM@,$NM,;t t
95366 s,@lt_ECHO@,$lt_ECHO,;t t
95367 s,@LDFLAGS@,$LDFLAGS,;t t
95368 s,@CXXCPP@,$CXXCPP,;t t
95369 s,@enable_shared@,$enable_shared,;t t
95370 s,@enable_static@,$enable_static,;t t
95371 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
95372 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
95373 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
95374 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
95375 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
95376 s,@CSTDIO_H@,$CSTDIO_H,;t t
95377 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
95378 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
95379 s,@check_msgfmt@,$check_msgfmt,;t t
95380 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
95381 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
95382 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
95383 s,@USE_NLS@,$USE_NLS,;t t
95384 s,@CLOCALE_H@,$CLOCALE_H,;t t
95385 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
95386 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
95387 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
95388 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
95389 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
95390 s,@CMONEY_CC@,$CMONEY_CC,;t t
95391 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
95392 s,@CTIME_H@,$CTIME_H,;t t
95393 s,@CTIME_CC@,$CTIME_CC,;t t
95394 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
95395 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
95396 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
95397 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
95398 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
95399 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
95400 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
95401 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
95402 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
95403 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
95404 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
95405 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
95406 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
95407 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
95408 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
95409 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
95410 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
95411 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
95412 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
95413 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
95414 s,@WERROR@,$WERROR,;t t
95415 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
95416 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
95417 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
95418 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
95419 s,@LIBICONV@,$LIBICONV,;t t
95420 s,@LTLIBICONV@,$LTLIBICONV,;t t
95421 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
95422 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
95423 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
95424 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
95425 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
95426 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
95427 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
95428 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
95429 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
95430 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
95431 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
95432 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
95433 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
95434 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
95435 s,@baseline_dir@,$baseline_dir,;t t
95436 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
95437 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
95438 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
95439 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
95440 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
95441 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
95442 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
95443 s,@gxx_include_dir@,$gxx_include_dir,;t t
95444 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
95445 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
95446 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
95447 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
95448 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
95449 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
95450 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
95451 s,@LIBOBJS@,$LIBOBJS,;t t
95452 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
95453 CEOF
95454
95455 _ACEOF
95456
95457 cat >>$CONFIG_STATUS <<\_ACEOF
95458 # Split the substitutions into bite-sized pieces for seds with
95459 # small command number limits, like on Digital OSF/1 and HP-UX.
95460 ac_max_sed_lines=48
95461 ac_sed_frag=1 # Number of current file.
95462 ac_beg=1 # First line for current file.
95463 ac_end=$ac_max_sed_lines # Line after last line for current file.
95464 ac_more_lines=:
95465 ac_sed_cmds=
95466 while $ac_more_lines; do
95467 if test $ac_beg -gt 1; then
95468 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
95469 else
95470 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
95471 fi
95472 if test ! -s $tmp/subs.frag; then
95473 ac_more_lines=false
95474 else
95475 # The purpose of the label and of the branching condition is to
95476 # speed up the sed processing (if there are no `@' at all, there
95477 # is no need to browse any of the substitutions).
95478 # These are the two extra sed commands mentioned above.
95479 (echo ':t
95480 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
95481 if test -z "$ac_sed_cmds"; then
95482 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
95483 else
95484 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
95485 fi
95486 ac_sed_frag=`expr $ac_sed_frag + 1`
95487 ac_beg=$ac_end
95488 ac_end=`expr $ac_end + $ac_max_sed_lines`
95489 fi
95490 done
95491 if test -z "$ac_sed_cmds"; then
95492 ac_sed_cmds=cat
95493 fi
95494 fi # test -n "$CONFIG_FILES"
95495
95496 _ACEOF
95497 cat >>$CONFIG_STATUS <<\_ACEOF
95498 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
95499 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
95500 case $ac_file in
95501 - | *:- | *:-:* ) # input from stdin
95502 cat >$tmp/stdin
95503 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95504 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95505 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95506 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95507 * ) ac_file_in=$ac_file.in ;;
95508 esac
95509
95510 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
95511 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
95512 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95513 X"$ac_file" : 'X\(//\)[^/]' \| \
95514 X"$ac_file" : 'X\(//\)$' \| \
95515 X"$ac_file" : 'X\(/\)' \| \
95516 . : '\(.\)' 2>/dev/null ||
95517 echo X"$ac_file" |
95518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95519 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95520 /^X\(\/\/\)$/{ s//\1/; q; }
95521 /^X\(\/\).*/{ s//\1/; q; }
95522 s/.*/./; q'`
95523 { if $as_mkdir_p; then
95524 mkdir -p "$ac_dir"
95525 else
95526 as_dir="$ac_dir"
95527 as_dirs=
95528 while test ! -d "$as_dir"; do
95529 as_dirs="$as_dir $as_dirs"
95530 as_dir=`(dirname "$as_dir") 2>/dev/null ||
95531 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95532 X"$as_dir" : 'X\(//\)[^/]' \| \
95533 X"$as_dir" : 'X\(//\)$' \| \
95534 X"$as_dir" : 'X\(/\)' \| \
95535 . : '\(.\)' 2>/dev/null ||
95536 echo X"$as_dir" |
95537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95538 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95539 /^X\(\/\/\)$/{ s//\1/; q; }
95540 /^X\(\/\).*/{ s//\1/; q; }
95541 s/.*/./; q'`
95542 done
95543 test ! -n "$as_dirs" || mkdir $as_dirs
95544 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95545 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95546 { (exit 1); exit 1; }; }; }
95547
95548 ac_builddir=.
95549
95550 if test "$ac_dir" != .; then
95551 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
95552 # A "../" for each directory in $ac_dir_suffix.
95553 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
95554 else
95555 ac_dir_suffix= ac_top_builddir=
95556 fi
95557
95558 case $srcdir in
95559 .) # No --srcdir option. We are building in place.
95560 ac_srcdir=.
95561 if test -z "$ac_top_builddir"; then
95562 ac_top_srcdir=.
95563 else
95564 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
95565 fi ;;
95566 [\\/]* | ?:[\\/]* ) # Absolute path.
95567 ac_srcdir=$srcdir$ac_dir_suffix;
95568 ac_top_srcdir=$srcdir ;;
95569 *) # Relative path.
95570 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
95571 ac_top_srcdir=$ac_top_builddir$srcdir ;;
95572 esac
95573
95574 # Do not use `cd foo && pwd` to compute absolute paths, because
95575 # the directories may not exist.
95576 case `pwd` in
95577 .) ac_abs_builddir="$ac_dir";;
95578 *)
95579 case "$ac_dir" in
95580 .) ac_abs_builddir=`pwd`;;
95581 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
95582 *) ac_abs_builddir=`pwd`/"$ac_dir";;
95583 esac;;
95584 esac
95585 case $ac_abs_builddir in
95586 .) ac_abs_top_builddir=${ac_top_builddir}.;;
95587 *)
95588 case ${ac_top_builddir}. in
95589 .) ac_abs_top_builddir=$ac_abs_builddir;;
95590 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
95591 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
95592 esac;;
95593 esac
95594 case $ac_abs_builddir in
95595 .) ac_abs_srcdir=$ac_srcdir;;
95596 *)
95597 case $ac_srcdir in
95598 .) ac_abs_srcdir=$ac_abs_builddir;;
95599 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
95600 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
95601 esac;;
95602 esac
95603 case $ac_abs_builddir in
95604 .) ac_abs_top_srcdir=$ac_top_srcdir;;
95605 *)
95606 case $ac_top_srcdir in
95607 .) ac_abs_top_srcdir=$ac_abs_builddir;;
95608 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
95609 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
95610 esac;;
95611 esac
95612
95613
95614 case $INSTALL in
95615 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
95616 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
95617 esac
95618
95619 if test x"$ac_file" != x-; then
95620 { echo "$as_me:$LINENO: creating $ac_file" >&5
95621 echo "$as_me: creating $ac_file" >&6;}
95622 rm -f "$ac_file"
95623 fi
95624 # Let's still pretend it is `configure' which instantiates (i.e., don't
95625 # use $as_me), people would be surprised to read:
95626 # /* config.h. Generated by config.status. */
95627 if test x"$ac_file" = x-; then
95628 configure_input=
95629 else
95630 configure_input="$ac_file. "
95631 fi
95632 configure_input=$configure_input"Generated from `echo $ac_file_in |
95633 sed 's,.*/,,'` by configure."
95634
95635 # First look for the input files in the build tree, otherwise in the
95636 # src tree.
95637 ac_file_inputs=`IFS=:
95638 for f in $ac_file_in; do
95639 case $f in
95640 -) echo $tmp/stdin ;;
95641 [\\/$]*)
95642 # Absolute (can't be DOS-style, as IFS=:)
95643 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95644 echo "$as_me: error: cannot find input file: $f" >&2;}
95645 { (exit 1); exit 1; }; }
95646 echo "$f";;
95647 *) # Relative
95648 if test -f "$f"; then
95649 # Build tree
95650 echo "$f"
95651 elif test -f "$srcdir/$f"; then
95652 # Source tree
95653 echo "$srcdir/$f"
95654 else
95655 # /dev/null tree
95656 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95657 echo "$as_me: error: cannot find input file: $f" >&2;}
95658 { (exit 1); exit 1; }; }
95659 fi;;
95660 esac
95661 done` || { (exit 1); exit 1; }
95662 _ACEOF
95663 cat >>$CONFIG_STATUS <<_ACEOF
95664 sed "$ac_vpsub
95665 $extrasub
95666 _ACEOF
95667 cat >>$CONFIG_STATUS <<\_ACEOF
95668 :t
95669 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
95670 s,@configure_input@,$configure_input,;t t
95671 s,@srcdir@,$ac_srcdir,;t t
95672 s,@abs_srcdir@,$ac_abs_srcdir,;t t
95673 s,@top_srcdir@,$ac_top_srcdir,;t t
95674 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
95675 s,@builddir@,$ac_builddir,;t t
95676 s,@abs_builddir@,$ac_abs_builddir,;t t
95677 s,@top_builddir@,$ac_top_builddir,;t t
95678 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
95679 s,@INSTALL@,$ac_INSTALL,;t t
95680 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
95681 rm -f $tmp/stdin
95682 if test x"$ac_file" != x-; then
95683 mv $tmp/out $ac_file
95684 else
95685 cat $tmp/out
95686 rm -f $tmp/out
95687 fi
95688
95689 # Run the commands associated with the file.
95690 case $ac_file in
95691 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
95692 esac
95693 done
95694 _ACEOF
95695 cat >>$CONFIG_STATUS <<\_ACEOF
95696
95697 #
95698 # CONFIG_HEADER section.
95699 #
95700
95701 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
95702 # NAME is the cpp macro being defined and VALUE is the value it is being given.
95703 #
95704 # ac_d sets the value in "#define NAME VALUE" lines.
95705 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
95706 ac_dB='[ ].*$,\1#\2'
95707 ac_dC=' '
95708 ac_dD=',;t'
95709 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
95710 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
95711 ac_uB='$,\1#\2define\3'
95712 ac_uC=' '
95713 ac_uD=',;t'
95714
95715 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
95716 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
95717 case $ac_file in
95718 - | *:- | *:-:* ) # input from stdin
95719 cat >$tmp/stdin
95720 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95721 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95722 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95723 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95724 * ) ac_file_in=$ac_file.in ;;
95725 esac
95726
95727 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
95728 echo "$as_me: creating $ac_file" >&6;}
95729
95730 # First look for the input files in the build tree, otherwise in the
95731 # src tree.
95732 ac_file_inputs=`IFS=:
95733 for f in $ac_file_in; do
95734 case $f in
95735 -) echo $tmp/stdin ;;
95736 [\\/$]*)
95737 # Absolute (can't be DOS-style, as IFS=:)
95738 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95739 echo "$as_me: error: cannot find input file: $f" >&2;}
95740 { (exit 1); exit 1; }; }
95741 # Do quote $f, to prevent DOS paths from being IFS'd.
95742 echo "$f";;
95743 *) # Relative
95744 if test -f "$f"; then
95745 # Build tree
95746 echo "$f"
95747 elif test -f "$srcdir/$f"; then
95748 # Source tree
95749 echo "$srcdir/$f"
95750 else
95751 # /dev/null tree
95752 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95753 echo "$as_me: error: cannot find input file: $f" >&2;}
95754 { (exit 1); exit 1; }; }
95755 fi;;
95756 esac
95757 done` || { (exit 1); exit 1; }
95758 # Remove the trailing spaces.
95759 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
95760
95761 _ACEOF
95762
95763 # Transform confdefs.h into two sed scripts, `conftest.defines' and
95764 # `conftest.undefs', that substitutes the proper values into
95765 # config.h.in to produce config.h. The first handles `#define'
95766 # templates, and the second `#undef' templates.
95767 # And first: Protect against being on the right side of a sed subst in
95768 # config.status. Protect against being in an unquoted here document
95769 # in config.status.
95770 rm -f conftest.defines conftest.undefs
95771 # Using a here document instead of a string reduces the quoting nightmare.
95772 # Putting comments in sed scripts is not portable.
95773 #
95774 # `end' is used to avoid that the second main sed command (meant for
95775 # 0-ary CPP macros) applies to n-ary macro definitions.
95776 # See the Autoconf documentation for `clear'.
95777 cat >confdef2sed.sed <<\_ACEOF
95778 s/[\\&,]/\\&/g
95779 s,[\\$`],\\&,g
95780 t clear
95781 : clear
95782 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
95783 t end
95784 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
95785 : end
95786 _ACEOF
95787 # If some macros were called several times there might be several times
95788 # the same #defines, which is useless. Nevertheless, we may not want to
95789 # sort them, since we want the *last* AC-DEFINE to be honored.
95790 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
95791 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
95792 rm -f confdef2sed.sed
95793
95794 # This sed command replaces #undef with comments. This is necessary, for
95795 # example, in the case of _POSIX_SOURCE, which is predefined and required
95796 # on some systems where configure will not decide to define it.
95797 cat >>conftest.undefs <<\_ACEOF
95798 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
95799 _ACEOF
95800
95801 # Break up conftest.defines because some shells have a limit on the size
95802 # of here documents, and old seds have small limits too (100 cmds).
95803 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
95804 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
95805 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
95806 echo ' :' >>$CONFIG_STATUS
95807 rm -f conftest.tail
95808 while grep . conftest.defines >/dev/null
95809 do
95810 # Write a limited-size here document to $tmp/defines.sed.
95811 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
95812 # Speed up: don't consider the non `#define' lines.
95813 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
95814 # Work around the forget-to-reset-the-flag bug.
95815 echo 't clr' >>$CONFIG_STATUS
95816 echo ': clr' >>$CONFIG_STATUS
95817 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
95818 echo 'CEOF
95819 sed -f $tmp/defines.sed $tmp/in >$tmp/out
95820 rm -f $tmp/in
95821 mv $tmp/out $tmp/in
95822 ' >>$CONFIG_STATUS
95823 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
95824 rm -f conftest.defines
95825 mv conftest.tail conftest.defines
95826 done
95827 rm -f conftest.defines
95828 echo ' fi # grep' >>$CONFIG_STATUS
95829 echo >>$CONFIG_STATUS
95830
95831 # Break up conftest.undefs because some shells have a limit on the size
95832 # of here documents, and old seds have small limits too (100 cmds).
95833 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
95834 rm -f conftest.tail
95835 while grep . conftest.undefs >/dev/null
95836 do
95837 # Write a limited-size here document to $tmp/undefs.sed.
95838 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
95839 # Speed up: don't consider the non `#undef'
95840 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
95841 # Work around the forget-to-reset-the-flag bug.
95842 echo 't clr' >>$CONFIG_STATUS
95843 echo ': clr' >>$CONFIG_STATUS
95844 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
95845 echo 'CEOF
95846 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
95847 rm -f $tmp/in
95848 mv $tmp/out $tmp/in
95849 ' >>$CONFIG_STATUS
95850 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
95851 rm -f conftest.undefs
95852 mv conftest.tail conftest.undefs
95853 done
95854 rm -f conftest.undefs
95855
95856 cat >>$CONFIG_STATUS <<\_ACEOF
95857 # Let's still pretend it is `configure' which instantiates (i.e., don't
95858 # use $as_me), people would be surprised to read:
95859 # /* config.h. Generated by config.status. */
95860 if test x"$ac_file" = x-; then
95861 echo "/* Generated by configure. */" >$tmp/config.h
95862 else
95863 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
95864 fi
95865 cat $tmp/in >>$tmp/config.h
95866 rm -f $tmp/in
95867 if test x"$ac_file" != x-; then
95868 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
95869 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
95870 echo "$as_me: $ac_file is unchanged" >&6;}
95871 else
95872 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
95873 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95874 X"$ac_file" : 'X\(//\)[^/]' \| \
95875 X"$ac_file" : 'X\(//\)$' \| \
95876 X"$ac_file" : 'X\(/\)' \| \
95877 . : '\(.\)' 2>/dev/null ||
95878 echo X"$ac_file" |
95879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95880 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95881 /^X\(\/\/\)$/{ s//\1/; q; }
95882 /^X\(\/\).*/{ s//\1/; q; }
95883 s/.*/./; q'`
95884 { if $as_mkdir_p; then
95885 mkdir -p "$ac_dir"
95886 else
95887 as_dir="$ac_dir"
95888 as_dirs=
95889 while test ! -d "$as_dir"; do
95890 as_dirs="$as_dir $as_dirs"
95891 as_dir=`(dirname "$as_dir") 2>/dev/null ||
95892 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95893 X"$as_dir" : 'X\(//\)[^/]' \| \
95894 X"$as_dir" : 'X\(//\)$' \| \
95895 X"$as_dir" : 'X\(/\)' \| \
95896 . : '\(.\)' 2>/dev/null ||
95897 echo X"$as_dir" |
95898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95899 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95900 /^X\(\/\/\)$/{ s//\1/; q; }
95901 /^X\(\/\).*/{ s//\1/; q; }
95902 s/.*/./; q'`
95903 done
95904 test ! -n "$as_dirs" || mkdir $as_dirs
95905 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95906 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95907 { (exit 1); exit 1; }; }; }
95908
95909 rm -f $ac_file
95910 mv $tmp/config.h $ac_file
95911 fi
95912 else
95913 cat $tmp/config.h
95914 rm -f $tmp/config.h
95915 fi
95916 # Compute $ac_file's index in $config_headers.
95917 _am_stamp_count=1
95918 for _am_header in $config_headers :; do
95919 case $_am_header in
95920 $ac_file | $ac_file:* )
95921 break ;;
95922 * )
95923 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
95924 esac
95925 done
95926 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
95927 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95928 X$ac_file : 'X\(//\)[^/]' \| \
95929 X$ac_file : 'X\(//\)$' \| \
95930 X$ac_file : 'X\(/\)' \| \
95931 . : '\(.\)' 2>/dev/null ||
95932 echo X$ac_file |
95933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95934 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95935 /^X\(\/\/\)$/{ s//\1/; q; }
95936 /^X\(\/\).*/{ s//\1/; q; }
95937 s/.*/./; q'`/stamp-h$_am_stamp_count
95938 done
95939 _ACEOF
95940 cat >>$CONFIG_STATUS <<\_ACEOF
95941
95942 #
95943 # CONFIG_COMMANDS section.
95944 #
95945 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
95946 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
95947 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
95948 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
95949 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95950 X"$ac_dest" : 'X\(//\)[^/]' \| \
95951 X"$ac_dest" : 'X\(//\)$' \| \
95952 X"$ac_dest" : 'X\(/\)' \| \
95953 . : '\(.\)' 2>/dev/null ||
95954 echo X"$ac_dest" |
95955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95956 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95957 /^X\(\/\/\)$/{ s//\1/; q; }
95958 /^X\(\/\).*/{ s//\1/; q; }
95959 s/.*/./; q'`
95960 { if $as_mkdir_p; then
95961 mkdir -p "$ac_dir"
95962 else
95963 as_dir="$ac_dir"
95964 as_dirs=
95965 while test ! -d "$as_dir"; do
95966 as_dirs="$as_dir $as_dirs"
95967 as_dir=`(dirname "$as_dir") 2>/dev/null ||
95968 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95969 X"$as_dir" : 'X\(//\)[^/]' \| \
95970 X"$as_dir" : 'X\(//\)$' \| \
95971 X"$as_dir" : 'X\(/\)' \| \
95972 . : '\(.\)' 2>/dev/null ||
95973 echo X"$as_dir" |
95974 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95975 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95976 /^X\(\/\/\)$/{ s//\1/; q; }
95977 /^X\(\/\).*/{ s//\1/; q; }
95978 s/.*/./; q'`
95979 done
95980 test ! -n "$as_dirs" || mkdir $as_dirs
95981 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95982 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95983 { (exit 1); exit 1; }; }; }
95984
95985 ac_builddir=.
95986
95987 if test "$ac_dir" != .; then
95988 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
95989 # A "../" for each directory in $ac_dir_suffix.
95990 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
95991 else
95992 ac_dir_suffix= ac_top_builddir=
95993 fi
95994
95995 case $srcdir in
95996 .) # No --srcdir option. We are building in place.
95997 ac_srcdir=.
95998 if test -z "$ac_top_builddir"; then
95999 ac_top_srcdir=.
96000 else
96001 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
96002 fi ;;
96003 [\\/]* | ?:[\\/]* ) # Absolute path.
96004 ac_srcdir=$srcdir$ac_dir_suffix;
96005 ac_top_srcdir=$srcdir ;;
96006 *) # Relative path.
96007 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
96008 ac_top_srcdir=$ac_top_builddir$srcdir ;;
96009 esac
96010
96011 # Do not use `cd foo && pwd` to compute absolute paths, because
96012 # the directories may not exist.
96013 case `pwd` in
96014 .) ac_abs_builddir="$ac_dir";;
96015 *)
96016 case "$ac_dir" in
96017 .) ac_abs_builddir=`pwd`;;
96018 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
96019 *) ac_abs_builddir=`pwd`/"$ac_dir";;
96020 esac;;
96021 esac
96022 case $ac_abs_builddir in
96023 .) ac_abs_top_builddir=${ac_top_builddir}.;;
96024 *)
96025 case ${ac_top_builddir}. in
96026 .) ac_abs_top_builddir=$ac_abs_builddir;;
96027 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
96028 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
96029 esac;;
96030 esac
96031 case $ac_abs_builddir in
96032 .) ac_abs_srcdir=$ac_srcdir;;
96033 *)
96034 case $ac_srcdir in
96035 .) ac_abs_srcdir=$ac_abs_builddir;;
96036 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
96037 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
96038 esac;;
96039 esac
96040 case $ac_abs_builddir in
96041 .) ac_abs_top_srcdir=$ac_top_srcdir;;
96042 *)
96043 case $ac_top_srcdir in
96044 .) ac_abs_top_srcdir=$ac_abs_builddir;;
96045 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
96046 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
96047 esac;;
96048 esac
96049
96050
96051 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
96052 echo "$as_me: executing $ac_dest commands" >&6;}
96053 case $ac_dest in
96054 default-1 )
96055 # Only add multilib support code if we just rebuilt the top-level
96056 # Makefile.
96057 case " $CONFIG_FILES " in
96058 *" Makefile "*)
96059 ac_file=Makefile . ${multi_basedir}/config-ml.in
96060 ;;
96061 esac ;;
96062 libtool )
96063
96064 # See if we are running on zsh, and set the options which allow our
96065 # commands through without removal of \ escapes.
96066 if test -n "${ZSH_VERSION+set}" ; then
96067 setopt NO_GLOB_SUBST
96068 fi
96069
96070 cfgfile="${ofile}T"
96071 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
96072 $RM "$cfgfile"
96073
96074 cat <<_LT_EOF >> "$cfgfile"
96075 #! $SHELL
96076
96077 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
96078 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
96079 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
96080 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
96081 #
96082 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
96083 # 2006, 2007 Free Software Foundation, Inc.
96084 #
96085 # This file is part of GNU Libtool:
96086 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
96087 #
96088 # This program is free software; you can redistribute it and/or modify
96089 # it under the terms of the GNU General Public License as published by
96090 # the Free Software Foundation; either version 2 of the License, or
96091 # (at your option) any later version.
96092 #
96093 # This program is distributed in the hope that it will be useful, but
96094 # WITHOUT ANY WARRANTY; without even the implied warranty of
96095 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
96096 # General Public License for more details.
96097 #
96098 # You should have received a copy of the GNU General Public License
96099 # along with this program; if not, a copy can be downloaded from
96100 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
96101 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
96102 # MA 02110-1301, USA.
96103 #
96104 # As a special exception to the GNU General Public License, if you
96105 # distribute this file as part of a program that contains a
96106 # configuration script generated by Autoconf, you may include it under
96107 # the same distribution terms that you use for the rest of that program.
96108
96109
96110 # The names of the tagged configurations supported by this script.
96111 available_tags="CXX "
96112
96113 # ### BEGIN LIBTOOL CONFIG
96114
96115 # Which release of libtool.m4 was used?
96116 macro_version=$macro_version
96117 macro_revision=$macro_revision
96118
96119 # Whether or not to build shared libraries.
96120 build_libtool_libs=$enable_shared
96121
96122 # Whether or not to build static libraries.
96123 build_old_libs=$enable_static
96124
96125 # What type of objects to build.
96126 pic_mode=$pic_mode
96127
96128 # Whether or not to optimize for fast installation.
96129 fast_install=$enable_fast_install
96130
96131 # The host system.
96132 host_alias=$host_alias
96133 host=$host
96134 host_os=$host_os
96135
96136 # The build system.
96137 build_alias=$build_alias
96138 build=$build
96139 build_os=$build_os
96140
96141 # A sed program that does not truncate output.
96142 SED=$lt_SED
96143
96144 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
96145 Xsed="\$SED -e 1s/^X//"
96146
96147 # A grep program that handles long lines.
96148 GREP=$lt_GREP
96149
96150 # An ERE matcher.
96151 EGREP=$lt_EGREP
96152
96153 # A literal string matcher.
96154 FGREP=$lt_FGREP
96155
96156 # A BSD- or MS-compatible name lister.
96157 NM=$lt_NM
96158
96159 # Whether we need soft or hard links.
96160 LN_S=$lt_LN_S
96161
96162 # What is the maximum length of a command?
96163 max_cmd_len=$max_cmd_len
96164
96165 # Object file suffix (normally "o").
96166 objext=$ac_objext
96167
96168 # Executable file suffix (normally "").
96169 exeext=$exeext
96170
96171 # whether the shell understands "unset".
96172 lt_unset=$lt_unset
96173
96174 # turn spaces into newlines.
96175 SP2NL=$lt_lt_SP2NL
96176
96177 # turn newlines into spaces.
96178 NL2SP=$lt_lt_NL2SP
96179
96180 # How to create reloadable object files.
96181 reload_flag=$lt_reload_flag
96182 reload_cmds=$lt_reload_cmds
96183
96184 # Method to check whether dependent libraries are shared objects.
96185 deplibs_check_method=$lt_deplibs_check_method
96186
96187 # Command to use when deplibs_check_method == "file_magic".
96188 file_magic_cmd=$lt_file_magic_cmd
96189
96190 # The archiver.
96191 AR=$lt_AR
96192 AR_FLAGS=$lt_AR_FLAGS
96193
96194 # A symbol stripping program.
96195 STRIP=$lt_STRIP
96196
96197 # Commands used to install an old-style archive.
96198 RANLIB=$lt_RANLIB
96199 old_postinstall_cmds=$lt_old_postinstall_cmds
96200 old_postuninstall_cmds=$lt_old_postuninstall_cmds
96201
96202 # A C compiler.
96203 LTCC=$lt_CC
96204
96205 # LTCC compiler flags.
96206 LTCFLAGS=$lt_CFLAGS
96207
96208 # Take the output of nm and produce a listing of raw symbols and C names.
96209 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
96210
96211 # Transform the output of nm in a proper C declaration.
96212 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
96213
96214 # Transform the output of nm in a C name address pair.
96215 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
96216
96217 # The name of the directory that contains temporary libtool files.
96218 objdir=$objdir
96219
96220 # Shell to use when invoking shell scripts.
96221 SHELL=$lt_SHELL
96222
96223 # An echo program that does not interpret backslashes.
96224 ECHO=$lt_ECHO
96225
96226 # Used to examine libraries when file_magic_cmd begins with "file".
96227 MAGIC_CMD=$MAGIC_CMD
96228
96229 # Must we lock files when doing compilation?
96230 need_locks=$lt_need_locks
96231
96232 # Old archive suffix (normally "a").
96233 libext=$libext
96234
96235 # Shared library suffix (normally ".so").
96236 shrext_cmds=$lt_shrext_cmds
96237
96238 # The commands to extract the exported symbol list from a shared archive.
96239 extract_expsyms_cmds=$lt_extract_expsyms_cmds
96240
96241 # Variables whose values should be saved in libtool wrapper scripts and
96242 # restored at link time.
96243 variables_saved_for_relink=$lt_variables_saved_for_relink
96244
96245 # Do we need the "lib" prefix for modules?
96246 need_lib_prefix=$need_lib_prefix
96247
96248 # Do we need a version for libraries?
96249 need_version=$need_version
96250
96251 # Library versioning type.
96252 version_type=$version_type
96253
96254 # Shared library runtime path variable.
96255 runpath_var=$runpath_var
96256
96257 # Shared library path variable.
96258 shlibpath_var=$shlibpath_var
96259
96260 # Is shlibpath searched before the hard-coded library search path?
96261 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
96262
96263 # Format of library name prefix.
96264 libname_spec=$lt_libname_spec
96265
96266 # List of archive names. First name is the real one, the rest are links.
96267 # The last name is the one that the linker finds with -lNAME
96268 library_names_spec=$lt_library_names_spec
96269
96270 # The coded name of the library, if different from the real name.
96271 soname_spec=$lt_soname_spec
96272
96273 # Command to use after installation of a shared archive.
96274 postinstall_cmds=$lt_postinstall_cmds
96275
96276 # Command to use after uninstallation of a shared archive.
96277 postuninstall_cmds=$lt_postuninstall_cmds
96278
96279 # Commands used to finish a libtool library installation in a directory.
96280 finish_cmds=$lt_finish_cmds
96281
96282 # As "finish_cmds", except a single script fragment to be evaled but
96283 # not shown.
96284 finish_eval=$lt_finish_eval
96285
96286 # Whether we should hardcode library paths into libraries.
96287 hardcode_into_libs=$hardcode_into_libs
96288
96289 # Compile-time system search path for libraries.
96290 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
96291
96292 # Run-time system search path for libraries.
96293 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
96294
96295 # Whether dlopen is supported.
96296 dlopen_support=$enable_dlopen
96297
96298 # Whether dlopen of programs is supported.
96299 dlopen_self=$enable_dlopen_self
96300
96301 # Whether dlopen of statically linked programs is supported.
96302 dlopen_self_static=$enable_dlopen_self_static
96303
96304 # Commands to strip libraries.
96305 old_striplib=$lt_old_striplib
96306 striplib=$lt_striplib
96307
96308
96309 # The linker used to build libraries.
96310 LD=$lt_LD
96311
96312 # Commands used to build an old-style archive.
96313 old_archive_cmds=$lt_old_archive_cmds
96314
96315 # A language specific compiler.
96316 CC=$lt_compiler
96317
96318 # Is the compiler the GNU compiler?
96319 with_gcc=$GCC
96320
96321 # Compiler flag to turn off builtin functions.
96322 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
96323
96324 # How to pass a linker flag through the compiler.
96325 wl=$lt_lt_prog_compiler_wl
96326
96327 # Additional compiler flags for building library objects.
96328 pic_flag=$lt_lt_prog_compiler_pic
96329
96330 # Compiler flag to prevent dynamic linking.
96331 link_static_flag=$lt_lt_prog_compiler_static
96332
96333 # Does compiler simultaneously support -c and -o options?
96334 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
96335
96336 # Whether or not to add -lc for building shared libraries.
96337 build_libtool_need_lc=$archive_cmds_need_lc
96338
96339 # Whether or not to disallow shared libs when runtime libs are static.
96340 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
96341
96342 # Compiler flag to allow reflexive dlopens.
96343 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
96344
96345 # Compiler flag to generate shared objects directly from archives.
96346 whole_archive_flag_spec=$lt_whole_archive_flag_spec
96347
96348 # Whether the compiler copes with passing no objects directly.
96349 compiler_needs_object=$lt_compiler_needs_object
96350
96351 # Create an old-style archive from a shared archive.
96352 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
96353
96354 # Create a temporary old-style archive to link instead of a shared archive.
96355 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
96356
96357 # Commands used to build a shared archive.
96358 archive_cmds=$lt_archive_cmds
96359 archive_expsym_cmds=$lt_archive_expsym_cmds
96360
96361 # Commands used to build a loadable module if different from building
96362 # a shared archive.
96363 module_cmds=$lt_module_cmds
96364 module_expsym_cmds=$lt_module_expsym_cmds
96365
96366 # Whether we are building with GNU ld or not.
96367 with_gnu_ld=$lt_with_gnu_ld
96368
96369 # Flag that allows shared libraries with undefined symbols to be built.
96370 allow_undefined_flag=$lt_allow_undefined_flag
96371
96372 # Flag that enforces no undefined symbols.
96373 no_undefined_flag=$lt_no_undefined_flag
96374
96375 # Flag to hardcode \$libdir into a binary during linking.
96376 # This must work even if \$libdir does not exist
96377 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
96378
96379 # If ld is used when linking, flag to hardcode \$libdir into a binary
96380 # during linking. This must work even if \$libdir does not exist.
96381 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
96382
96383 # Whether we need a single "-rpath" flag with a separated argument.
96384 hardcode_libdir_separator=$lt_hardcode_libdir_separator
96385
96386 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
96387 # DIR into the resulting binary.
96388 hardcode_direct=$hardcode_direct
96389
96390 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
96391 # DIR into the resulting binary and the resulting library dependency is
96392 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
96393 # library is relocated.
96394 hardcode_direct_absolute=$hardcode_direct_absolute
96395
96396 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
96397 # into the resulting binary.
96398 hardcode_minus_L=$hardcode_minus_L
96399
96400 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
96401 # into the resulting binary.
96402 hardcode_shlibpath_var=$hardcode_shlibpath_var
96403
96404 # Set to "yes" if building a shared library automatically hardcodes DIR
96405 # into the library and all subsequent libraries and executables linked
96406 # against it.
96407 hardcode_automatic=$hardcode_automatic
96408
96409 # Set to yes if linker adds runtime paths of dependent libraries
96410 # to runtime path list.
96411 inherit_rpath=$inherit_rpath
96412
96413 # Whether libtool must link a program against all its dependency libraries.
96414 link_all_deplibs=$link_all_deplibs
96415
96416 # Fix the shell variable \$srcfile for the compiler.
96417 fix_srcfile_path=$lt_fix_srcfile_path
96418
96419 # Set to "yes" if exported symbols are required.
96420 always_export_symbols=$always_export_symbols
96421
96422 # The commands to list exported symbols.
96423 export_symbols_cmds=$lt_export_symbols_cmds
96424
96425 # Symbols that should not be listed in the preloaded symbols.
96426 exclude_expsyms=$lt_exclude_expsyms
96427
96428 # Symbols that must always be exported.
96429 include_expsyms=$lt_include_expsyms
96430
96431 # Commands necessary for linking programs (against libraries) with templates.
96432 prelink_cmds=$lt_prelink_cmds
96433
96434 # Specify filename containing input files.
96435 file_list_spec=$lt_file_list_spec
96436
96437 # How to hardcode a shared library path into an executable.
96438 hardcode_action=$hardcode_action
96439
96440 # Dependencies to place before and after the objects being linked to
96441 # create a shared library.
96442 predep_objects=$lt_predep_objects
96443 postdep_objects=$lt_postdep_objects
96444 predeps=$lt_predeps
96445 postdeps=$lt_postdeps
96446
96447 # The library search path used internally by the compiler when linking
96448 # a shared library.
96449 compiler_lib_search_path=$lt_compiler_lib_search_path
96450
96451 # ### END LIBTOOL CONFIG
96452
96453 _LT_EOF
96454
96455 case $host_os in
96456 aix3*)
96457 cat <<\_LT_EOF >> "$cfgfile"
96458 # AIX sometimes has problems with the GCC collect2 program. For some
96459 # reason, if we set the COLLECT_NAMES environment variable, the problems
96460 # vanish in a puff of smoke.
96461 if test "X${COLLECT_NAMES+set}" != Xset; then
96462 COLLECT_NAMES=
96463 export COLLECT_NAMES
96464 fi
96465 _LT_EOF
96466 ;;
96467 esac
96468
96469
96470 ltmain="$ac_aux_dir/ltmain.sh"
96471
96472
96473 # We use sed instead of cat because bash on DJGPP gets confused if
96474 # if finds mixed CR/LF and LF-only lines. Since sed operates in
96475 # text mode, it properly converts lines to CR/LF. This bash problem
96476 # is reportedly fixed, but why not run on old versions too?
96477 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
96478 || (rm -f "$cfgfile"; exit 1)
96479
96480 case $xsi_shell in
96481 yes)
96482 cat << \_LT_EOF >> "$cfgfile"
96483 # func_dirname file append nondir_replacement
96484 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
96485 # otherwise set result to NONDIR_REPLACEMENT.
96486 func_dirname ()
96487 {
96488 case ${1} in
96489 */*) func_dirname_result="${1%/*}${2}" ;;
96490 * ) func_dirname_result="${3}" ;;
96491 esac
96492 }
96493
96494 # func_basename file
96495 func_basename ()
96496 {
96497 func_basename_result="${1##*/}"
96498 }
96499
96500 # func_stripname prefix suffix name
96501 # strip PREFIX and SUFFIX off of NAME.
96502 # PREFIX and SUFFIX must not contain globbing or regex special
96503 # characters, hashes, percent signs, but SUFFIX may contain a leading
96504 # dot (in which case that matches only a dot).
96505 func_stripname ()
96506 {
96507 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
96508 # positional parameters, so assign one to ordinary parameter first.
96509 func_stripname_result=${3}
96510 func_stripname_result=${func_stripname_result#"${1}"}
96511 func_stripname_result=${func_stripname_result%"${2}"}
96512 }
96513
96514 # func_opt_split
96515 func_opt_split ()
96516 {
96517 func_opt_split_opt=${1%%=*}
96518 func_opt_split_arg=${1#*=}
96519 }
96520
96521 # func_lo2o object
96522 func_lo2o ()
96523 {
96524 case ${1} in
96525 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
96526 *) func_lo2o_result=${1} ;;
96527 esac
96528 }
96529 _LT_EOF
96530 ;;
96531 *) # Bourne compatible functions.
96532 cat << \_LT_EOF >> "$cfgfile"
96533 # func_dirname file append nondir_replacement
96534 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
96535 # otherwise set result to NONDIR_REPLACEMENT.
96536 func_dirname ()
96537 {
96538 # Extract subdirectory from the argument.
96539 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
96540 if test "X$func_dirname_result" = "X${1}"; then
96541 func_dirname_result="${3}"
96542 else
96543 func_dirname_result="$func_dirname_result${2}"
96544 fi
96545 }
96546
96547 # func_basename file
96548 func_basename ()
96549 {
96550 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
96551 }
96552
96553 # func_stripname prefix suffix name
96554 # strip PREFIX and SUFFIX off of NAME.
96555 # PREFIX and SUFFIX must not contain globbing or regex special
96556 # characters, hashes, percent signs, but SUFFIX may contain a leading
96557 # dot (in which case that matches only a dot).
96558 # func_strip_suffix prefix name
96559 func_stripname ()
96560 {
96561 case ${2} in
96562 .*) func_stripname_result=`$ECHO "X${3}" \
96563 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
96564 *) func_stripname_result=`$ECHO "X${3}" \
96565 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
96566 esac
96567 }
96568
96569 # sed scripts:
96570 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
96571 my_sed_long_arg='1s/^-[^=]*=//'
96572
96573 # func_opt_split
96574 func_opt_split ()
96575 {
96576 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
96577 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
96578 }
96579
96580 # func_lo2o object
96581 func_lo2o ()
96582 {
96583 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
96584 }
96585 _LT_EOF
96586 esac
96587
96588 case $lt_shell_append in
96589 yes)
96590 cat << \_LT_EOF >> "$cfgfile"
96591
96592 # func_append var value
96593 # Append VALUE to the end of shell variable VAR.
96594 func_append ()
96595 {
96596 eval "$1+=\$2"
96597 }
96598 _LT_EOF
96599 ;;
96600 *)
96601 cat << \_LT_EOF >> "$cfgfile"
96602
96603 # func_append var value
96604 # Append VALUE to the end of shell variable VAR.
96605 func_append ()
96606 {
96607 eval "$1=\$$1\$2"
96608 }
96609 _LT_EOF
96610 ;;
96611 esac
96612
96613
96614 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
96615 || (rm -f "$cfgfile"; exit 1)
96616
96617 mv -f "$cfgfile" "$ofile" ||
96618 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
96619 chmod +x "$ofile"
96620
96621
96622 cat <<_LT_EOF >> "$ofile"
96623
96624 # ### BEGIN LIBTOOL TAG CONFIG: CXX
96625
96626 # The linker used to build libraries.
96627 LD=$lt_LD_CXX
96628
96629 # Commands used to build an old-style archive.
96630 old_archive_cmds=$lt_old_archive_cmds_CXX
96631
96632 # A language specific compiler.
96633 CC=$lt_compiler_CXX
96634
96635 # Is the compiler the GNU compiler?
96636 with_gcc=$GCC_CXX
96637
96638 # Compiler flag to turn off builtin functions.
96639 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
96640
96641 # How to pass a linker flag through the compiler.
96642 wl=$lt_lt_prog_compiler_wl_CXX
96643
96644 # Additional compiler flags for building library objects.
96645 pic_flag=$lt_lt_prog_compiler_pic_CXX
96646
96647 # Compiler flag to prevent dynamic linking.
96648 link_static_flag=$lt_lt_prog_compiler_static_CXX
96649
96650 # Does compiler simultaneously support -c and -o options?
96651 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
96652
96653 # Whether or not to add -lc for building shared libraries.
96654 build_libtool_need_lc=$archive_cmds_need_lc_CXX
96655
96656 # Whether or not to disallow shared libs when runtime libs are static.
96657 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
96658
96659 # Compiler flag to allow reflexive dlopens.
96660 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
96661
96662 # Compiler flag to generate shared objects directly from archives.
96663 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
96664
96665 # Whether the compiler copes with passing no objects directly.
96666 compiler_needs_object=$lt_compiler_needs_object_CXX
96667
96668 # Create an old-style archive from a shared archive.
96669 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
96670
96671 # Create a temporary old-style archive to link instead of a shared archive.
96672 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
96673
96674 # Commands used to build a shared archive.
96675 archive_cmds=$lt_archive_cmds_CXX
96676 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
96677
96678 # Commands used to build a loadable module if different from building
96679 # a shared archive.
96680 module_cmds=$lt_module_cmds_CXX
96681 module_expsym_cmds=$lt_module_expsym_cmds_CXX
96682
96683 # Whether we are building with GNU ld or not.
96684 with_gnu_ld=$lt_with_gnu_ld_CXX
96685
96686 # Flag that allows shared libraries with undefined symbols to be built.
96687 allow_undefined_flag=$lt_allow_undefined_flag_CXX
96688
96689 # Flag that enforces no undefined symbols.
96690 no_undefined_flag=$lt_no_undefined_flag_CXX
96691
96692 # Flag to hardcode \$libdir into a binary during linking.
96693 # This must work even if \$libdir does not exist
96694 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
96695
96696 # If ld is used when linking, flag to hardcode \$libdir into a binary
96697 # during linking. This must work even if \$libdir does not exist.
96698 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
96699
96700 # Whether we need a single "-rpath" flag with a separated argument.
96701 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
96702
96703 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
96704 # DIR into the resulting binary.
96705 hardcode_direct=$hardcode_direct_CXX
96706
96707 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
96708 # DIR into the resulting binary and the resulting library dependency is
96709 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
96710 # library is relocated.
96711 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
96712
96713 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
96714 # into the resulting binary.
96715 hardcode_minus_L=$hardcode_minus_L_CXX
96716
96717 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
96718 # into the resulting binary.
96719 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
96720
96721 # Set to "yes" if building a shared library automatically hardcodes DIR
96722 # into the library and all subsequent libraries and executables linked
96723 # against it.
96724 hardcode_automatic=$hardcode_automatic_CXX
96725
96726 # Set to yes if linker adds runtime paths of dependent libraries
96727 # to runtime path list.
96728 inherit_rpath=$inherit_rpath_CXX
96729
96730 # Whether libtool must link a program against all its dependency libraries.
96731 link_all_deplibs=$link_all_deplibs_CXX
96732
96733 # Fix the shell variable \$srcfile for the compiler.
96734 fix_srcfile_path=$lt_fix_srcfile_path_CXX
96735
96736 # Set to "yes" if exported symbols are required.
96737 always_export_symbols=$always_export_symbols_CXX
96738
96739 # The commands to list exported symbols.
96740 export_symbols_cmds=$lt_export_symbols_cmds_CXX
96741
96742 # Symbols that should not be listed in the preloaded symbols.
96743 exclude_expsyms=$lt_exclude_expsyms_CXX
96744
96745 # Symbols that must always be exported.
96746 include_expsyms=$lt_include_expsyms_CXX
96747
96748 # Commands necessary for linking programs (against libraries) with templates.
96749 prelink_cmds=$lt_prelink_cmds_CXX
96750
96751 # Specify filename containing input files.
96752 file_list_spec=$lt_file_list_spec_CXX
96753
96754 # How to hardcode a shared library path into an executable.
96755 hardcode_action=$hardcode_action_CXX
96756
96757 # Dependencies to place before and after the objects being linked to
96758 # create a shared library.
96759 predep_objects=$lt_predep_objects_CXX
96760 postdep_objects=$lt_postdep_objects_CXX
96761 predeps=$lt_predeps_CXX
96762 postdeps=$lt_postdeps_CXX
96763
96764 # The library search path used internally by the compiler when linking
96765 # a shared library.
96766 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
96767
96768 # ### END LIBTOOL TAG CONFIG: CXX
96769 _LT_EOF
96770
96771 ;;
96772 default ) if test -n "$CONFIG_FILES"; then
96773 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
96774 # that multilib installs will end up installed in the correct place.
96775 # The testsuite needs it for multilib-aware ABI baseline files.
96776 # To work around this not being passed down from config-ml.in ->
96777 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
96778 # append it here. Only modify Makefiles that have just been created.
96779 #
96780 # Also, get rid of this simulated-VPATH thing that automake does.
96781 cat > vpsed << \_EOF
96782 s!`test -f '$<' || echo '$(srcdir)/'`!!
96783 _EOF
96784 for i in $SUBDIRS; do
96785 case $CONFIG_FILES in
96786 *${i}/Makefile*)
96787 #echo "Adding MULTISUBDIR to $i/Makefile"
96788 sed -f vpsed $i/Makefile > tmp
96789 grep '^MULTISUBDIR =' Makefile >> tmp
96790 mv tmp $i/Makefile
96791 ;;
96792 esac
96793 done
96794 rm vpsed
96795 fi
96796 (cd include && ${MAKE-make})
96797 ;;
96798 esac
96799 done
96800 _ACEOF
96801
96802 cat >>$CONFIG_STATUS <<\_ACEOF
96803
96804 { (exit 0); exit 0; }
96805 _ACEOF
96806 chmod +x $CONFIG_STATUS
96807 ac_clean_files=$ac_clean_files_save
96808
96809
96810 # configure is writing to config.log, and then calls config.status.
96811 # config.status does its own redirection, appending to config.log.
96812 # Unfortunately, on DOS this fails, as config.log is still kept open
96813 # by configure, so config.status won't be able to write to it; its
96814 # output is simply discarded. So we exec the FD to /dev/null,
96815 # effectively closing config.log, so it can be properly (re)opened and
96816 # appended to by config.status. When coming back to configure, we
96817 # need to make the FD available again.
96818 if test "$no_create" != yes; then
96819 ac_cs_success=:
96820 ac_config_status_args=
96821 test "$silent" = yes &&
96822 ac_config_status_args="$ac_config_status_args --quiet"
96823 exec 5>/dev/null
96824 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
96825 exec 5>>config.log
96826 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
96827 # would make configure fail if this is the last instruction.
96828 $ac_cs_success || { (exit 1); exit 1; }
96829 fi
96830
This page took 5.164065 seconds and 6 git commands to generate.